Trendsic Platform Service

<back to all web services

AddressRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/getAddress/{AddressID}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class AddressRequest
{
    open var AddressID:Int? = null
}

open class AddressResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var Address:Address? = null
}

open class Address
{
    open var ID:Int? = null
    open var AddressTypeID:Short? = null
    open var AddressContact:String? = null
    open var AttentionTo:String? = null
    open var AddressLine1:String? = null
    open var AddressLine2:String? = null
    open var AddressLine3:String? = null
    open var AddressCity:String? = null
    open var AddressState:String? = null
    open var AddressZip:String? = null
    open var AddressCountry:String? = null
    open var PhoneNumber:String? = null
    open var FaxNumber:String? = null
    open var UID:UUID? = null
    open var Name:String? = null
}

Kotlin AddressRequest DTOs

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

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}}