ReferenceTariff plan

Tariff plan

The API provides services to retrieve the collection of tariff plans or a single tariff plan, as well as CRUD operations via POST, GET, PATCH and DELETE actions.

The following is a sample tariff plan in JSON representation:

{
"id": 1,
"name": "Evaluation Plan",
"description": "Plan for first-time customers, including 3 SIMs per month",
"status": {
"id": 2,
"description": "Deprecated"
},
"deprecation_date": "2016-01-20 00:00:00",
"min_runtime": {
"id": 12,
"number_of_units": 12,
"unit":{
"id": 1,
"name": "month"
}
},
"payment":[
{
"id": 2,
"interval": {
"id": 1,
"name": "month"
},
"amount": 29.99,
"currency": {
"id":1,
"code": "EUR",
"symbol": "€"
}
},
{
"id": 5,
"interval": {
"id": 2,
"name": "contract term"
},
"amount": 450.00,
"currency": {
"id":1,
"code": "EUR",
"symbol": "€"
}
}
]
}

Tariff plan object

Here is the description of the tariff plan object:

NameTypeDescription
idIntegerUnique ID of this tariff plan
nameStringshort name of this tariff plan
descriptionStringlong description of this tariff plan
statusObjectthe status of this tariff plan
owner_organisationObjectthe organization that owns the tariff plan
deprecation_dateDateDate when the tariff plan became deprecated
min_runtimeObjectminimum running duration for this tariff plan
paymentObjectlist of available payment schemes for this tariff plan