PATCH api/site/{id}/package

This method allows a user to specify the new package id to apply to the site.

Error Messages
  • 404/NotFound: Site with id = X not found - The specified ID does not exist
  • 409/Conflict: This site does not belong to a telephony customer - The Site ID specified is not one that belongs to a customer set as a telephony customer
  • 404NotFound: Package id X not found - Specified Package ID does not exist
  • 409Conflict: A business package cannot be assigned to a consumer site - Select a business customer to assign a business package to
  • 404/NotFound: No pricing information found for site with id = X - No pricing information found on the specified site ID
  • NotModified: No information updated

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id The unique identifer for the Site. integer

Required

Body Parameters

SitePackage
NameDescriptionTypeAdditional 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.