PUT api/package/{id}/freeminutes
The purpose of this method is to update a free minute plan of a specified package.
Error Messages
- 404/Not Found - Package with ID x not found - Specified ID is not assigned to any packages
- 409/Conflict - Free mins plan does not exist - Specified ID is not assigned to any Free Minute Plans
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | The ID of the package to be updated | integer |
Required |
Body Parameters
PackageFreeMinutesName | Description | Type | Additional information |
---|---|---|---|
FreeMinutes | Specify the ID of the Free Minute Plan | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "FreeMinutes": [ 1, 2 ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.