MyHome.ie Data Delivery Service

<back to all web services

AnalyticsPOAReport

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/analytics/poareport
AnalyticsPOAReport Parameters:
NameParameterData TypeRequiredDescription
FromDatebodystringNo
ToDatebodystringNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
CorrelationIdformstringNo
ActiveUserIdformint?No
VersionformdoubleNo
RequestTypeIdformintNo
AnalyticsPOAReportResponse Parameters:
NameParameterData TypeRequiredDescription
POAReportformList<POAReport>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
BaseType Parameters:
NameParameterData TypeRequiredDescription
VersionformdoubleNo
POAReport Parameters:
NameParameterData TypeRequiredDescription
PropertyIDformintNo
GroupIDformintNo
DisplayAddressformstringNo
EircodeformstringNo
PropertyClassIDformintNo
PropertyStatusIDformintNo
Priceformdecimal?No
ShowPriceformboolNo
CreatedOnDateformstringNo
ActivatedOnformstringNo

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 /analytics/poareport HTTP/1.1 
Host: agentapi.myhome.ie 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	FromDate: String,
	ToDate: String,
	ApiKey: String,
	CorrelationId: String,
	ActiveUserId: 0,
	Version: 0,
	RequestTypeId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	POAReport: 
	[
		{
			PropertyID: 0,
			GroupID: 0,
			DisplayAddress: String,
			Eircode: String,
			PropertyClassID: 0,
			PropertyStatusID: 0,
			Price: 0,
			ShowPrice: False,
			CreatedOnDate: String,
			ActivatedOn: String
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Version: 0
}