Pera ServiceStack

<back to all web services

AgentDeviceRequest

The following routes are available for this service:
POST, OPTIONS/v1/AgentDevice
GET, DELETE, OPTIONS/v1/AgentDevice/{DeviceId}

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/AgentDeviceRequest HTTP/1.1 
Host: api.publicemployeeretirementassistance.com 
Content-Type: text/jsv
Content-Length: length

{
	AgentDevice: 
	{
		AgentDeviceId: 0,
		UserId: 00000000000000000000000000000000,
		DeviceId: String,
		Model: String,
		Platform: String,
		UUID: String
	},
	DeviceId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	},
	AgentDevice: 
	{
		AgentDeviceId: 0,
		UserId: 00000000000000000000000000000000,
		DeviceId: String,
		Model: String,
		Platform: String,
		UUID: String
	}
}