Phonixx Api

<back to all web services

PrimaryVehicle

The following routes are available for this service:
POST,OPTIONS/account/vehicle/{VehicleId}/primary
POST,OPTIONS/account/{UserId}/vehicle/{VehicleId}/primary

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/PrimaryVehicle HTTP/1.1 
Host: parkmobile.us 
Content-Type: application/xml
Content-Length: length

<PrimaryVehicle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:parkmobile:phonixx:api:v1">
  <UserId>0</UserId>
  <VehicleId>0</VehicleId>
</PrimaryVehicle>