Pera ServiceStack

<back to all web services

ListCriteriaRequest

The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/ListCriteria
GET,POST,PUT,DELETE,OPTIONS/v1/ListCriteria/{ListCriteriaId}

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

ListCriteria
"[{ListCriteriaId:0,ListId:0,TableName:String,FieldName:String,FieldValue:String,OperatorValue:String,DateCreated:0001-01-01}]"

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

ResponseStatus,ListCriteria
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{ListCriteriaId:0,ListId:0,TableName:String,FieldName:String,FieldValue:String,OperatorValue:String,DateCreated:0001-01-01}]"