POST api/Delivery/SetOrderDelivery
Request Information
URI Parameters
None.
Body Parameters
Multisponsor.NetCommerce.API.Models.DeliveryRequestName | Description | Type | Additional information |
---|---|---|---|
OrderGuid | string |
None. |
|
ProductSegmentType | integer |
None. |
|
DeliveryProvider | integer |
None. |
|
Program | string |
None. |
|
ProductReference | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderGuid": "sample string 1", "ProductSegmentType": 2, "DeliveryProvider": 3, "Program": "sample string 4", "ProductReference": "sample string 5" }
application/xml, text/xml
Sample:
<DeliveryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Multisponsor.NetCommerce.API.Models"> <DeliveryProvider>3</DeliveryProvider> <OrderGuid>sample string 1</OrderGuid> <ProductReference>sample string 5</ProductReference> <ProductSegmentType>2</ProductSegmentType> <Program>sample string 4</Program> </DeliveryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Multisponsor.NetCommerce.API.Models.ResponseOfSystem.Collections.Generic.ListOfSystem.StringName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Message | Collection of Multisponsor.NetCommerce.API.Models.MessageResult |
None. |
|
ObjectResponse | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Message": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ], "ObjectResponse": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ResponseOfArrayOfstringuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Multisponsor.NetCommerce.API.Models"> <Message> <MessageResult> <Message>sample string 1</Message> </MessageResult> <MessageResult> <Message>sample string 1</Message> </MessageResult> </Message> <ObjectResponse xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ObjectResponse> <Status>true</Status> </ResponseOfArrayOfstringuHEDJ7Dj>