Download OpenAPI specification:Download
Documentation et contrat d'interface pour l'api taskApi, l'api responsable de la géstion de tâches à gérer par l'administration zorni.
création d'une tâche au tant qu'objet métier.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie une tâche. |
| resources | string Enum: "PERSON" "ESTABLISHMENT" "ORGANIZATION" Resource metier concernée par l'upload file. |
| openingDate | string <date-time> date d'ouverture de la tache |
| closingDate | string <date-time> date de cloture de la tache |
| status | string Enum: "WAITTING_FOR_TREATMENT" "IN_PROGRESS" "FINISHED" Resource metier concernée par l'upload file. |
| comment | string commentaire de l'admin après traitement de la tâche. |
{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITTING_FOR_TREATMENT",
- "comment": "string"
}{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITTING_FOR_TREATMENT",
- "comment": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Lister les tâches.
| currentPage | integer >= 1 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 3 Nombre d'éléments par page. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITTING_FOR_TREATMENT",
- "comment": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}récupération d'une tâche par son id.
| task-id required | string id technique du personne. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITTING_FOR_TREATMENT",
- "comment": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}modification d'une personne.
| task-id required | string id technique du personne. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie une tâche. |
| resources | string Enum: "PERSON" "ESTABLISHMENT" "ORGANIZATION" Resource metier concernée par l'upload file. |
| openingDate | string <date-time> date d'ouverture de la tache |
| closingDate | string <date-time> date de cloture de la tache |
| status | string Enum: "WAITTING_FOR_TREATMENT" "IN_PROGRESS" "FINISHED" Resource metier concernée par l'upload file. |
| comment | string commentaire de l'admin après traitement de la tâche. |
{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITTING_FOR_TREATMENT",
- "comment": "string"
}{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITTING_FOR_TREATMENT",
- "comment": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}