PUT api/site/{id}/freeminutes
This method adds Free Minute Plans, via the Free Minute Plan ID, to the specified site.
Error messages
- 401/NotFound:Site with id = X not found
- 401/NotFound: validateText
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | The unique identifer for the Site. | integer |
Required |
Body Parameters
SiteFreeMinutes| Name | Description | Type | Additional information |
|---|---|---|---|
| PlanIds | This is a list of Free Minute Plan IDs for this site. It should only be supplied if TakeFromPackage is False. | Collection of integer |
None. |
| TakeFromPackage | This is a Boolean field that indicates whether the Free Minute Plans for this site should be taken from the Package assigned to the site. | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PlanIds": [
1,
2
],
"TakeFromPackage": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.