Pera ServiceStack

<back to all web services

OrganizationRequest

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

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/OrganizationRequest HTTP/1.1 
Host: api2.publicemployeeretirementassistance.com 
Content-Type: application/json
Content-Length: length

{"Organization":[{"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"}],"OrganizationId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]},"Organization":[{"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"}],"CityOptions":[{"city":"String","city_ascii":"String","city_alt":"String","state_id":"String","state_name":"String","county_fips":0,"county_name":"String","county_fips_all":"String","county_name_all":"String","lat":0,"lng":0,"population":0,"timezone":"String","zips":"String"}]}