PartnerHub

<back to all web services

MessageList

The following routes are available for this service:
All Verbs/MessageList/{RequestType}/{Status}/{DateFilter}
All Verbs/MessageList/{RequestType}/{Status}

To override the Content-type in your clients 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 /jsv/reply/MessageList HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/jsv
Content-Length: length

{
	RequestType: String,
	Status: String,
	Items: 
	[
		{
			SerialNumber: String,
			Name: String,
			Messages: 
			[
				{
					Message: 
					{
						Id: 0,
						Endpoint: String,
						RequestType: String,
						RequestData: String,
						Confirmation: String,
						Status: Pending,
						Attempts: 0,
						CreationDate: 0001-01-01,
						LastUpdate: 0001-01-01,
						ReferenceId: String
					},
					FriendlyRequest: String
				}
			]
		}
	],
	DateFilter: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	RequestType: String,
	Status: String,
	Items: 
	[
		{
			SerialNumber: String,
			Name: String,
			Messages: 
			[
				{
					Message: 
					{
						Id: 0,
						Endpoint: String,
						RequestType: String,
						RequestData: String,
						Confirmation: String,
						Status: Pending,
						Attempts: 0,
						CreationDate: 0001-01-01,
						LastUpdate: 0001-01-01,
						ReferenceId: String
					},
					FriendlyRequest: String
				}
			]
		}
	],
	DateFilter: String
}