Transfocus POD Web Services

<back to all web services

LoginRequest

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

HTTP + CSV

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

POST /csv/reply/LoginRequest HTTP/1.1 
Host: api.podapp.com.au 
Content-Type: text/csv
Content-Length: length

CompanyCode,PIN,DeviceID,VehicleCode,GCMRegistrationID
String,0,String,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

AuthToken,UserInfo,VehicleInfo,GlobalAlert,Success,ErrorMessage,ErrorCode
String,"{id:00000000000000000000000000000000,firstName:String,lastName:String,email:String,phone:String,pinCode:0,active:False,companyID:00000000000000000000000000000000,code:String}","{id:00000000000000000000000000000000,code:String,name:String,description:String,active:False,vehicleTypeID:String,companyID:00000000000000000000000000000000}",String,False,String,0