goGetAllCalltimes
Description
This endpoint retrieves all predefined call time configurations in the system. Each configuration defines allowed call time ranges for each day of the week, typically used for campaign scheduling or restrictions.
URL - Method POST
https://clearnexus.domain.croco-dial.net/goAPIv2/goCalltimes/goAPI.php
Required Parameters
| Parameter | Value | Description |
| goAction | goGetAllCalltimes | Action to perform |
| goUser | MyUser | API authorized user. |
| goPass | MyPass | Authorized user's password. |
| responsetype | json/xml | Format of the response (json recommended). |
Note: This endpoint uses body parameters for authentication instead of tokens or headers.
Example Request (curl)
curl -X POST https://clearnexus.domain.croco-dial.net/goAPIv2/goCalltimes/goAPI.php \
-d "goAction=goGetAllCalltimes" \
-d "goUser=MyUser" \
-d "goPass=MyPass" \
-d "responsetype=json"
Example Response (200 OK)
{
"result": "success",
"call_time_id": [
"24hrs",
"7am6pm",
"CLOSED",
"7am6pmMF",
"7am8pmMF",
"24hours"
],
"call_time_name": [
"24 Hours",
"7am6pm",
"CLOSED",
"7am6pm M to F",
"7am8pmMF",
"24 Hours"
],
"ct_default_start": [
0,
700,
2400,
700,
700,
0
],
"ct_default_stop": [
2400,
1800,
2400,
1800,
2000,
2400
],
"ct_sunday_start": [
0,
0,
0,
0,
900,
0
],
"ct_sunday_stop": [
0,
0,
0,
0,
1700,
0
],
"ct_monday_start": [
0,
700,
0,
700,
700,
0
],
"ct_monday_stop": [
0,
1800,
0,
1800,
2000,
0
],
"ct_tuesday_start": [
0,
700,
0,
700,
700,
0
],
"ct_tuesday_stop": [
0,
1800,
0,
1800,
2000,
0
],
"ct_wednesday_start": [
0,
700,
0,
700,
700,
0
],
"ct_wednesday_stop": [
0,
1800,
0,
1800,
2000,
0
],
"ct_thursday_start": [
0,
700,
0,
700,
700,
0
],
"ct_thursday_stop": [
0,
1800,
0,
1800,
2000,
0
],
"ct_friday_start": [
0,
700,
0,
700,
700,
0
],
"ct_friday_stop": [
0,
1800,
0,
1800,
2000,
0
],
"ct_saturday_start": [
0,
700,
0,
0,
700,
0
],
"ct_saturday_stop": [
0,
1600,
0,
0,
1600,
0
],
"user_group": [
"---ALL---",
"---ALL---",
"---ALL---",
"---ALL---",
"---ALL---",
"---ALL---"
]
}