Affluenza REST API

<back to all web services

CustomerContactGetRequest

The following routes are available for this service:
GET/customers/contact/{contactId}
GET/contacts/{contactId}

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

HTTP + JSV

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

POST /jsv/reply/CustomerContactGetRequest HTTP/1.1 
Host: www.plusrated.com 
Content-Type: text/jsv
Content-Length: length

{
	contactId: 00000000000000000000000000000000,
	appKey: 0,
	token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	status: Success,
	response: 
	{
		firstName: String,
		lastName: String,
		email: String,
		responsibility: String,
		sector: String,
		observation: String,
		phone: String,
		branchLine: 0,
		createDate: 0001-01-01,
		customerId: 00000000000000000000000000000000,
		active: False,
		id: 00000000000000000000000000000000
	},
	errorMessage: 
	{
		message: String,
		statusCode: 0
	}
}