Read Answerrules for a User
Changed onRequest
- Base URLhttps://ns-api.com/ns-api/v2
- URLhttps://ns-api.com/ns-api/v2/domains/{domain}/users/{user}/answerrules
- AuthHTTP bearer
Path parameters
This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.
This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.
Response
Example response
[
{
"domain": "example.com",
"user": "1000",
"simultaneous-ring": {
"parameters": [
"1234wp"
]
},
"forward-always": {
"parameters": [
"park_1234"
]
},
"forward-on-active": {
"parameters": [
"park_1234"
]
},
"forward-on-busy": {
"parameters": [
"park_1234"
]
},
"forward-no-answer": {
"parameters": [
"park_1234"
]
},
"forward-when-unregistered": {
"parameters": [
"park_1234"
]
},
"forward-on-dnd": {
"parameters": [
"park_1234"
]
},
"forward-on-spam-call": {
"parameters": [
"park_1234"
]
},
"phone-numbers-to-allow": {
"parameters": [
"park_1234"
]
},
"new-position": "top",
"phone-numbers-to-reject": {
"parameters": [
"park_1234"
]
},
"time_range_data": [
{
"start-date": "2023-08-20",
"end-date": "2023-09-15",
"day-of-week-number": "*",
"start-time": "00:00",
"end-time": "23:59"
}
]
}
]Changes
- breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the required property
///to the response with the status
- breaking