POST api/company/location
Add new location. Required fields: FirstName, LastName, CompanyName, Email, Password. Is not allowing multi location.
Request Information
URI Parameters
None.
Body Parameters
company info
CompanyAccountInfoName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
None. |
|
LastName | string |
None. |
|
CompanyName | string |
None. |
|
Phone | string |
None. |
|
BusinessCategoryId | integer |
None. |
|
Street1 | string |
None. |
|
Street2 | string |
None. |
|
City | string |
None. |
|
StateProvinceId | integer |
None. |
|
ZipPostal | string |
None. |
|
CountryId | integer |
None. |
|
string |
None. |
||
Password | string |
None. |
|
PromoCodeId | integer |
None. |
|
ShowCategory | boolean |
None. |
|
SimpleBookingMode | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "CompanyName": "sample string 3", "Phone": "sample string 4", "BusinessCategoryId": 5, "Street1": "sample string 6", "Street2": "sample string 7", "City": "sample string 8", "StateProvinceId": 9, "ZipPostal": "sample string 10", "CountryId": 11, "Email": "sample string 12", "Password": "sample string 13", "PromoCodeId": 1, "ShowCategory": true, "SimpleBookingMode": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |