BNN Api

<back to all web services

GetClientsWithin

Get Clients Within

The following routes are available for this service:
POST/GetClientsWithinGet Clients Within

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/GetClientsWithin HTTP/1.1 
Host: api.dev.bnn.us 
Content-Type: text/jsv
Content-Length: length

{
	Lat: 0,
	Lon: 0,
	Distance: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			Id: 0,
			FirstName: String,
			LastName: String,
			Reporter: String,
			Primary: False,
			AccountNum: String,
			Zip: String,
			Type: 0,
			Transport: String,
			Active: False,
			Notes: String,
			Email: String,
			Distance: 0,
			Company: String,
			MemberEmail: String,
			MobileNumber: String,
			TwoFactorAuthEnabled: False,
			TwoFactorAuthType: String,
			ApiSecretToken: String,
			ApiAllowedIpAddresses: String,
			Complimentary: False,
			Anonymous: False,
			DisableDataSubmit: False
		}
	],
	Total: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}