2. Endpoints > 2.1. Address
https://api.lookupdatas.com
To Get [TOKEN] go to 1.1. Token
curl
--location '[BASEURL]/addressmanagement/api/webdomain/getall'
--header 'Authorization: Bearer [TOKEN]'
{
"header": {
"globalId": "b390dd44-c76f-4d70-ad50-c7829d8f28d8",
"isSuccess": true,
"message": null
},
"body": [
{
"id": "0077521A-CF56-4E20-9144-A7F1B059C41C",
"name": "nu",
"isTopLevel": true
},
{
"id": "00F78C66-1AAE-4F1B-8AEF-8C74BED21E67",
"name": "id",
"isTopLevel": true
}
]
}
curl
--location '[BASEURL]/addressmanagement/api/webdomain/getbyid?id=A66FAA42-A5CC-4FBC-9053-7D76C3864E56'
--header 'Authorization: Bearer [TOKEN]'
curl
--location '[BASEURL]/addressmanagement/api/webdomain/getbyname?name=us'
--header 'Authorization: Bearer [TOKEN]'
{
"header": {
"globalId": "ca027286-558c-4b05-a6c8-6a9d245e6aaf",
"isSuccess": true,
"message": null
},
"body": {
"id": "A66FAA42-A5CC-4FBC-9053-7D76C3864E56",
"name": "us",
"isTopLevel": true
}
}
curl
--location '[BASEURL]/addressmanagement/api/webdomain/getbyistoplevel?istoplevel=true'
--header 'Authorization: Bearer [TOKEN]'
{
"header": {
"globalId": "b390dd44-c76f-4d70-ad50-c7829d8f28d8",
"isSuccess": true,
"message": null
},
"body": [
{
"id": "0077521A-CF56-4E20-9144-A7F1B059C41C",
"name": "nu",
"isTopLevel": true
},
{
"id": "00F78C66-1AAE-4F1B-8AEF-8C74BED21E67",
"name": "id",
"isTopLevel": true
}
]
}