POST api/CounterSales
Request Information
URI Parameters
None.
Body Parameters
CounterSalesSaveModelsName | Description | Type | Additional information |
---|---|---|---|
CS_Name | string |
None. |
|
CS_Email | string |
None. |
|
CS_MobileNo | string |
None. |
|
CS_Address | string |
None. |
|
CS_CouponCode | string |
Max length: 10 |
|
CounterSalesList | Collection of CounterSalesListSaveModels |
Required |
Request Formats
application/json, text/json
Sample:
{ "CS_Name": "sample string 1", "CS_Email": "sample string 2", "CS_MobileNo": "sample string 3", "CS_Address": "sample string 4", "CS_CouponCode": "sample string 5", "CounterSalesList": [ { "ProductId": 1, "ProductName": "sample string 2", "PackagingId": 3, "PackagingCode": "sample string 4", "Size": "sample string 5", "UOM": "sample string 6", "Type": "sample string 7", "Qty": 8, "CustomerPrice": 9.0 }, { "ProductId": 1, "ProductName": "sample string 2", "PackagingId": 3, "PackagingCode": "sample string 4", "Size": "sample string 5", "UOM": "sample string 6", "Type": "sample string 7", "Qty": 8, "CustomerPrice": 9.0 } ] }
application/xml, text/xml
Sample:
<CounterSalesSaveModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <CS_Address>sample string 4</CS_Address> <CS_CouponCode>sample string 5</CS_CouponCode> <CS_Email>sample string 2</CS_Email> <CS_MobileNo>sample string 3</CS_MobileNo> <CS_Name>sample string 1</CS_Name> <CounterSalesList> <CounterSalesListSaveModels> <CustomerPrice>9</CustomerPrice> <PackagingCode>sample string 4</PackagingCode> <PackagingId>3</PackagingId> <ProductId>1</ProductId> <ProductName>sample string 2</ProductName> <Qty>8</Qty> <Size>sample string 5</Size> <Type>sample string 7</Type> <UOM>sample string 6</UOM> </CounterSalesListSaveModels> <CounterSalesListSaveModels> <CustomerPrice>9</CustomerPrice> <PackagingCode>sample string 4</PackagingCode> <PackagingId>3</PackagingId> <ProductId>1</ProductId> <ProductName>sample string 2</ProductName> <Qty>8</Qty> <Size>sample string 5</Size> <Type>sample string 7</Type> <UOM>sample string 6</UOM> </CounterSalesListSaveModels> </CounterSalesList> </CounterSalesSaveModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.