For the complete documentation index, see llms.txt. This page is also available as Markdown.

PROYECTADA sin instrucciones

Las OTs en estado PROYECTADA, son aquellas que no han sido asignadas aún, pero si tienen fecha y hora en que deberían realizarse.

Respuesta

{
    "success": true,
    "data": {
        "_id": "137",
        "note_id": 114,
        "state": "PROYECTADA",
        "created": "2022-04-26T17:43:30.000Z",
        "created_by_user_name": "usuario@empresa.com.ar",
        "created_by_user_id": 28,
        "labels_ids": [
            1,
            2
        ],
        "client": {
            "id": 10216,
            "name": "Fabrica de motores",
            "uid_client": "CL989LKk"
        },
        "wo_data": {
            "schema_id": 452,
            "wo_instance": null,
            "wo_rule_id": null,
            "service_time": 45
        },
        "assignation_info": {
            "date": "2022-04-26T00:00:00.000Z",
            "starts_min": 480,
            "responsibles_required": 1,
            "responsibles": []
        }
    }
}

Los campos son los mismos explicados en Obtener OT

Por ser esta una OT en estado PROYECTADA y sin instrucciones definidas,

state: PROYECTADA

wo_data.instructions no está definido

assignation_info.responsibles: es un array vacio.

Last updated