POST Call History Reporting
Enable or disable call history reporting for a directory number.
Sample Endpoint
POST /callHistory/{directoryNumber}
|
Parameter Type |
Parameter Name |
Sample Values/Format |
Mandatory |
Description |
|---|---|---|---|---|
|
Path |
directoryNumber |
String |
Yes |
Indicates the directory number to enable or disable call history reporting for. |
|
Response Type |
Value |
Description |
|---|---|---|
|
Successful Response |
200 OK |
Reporting status updated successfully. |
|
Error Response |
400 Bad Request |
Parameter missing or incorrect. |
|
401 Unauthorized |
Authentication required. |
|
|
403 Forbidden |
Authentication rejected. |
|
|
404 Not Found |
Directory number not found. |
|
|
500 Internal Server Error |
Server error. |
|
|
503 Service Unavailable |
Server is restarting or overloaded. |
↑