POST pos/packages
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPrepaidPackageRequestName | Description | Type | Additional information |
---|---|---|---|
Packages | Collection of OrderPackageTransactionMobile |
None. |
Request Formats
application/json, text/json
Sample:
{ "Packages": [ { "OrderItemId": 1, "OrderItemMId": 1, "DiscountId": 1, "Quantity": 1.0, "RedemptionQuantity": 2.0, "OrderPackageItemId": 1 }, { "OrderItemId": 1, "OrderItemMId": 1, "DiscountId": 1, "Quantity": 1.0, "RedemptionQuantity": 2.0, "OrderPackageItemId": 1 } ] }
application/xml, text/xml
Sample:
<ApiPrepaidPackageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api"> <Packages xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Catalog"> <d2p1:OrderPackageTransactionMobile> <d2p1:DiscountId>1</d2p1:DiscountId> <d2p1:OrderItemId>1</d2p1:OrderItemId> <d2p1:OrderItemMId>1</d2p1:OrderItemMId> <d2p1:OrderPackageItemId>1</d2p1:OrderPackageItemId> <d2p1:Quantity>1</d2p1:Quantity> <d2p1:RedemptionQuantity>2</d2p1:RedemptionQuantity> </d2p1:OrderPackageTransactionMobile> <d2p1:OrderPackageTransactionMobile> <d2p1:DiscountId>1</d2p1:DiscountId> <d2p1:OrderItemId>1</d2p1:OrderItemId> <d2p1:OrderItemMId>1</d2p1:OrderItemMId> <d2p1:OrderPackageItemId>1</d2p1:OrderPackageItemId> <d2p1:Quantity>1</d2p1:Quantity> <d2p1:RedemptionQuantity>2</d2p1:RedemptionQuantity> </d2p1:OrderPackageTransactionMobile> </Packages> </ApiPrepaidPackageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |