Pera ServiceStack

<back to all web services

SlotDistrictSearchRequest

The following routes are available for this service:
GET,OPTIONS/v1/SlotDistrict/Search

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

HTTP + JSV

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

POST /jsv/reply/SlotDistrictSearchRequest HTTP/1.1 
Host: api.publicemployeeretirementassistance.com 
Content-Type: text/jsv
Content-Length: length

{
	State: String,
	County: String,
	City: String,
	Zip: String,
	Miles: 0,
	NLG: False,
	Midland: False,
	GreatAmerican: False,
	VOYA: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	},
	SlotDistrict: 
	[
		{
			ID: 0,
			Name: String,
			County: String,
			DistrictId: 0,
			DistrictName: String,
			Address_Physical: String,
			Address_Mailing: String,
			City: String,
			Zip: String,
			Zip_4: String,
			StateId: 0,
			State: String,
			Phone: String,
			NumEmployees: 0,
			NumSchools: 0,
			Type: String,
			Status_NLG: False,
			Status_Midland: False,
			Status_Great_American: False,
			Status_VOYA: False,
			MVP: 0,
			RVP: 0,
			Agents: 
			[
				0
			],
			MilesAway: 0,
			HasComments: False
		}
	]
}