POST api/order/buyvouchers2
This will buy you a voucher that you can sell to your customer, but now with a proper error
Request Information
URI Parameters
None.
Body Parameters
PlaceOrderModelName | Description | Type | Additional information |
---|---|---|---|
ProductNumber | string |
None. |
|
Quantity | integer |
None. |
|
Subscription | string |
None. |
|
SubscriptionPin | string |
None. |
|
CountryCode | string |
None. |
|
DeliveryType | DeliveryType |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProductNumber": "sample string 1", "Quantity": 2, "Subscription": "sample string 3", "SubscriptionPin": "sample string 4", "CountryCode": "sample string 5", "DeliveryType": 0 }
application/xml, text/xml
Sample:
<PlaceOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaxRetail.DTO.Model"> <CountryCode>sample string 5</CountryCode> <DeliveryType>VOT</DeliveryType> <ProductNumber>sample string 1</ProductNumber> <Quantity>2</Quantity> <Subscription>sample string 3</Subscription> <SubscriptionPin>sample string 4</SubscriptionPin> </PlaceOrderModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.