POST v1/easypassagency/purchase
Request Information
URI Parameters
None.
Body Parameters
AgencyCustomerPurchaseName | Description | Type | Additional information |
---|---|---|---|
customer_id | string |
None. |
|
fare_instrument_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "customer_id": "sample string 1", "fare_instrument_id": 2 }
text/xml
Sample:
<AgencyCustomerPurchase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransitMobileApi.Models"> <customer_id>sample string 1</customer_id> <fare_instrument_id>2</fare_instrument_id> </AgencyCustomerPurchase>
application/x-www-form-urlencoded
Sample:
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. |