PUT | /customers/{customerId}/citycenters/{id} | Updates an existing City Center entry for this Customer. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerId | path | Guid | Yes | The customer Id. |
Id | path | Guid | Yes | The City Center Id. |
Name | body | string | Yes | The label or name of the City Center |
PhoneNumber | body | string | No | The phone number associated with the City Center. |
PhoneNumber2 | body | string | No | The alternate phone number associated with the City Center. |
Address1 | body | string | No | The address1 associated with the City Center. |
Address2 | body | string | No | The address2 associated with the City Center. |
City | body | string | No | The city associated with the City Center. |
State | body | string | No | The 2 digit state code associated with the City Center. |
Zip | body | string | No | The zipcode associated with the City Center. |
CrossStreet | body | string | No | The City Center Cross Street |
Latitude | body | string | No | The Website URL |
Longitude | body | decimal | No | Longitude |
Website | body | string | No | |
Hours | body | string | No | The City Center hours |
TypesOfPayment | body | string | No | Zipcode |
PaymentPlans | body | string | No | Payment Plan details |
ImportantNotes | body | string | No | Important Notes |
AdditionalInformation | body | string | No | Additional Information |
IsDeleted | body | bool | No | Is Deleted |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateCustomerCityCenter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
<AdditionalInformation>String</AdditionalInformation>
<Address1>String</Address1>
<Address2>String</Address2>
<City>String</City>
<CrossStreet>String</CrossStreet>
<CustomerId>00000000-0000-0000-0000-000000000000</CustomerId>
<Hours>String</Hours>
<Id>00000000-0000-0000-0000-000000000000</Id>
<ImportantNotes>String</ImportantNotes>
<IsDeleted>false</IsDeleted>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<Name>String</Name>
<PaymentPlans>String</PaymentPlans>
<PhoneNumber>String</PhoneNumber>
<PhoneNumber2>String</PhoneNumber2>
<State>String</State>
<TypesOfPayment>String</TypesOfPayment>
<Website>String</Website>
<Zip>String</Zip>
</UpdateCustomerCityCenter>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">00000000-0000-0000-0000-000000000000</guid>