Skip to main content
POST
/
v1.5
/
GeoScrub
/
LegalCallTimesForDate
Provides the times in UTC that a telephone call can be placed for a given phone and date
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"
          }
        ]
      }
    ]
  }
]

Authorizations

loginId
string
header
required

LoginId Authentication: Authenticate using the LoginId generated from DNCScrub User Manager. In HTTP header place "loginId: {loginId}"

Headers

loginId
string

LoginId (aka APIKey)

Body

Response

Success