POST Dealer/OrderPurchase
Request Information
URI Parameters
None.
Body Parameters
OrderPurchaseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DistID | integer |
None. |
|
| PaymentMethodID | integer |
None. |
|
| CreditCardID | integer |
None. |
|
| DeviceInfo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DistID": 1,
"PaymentMethodID": 2,
"CreditCardID": 3,
"DeviceInfo": "sample string 4"
}
application/xml, text/xml
Sample:
<OrderPurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.WebAPI.Models"> <CreditCardID>3</CreditCardID> <DeviceInfo>sample string 4</DeviceInfo> <DistID>1</DistID> <PaymentMethodID>2</PaymentMethodID> </OrderPurchaseRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |