BootView WebApi

<back to all web services


The following routes are available for this service:
PUT/customers/{customerId}/returnlocations/{id}Updates an existing return location. Fails if the return location doesn't exist.
UpdateCustomerReturnLocation Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe customer Id.
IdpathGuidYesThe return location Id.
NamebodystringYesThe label or name of the return location.
AddressbodystringNoThe complete address of the return location.
PhoneNumberbodystringNoThe phone number of the return location.
PhoneNumber2bodystringNoThe alternate phone number of the return location.
ContactNamebodystringNoThe contact name of the return location.
IsDeletedbodyboolYesWhether the return location is deleted. Default is false when not supplied.
IsMappablebodyboolYesWhether the new return location is mappable.
MapStreetbodystringNoThe Map Street Address of the new return location.
MapCitybodystringNoThe Map City of the new return location.
MapStatebodystringNoThe Map State of the new return location.
MapRegionbodyintNoThe Map Region of the new return location.
MapPostalCodebodystringNoThe Map Postal Code of the new return location.
CrossStreetbodystringNoThe location Cross Street description
AdditionalInformationbodystringNoAdditional information to be shown by MyBootInfo
IsDefaultbodyboolYesWhether the new return location is the default.
IsMotoristReturnLocationbodyboolNoWhether the new return location is accessible to motorists
ReturnLocationTimingsbodyList<CustomerReturnLocationTiming>NoAn array of objects representing the operating hours of the returnLocation.
CapacitybodyintNoThe maximum number of boots that can be stored at this location.
ThresholdbodyintNoThe threshold of the location to be used for alerts and reports
BootCountbodyintNoHow many boots are currently at this location.
CustomerReturnLocationTiming Parameters:
NameParameterData TypeRequiredDescription

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


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

PUT /customers/{customerId}/returnlocations/{id} HTTP/1.1 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

	name: String,
	address: String,
	phoneNumber: String,
	phoneNumber2: String,
	contactName: String,
	isDeleted: False,
	isMappable: False,
	mapStreet: String,
	mapCity: String,
	mapState: String,
	mapRegion: 0,
	mapPostalCode: String,
	crossStreet: String,
	latitude: 0,
	longitude: 0,
	additionalInformation: String,
	isDefault: False,
	isMotoristReturnLocation: False,
			dayCode: 0,
			from: String,
			to: String
	capacity: 0,
	threshold: 0,
	bootCount: 0
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length