Veldspecificaties

21 items
Veld Beschrijving Type Verplicht Beperkingen
request.query.id
id
Tekenreeks Ja -
response.200
response 200
Object Nee -
response.200.deliveryOrderId
deliveryOrderId

The deliveryOrderId which was part of the DeliveryOrder request send by the Bestelomgeving leermiddelen to the Aanspraakmanager.

Tekenreeks Ja -
response.200.contractId
contractId

An optional unique identifier for a contract between the supplier that is responsible for the Bestelomgeving leermiddelen and the supplier of the learning materials.

Tekenreeks Nee -
response.200.totalQuantity
totalQuantity

Total quantity as specified in the DeliveryOrder received from the Bestelomgeving leermiddelen.

Geheel getal Nee -
response.200.totalCreated
totalCreated

Total number of entitlements that are created.

Geheel getal Nee -
response.200.totalEntitled
totalEntitled

Total number of entitlements that are entitled to users.

Geheel getal Nee -
response.200.totalLicensed
totalLicensed

Total number of entitlements that are licensed to users.

Geheel getal Nee -
response.200.totalCancelled
totalCancelled

Total number of entitlements that are cancelled for users.

Geheel getal Nee -
response.200.totalBlocked
totalBlocked

Total number of entitlements that are blocked for users.

Geheel getal Nee -
response.200.entitlements
entitlements

An array of all entitlements for this deliveryOrder.

Lijst[] Ja -
response.200.entitlements[*]
entitlements

An array of all entitlements for this deliveryOrder.

Object Nee -
response.401
response 401

Functional status code and status message.

Object Nee -
response.401.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.401.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks Nee -
response.403
response 403

Functional status code and status message.

Object Nee -
response.403.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.403.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks Nee -
response.404
response 404

Functional status code and status message.

Object Nee -
response.404.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.404.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks Nee -

Verwachte statuscodes

6 items
Code Betekenis Uitkomst
200 OK Succes
400 Bad Request Fout
401 Unauthorized Fout
403 Forbidden Fout
404 Not Found Fout
405 Method not allowed - Aanspraakmanager is provider of this endpoint Fout

Bronspecificatie (YAML)

Ruwe definitie uit het afsprakenstelsel.

  /entitlements/contracts/{id}:
    parameters:
      - schema:
          type: string
        name: id
        in: path
        required: true
        description: 'The contractId for which entitlement information is requested.'
    get:
      summary: Get Entitlements by Contract
      operationId: get-entitlements-by-contract
      tags:
        - Aanspraakmanager
      x-tags:
        - Entitlement
        - DeliveryOrder
      description: |
        Retrieve all entitlements for a specific contract grouped by deliveryOrder from a `Aanspraakmanager`.
        
        The `Aanspraakmanager` is the provider of this endpoint.
        The `Licentieregistratie` and `Leermiddelenportaal` should give a 405 HTTP status as result when called.

      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DeliveryOrderEntitlements'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '405':
          description: Method not allowed - Aanspraakmanager is provider of this endpoint
      security:
        - OAuth2:
            - eduv.entitlement.seller
            - eduv.entitlement.licensor