Trendsic Platform Service

<back to all web services

AddressRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/getAddress/{AddressID}
AddressRequest Parameters:
NameParameterData TypeRequiredDescription
AddressIDpathintNo
AddressResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
AddressformAddressNo
Address Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
AddressTypeIDformbyteNo
AddressContactformstringNo
AttentionToformstringNo
AddressLine1formstringNo
AddressLine2formstringNo
AddressLine3formstringNo
AddressCityformstringNo
AddressStateformstringNo
AddressZipformstringNo
AddressCountryformstringNo
PhoneNumberformstringNo
FaxNumberformstringNo
UIDformGuidNo
NameformstringNo

To override the Content-type in your clients, use the 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.

GET /v1/getAddress/{AddressID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Address":{"ID":0,"AddressTypeID":0,"AddressContact":"String","AttentionTo":"String","AddressLine1":"String","AddressLine2":"String","AddressLine3":"String","AddressCity":"String","AddressState":"String","AddressZip":"String","AddressCountry":"String","PhoneNumber":"String","FaxNumber":"String","UID":"00000000000000000000000000000000","Name":"String"}}