GetBaseStrategyPeriod
Retrieve the global outbound time periods for the outbound calling system.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:GetBaseStrategyPeriod |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EntryId |
string |
Yes |
Instance ID |
024f8cf0-c842-4c01-b74b-c8667e4579c7 |
| StrategyLevel |
integer |
No |
Strategy level. Default value is 2.
|
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code |
200 |
| RequestId |
string |
Request ID |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the call succeeded |
true |
| Code |
string |
API status code |
OK |
| Message |
string |
Response message |
Success |
| OnlyWeekdays |
boolean |
Indicates whether the period applies only to weekends |
false |
| OnlyWorkdays |
boolean |
Indicates whether the period applies only to weekdays |
false |
| WorkingTime |
array<object> |
Time periods when the strategy runs |
[] |
|
object |
|||
| EndTime |
string |
End time |
00:00:00 |
| BeginTimeMillis |
integer |
Daily start time, in milliseconds |
0 |
| EndTimeMillis |
integer |
Daily end time, in milliseconds |
0 |
| BeginTime |
string |
Start time |
00:00:00 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"Code": "OK",
"Message": "Success",
"OnlyWeekdays": false,
"OnlyWorkdays": false,
"WorkingTime": [
{
"EndTime": "00:00:00",
"BeginTimeMillis": 0,
"EndTimeMillis": 0,
"BeginTime": "00:00:00"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.