MyHome.ie Data Delivery Service

<back to all web services

GetGroupPowerBITokenRequest

Requires Authentication
The following routes are available for this service:
GET/group/token/{ReportGuid}
GetGroupPowerBITokenRequest Parameters:
NameParameterData TypeRequiredDescription
ReportGuidpathstringNo
DataSetGuidquerystringNo
GroupIdqueryint?No
BaseDeliveryRequest Parameters:
NameParameterData TypeRequiredDescription
SessionIdformstringNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
CorrelationIdformstringNo
ActiveUserIdformint?No
VersionformdoubleNo
RequestTypeIdformintNo
GetUserResponse Parameters:
NameParameterData TypeRequiredDescription
UserformUserNo
User Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
FamilyNameformstringNo
SubformstringNo
RoleformstringNo
EmailformstringNo
GroupIdformintNo
HasMarketShareSubscriptionformboolNo
GroupGuidformstringNo
TokenExpireInformDateTime?No
AccountManagerformContactNo
Contact Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
PhoneformstringNo
EmailformstringNo

To override the Content-type in your clients, use the 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.

GET /group/token/{ReportGuid} HTTP/1.1 
Host: agentapi.myhome.ie 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"User":{"Id":0,"Name":"String","FamilyName":"String","Sub":"String","Role":"String","Email":"String","GroupId":0,"HasMarketShareSubscription":false,"GroupGuid":"String","TokenExpireIn":"0001-01-01T00:00:00.0000000","AccountManager":{"Name":"String","Phone":"String","Email":"String"}}}