POST api/StockistOrderAmmendment
Request Information
URI Parameters
None.
Body Parameters
StockistOrderAmendmentSaveModelsName | Description | Type | Additional information |
---|---|---|---|
StockistOrderId | integer |
None. |
|
EdiaryCartProducts | Collection of EdiaryCartProductModels |
Required |
|
Note | string |
Required Max length: 200 |
|
UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "StockistOrderId": 1, "EdiaryCartProducts": [ { "P_Id": 1, "P_Quantity": 2, "P_PackSize": 3, "P_PackSizeId": 4, "Is_A_Deal": true }, { "P_Id": 1, "P_Quantity": 2, "P_PackSize": 3, "P_PackSizeId": 4, "Is_A_Deal": true } ], "Note": "sample string 2", "UserId": 3 }
application/xml, text/xml
Sample:
<StockistOrderAmendmentSaveModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <EdiaryCartProducts> <EdiaryCartProductModels> <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> </EdiaryCartProductModels> <EdiaryCartProductModels> <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> </EdiaryCartProductModels> </EdiaryCartProducts> <Note>sample string 2</Note> <StockistOrderId>1</StockistOrderId> <UserId>3</UserId> </StockistOrderAmendmentSaveModels>
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.