Pera ServiceStack

<back to all web services

AgentAppointmentsByDistrictRequest

The following routes are available for this service:
GET,OPTIONS/v1/Agent/AppointmentsByDistrict
GET,OPTIONS/v1/Agent/AppointmentsByDistrict/{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/AgentAppointmentsByDistrictRequest HTTP/1.1 
Host: api.publicemployeeretirementassistance.com 
Content-Type: text/jsv
Content-Length: length

{
	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
			}
		]
	},
	CalendarEvents: 
	[
		{
			CalendarEventId: 0,
			CalendarId: 00000000000000000000000000000000,
			EventStart: 0001-01-01,
			EventEnd: 0001-01-01,
			Location: String,
			Summary: String,
			Description: String,
			EventTypeId: 0,
			Recurrence: False,
			RecurrenceFrequency: String,
			RecurrenceBy: String,
			RecurrenceByValue: String,
			RecurrenceUntil: 0001-01-01,
			CreatedBy: String,
			DateCreated: 0001-01-01,
			ModifiedBy: String,
			DateModified: 0001-01-01,
			Deleted: False,
			TimeZone: String,
			Offset: 0,
			TextReminderSentDate: 0001-01-01,
			AgentReminderSentDate: 0001-01-01,
			ContactId: 0,
			IsPrivate: False,
			IsNoShow: False,
			AgentId: 0,
			AgentName: String,
			CalendarEventCheckInId: 0,
			CheckInDate: 0001-01-01,
			CheckOutDate: 0001-01-01,
			VendorType: String,
			ApptType: String,
			IsDefaultCampaign: False
		}
	]
}