Required role: | Admin |
POST | /analytics/groups |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiKey | form | string | No | |
CorrelationId | form | string | No | |
ActiveUserId | form | int? | No | |
Version | form | double | No | |
RequestTypeId | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GroupAnalytics | form | List<GroupAnalytics> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Version | form | double | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AgentID | form | int | No | |
AgentGUID | form | string | No | |
Name | form | string | No | |
Address | form | string | No | |
Latitude | form | string | No | |
Longitude | form | string | No | |
AccountManagerID | form | int | No | |
Accountmanager | form | string | No | |
Locality | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /analytics/groups HTTP/1.1
Host: agentapi.myhome.ie
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ApiKey: String,
CorrelationId: String,
ActiveUserId: 0,
Version: 0,
RequestTypeId: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { GroupAnalytics: [ { AgentID: 0, AgentGUID: String, Name: String, Address: String, Latitude: String, Longitude: String, AccountManagerID: 0, Accountmanager: String, Locality: String } ], Version: 0, ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } } }