Look Up Datas | SaaS API Finance Currency Address Country
close

Documentation

2. Endpoints > 2.1. Address


2.1.3. Country Currency

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

To Get [TOKEN] go to 1.1. Token


Request - getbycountryid:
  curl 
  --location '[BASEURL]/addressmanagement/api/countrycurrency/getbycountryid?countryid=406FCF8F-8925-4B6A-8B5A-071D7808C971' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Request - getbycurrencycode:
  curl 
  --location '[BASEURL]/addressmanagement/api/countrycurrency/getbycurrencycode?currencycode=TRY' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Response - getbycountryid, getbycurrencycode:
  {
    "header": {
        "globalId": "5f603421-3226-4c30-afbc-41a2232bae07",
        "isSuccess": true,
        "message": null
    },
    "body": [
        {
            "id": "2c8a7f67-1311-456f-8c82-29e753d64b69",
            "countryId": "406FCF8F-8925-4B6A-8B5A-071D7808C971",
            "currencyCode": "TRY"
        }
    ]
}

Request - getbyid:
  curl 
  --location '[BASEURL]/addressmanagement/api/countrycurrency/getbyid?id=2c8a7f67-1311-456f-8c82-29e753d64b69' 
  --header 'Authorization: Bearer [TOKEN]'
                    
Response - getbyid:
  {
    "header": {
        "globalId": "46c4356a-0f3f-4b0b-8c97-00bb52d8efc3",
        "isSuccess": true,
        "message": null
    },
    "body": {
        "id": "2c8a7f67-1311-456f-8c82-29e753d64b69",
        "countryId": "406FCF8F-8925-4B6A-8B5A-071D7808C971",
        "currencyCode": "TRY"
    }
}