Pera ServiceStack

<back to all web services

SlotDistrictRequest

The following routes are available for this service:
POST,OPTIONS/v1/SlotDistrict
PUT,DELETE,OPTIONS/v1/SlotDistrict/{ID}

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

{
	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
	},
	ID: 0
}
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
		}
	]
}