10.3.2. API pro Imwhooser
Imwhooser API je typu REST. API umožňuje zobrazení entity ve formátu CAM.
Definice REST rozhraní
Definice rozhraní REST: imwhooser-api.yaml
- GET /entity/{dataType}/{id}
Vrátí XML od související entity
Vrátí XML od související entity
- Parameters:
dataType (string) – data type
id (string) – id enitity
- Status Codes:
200 OK – The request has succeeded.
404 Not Found – Request failed - No items
- GET /entity/{id}
Vrátí XML vybrané entity
Vrátí XML vybrané entity
- Parameters:
id (string) – id enitity
- Status Codes:
200 OK – The request has succeeded.
404 Not Found – Request failed - No items
- GET /status/queues
Vrátí stav subsystémů pro příjem a vysílání dat
Vrátí stav subsystémů pro příjem a vysílání dat
- Status Codes:
200 OK – The request has succeeded.
- Request Headers:
Accept – The desired response format (e.g., application/json, application/xml, text/plain) (Required)
- GET /import/org/{longId}
Import jednotky podle id
Import jednotky podle id
- Parameters:
longId (long) – id jednotky
- Status Codes:
200 OK – The request has succeeded.
404 Not Found – Request failed - No items
- GET /import/person/{longId}
Import oboby podle id
Import osoby podle id
- Parameters:
longId (long) – id jednotky
- Status Codes:
200 OK – The request has succeeded.
404 Not Found – Request failed - No items