Create FundingAgency

POST /v1/fundingAgencies
application/json

Body

New FundingAgency Params

  • agency object Required

    A funding agency

    Hide agency attributes Show agency attributes object
    • id integer

      Funding agency ID

    • insertedAt string(date-time)

      Creation timestamp

    • name string Required

      Funding agency name

    • slug string

      Funding agency slug

    • updatedAt string(date-time)

      Update timestamp

Responses

  • 201 application/json

    FundingAgency response

    Hide response attribute Show response attribute object
    • data object

      A funding agency

      Hide data attributes Show data attributes object
      • id integer

        Funding agency ID

      • insertedAt string(date-time)

        Creation timestamp

      • name string Required

        Funding agency name

      • slug string

        Funding agency slug

      • updatedAt string(date-time)

        Update timestamp

POST /v1/fundingAgencies
curl \
 -X POST https://api.azav-pilot.de/v1/fundingAgencies \
 -H "Content-Type: application/json" \
 -d '{"agency":{"id":"\u003cuuid v4\u003e","name":"AZAV","slug":"azav"}}'
Request example
{
  "agency": {
    "id": "<uuid v4>",
    "name": "AZAV",
    "slug": "azav"
  }
}
Response examples (201)
{
  "data": {
    "id": "<uuid v4>",
    "name": "AZAV",
    "slug": "azav"
  }
}