API Endpoints
Fracttal →

Create a new requests

This EndPoint can be used to create a new work order.

Input parameters

ParameterTypeRequiredDescription
codeTextOptionalAsset code.
user_codeTextYesHuman resource code of the user who will register the request.
descriptionTextYesTitle of request.
observationTextOptionalDetailed description of the request.
date_incidentTextYesDate and time the incident occurred.Format: 'YYYYY-MM-DDTHH:MM:SS-UTC' Example:'2016-07-12T20:00:00:00-03'.
requested_byTextYesName of person requesting repair.
identifierTextOptionalReference
is_urgentTextYesUrgent Request? 'true' if urgent and 'false' otherwise.
types_descriptionTextOptional|Group Description.
types_1_descriptionTextOptionalDescription of classification 1.
types_2_descriptionTextOptionalDescription of classification 2.
key_words_descriptionsText ArrayOptionalDescriptions of the keywords in the application.

Example:

Request: (POST) https://app.fracttal.com/api/work_requests

{
    "code":"EQM029",
    "user_code":"25814210",
    "description":"Solicitud desde API",
    "observation":"Observaciones "	,
    "date_incident":	"2016-12-09T20:00:00-03",
    "requested_by":"Fracttal API",
    "identifier":"API130",
    "is_urgent":"true",
    "types_description":"Maquinaria",
    "types_1_description":"Temperatura",
    "types_2_description":"Clasificación 2",
    "key_words_descriptions": ["Mecanica", "Equipo en Contrato"]
}
{
    "success": true,
    "message": "200",
    "data": [
        {
            "id": 1890,
            "id_company": 133,
            "id_type": 44,
            "id_item": 26161,
            "is_urgent": true,
            "description": "Solicitud desde API",
            "id_account": null,
            "date": "2019-09-04T15:06:56.045508+00:00",
            "rating": null,
            "rating_notes": null,
            "observation": "Observaciones ",
            "date_incident": "2016-12-09T23:00:00+00:00",
            "date_solution": null,
            "identifier": "API130",
            "requested_by": "Fracttal API",
            "geolocation": null,
            "date_maintenance": null,
            "items_description": null
        }
    ],
    "total": 0
}

Test It

Language