Pera ServiceStack

<back to all web services

orgGetSingleRequest

The following routes are available for this service:
GET, OPTIONS/v1/Organization/GetSingleBySchoolID/{schoolID}
GET, OPTIONS/v1/Organization/GetSingleByDistrictID/{districtID}

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

schoolID,districtID
0,0

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

ResponseStatus,org
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","{OrganizationId:0,OrganizationTypeId:0,StateID:0,StateName:String,DistrictID:0,DistrictName:String,CountyID:0,CountyName:String,SchoolID:0,SchoolName:String,EntityName:String,EntityId:String,Source:String,Pera_ListId:0,FipsCode:String}"