This repository has been archived by the owner on Jun 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Alerts
Ivan Gabriele edited this page Jan 13, 2021
·
3 revisions
The agreements represent the labor agreements.
GET /alerts
Array<{
answer_id: UUID
dila_cid: string
dila_container_id: string
dila_id: string
is_done: boolean
value: {
etat: {
current: string
previous: string
}
texts: Array<{
current: string
previous: string
}>
}
version: string
}>
POST /alerts
You must to send the request with the header Prefer: merge-duplicates
in order to avoid any issue with the batch upsert.
All the fields are mandatory:
Array<{
answer_id: UUID
dila_cid: string
dila_container_id: string
dila_id: string
value: {
etat: {
current: string
previous: string
}
texts: Array<{
current: string
previous: string
}>
}
version: string
}>
On success, you should receive a 201 header.