PATCH/v1/admin/representatives/{representativeId}/approveApprove Representative
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
representativeId | path | string | Sí |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | RepresentativeOut |
| 422 | Error de validación | HTTPValidationError |
PATCH/v1/admin/representatives/{representativeId}/rejectReject Representative
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
representativeId | path | string | Sí |
Cuerpo obligatorio RepresentativeReasonIn
| Campo | Tipo | Obl. |
|---|
reason | string | Sí |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | RepresentativeOut |
| 422 | Error de validación | HTTPValidationError |
PATCH/v1/admin/representatives/{representativeId}/revokeRevoke Representative
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
representativeId | path | string | Sí |
Cuerpo obligatorio RepresentativeReasonIn
| Campo | Tipo | Obl. |
|---|
reason | string | Sí |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | RepresentativeOut |
| 422 | Error de validación | HTTPValidationError |
GET/v1/organizations/{organizationType}/{organizationId}/representativesList Organization Representatives
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
organizationType | path | string | Sí |
organizationId | path | string | Sí |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | lista de RepresentativeOut |
| 422 | Error de validación | HTTPValidationError |
POST/v1/organizations/{organizationType}/{organizationId}/representativesCreate Organization Representative
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
organizationType | path | string | Sí |
organizationId | path | string | Sí |
Cuerpo obligatorio RepresentativeCreateIn
| Campo | Tipo | Obl. |
|---|
userId | string o nulo | No |
fullName | string | Sí |
identityDocumentType | string | Sí |
identityDocumentNumber | string | Sí |
roleTitle | string | Sí |
authorityDocumentId | string o nulo | No |
authorityExpiresAt | string (date-time) o nulo | No |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 201 | Respuesta correcta | RepresentativeOut |
| 422 | Error de validación | HTTPValidationError |
PATCH/v1/representatives/{representativeId}/submit-verificationSubmit Representative Verification
Parámetros
| Nombre | En | Tipo | Obl. |
|---|
representativeId | path | string | Sí |
Respuestas
| Código | Descripción | Devuelve |
|---|
| 200 | Respuesta correcta | RepresentativeOut |
| 422 | Error de validación | HTTPValidationError |