Affluenza REST API

<back to all web services

AccountGroupRequest

The following routes are available for this service:
POST,PUT,OPTIONS/accounts/group/
POST,PUT,OPTIONS/groups

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/AccountGroupRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: application/json
Content-Length: length

{"customerId":"00000000000000000000000000000000","group":{"name":"String","weightType":{"name":"String","value":0,"active":false,"id":"00000000000000000000000000000000"},"active":false,"id":"00000000000000000000000000000000"},"appKey":0,"token":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"status":"Success","response":false,"errorMessage":{"message":"String","statusCode":0}}