POST v1/easypassagency/activepass

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
}

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AgencyCustomerPass'.

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.