MyHome.ie Data Delivery Service

<back to all web services

GetFeaturedSpotMessagesList

The following routes are available for this service:
POST,GET/message/featuredspotmessageslist
GetFeaturedSpotMessagesList Parameters:
NameParameterData TypeRequiredDescription
FeatureSpotIdbodyint?No
UserIdbodyint?No
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
CorrelationIdformstringNo
ActiveUserIdformint?No
VersionformdoubleNo
RequestTypeIdformintNo
FeaturedSpotMessagesListResponse Parameters:
NameParameterData TypeRequiredDescription
FeaturedSpotMessageformList<FeaturedSpotMessages>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
BaseType Parameters:
NameParameterData TypeRequiredDescription
VersionformdoubleNo
FeaturedSpotMessages Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FeatureSpotIdformintNo
MessageTextformstringNo
UserIdformintNo
NameformstringNo
EmailformstringNo
UserNameformstringNo

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.

POST /message/featuredspotmessageslist HTTP/1.1 
Host: agentapi.myhome.ie 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"FeatureSpotId":0,"UserId":0,"ApiKey":"String","CorrelationId":"String","ActiveUserId":0,"Version":0,"RequestTypeId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"FeaturedSpotMessage":[{"Id":0,"FeatureSpotId":0,"MessageText":"String","UserId":0,"Name":"String","Email":"String","UserName":"String"}],"Version":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}