POST v1/easypassagency/activepass

Active a Specific Easy Pass for a Customer, this will call passport api to purchase a pass. Return the Passport easy pass information, and remove the passes from the list of purchased passes

Request Information

URI Parameters

None.

Body Parameters

AgencyCustomerPass
NameDescriptionTypeAdditional information
customer_id

string

None.

pass_id

integer

None.

lat

decimal number

None.

lon

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "customer_id": "sample string 1",
  "pass_id": 2,
  "lat": 3.1,
  "lon": 4.1
}

application/xml, text/xml

Sample:
<AgencyCustomerPass 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>
  <lat>3.1</lat>
  <lon>4.1</lon>
  <pass_id>2</pass_id>
</AgencyCustomerPass>

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.