Pera ServiceStack

<back to all web services

TicketUserRequest

The following routes are available for this service:
GET/v1/Ticket/UserId/{Status}

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/TicketUserRequest HTTP/1.1 
Host: api.publicemployeeretirementassistance.com 
Content-Type: text/csv
Content-Length: length

Ticket,UserId,Status
"[{AgentName:String,TicketType:String,TicketId:0,CreatedDate:0001-01-01,CreatedBy:00000000000000000000000000000000,Description:String,Resolution:String,IsClosed:False,IsFollowup:False,TicketTypeId:0,ModifiedDate:0001-01-01,ModifiedBy:String}]",00000000000000000000000000000000,String

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

ResponseStatus,Ticket
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{AgentName:String,TicketType:String,TicketId:0,CreatedDate:0001-01-01,CreatedBy:00000000000000000000000000000000,Description:String,Resolution:String,IsClosed:False,IsFollowup:False,TicketTypeId:0,ModifiedDate:0001-01-01,ModifiedBy:String}]"