Affluenza REST API

<back to all web services

AddressStateGetRequest

The following routes are available for this service:
GET/addresses/state/{stateId}
GET/states/{stateId}

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/AddressStateGetRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: text/csv
Content-Length: length

StateId,AppKey,Token
0,0,String

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

Status,Response,ErrorMessage
Success,"{name:String,acronym:String,country:{name:String,id:0},id:0}","{message:String,statusCode:0}"