Documentatie
Moeilijkheidsgraad:
Deze sectie is alleen van toepassing indien de module Abonnementen actief is.
API - Subscription - GET subscription/{id}
GET subscription/{id}
Gebruikt voor
getting the information of a specific subscription.
Authenticatie
Vereist een ingelogde beheerder.
Parameters
| Parameter | Description | Required | Example |
|---|---|---|---|
| id | ID of the subscription | Yes | 13 |
| lang | Language | No | dutch |
Response codes
- 200 OK
Voorbeeld
Ophalen informatie abonnement 13.
GET api/rest/subscription/13?lang=english
Response:
{
"subscription_id": 1,
"active": null,
"name": "Test Abo",
"desc": "Test Abo",
"long_desc": "Test Abo",
"long_memo": null,
"price": "12",
"currency": "",
"setupprice": "",
"setupcurrency": "",
"account_code": null,
"account_sign": null,
"cust_account_code": null,
"cust_account_sign": null
}




