Pera ServiceStack

<back to all web services

AgentVoiceConnectRequest

The following routes are available for this service:
GET,PUT,OPTIONS/v1/AgentVoiceConnect/{AgentId}

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

{
	AgentId: 0,
	AVC: 
	{
		Id: 0,
		AgentId: 0,
		AgentPhone: String,
		AgentVoiceStatus: 0,
		ReservedDate: 0001-01-01
	}
}
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
			}
		]
	},
	AVC: 
	{
		Id: 0,
		AgentId: 0,
		AgentPhone: String,
		AgentVoiceStatus: 0,
		ReservedDate: 0001-01-01
	}
}