This request will return the list of SOCS that can be applied to products of type MVNO_RATEPLAN and MVNO_SERVICE.
| URL | https://api.telecomx.dk/mvno/socs | |
|---|---|---|
| Method | GET | |
| Access level | ADMIN. | |
https://api.telecomx.dk/mvno/socs
An array of objects each as described below.
| JSON object | ||
|---|---|---|
| _id | String | SOC name. |
| description | String | Short description of the SOC. |
| minutes | Number | Number of minutes the SOC includes pr. month, 0 if none. |
| data | Number | Number of megabytes the SOC includes pr. month, 0 if none. |
| cost | Number | The cost of the SOC pr. month. |
| usageCosts | Array | List of the costs this SOC has, when using data/minutes outside of the SOC's subscription. Only used by data/voice SOCs |
| usageCosts[].cost | Number | The cost of the usage at this step |
| usageCosts[].threshold | Number | When to advance to the next usage “step”. As an example this could be 1024 for a data SOC, if this is the cost up until 1024 mb. Infinity is used when there is no upper limit when to stop using this step. |
[ { _id: 'PUBAPN2', description: 'Public IP address', minutes: 0, data: 0, cost: 2.00 }, ... ]
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |