Skip to main content
POST
/
v1.5
/
GeoScrub
/
GetTimeZoneInfo
Returns timezone information for one or more North America phone numbers
curl --request POST \
  --url https://dataapi.dncscrub.com/v1.5/GeoScrub/GetTimeZoneInfo \
  --header 'Content-Type: application/json' \
  --header 'loginId: <api-key>' \
  --data '
{
  "PhoneList": [
    "<string>"
  ],
  "OverwriteTodaysTime": "2023-11-07T05:31:56Z"
}
'
[
  {
    "PhoneNumber": "<string>",
    "TZName": "<string>",
    "StateProvince": "<string>",
    "UTCOffset": "<string>",
    "UTCOffsetInMinutes": 123,
    "HasDST": true,
    "NextStartDateDST": "2023-11-07T05:31:56Z",
    "EndStartDateDST": "2023-11-07T05:31:56Z",
    "LATA": "<string>",
    "RateCenterLIR": "<string>"
  }
]

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

Object of phone numbers whose timezones we query

PhoneList
string[] | null
OverwriteTodaysTime
string<date-time> | null

Response

Success

PhoneNumber
string | null
TZName
string | null
StateProvince
string | null
UTCOffset
string | null
UTCOffsetInMinutes
integer<int32>
HasDST
boolean
NextStartDateDST
string<date-time> | null
EndStartDateDST
string<date-time> | null
LATA
string | null
RateCenterLIR
string | null