Status anzeigen
Ruft die Informationen einer vorhandenen Nachricht ab. Diese Nachricht kann eine gesendete oder eine empfangene Nachricht sein. Sie müssen nur die eindeutige Nachrichten-ID angeben, die beim Erstellen oder Empfangen zurückgegeben wurde.
PARAMETER
An unique random ID which is created on the BSG platform and is returned upon creation of the object.
A client reference
ATTRIBUTE
An unique random ID which is created on the BSG platform and is returned upon creation of the object.
The telephone number.
A client reference.
The date and time of the creation of the message
The scheduled date and time of the message.
The date and time of the creation of the message.
The date and time of the last status of the message. Possible values: scheduled, sent, delivered, read, expired, undeliverable, rejected, unknown.
NACHRICHTENSTATUS NACH ID ANFORDERN
DEFINITION
GET https://app.bsg.hk/rest/viber/{id}
BEISPIEL ANTWORT
{ „error“:0,
„errorDescription“:“No errors“,
„id“:“380972920000″,
„msisdn“:“380972920000″,
„reference“:“ext_id_19″,
„time_in“:“2017-01-17 09:20:02″,
„time_sent“:“2017-01-17 09:20:02″,
„time_dr“:“2017-01-17 09:20:02″,
„status“:“read“,
„price“:0.23,
„currency“:“EUR“
}
NACHRICHTENSTATUS NACH REFERENZEN ANFORDERN
DEFINITION
GET https://app.bsg.hk/rest/viber/{reference}
BEISPIEL ANTWORT
{ „error“:0,
„errorDescription“:“No errors“,
„id“:“380972920000″,
„msisdn“:“380972920000″,
„reference“:“ext_id_19″,
„time_in“:“2017-01-17 09:20:02″,
„time_sent“:“2017-01-17 09:20:02″,
„time_dr“:“2017-01-17 09:20:02″,
„status“:“read“,
„price“:0.23,
„currency“:“EUR“
}
IM FEHLERFALL
{ „error“: 40,
„errorDescription“:“Message not found“
}