cURL
curl --request POST \ --url https://dataapi.dncscrub.com/v1.5/GeoScrub/LegalCallTimesForDate \ --header 'Content-Type: application/json' \ --header 'loginId: <api-key>' \ --data ' { "LegalCallTimesForDate": [ { "PhoneNumber": "<string>", "Date": "2023-11-07T05:31:56Z", "DNCProjId": "<string>", "NumberOfDays": 123 } ] } '
[ { "LegalCallTimes": [ { "PhoneNumber": "<string>", "ValidTimesInUTC": [ { "StartInUTC": "2023-11-07T05:31:56Z", "EndInUTC": "2023-11-07T05:31:56Z" } ] } ] } ]
Get the legal calling windows for a phone number on a specific date
LoginId Authentication: Authenticate using the LoginId generated from DNCScrub User Manager. In HTTP header place "loginId: {loginId}"
LoginId (aka APIKey)
Show child attributes
Success