Follow the question structure recommended by Dev Bot before submitting your integration questions.
| Parameter | Type | Required | Description |
|---|---|---|---|
idMember | int32 | No | ID of the member who will be enrolled in the activity. |
idMemberMemberShip | int32 | No | ID of the member's contract linked to the enrollment. |
IdEmployee | int32 | No | ID of the staff member responsible for creating the enrollment. |
idBranch | int32 | No | ID of the branch where the activity will take place. |
| Field | Type | Required | Description |
|---|---|---|---|
configuration | array | Yes | List of activity configurations in which the member will be enrolled. |
configuration#| Field | Type | Required | Description |
|---|---|---|---|
idConfiguration | int32 | Yes | Identifier of the activity configuration. |
spot | int32 | No | Number of the spot/position chosen by the member (when applicable). |
activityDate | string (date-time) | Yes | Date of the activity for which the enrollment will be made. |
username:passwordAuthorization: Basic *****************{
"configuration": [
{
"idConfiguration": 0,
"spot": 0,
"activityDate": "2019-08-24T14:15:22.123Z"
}
]
}curl --location 'https://evo-integracao-api.w12app.com.br/api/v2/activities/enroll?idMember=undefined&idMemberMemberShip=undefined&IdEmployee=undefined&idBranch=undefined' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json-patch+json' \
--data '{
"configuration": [
{
"idConfiguration": 0,
"spot": 0,
"activityDate": "2019-08-24T14:15:22.123Z"
}
]
}'{
"mensagens": [
"string"
]
}