BootView WebApi

<back to all web services

FindCustomerReferenceReturnLocations

The following routes are available for this service:
GET/customers/reference/returnlocationsGets a list of the given customer's return locations based on customer reference id. Only returns the list if this user has access to this customer.
FindCustomerReferenceReturnLocations Parameters:
NameParameterData TypeRequiredDescription
idquerystringYesThe customer reference id

To override the Content-type in your clients, use the 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.

GET /customers/reference/returnlocations HTTP/1.1 
Host: api.paylock.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		name: String,
		address: String,
		phoneNumber: String,
		phoneNumber2: String,
		contactName: String,
		isDeleted: False,
		mapStreet: String,
		mapCity: String,
		mapState: String,
		mapRegion: 0,
		mapPostalCode: String,
		crossStreet: String,
		latitude: 0,
		longitude: 0,
		isMappable: False,
		isDefault: False,
		additionalInformation: String,
		returnLocationTimings: 
		[
			{
				dayCode: 0,
				from: String,
				to: String
			}
		],
		isMotoristReturnLocation: False,
		capacity: 0,
		threshold: 0,
		bootCount: 0
	}
]