API Explorer 5 endpoints

Get Public sustainable_development_goals List

GET /obp/dynamic-entity/banks/ogcr/public/sustainable_development_goals

OBPv4.0.0-dynamicEntity_getPublicsustainable_development_goalsList_ogcr No role required _Sustainable_development_goals(ogcr)Dynamic-EntityDynamic

Get Public sustainable_development_goals List.

Entity for listing sustainable development goals being addressed by an activity. This Dynamic Entity is part of OGCR.

MethodRouting settings example:

<details>

{
  "is_bank_id_exact_match":false,
  "method_name":"dynamicEntityProcess",
  "connector_name":"rest_vMar2019",
  "bank_id_pattern":".*",
  "parameters":[
    {
        "key":"entityName",
        "value":"sustainable_development_goals"
    }
    {
        "key":"url",
        "value":"http://mydomain.com/xxx"
    }
  ]
}

</details>

Authentication is Optional

Filtering, sorting and pagination on the list endpoint:

Queryable (declared indexed) fields: activity_id, sustainable_development_goal_id.

  • Filter: ?obp_filter[FIELD]=OP:VALUE. Operators: eq, ne, in, lt, gt, le, ge, between, like, is_null, not_set. in / between take comma-separated values; is_null / not_set take no value. Repeat the same key to AND several constraints on one field. e.g. ?obp_filter[status]=eq:active&obp_filter[amount]=between:10,100 or ?obp_filter[closed_date]=not_set
  • Legacy filter (still supported): bare field parameters, e.g. ?name=James%20Brown&number=123.456&number=11.11 filters by name == "James Brown" && (number == 123.456 || number == 11.11).
  • Sort: ?obp_sort_by=FIELD[,FIELD2]&obp_sort_direction=ASC|DESC.
  • Paginate: ?obp_limit=20&obp_offset=40.

Filtering, sorting, pagination and is_null / not_set work on every deployment (no special backend required).

One-hop join queries (obp_exists / obp_not_exists) are not available on this endpoint.

User Authentication is Optional. The User need not be logged in.

Example success response
{
  "bank_id": "ogcr",
  "sustainable_development_goals_list": [
    {
      "sustainable_development_goals_id": "d8839721-ad8f-45dd-9f78-2080414b93f9",
      "activity_id": "string",
      "sustainable_development_goal_id": "CLIMATE_ACTION"
    }
  ]
}
Possible errors (1)
  • OBP-50000: Unknown Error.
Implemented by OBPv4.0.0 dynamicEntity_getPublicsustainable_development_goalsList_ogcr Originally /banks/ogcr/public/sustainable_development_goals