Look Up Datas | SaaS API Finance Currency Address Country
close

Documentation

2. Endpoints > 2.1. Address


2.1.7. Country Time Zone

Base URL:
  https://api.lookupdatas.com

To Get [TOKEN] go to 1.1. Token


Request - getbycountryid:
  curl 
  --location '[BASEURL]/addressmanagement/api/countrytimezone/getbycountryid?countryid=406FCF8F-8925-4B6A-8B5A-071D7808C971' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Request - getbytimezoneid:
  curl 
  --location '[BASEURL]/addressmanagement/api/countrytimezone/getbytimezoneid?timezoneid=cde2b2ca-cc0b-4a40-b10d-8f73da86220e' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Response - getbycountryid, getbytimezoneid:
  {
    "header": {
        "globalId": "022fe596-b53f-48e9-83fd-9d0ccce426ee",
        "isSuccess": true,
        "message": null
    },
    "body": [
        {
            "id": "cfdd3b09-16dc-46c2-9745-d0b1153c81aa",
            "countryId": "406FCF8F-8925-4B6A-8B5A-071D7808C971",
            "timeZoneId": "cde2b2ca-cc0b-4a40-b10d-8f73da86220e"
        }
    ]
}

Request - getbyid:
  curl 
  --location '[BASEURL]/addressmanagement/api/countrytimezone/getbyid?id=cfdd3b09-16dc-46c2-9745-d0b1153c81aa' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Response - getbyid:
  {
    "header": {
        "globalId": "f445ffa8-ec4b-44c6-8b43-ee756cc04331",
        "isSuccess": true,
        "message": null
    },
    "body": {
        "id": "cfdd3b09-16dc-46c2-9745-d0b1153c81aa",
        "countryId": "406FCF8F-8925-4B6A-8B5A-071D7808C971",
        "timeZoneId": "cde2b2ca-cc0b-4a40-b10d-8f73da86220e"
    }
}