PATCH api/package/{id}/tariffs

The purpose of this method is update selected tariff details of the specified tariff

Error Messages
  • 404/Not Found - Package with ID x not found - Specified ID is not assigned to any tariffs
  • 409/Conflict - Validation Error

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id The ID of the package to be updated integer

Required

Body Parameters

PackageTariff
NameDescriptionTypeAdditional information
LCRTariff The Voice Tariff ID integer

None.

MobileTariff The Mobile Tariff ID integer

None.

DataTariff The Data Tariff ID integer

None.

SCTariff The Service Charge Tariff ID integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LCRTariff": 1,
  "MobileTariff": 1,
  "DataTariff": 1,
  "SCTariff": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.