Follow the question structure recommended by Dev Bot before submitting your integration questions.
NOTE. Available for use with branch access key and also with General ADM access key.
| Parameter | Type | Required | Description |
|---|---|---|---|
| idWorkout | int32 | Yes | ID of the workout to be changed. |
| workoutName | string | No | New name for the workout. If empty, keeps the current name. |
| startDate | string(date-time) | No | Start date of the workout. |
| expirationDate | string(date-time) | No | Expiration date of the workout. |
| observation | string | No | Observations about the workout. |
| categories | string | No | Categories of the workout, separated by commas. Replaces existing categories. |
| restrictions | string | No | Restrictions of the workout, separated by commas. Replaces existing restrictions. |
| idProfessor | int32 | No | ID of the instructor responsible for creating the workout. |
| totalWeeks | int32 | No | Total number of weeks the customer should perform the workout. |
| weeklyFrequency | int32 | No | Planned weekly frequency for the customer to perform the workout. |
| Field | Type | Description |
|---|---|---|
| idTreino | int32 | ID of the workout. |
| dtPrescricao | string(date-time) | Date of the workout prescription. |
| dtValidade | string(date-time) | Expiration date of the workout. |
| dataInicio | string(date-time) | Start date of the workout. |
| nome | string | Name of the workout. |
| professor | string | Name of the responsible instructor. |
| qtdSemanal | int32 | Planned weekly quantity for the workout. |
| qtdSessoes | int32 | Total number of workout sessions. |
| tipoTreino | int32 | Type of workout (internal code). |
| idTreinoCategoria | int32 | ID of the workout category. |
| obsTreino | string | Observations about the workout. |
| idCliente | int32 | ID of the customer linked to the workout (0 if none). |
| idProspect | int32 | ID of the prospect linked to the workout (0 if none). |
| idFuncionarioTreino | int32 | ID of the staff member linked to the workout (0 if none). |
| flTreinoPadrao | boolean | Indicates if the workout is standard. |
| totalRegistros | int32 | Total records related to the workout. |
| quantidadeSessoes | int32 | Number of sessions calculated for the workout. |
| progressoFinalizado | int32 | Amount of completed progress (sessions completed). |
| progressoPorcentagem | int32 | Percentage of workout progress. |
| treinoAtivo | boolean | Indicates if the workout is active. |
| exportarImprimir | boolean | Indicates if the workout can be exported or printed. |
| totalSemanas | int32 | Total number of weeks of the workout. |
| fotoProfessor | string | URL of the responsible instructor's photo (if available). |
| expandido | boolean | Indicates if the workout is expanded in the interface. |
| sessoesCalculada | int32 | Number of calculated sessions. |
| professorAtual | string | Name of the current responsible instructor for the workout. |
| idProfessor | int32 | ID of the instructor responsible for the workout. |
| idProfessorAtual | int32 | ID of the current responsible instructor for the workout. |
| tags | string | Tags associated with the workout, separated by commas. |
| restricoes | string | Restrictions associated with the workout, separated by commas. |