MyHome.ie Data Delivery Service

<back to all web services

AnalyticsGroups

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/analytics/groups
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
CorrelationIdformstringNo
ActiveUserIdformint?No
VersionformdoubleNo
RequestTypeIdformintNo
AnalyticsGroupsResponse Parameters:
NameParameterData TypeRequiredDescription
GroupAnalyticsformList<GroupAnalytics>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
BaseType Parameters:
NameParameterData TypeRequiredDescription
VersionformdoubleNo
GroupAnalytics Parameters:
NameParameterData TypeRequiredDescription
AgentIDformintNo
AgentGUIDformstringNo
NameformstringNo
AddressformstringNo
LatitudeformstringNo
LongitudeformstringNo
AccountManagerIDformintNo
AccountmanagerformstringNo
LocalityformstringNo

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.

POST /analytics/groups HTTP/1.1 
Host: agentapi.myhome.ie 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ApiKey":"String","CorrelationId":"String","ActiveUserId":0,"Version":0,"RequestTypeId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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"}}}