Codelist Item List

Returns a list of IATI codelist values stored in OIPA.

request parameters

  • code (optional): Comma separated list of codes on the codelist.
  • vocabulary (optional): Comma separated list of .
  • category (optional): Comma separated list of categories (if applicable for the codelist).

Ordering

API request may include ordering parameter. This parameter controls the order in which results are returned.

Results can be ordered by:

  • name

The user may also specify reverse orderings by prefixing the field name with '-', like so: -name

Result details

Each item contains all information on the codelist items being shown.

GET /api/codelists/PolicyMarker/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					[
    {
        "code": "1",
        "name": "Gender Equality"
    },
    {
        "code": "2",
        "name": "Aid to Environment"
    },
    {
        "code": "3",
        "name": "Participatory Development/Good Governance"
    },
    {
        "code": "4",
        "name": "Trade Development"
    },
    {
        "code": "5",
        "name": "Aid Targeting the Objectives of the Convention on Biological Diversity"
    },
    {
        "code": "6",
        "name": "Aid Targeting the Objectives of the Framework Convention on Climate Change - Mitigation"
    },
    {
        "code": "7",
        "name": "Aid Targeting the Objectives of the Framework Convention on Climate Change - Adaptation"
    },
    {
        "code": "8",
        "name": "Aid Targeting the Objectives of the Convention to Combat Desertification"
    },
    {
        "code": "9",
        "name": "Reproductive, Maternal, Newborn and Child Health (RMNCH)"
    }
]