Look Up Datas | SaaS API Finance Currency Address Country
close

Documentation

2. Endpoints > 2.1. Address


2.1.1. Calling Code

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

To Get [TOKEN] go to 1.1. Token


Request - getall:
  curl 
  --location '[BASEURL]/addressmanagement/api/callingcode/getall' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Response - getall:
  {
    "header": {
        "globalId": "4db2948d-56a5-4955-a379-506f89f041f6",
        "isSuccess": true,
        "message": null
    },
    "body": [
        {
            "id": "00800567-203C-48B9-A491-9BD14BA9F30A",
            "code": 299
        },
        {
            "id": "00EFCF96-C224-4EFA-82B1-571702E29A67",
            "code": 855
        },
        {
            "id": "01F4A748-1FAB-43EE-9B39-A2581029B73A",
            "code": 266
        }
    ]
  }

Request - getbyid:
  curl 
  --location '[BASEURL]/addressmanagement/api/callingcode/getbyid?id=00800567-203C-48B9-A491-9BD14BA9F30A' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Response - getbyid:
  {
    "header": {
        "globalId": "fca00688-b1c1-4c9d-a1e6-1cd77667feb0",
        "isSuccess": true,
        "message": null
    },
    "body": {
        "id": "00800567-203C-48B9-A491-9BD14BA9F30A",
        "code": 299
    }
  }

Request - getbycode:
  curl 
  --location '[BASEURL]/addressmanagement/api/callingcode/getbycode?code=299' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Response - getbycode:
  {
    "header": {
        "globalId": "7a0d391e-7827-46eb-8ed6-e83fbf5b8b82",
        "isSuccess": true,
        "message": null
    },
    "body": {
        "id": "00800567-203C-48B9-A491-9BD14BA9F30A",
        "code": 299
    }
  }