sites
Add a site under parent site.
Request Information
URI Parameters
None.
Body Parameters
Create a site
AddSiteRequestDtoName | Description | Type | Additional information |
---|---|---|---|
siteName |
Name of the sub site |
string |
Required |
parentId |
The id of the parent site to create a sub site |
integer |
Required |
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. |
id |
Id of the site |
integer |
None. |
name | string |
None. |
Response Information
Standard Responses
Result that contains the site identifier, 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. |