Veldspecificaties

19 items
Veld Beschrijving Type Verplicht Beperkingen
response.400
response 400

Functional status code and status message.

Object Nee -
response.400.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.400.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks 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.405
response 405
Object Nee -
response.405.requestReferenceId
requestReferenceId

The requestReferenceId that was send by the Bestelomgeving leermiddelen as part of the ActivationCodeRequest event

Tekenreeks Ja -
response.405.responseReferenceId
responseReferenceId

A reference to this confirmation message send by the Licentieregistratie.

Tekenreeks Ja -
response.405.productId
productId

The productId which was part of the ActivationCodeRequest Event send by the Bestelomgeving leermiddelen. The activation codes give Students or Employees the possibility to activate this Product.

Tekenreeks Ja -
response.405.activationCodes
activationCodes

List of activation codes which can be used to activate the Product.

Lijst[] Nee -
response.405.activationCodes[*]
activationCodes

List of activation codes which can be used to activate the Product.

Object Nee -
response.405.processedTimestamp
processedTimestamp

The moment that the activation codes were generated by the Licentieregistratie and the request was processed. As Events and confirmation messages are send asynchronous, this is not the moment the confirmation message was send by the Licentieregistratie to the Bestelomgeving leermiddelen. Format: Conform openapi in ZULU time as specified in RFC 3339, section 5.6

Datum/tijd Ja -
response.405.success
success

Boolean indicating the ActivationCodeRequest event was processed successfully. When the Licentieregistratie disagrees with the request a false will be returned, along with a status code and a status message.

Boolean Ja -
response.405.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.405.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks Nee -

Verwachte statuscodes

5 items
Code Betekenis Uitkomst
202 Accepted Succes
400 Bad Request Fout
401 Unauthorized Fout
403 Forbidden Fout
405 Method Not Allowed - Bestelomgeving leermiddelen is provider of this endpoint Fout

Bronspecificatie (YAML)

Ruwe definitie uit het afsprakenstelsel.

  /activationcodes/confirmations:
    put:
      summary: Confirm activation code request
      operationId: confirm-activation-code-request
      tags:
        - Bestelomgeving leermiddelen
      x-tags:
        - ActivationCode
      description: |-
        As a `Licentieregistratie` confirm the activation code request to the `Bestelomgeving leermiddelen`.
        
        The `Bestelomgeving leermiddelen` is the provider of this endpoint. 
        The `Licentieregistratie` should give a 405 HTTP status as result when called.
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '405':
          description: Method Not Allowed - Bestelomgeving leermiddelen is provider of this endpoint
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActivationCodeConfirmation'
      security:
        - OAuth2:
            - eduv.activationcode