Pera ServiceStack

<back to all web services

CampaignReadyRequest

The following routes are available for this service:
GET/v1/CampaignsReady
GET/v1/CampaignsReady/{CompanyId}

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

{
	CompanyId: 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
			}
		]
	},
	CampaignReady: 
	[
		{
			AgentId: 0,
			FirstName: String,
			LastName: String,
			AsapWeeklyAppts: 0,
			ListCount: 0,
			TimeZone: String,
			StatusId: 0,
			StatusNote: String,
			SlotsOpen: 0,
			CampaignsRunning: 0,
			Lists: 
			[
				{
					ListId: 0,
					ListName: String,
					Note: String,
					CreatedBy: String,
					DateCreated: 0001-01-01,
					OptOut: False,
					OptOutDate: 0001-01-01,
					Deleted: False,
					DeletedDate: 0001-01-01,
					RequiresMapping: False,
					ModifiedBy: String
				}
			]
		}
	]
}