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 .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/AgentAppointmentsByDistrictRequest HTTP/1.1 
Host: api2.publicemployeeretirementassistance.com 
Content-Type: text/csv
Content-Length: length

AgentId
0

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ResponseStatus,CalendarEvents
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{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,IsInPerson:False,AgentId:0,AgentName:String,CalendarEventCheckInId:0,CheckInDate:0001-01-01,CheckOutDate:0001-01-01,VendorType:String,ApptType:String,IsDefaultCampaign:False}]"