POST api/BulkSales/AddBulkSales
Request Information
URI Parameters
None.
Body Parameters
BulkSalesSaveModelsName | Description | Type | Additional information |
---|---|---|---|
BS_UserType | string |
Required |
|
BS_StockistSpeedSearch | StockiestSpeedSearchModels |
Required |
|
BS_BillCustomer_Id | integer |
None. |
|
BS_Bill_Name | string |
Required Max length: 50 |
|
BS_Bill_Email | string |
Required Max length: 50 |
|
BS_Bill_MobileNo | integer |
Required |
|
BS_Bill_Address | string |
Required Max length: 500 |
|
BS_Bill_Pincode | integer |
Required |
|
BS_Ship_Name | string |
Required Max length: 50 |
|
BS_Ship_Email | string |
Required Max length: 50 |
|
BS_Ship_MobileNo | integer |
Required |
|
BS_Ship_Address | string |
Required Max length: 500 |
|
BS_Ship_Pincode | integer |
Required |
|
BS_GST_TIN_NO | string |
None. |
|
BulkSalesList | Collection of BulkSalesListSaveModels |
Required |
Request Formats
application/json, text/json
Sample:
{ "BS_UserType": "sample string 1", "BS_StockistSpeedSearch": { "SK_Id": 1, "SK_Code": "sample string 2", "SK_Name": "sample string 3" }, "BS_BillCustomer_Id": 2, "BS_Bill_Name": "sample string 3", "BS_Bill_Email": "sample string 4", "BS_Bill_MobileNo": 5, "BS_Bill_Address": "sample string 6", "BS_Bill_Pincode": 7, "BS_Ship_Name": "sample string 8", "BS_Ship_Email": "sample string 9", "BS_Ship_MobileNo": 10, "BS_Ship_Address": "sample string 11", "BS_Ship_Pincode": 12, "BS_GST_TIN_NO": "sample string 13", "BulkSalesList": [ { "ProductId": 1, "ProductName": "sample string 2", "PackagingId": 3, "PackagingCode": "sample string 4", "Qty": 5, "CustomerPrice": 6.0, "VAT_Rate": 7.0 }, { "ProductId": 1, "ProductName": "sample string 2", "PackagingId": 3, "PackagingCode": "sample string 4", "Qty": 5, "CustomerPrice": 6.0, "VAT_Rate": 7.0 } ] }
application/xml, text/xml
Sample:
<BulkSalesSaveModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <BS_BillCustomer_Id>2</BS_BillCustomer_Id> <BS_Bill_Address>sample string 6</BS_Bill_Address> <BS_Bill_Email>sample string 4</BS_Bill_Email> <BS_Bill_MobileNo>5</BS_Bill_MobileNo> <BS_Bill_Name>sample string 3</BS_Bill_Name> <BS_Bill_Pincode>7</BS_Bill_Pincode> <BS_GST_TIN_NO>sample string 13</BS_GST_TIN_NO> <BS_Ship_Address>sample string 11</BS_Ship_Address> <BS_Ship_Email>sample string 9</BS_Ship_Email> <BS_Ship_MobileNo>10</BS_Ship_MobileNo> <BS_Ship_Name>sample string 8</BS_Ship_Name> <BS_Ship_Pincode>12</BS_Ship_Pincode> <BS_StockistSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:SK_Code>sample string 2</d2p1:SK_Code> <d2p1:SK_Id>1</d2p1:SK_Id> <d2p1:SK_Name>sample string 3</d2p1:SK_Name> </BS_StockistSpeedSearch> <BS_UserType>sample string 1</BS_UserType> <BulkSalesList> <BulkSalesListSaveModels> <CustomerPrice>6</CustomerPrice> <PackagingCode>sample string 4</PackagingCode> <PackagingId>3</PackagingId> <ProductId>1</ProductId> <ProductName>sample string 2</ProductName> <Qty>5</Qty> <VAT_Rate>7</VAT_Rate> </BulkSalesListSaveModels> <BulkSalesListSaveModels> <CustomerPrice>6</CustomerPrice> <PackagingCode>sample string 4</PackagingCode> <PackagingId>3</PackagingId> <ProductId>1</ProductId> <ProductName>sample string 2</ProductName> <Qty>5</Qty> <VAT_Rate>7</VAT_Rate> </BulkSalesListSaveModels> </BulkSalesList> </BulkSalesSaveModels>
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.