Skip to content
This repository was archived by the owner on Jun 6, 2022. It is now read-only.

Agreements

Ivan Gabriele edited this page Sep 25, 2019 · 10 revisions

List questions

GET /agreements

Response

Array<{
  id: string
  name: string
  idcc: string
  created_at: string
  updated_at: string
  parent_id: string | null
}>

Parent id

An agreement has a non-null parent_id value when this agreement depends on another agreements for generic references (when a specific answer falls back to a national agreement for example).

Examples

Get an agreement by its IDCC

curl https://contributions-api.codedutravail.num.social.gouv.fr/agreements?select=*,agreement:parent_id(*)&idcc=eq.1375
Clone this wiki locally