BootView WebApi

<back to all web services

CreateCustomerCityCenter

The following routes are available for this service:
POST/customers/{customerId}/citycentersCreates a new City Center entry for this Customer.
CreateCustomerCityCenter Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe customer 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

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

HTTP + CSV

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

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

{"customerId":"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"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

"00000000000000000000000000000000"