Pera ServiceStack

<back to all web services

AgentContactInfoRequest

The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/AgentContactInfo
GET/v1/AgentContactInfo/{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/AgentContactInfoRequest HTTP/1.1 
Host: api.publicemployeeretirementassistance.com 
Content-Type: text/csv
Content-Length: length

AgentContactInfo,AgentId
"[{Id:00000000000000000000000000000000,AgentId:0,PhysicalAddress:String,PhysicalCity:String,PhysicalState:String,PhysicalZip:String,MailingAddress:String,MailingCity:String,MailingState:String,MailingZip:String,PhoneNumber:String,Reference1Name:String,Reference1Phone:String,Reference2Name:String,Reference2Phone:String,DateCreated:0001-01-01}]",0

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

ResponseStatus,AgentContactInfo
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{Id:00000000000000000000000000000000,AgentId:0,PhysicalAddress:String,PhysicalCity:String,PhysicalState:String,PhysicalZip:String,MailingAddress:String,MailingCity:String,MailingState:String,MailingZip:String,PhoneNumber:String,Reference1Name:String,Reference1Phone:String,Reference2Name:String,Reference2Phone:String,DateCreated:0001-01-01}]"