PUT enrollments Activityid Memberid

PUT
/enrollments/{activityId}/{memberId}

Authorization

Bearer
headerAuthorizationBearer <token>

Paste your JWT token here

Path Parameters

activityId*integer

The unique identifier of the activity for which to update enrollment.

Formatint32
memberId*string

The unique identifier of the member for whom to update enrollment.

Formatuuid

Request Body

The data transfer object containing the updated enrollment data.

application/json
  1. body

Defines Data Transfer Object (DTO) for posting enrollments, containing the necessary information for creating a new enrollment, including the activity ID, member ID, and any specification answers provided by the member. The PostEnrollmentDTO is used to transfer data from the client to the server when creating a new enrollment, ensuring that all required information is provided and validated appropriately for the enrollment creation process.

activityId?integer

Reference to the unique identifier of the activity which is enrolled for.

Formatint32
memberId?string

The ID of the user, as determined by the used OAuth application, which enrolls for the activity.

Formatuuid
specificationAnswers?array<>|

The answers for the specification questions associated with this enrollment.

Response Body

No Content

curl -X PUT 'https://example.com/enrollments/0/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Empty