Fracttal →

Query status changes from requests

This EndPoint can be used to query the status changes of work requests.

Input parameters

ParameterTypeRequiredDescription
codeTextOptionalApplication Id.
sinceTextOptionalInitial date of the query. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Exempla:'2016-07-12T20:00:00-03'.
untilTextOptionalEnd date of the query. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Exempla:'2016-07-12T20:00:00-03'.
startIntegerOptionalInitial record number to be displayed by the query.
limitIntegerOptionalFinal record number to be returned by the query.

Output parameters

ParameterTypeDescription
id_requestNumberRequest ID
id_statusNumberRequest status id
status_descriptionTextDescription of the status of the request

- "OPEN_STATUS" : Open - "PROCESS_STATUS" : In process - "SOLVED_WITHOUT_OT_STATUS" : Solved without TO - "REQUEST_TODO" : In pending tasks - "OT_IN_PROCESS" : TO in process - "OT_IN_REVIEW" : TO under review - "OT_CANCEL" : TO cancelled - "SOLVED_WITH_OT_STATUS" : TO cancelled OT in process - "OT_IN_REVIEW" : OT under review - "OT_CANCEL" : OT cancelled - "SOLVED_WITH_OT_STATUS" : Solved with OT - "AGAIN_REQUEST_TODO" : Back in pending tasks - "DELETE_TASK_TODO" : Removed from pending tasks - "CANCEL_STATUS" : Cancelled - "REJECTED" : Rejected
dateTextDate of change of status
notesTextNotes on change of status
accounts_nameTextUser who made the status change
count_commentsTextNumber of comments that the change of status has

Example:

Request: (GET) https://app.fracttal.com/api/work_requests_status/?code=678

{
    "success": true,
    "message": "200",
    "data": [
        {
            "id": 3231183,
            "id_company": 69,
            "id_request": 678,
            "id_status": 3,
            "status_description": "OT_IN_PROCESS",
            "date": "2022-01-18T14:00:29.142833+00:00",
            "notes": "OT_IN_PROCESS",
            "accounts_name": "Alejandra Arango",
            "count_comments": 0
        },
        {
            "id": 3229773,
            "id_company": 69,
            "id_request": 678,
            "id_status": 7,
            "status_description": "REQUEST_TODO",
            "date": "2022-01-18T12:44:36.337556+00:00",
            "notes": "REQUEST_TODO",
            "accounts_name": "Alejandra Arango",
            "count_comments": 0
        },
        {
            "id": 3229761,
            "id_company": 69,
            "id_request": 678,
            "id_status": 2,
            "status_description": "PROCESS_STATUS",
            "date": "2022-01-18T12:43:52.951288+00:00",
            "notes": "",
            "accounts_name": "Alejandra Arango",
            "count_comments": 0
        },
        {
            "id": 3229746,
            "id_company": 69,
            "id_request": 678,
            "id_status": 1,
            "status_description": "OPEN_STATUS",
            "date": "2022-01-18T12:42:56.045973+00:00",
            "notes": "FALLAS EN LA IMPRESORA",
            "accounts_name": "Alejandra Arango",
            "count_comments": 0
        }
    ],
    "total": 4
}

Test It

Language