Unterkonten abrufen
Mit dieser Methode können Sie Ihre Unterkonten abrufen
GET
/sub-accounts
Beispiele
HTTP
httpCopyGET /sub-accounts HTTP/1.1
Host: api.smsup.ch
Authorization: Bearer your.token
Accept: application/json
Ergebnisformat
JSON
{
"status": 1,
"message": "OK",
"sub-accounts": [
{
"client_id": "1010101",
"email": "S@ch.fr",
"firstname": "Yoh",
"lastname": "Asakura",
"city": "Izumo",
"phone": "41781234567",
"address1": "Somewhere",
"address2": "Elsewere",
"zip": "36520",
"country": "",
"country_code": "FR",
"lang": "FR",
"credits": "0",
"unlimited": "1",
"description": "Shaman King Company",
"senderid": "",
"status": "1",
"time_zone": "Europe/Paris",
"current_month_consumption": 556,
"previous_month_consumption": 1203
}
]
}