PUT api/site/{id}/package
This method updates the site to which this package belongs.
Note: The newly selected site must belong to the same company as the original site.
Error Messages
- 401/NotFound: Site with id = X not found
- 409/Conflict: site company not customer
- 401/NotFound: Package id X not found
- 409/Conflict: Business package not assigned to consumer site id X
- 401/NotFound: No pricing information found for site with id = X
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | The unique identifer for the Site. | integer |
Required |
Body Parameters
SitePackageName | Description | Type | Additional information |
---|---|---|---|
Id | The package ID for this site | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.