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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

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