Appearance
Get Organisation
Fetch one organisation by its id. Ids come from Search Organisations.
Endpoint
GET /api/v1/organisations/{id}| Parameter | Type | Description |
|---|---|---|
id | string | Organisation id (UUID). |
Example
bash
curl https://api.tenderapi.eu/api/v1/organisations/0192a6b4-51e2-7c3f-8d90-4a1b2c3d4e5fpython
import requests
org_id = "0192a6b4-51e2-7c3f-8d90-4a1b2c3d4e5f"
res = requests.get(f"https://api.tenderapi.eu/api/v1/organisations/{org_id}")
print(res.json())ts
const orgId = "0192a6b4-51e2-7c3f-8d90-4a1b2c3d4e5f";
const res = await fetch(`https://api.tenderapi.eu/api/v1/organisations/${orgId}`);
console.log(await res.json());Response
A single organisation object, or a 404 error if no organisation has this id. The fields are the same as in Search Organisations.
json
{
"id": "0192a6b4-51e2-7c3f-8d90-4a1b2c3d4e5f",
"name": "Ministry of Health of the Republic of Slovenia",
"country": "SVN",
"registrationId": "5030544000"
}Merged organisations
The same organisation sometimes appears under slightly different names on different portals. When we detect this, the duplicates are merged into one. Requesting an old id returns the merged organisation, so the id in the response can differ from the one you asked for. Store the returned id.