Download OpenAPI specification:Download
Documentation and interface contract for the taskApi, the API responsible for managing tasks handled by the Zorni administration.
Create a task as a business object.
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a task. |
| resources | string Enum: "PERSON" "ESTABLISHMENT" "ORGANIZATION" Business resource concerned by the task. |
| openingDate | string <date-time> Opening date of the task. |
| closingDate | string <date-time> Closing date of the task. |
| status | string Enum: "WAITING_FOR_TREATMENT" "IN_PROGRESS" "FINISHED" Current processing status of the task. |
| comment | string Admin comment after processing the task. |
{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITING_FOR_TREATMENT",
- "comment": "string"
}{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITING_FOR_TREATMENT",
- "comment": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}List tasks.
| currentPage | integer >= 0 Current page number. Do not send this attribute on the first call. |
| sizePage | integer >= 3 Number of elements per page. |
| X-Correlation-ID | string Correlation identifier |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITING_FOR_TREATMENT",
- "comment": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}Retrieve a task by its id.
| task-id required | string Technical id of the task. |
| X-Correlation-ID | string Correlation identifier |
{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITING_FOR_TREATMENT",
- "comment": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Update a task.
| task-id required | string Technical id of the task. |
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a task. |
| resources | string Enum: "PERSON" "ESTABLISHMENT" "ORGANIZATION" Business resource concerned by the task. |
| openingDate | string <date-time> Opening date of the task. |
| closingDate | string <date-time> Closing date of the task. |
| status | string Enum: "WAITING_FOR_TREATMENT" "IN_PROGRESS" "FINISHED" Current processing status of the task. |
| comment | string Admin comment after processing the task. |
{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITING_FOR_TREATMENT",
- "comment": "string"
}{- "id": "string",
- "resources": "PERSON",
- "openingDate": "2019-08-24T14:15:22Z",
- "closingDate": "2019-08-24T14:15:22Z",
- "status": "WAITING_FOR_TREATMENT",
- "comment": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}