POST api/myCronVend/vend
Request Information
URI Parameters
None.
Body Parameters
MyCronVendRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| api_key | string |
None. |
|
| meterNumber | string |
None. |
|
| amount | decimal number |
None. |
|
| referenceId | string |
None. |
|
| paymentMethod | PaymentMethod |
None. |
Request Formats
application/json, text/json
Sample:
{
"api_key": "sample string 1",
"meterNumber": "sample string 2",
"amount": 3.0,
"referenceId": "sample string 4",
"paymentMethod": 0
}
application/xml, text/xml
Sample:
<MyCronVendRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Areas.HelpPage.Models"> <amount>3</amount> <api_key>sample string 1</api_key> <meterNumber>sample string 2</meterNumber> <paymentMethod>Cash</paymentMethod> <referenceId>sample string 4</referenceId> </MyCronVendRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |