POST api/BulkSalesAmendment
Request Information
URI Parameters
None.
Body Parameters
BulkSalesAmendmentSaveModelsName | Description | Type | Additional information |
---|---|---|---|
BulkOrderId | integer |
Required |
|
BS_StockistSpeedSearch | StockiestSpeedSearchModels |
Required |
|
EdiaryCartProducts | Collection of EdairyCartProductsForBulkSales |
Required |
|
BillingDetails | RegisteredUserBillingDetailsModels |
Required |
|
ShippingDetails | ShippingAddressModels |
Required |
|
Note | string |
Required Max length: 200 |
|
UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "BulkOrderId": 1, "BS_StockistSpeedSearch": { "SK_Id": 1, "SK_Code": "sample string 2", "SK_Name": "sample string 3" }, "EdiaryCartProducts": [ { "P_Id": 1, "P_Quantity": 2, "P_PackSize": 3, "P_PackSizeId": 4, "Is_A_Deal": true, "BSD_Product_Name": "sample string 6", "BSD_Product_Code": "sample string 7", "BSD_Customer_Price": 8.0, "BSD_Vat_Rate": 9.0 }, { "P_Id": 1, "P_Quantity": 2, "P_PackSize": 3, "P_PackSizeId": 4, "Is_A_Deal": true, "BSD_Product_Name": "sample string 6", "BSD_Product_Code": "sample string 7", "BSD_Customer_Price": 8.0, "BSD_Vat_Rate": 9.0 } ], "BillingDetails": { "R_Name": "sample string 1", "R_EmailId": "sample string 2", "R_Mobile": 3, "R_Address": "sample string 4", "R_Pincode": 5 }, "ShippingDetails": { "SA_Id": 1, "SA_R_Id_FK": 2, "SA_Name": "sample string 3", "SA_MobileNumber": 4, "SA_Email": "sample string 5", "SA_Address": "sample string 6", "SA_Pincode": 7, "SA_Landmark": "sample string 8" }, "Note": "sample string 2", "UserId": 3 }
application/xml, text/xml
Sample:
<BulkSalesAmendmentSaveModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <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> <BillingDetails> <R_Address>sample string 4</R_Address> <R_EmailId>sample string 2</R_EmailId> <R_Mobile>3</R_Mobile> <R_Name>sample string 1</R_Name> <R_Pincode>5</R_Pincode> </BillingDetails> <BulkOrderId>1</BulkOrderId> <EdiaryCartProducts> <EdairyCartProductsForBulkSales> <BSD_Customer_Price>8</BSD_Customer_Price> <BSD_Product_Code>sample string 7</BSD_Product_Code> <BSD_Product_Name>sample string 6</BSD_Product_Name> <BSD_Vat_Rate>9</BSD_Vat_Rate> <Is_A_Deal>true</Is_A_Deal> <P_Id>1</P_Id> <P_PackSize>3</P_PackSize> <P_PackSizeId>4</P_PackSizeId> <P_Quantity>2</P_Quantity> </EdairyCartProductsForBulkSales> <EdairyCartProductsForBulkSales> <BSD_Customer_Price>8</BSD_Customer_Price> <BSD_Product_Code>sample string 7</BSD_Product_Code> <BSD_Product_Name>sample string 6</BSD_Product_Name> <BSD_Vat_Rate>9</BSD_Vat_Rate> <Is_A_Deal>true</Is_A_Deal> <P_Id>1</P_Id> <P_PackSize>3</P_PackSize> <P_PackSizeId>4</P_PackSizeId> <P_Quantity>2</P_Quantity> </EdairyCartProductsForBulkSales> </EdiaryCartProducts> <Note>sample string 2</Note> <ShippingDetails> <SA_Address>sample string 6</SA_Address> <SA_Email>sample string 5</SA_Email> <SA_Id>1</SA_Id> <SA_Landmark>sample string 8</SA_Landmark> <SA_MobileNumber>4</SA_MobileNumber> <SA_Name>sample string 3</SA_Name> <SA_Pincode>7</SA_Pincode> <SA_R_Id_FK>2</SA_R_Id_FK> </ShippingDetails> <UserId>3</UserId> </BulkSalesAmendmentSaveModels>
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.