sites
Update a Site
Request Information
URI Parameters
None.
Body Parameters
A site to update
UpdateSiteRequestDtoName | Description | Type | Additional information |
---|---|---|---|
id |
The id of the parent site to create a sub site |
integer |
Required |
siteName |
Name of the sub site |
string |
Required |
parentId |
The id of the parent site of this site. You can set this to any site that you have access to that is not a child of this site. |
integer |
None. |
applicableAgencyId |
Applicable agency id of site. Applicable agency will be unset if invalid value or null is provided. |
integer |
None. |
defaultLanguage |
Default language for site |
string |
None. |
industryTemplateId |
Industry template id of site |
integer |
None. |
streetAddress |
Street address of a site |
string |
None. |
city |
City for site |
string |
None. |
province |
Province of site |
string |
None. |
postalCode |
Postal code of site |
string |
None. |
name | string |
None. |
Response Information
Standard Responses
Result with data that contains site id and name, and, if failed, error messages
Name | Description | Type | Additional information |
---|---|---|---|
data | SiteResponseDto |
None. |
|
wasSuccessful | boolean |
None. |
|
errors | Collection of string |
None. |
Error Responses
HTTP Status Code | Error Message | Type | Additional Information |
---|---|---|---|
400 - BadRequest |
Result<SiteResponseDto> |
None. |