POST v1/easypassagency/purchase

Purchase a mobile pass

Request Information

URI Parameters

None.

Body Parameters

AgencyCustomerPurchase
NameDescriptionTypeAdditional 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
}

application/xml, 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:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.