This request will set the current greeting to be used for voicemail on a standalone mobile phone.
| URL | https://api.telecomx.dk/mvno/voicemail/PHONENUMBER/PINCODE/greeting | ||
|---|---|---|---|
| Method | POST | ||
| Access level | N/A | ||
| Param | PHONENUMBER | Phonenumber in e.164 format. | |
| PINCODE | Pin code for the account. | ||
| Body | id | Id of greeting to use - 1-9. | |
{
"id": "1"
}
| JSON Object | ||
|---|---|---|
| success | Boolean | True on success. |
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 404 | id | Not found |
| 404 | pin | Not found |
| 403 | number | Voicemail not enabled for this number |
| 403 | pin | Login via pin disabled due to multiple failed logins |
| 422 | pin | Pin code is invalid |
| 422 | id | Greeting id is invalid, must be 1-9 |
| 500 | internal_error | <Unspecified> |