Users

Get Authorized Burs By Uid

Changed on

Retrieves all BURs authorized for the given UID. Accessible to consumers and admin users.

get/api/user/v1/uids/{uid}/authorized-burs

Request

  • The document declares no server URL.
  • Auth
    OpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Datenbezueger, agridata.ch.Agridata_Admin)

Path parameters

uidstring required

Response

OK

uidstring
burstring
farmTypeCode'GANZJAHRESBETRIEB' | 'PRODUKTIONSSTAETTE' | 'GEMEINSCHAFTSWEIDEBETRIEB' | 'SOEMMERUNGSBETRIEB' | 'BETRIEBSGEMEINSCHAFT' | 'VIEHHANDELSUNTERNEHMEN' | 'WANDERHERDE' | 'TIERKLINIK' | 'SCHLACHTBETRIEB' | 'VIEHMAERKTE_UND_VERANSTALTUNGEN' | 'BETRIEBSZWEIGGEMEINSCHAFT' | 'NICHTKOMMERZIELLE_TIERHALTUNG' | 'OELN_GEMEINSCHAFT' | 'VERGAERUNG_KOMPOSTIERUNG_NAEHRSTOFFPOOL' | 'TIERHALTUNG' | 'NICHT_ZUGETEILT' | 'UNKNOWN'
relationSincestring date-time

Example response

[
  {
    "relationSince": "2022-03-10T12:15:50"
  }
]

Changes

    • warning

      added the new EXPORT_CAPACITY_EXHAUSTED enum value to the response property for the response status

    • warning

      added the new EXPORT_CAPACITY_EXHAUSTED enum value to the response property for the response status

    • warning

      added the new EXPORT_LIMIT_EXCEEDED enum value to the response property for the response status

    • warning

      added the new EXPORT_LIMIT_EXCEEDED enum value to the response property for the response status

    • info

      endpoint added