Create FundingAgency

POST /v1/fundingAgencies
application/json

Body

New FundingAgency Params

  • agency object Required

    A funding agency

    Additional properties are allowed.

    Hide agency attributes Show agency attributes object
    • email string

      Funding agency email

    • id string

      Funding agency ID

    • insertedAt string(date-time)

      Creation timestamp

    • name string Required

      Funding agency name

    • partnerType enum Required

      Partner type

      Values are funding_agency or company.

    • type enum

      Funding agency type

      Values are bafa, jobcenter, bundeswehr, rentenversicherung, or other.

    • updatedAt string(date-time)

      Update timestamp

Responses

  • 201 application/json

    FundingAgency response

    Hide response attribute Show response attribute object
    • data object

      A funding agency

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • email string

        Funding agency email

      • id string

        Funding agency ID

      • insertedAt string(date-time)

        Creation timestamp

      • name string Required

        Funding agency name

      • partnerType enum Required

        Partner type

        Values are funding_agency or company.

      • type enum

        Funding agency type

        Values are bafa, jobcenter, bundeswehr, rentenversicherung, or other.

      • updatedAt string(date-time)

        Update timestamp

POST /v1/fundingAgencies
curl \
 -X POST http://localhost:4000/v1/fundingAgencies \
 -H "Content-Type: application/json" \
 -d '{"agency":{"id":"\u003cuuid v4\u003e","name":"Jobcenter Hamburg","type":"jobcenter","partnerType":"funding_agency"}}'
Request example
{
  "agency": {
    "id": "<uuid v4>",
    "name": "Jobcenter Hamburg",
    "type": "jobcenter",
    "partnerType": "funding_agency"
  }
}
Response examples (201)
{
  "data": {
    "id": "<uuid v4>",
    "name": "Jobcenter Hamburg",
    "type": "jobcenter",
    "partnerType": "funding_agency"
  }
}