Pera ServiceStack

<back to all web services

SubmittedBusinessDetailsRequest

The following routes are available for this service:
GET,OPTIONS/v1/SubmittedBusinessReport/{StartDate}/{EndDate}/{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/SubmittedBusinessDetailsRequest HTTP/1.1 
Host: api2.publicemployeeretirementassistance.com 
Content-Type: text/jsv
Content-Length: length

{
	StartDate: 0001-01-01,
	EndDate: 0001-01-01,
	AgentId: 0
}
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
			}
		]
	},
	ReportData: 
	[
		{
			AgentId: 0,
			AgentName: String,
			ContactName: String,
			Carriers: String,
			LifeAP: 0,
			AnnuityFlow: 0,
			AnnuityTransfer: 0,
			DateCreated: 0001-01-01
		}
	]
}