BootView WebApi

<back to all web services

UpdateCustomerCityCenter

The following routes are available for this service:
PUT/customers/{customerId}/citycenters/{id}Updates an existing City Center entry for this Customer.
UpdateCustomerCityCenter Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe customer Id.
IdpathGuidYesThe City Center Id.
NamebodystringYesThe label or name of the City Center
PhoneNumberbodystringNoThe phone number associated with the City Center.
PhoneNumber2bodystringNoThe alternate phone number associated with the City Center.
Address1bodystringNoThe address1 associated with the City Center.
Address2bodystringNoThe address2 associated with the City Center.
CitybodystringNoThe city associated with the City Center.
StatebodystringNoThe 2 digit state code associated with the City Center.
ZipbodystringNoThe zipcode associated with the City Center.
CrossStreetbodystringNoThe City Center Cross Street
LatitudebodystringNoThe Website URL
LongitudebodydecimalNoLongitude
WebsitebodystringNo
HoursbodystringNoThe City Center hours
TypesOfPaymentbodystringNoZipcode
PaymentPlansbodystringNoPayment Plan details
ImportantNotesbodystringNoImportant Notes
AdditionalInformationbodystringNoAdditional Information
IsDeletedbodyboolNoIs Deleted

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.

PUT /customers/{customerId}/citycenters/{id} HTTP/1.1 
Host: api.paylock.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	customerId: 00000000000000000000000000000000,
	id: 00000000000000000000000000000000,
	name: String,
	phoneNumber: String,
	phoneNumber2: String,
	address1: String,
	address2: String,
	city: String,
	state: String,
	zip: String,
	crossStreet: String,
	latitude: 0,
	longitude: 0,
	website: String,
	hours: String,
	typesOfPayment: String,
	paymentPlans: String,
	importantNotes: String,
	additionalInformation: String,
	isDeleted: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

00000000000000000000000000000000