{
  "info": {
    "_postman_id": "813b2d3f-0710-430a-965f-ee31490bad56",
    "name": "GMAO CLOUD Public API — DEMO",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "author": {
      "name": "GMAO CLOUD",
      "email": "soporte@gmao.cloud"
    },
    "description": "Environment: DEMO\nGenerated on 2026-09-23 06:56 UTC\n\n## Authentication\n\nUse the **Auth → POST auth** request to exchange your API Key for a Bearer Token (valid 1 hour). Set the returned `access_token` as `Authorization: Bearer <token>` header in all subsequent requests.\n\n## How to use this collection\n\n**Collection variables:** Before making any request, make sure the collection variables are set. Go to the collection → **Variables** tab and fill in `entorno` and `api_token` with your values. Without these, all requests will fail.\n\n**GET methods:** Filter parameters are disabled by default. Enable them from the **Params** tab by checking the ones you need before sending the request.\n\n**Pagination (GET):** All GET endpoints are paginated to **50 records per page**. The `page` parameter defaults to `0` (first 50 records). To retrieve more records, increment `page` with each request (page=1, page=2, …) until the response returns fewer than 50 records — that indicates you have reached the last page.\n\n**POST methods:** Body fields are commented out (`// \"field\": \"value\"`). Uncomment and adjust the values you want to send before executing the call.\n\n## Support\n\nFor any questions or inquiries, please contact us at **soporte@gmao.cloud**\n\n---\n\nEntorno: DEMO\nGenerado el 2026-09-23 06:56 UTC\n\n## Autenticación\n\nUsa la petición **Auth → POST auth** para intercambiar tu API Key por un Bearer Token (válido 1 hora). Establece el `access_token` devuelto como cabecera `Authorization: Bearer <token>` en el resto de peticiones.\n\n## Cómo usar esta colección\n\n**Variables de la colección:** Antes de realizar cualquier petición, asegúrate de que las variables de la colección estén configuradas. Ve a la colección → pestaña **Variables** y rellena `entorno` y `api_token` con tus valores. Sin ellas, todas las peticiones fallarán.\n\n**Métodos GET:** Los parámetros de filtro están desactivados por defecto. Actívalos desde la pestaña **Params** marcando los que necesites antes de enviar la petición.\n\n**Paginación (GET):** Todos los endpoints GET están paginados a **50 registros por página**. El parámetro `page` tiene el valor por defecto `0` (primeros 50 registros). Para obtener más registros, incrementa `page` en cada llamada (page=1, page=2, …) hasta que la respuesta devuelva menos de 50 registros — eso indica que has llegado a la última página.\n\n**Métodos POST:** Los campos del body están comentados (`// \"campo\": \"valor\"`). Descomenta y ajusta los valores que quieras enviar antes de ejecutar la llamada.\n\n## Soporte\n\nPara cualquier duda o consulta, contacta con nosotros en **soporte@gmao.cloud**\n\n## GMAO CLOUD\n\nhttps://gmaocloud.es/"
  },
  "variable": [
    {
      "key": "entorno",
      "value": "demo",
      "type": "string"
    },
    {
      "key": "api_token",
      "value": "placeholder",
      "type": "string"
    },
    {
      "key": "base_url",
      "value": "https://demo.gmao.cloud",
      "type": "string"
    },
    {
      "key": "bearer_token",
      "value": "",
      "type": "string"
    },
    {
      "key": "bearer_expires_at",
      "value": "",
      "type": "string"
    },
    {
      "key": "oauth2_required",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "_postman_id": "c47b2c6b-4a44-4715-8930-b73c333ed249",
      "name": "Auth",
      "item": [
        {
          "_postman_id": "9d67e47b-c113-4020-b1bb-12699df0e782",
          "name": "POST auth (OAuth2 Bearer)",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Comprueba si el servidor tiene OAuth2 activado antes de pedir el token.",
                  "// Si no está activado, muestra un aviso y detiene la petición.",
                  "const discoveryUrl = pm.variables.get('base_url') + '/api/v2/external/auth.php';",
                  "",
                  "pm.sendRequest({ url: discoveryUrl, method: 'GET' }, function (err, res) {",
                  "    if (err) {",
                  "        console.warn('Discovery falló, se intentará el POST igualmente:', err);",
                  "        return;",
                  "    }",
                  "    const data = res.json();",
                  "    pm.collectionVariables.set('oauth2_required', data.oauth2_required === true);",
                  "    if (!data.oauth2_required) {",
                  "        throw new Error('OAuth2 Bearer NO está activado en este servidor. Usa api_token directamente en las peticiones (modo legacy).');",
                  "    }",
                  "    console.log('OAuth2 requerido: sí. Procediendo a solicitar Bearer Token.');",
                  "});"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const res = pm.response.json();",
                  "",
                  "if (pm.response.code === 200 && res.access_token) {",
                  "    pm.collectionVariables.set('bearer_token', res.access_token);",
                  "    pm.collectionVariables.set('bearer_expires_at', res.expires_at);",
                  "    console.log('Bearer Token guardado. Expira: ' + res.expires_at);",
                  "    pm.test('Token obtenido correctamente', () => pm.expect(res.access_token).to.be.a('string').and.not.empty);",
                  "} else {",
                  "    pm.test('Error al obtener token: ' + (res.error || pm.response.status), () => pm.expect(false).to.be.true);",
                  "}"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/api/v2/external/auth.php",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "api",
                "v2",
                "external",
                "auth.php"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"api_key\": \"{{api_token}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Intercambia tu API Key por un Bearer Token temporal (1 hora).\n\n**Pre-request:** comprueba automáticamente si OAuth2 está activo en el servidor (GET /auth.php). Si no está activo, detiene la petición con un aviso.\n\n**Test script:** guarda el `access_token` en la variable de colección `bearer_token` automáticamente. El resto de peticiones usan `{{bearer_token}}` en el header `Authorization: Bearer {{bearer_token}}`.\n\nExchange your API Key for a temporary Bearer Token (1 hour). The test script automatically saves the token to the `bearer_token` collection variable."
          },
          "response": []
        }
      ]
    },
    {
      "_postman_id": "adc3d98f-e96e-4693-af18-4caecf8b1957",
      "name": "GET",
      "item": [
        {
          "_postman_id": "f0c792ef-994d-472b-94a2-dc95c35897d3",
          "name": "GET addresses",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/addresses?page=0&plain_text=false&ids=1,2&erp_ids=DIR-001,DIR-002&client_ids=1,2&erp_client_ids=CLI-001,CLI-002&remote_id=0",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "addresses"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "DIR-001,DIR-002",
                  "disabled": true
                },
                {
                  "key": "client_ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "erp_client_ids",
                  "value": "CLI-001,CLI-002",
                  "disabled": true
                },
                {
                  "key": "remote_id",
                  "value": "0",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2\n  ],\n  \"erp_ids\": [\n    \"DIR-001\",\n    \"DIR-002\"\n  ],\n  \"client_ids\": [\n    1,\n    2\n  ],\n  \"erp_client_ids\": [\n    \"CLI-001\",\n    \"CLI-002\"\n  ],\n  \"remote_id\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "4830f23c-de16-48d7-84eb-fc8ef0f0a04c",
          "name": "GET assets",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/assets?page=0&plain_text=false&ids=0&erp_ids=&facility_id=0&facility_erp_id=&remote_id=0",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "assets"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "facility_id",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "facility_erp_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "remote_id",
                  "value": "0",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    0\n  ],\n  \"erp_ids\": [\n    \"\"\n  ],\n  \"facility_id\": 0,\n  \"facility_erp_id\": \"\",\n  \"remote_id\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "3c4b5471-fc59-4657-a068-47af9d24ec1e",
          "name": "GET budgets",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/budgets?page=0&plain_text=false&ids=1,2&erp_ids=PRES-001&project_id=1&subcontractor_ids=1&project_erp_id=PROJ-001&client_id=1&client_erp_id=CLI-001&billing_client_id=1&billing_client_erp_id=CLI-002&address_id=1&address_erp_id=DIR-001&client_ref=REF-CLIENTE-001&date=2024-01-15&date_from=2024-01-01&date_to=2024-12-31&status=pending&incident_id=1&work_order_id=1",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "budgets"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "PRES-001",
                  "disabled": true
                },
                {
                  "key": "project_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "subcontractor_ids",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "project_erp_id",
                  "value": "PROJ-001",
                  "disabled": true
                },
                {
                  "key": "client_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "client_erp_id",
                  "value": "CLI-001",
                  "disabled": true
                },
                {
                  "key": "billing_client_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "billing_client_erp_id",
                  "value": "CLI-002",
                  "disabled": true
                },
                {
                  "key": "address_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "address_erp_id",
                  "value": "DIR-001",
                  "disabled": true
                },
                {
                  "key": "client_ref",
                  "value": "REF-CLIENTE-001",
                  "disabled": true
                },
                {
                  "key": "date",
                  "value": "2024-01-15",
                  "disabled": true
                },
                {
                  "key": "date_from",
                  "value": "2024-01-01",
                  "disabled": true
                },
                {
                  "key": "date_to",
                  "value": "2024-12-31",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "pending",
                  "disabled": true
                },
                {
                  "key": "incident_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "work_order_id",
                  "value": "1",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2\n  ],\n  \"erp_ids\": [\n    \"PRES-001\"\n  ],\n  \"project_id\": 1,\n  \"subcontractor_ids\": [\n    1\n  ],\n  \"project_erp_id\": \"PROJ-001\",\n  \"client_id\": 1,\n  \"client_erp_id\": \"CLI-001\",\n  \"billing_client_id\": 1,\n  \"billing_client_erp_id\": \"CLI-002\",\n  \"address_id\": 1,\n  \"address_erp_id\": \"DIR-001\",\n  \"client_ref\": \"REF-CLIENTE-001\",\n  \"date\": \"2024-01-15\",\n  \"date_from\": \"2024-01-01\",\n  \"date_to\": \"2024-12-31\",\n  \"status\": \"pending\",\n  \"incident_id\": 1,\n  \"work_order_id\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "5215f94b-92af-41e4-8e90-717637816192",
          "name": "GET clients",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/clients?page=0&plain_text=false&ids=1,2,3&erp_id=CLI-001&remote_id=0",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "clients"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "1,2,3",
                  "disabled": true
                },
                {
                  "key": "erp_id",
                  "value": "CLI-001",
                  "disabled": true
                },
                {
                  "key": "remote_id",
                  "value": "0",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_id\": \"CLI-001\",\n  \"remote_id\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "c4e6b61a-a64e-4326-b55f-c4ef679d17ad",
          "name": "GET expensesAndBonuses",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/expensesAndBonuses?page=0&plain_text=false&project_code=PRJ-2024&project_erp_id=PROJ-001&project_id=1&team_name=Equipo Norte&team_id=1&status=ALL&date_from=2024-01-01&date_to=2024-01-31&wo_ids=1001,1002",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "expensesAndBonuses"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "project_code",
                  "value": "PRJ-2024",
                  "disabled": true
                },
                {
                  "key": "project_erp_id",
                  "value": "PROJ-001",
                  "disabled": true
                },
                {
                  "key": "project_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "team_name",
                  "value": "Equipo Norte",
                  "disabled": true
                },
                {
                  "key": "team_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "ALL",
                  "disabled": true
                },
                {
                  "key": "date_from",
                  "value": "2024-01-01",
                  "disabled": true
                },
                {
                  "key": "date_to",
                  "value": "2024-01-31",
                  "disabled": true
                },
                {
                  "key": "wo_ids",
                  "value": "1001,1002",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"project_code\": \"PRJ-2024\",\n  \"project_erp_id\": \"PROJ-001\",\n  \"project_id\": 1,\n  \"team_name\": \"Equipo Norte\",\n  \"team_id\": 1,\n  \"status\": \"ALL\",\n  \"date_from\": \"2024-01-01\",\n  \"date_to\": \"2024-01-31\",\n  \"wo_ids\": [\n    1001,\n    1002\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "3c0795df-e7da-4b76-ba09-9f9df2bbf0e7",
          "name": "GET facilities",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/facilities?page=0&plain_text=false&ids=0&erp_ids=0&address_erp_ids=&address_ids=0&parent_erp_ids=&parent_ids=0&remote_id=0",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "facilities"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "address_erp_ids",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "address_ids",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "parent_erp_ids",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "parent_ids",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "remote_id",
                  "value": "0",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    0\n  ],\n  \"erp_ids\": [\n    0\n  ],\n  \"address_erp_ids\": [\n    \"\"\n  ],\n  \"address_ids\": [\n    0\n  ],\n  \"parent_erp_ids\": [\n    \"\"\n  ],\n  \"parent_ids\": [\n    0\n  ],\n  \"remote_id\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "7555ef64-de7e-46d5-95e7-75f85f728ac7",
          "name": "GET incidents",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidents?page=0&plain_text=false&ids=1,2&erp_ids=INC-001&address_id=10&customer_id=5&system_id=3",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidents"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "INC-001",
                  "disabled": true
                },
                {
                  "key": "address_id",
                  "value": "10",
                  "disabled": true
                },
                {
                  "key": "customer_id",
                  "value": "5",
                  "disabled": true
                },
                {
                  "key": "system_id",
                  "value": "3",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2\n  ],\n  \"erp_ids\": [\n    \"INC-001\"\n  ],\n  \"address_id\": 10,\n  \"customer_id\": 5,\n  \"system_id\": 3\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "f73ddccb-13d2-4785-bea8-8c9919cb5f3e",
          "name": "GET incidentStates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidentStates?page=0&plain_text=false&ids=1,2&erp_ids=EST-INC-001&status_flag=DEFAULT",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidentStates"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "EST-INC-001",
                  "disabled": true
                },
                {
                  "key": "status_flag",
                  "value": "DEFAULT",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2\n  ],\n  \"erp_ids\": [\n    \"EST-INC-001\"\n  ],\n  \"status_flag\": \"DEFAULT\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "078588eb-422a-467e-b823-6dfbc884bd62",
          "name": "GET incidentTypes",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidentTypes?page=0&plain_text=false&ids=1,2&erp_ids=TIP-INC-001",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidentTypes"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "TIP-INC-001",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2\n  ],\n  \"erp_ids\": [\n    \"TIP-INC-001\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "58704e5e-b337-43b8-b64c-7b8b9e880f4a",
          "name": "GET items",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/items?page=0&plain_text=false&id=1&erp_id=ART-001&reference=REF-001",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "items"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "erp_id",
                  "value": "ART-001",
                  "disabled": true
                },
                {
                  "key": "reference",
                  "value": "REF-001",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 1,\n  \"erp_id\": \"ART-001\",\n  \"reference\": \"REF-001\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "e2f39fca-c135-468f-b735-a2796cbac154",
          "name": "GET projects",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/projects?page=0&plain_text=false&ids=0&project_code=&erp_id=",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "projects"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "project_code",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "erp_id",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    0\n  ],\n  \"project_code\": \"\",\n  \"erp_id\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "e964495f-b87b-4aaf-b455-17b9b4c74727",
          "name": "GET status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/status?page=0&plain_text=false",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "status"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "f9b30928-71fa-461c-b5ab-7afe89c741a8",
          "name": "GET stock",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/stock?page=0&plain_text=false&item_id=1&item_erp_id=ART-001&wharehouse_id=1&wharehouse_erp_id=ALM-001&lot=LOTE-2024-001",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "stock"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "item_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "item_erp_id",
                  "value": "ART-001",
                  "disabled": true
                },
                {
                  "key": "wharehouse_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "wharehouse_erp_id",
                  "value": "ALM-001",
                  "disabled": true
                },
                {
                  "key": "lot",
                  "value": "LOTE-2024-001",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"item_id\": 1,\n  \"item_erp_id\": \"ART-001\",\n  \"wharehouse_id\": 1,\n  \"wharehouse_erp_id\": \"ALM-001\",\n  \"lot\": \"LOTE-2024-001\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "406b1334-8472-402b-9aee-5428833a9933",
          "name": "GET subcontracts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/subcontracts?page=0&plain_text=false&ids=1,2&erp_ids=SUB-001,SUB-002&service_provider=True&material_provider=False",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "subcontracts"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "SUB-001,SUB-002",
                  "disabled": true
                },
                {
                  "key": "service_provider",
                  "value": "True",
                  "disabled": true
                },
                {
                  "key": "material_provider",
                  "value": "False",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2\n  ],\n  \"erp_ids\": [\n    \"SUB-001\",\n    \"SUB-002\"\n  ],\n  \"service_provider\": true,\n  \"material_provider\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "204a5d5f-5e14-40ed-b479-a43aa7802c91",
          "name": "GET users",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/users?page=0&plain_text=false&ids=0&role_id=0&erp_id=&subcontractor_ids=0",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "users"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "role_id",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "erp_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "subcontractor_ids",
                  "value": "0",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    0\n  ],\n  \"role_id\": 0,\n  \"erp_id\": \"\",\n  \"subcontractor_ids\": [\n    0\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "f4a6e2cd-d6e9-42ac-8545-e4de7897f0a1",
          "name": "GET validationBillable",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/validationBillable?page=0&plain_text=false&project_code=PRJ-2024&project_erp_id=PROJ-001&project_id=1&client_erp_id=CLI-001&client_id=1&date_from=2024-01-01&date_to=2024-01-31&status_flags=SEND_TO_ERP&wo_ids=1001,1002",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "validationBillable"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "project_code",
                  "value": "PRJ-2024",
                  "disabled": true
                },
                {
                  "key": "project_erp_id",
                  "value": "PROJ-001",
                  "disabled": true
                },
                {
                  "key": "project_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "client_erp_id",
                  "value": "CLI-001",
                  "disabled": true
                },
                {
                  "key": "client_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "date_from",
                  "value": "2024-01-01",
                  "disabled": true
                },
                {
                  "key": "date_to",
                  "value": "2024-01-31",
                  "disabled": true
                },
                {
                  "key": "status_flags",
                  "value": "SEND_TO_ERP",
                  "disabled": true
                },
                {
                  "key": "wo_ids",
                  "value": "1001,1002",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"project_code\": \"PRJ-2024\",\n  \"project_erp_id\": \"PROJ-001\",\n  \"project_id\": 1,\n  \"client_erp_id\": \"CLI-001\",\n  \"client_id\": 1,\n  \"date_from\": \"2024-01-01\",\n  \"date_to\": \"2024-01-31\",\n  \"status_flags\": [\n    \"SEND_TO_ERP\"\n  ],\n  \"wo_ids\": [\n    1001,\n    1002\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "21cfaf2c-3a98-4a7f-beaa-2073e34a77cb",
          "name": "GET whareHouses",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/whareHouses?page=0&plain_text=false&id=1&erp_id=ALM-001&name=Almacén Central",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "whareHouses"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "erp_id",
                  "value": "ALM-001",
                  "disabled": true
                },
                {
                  "key": "name",
                  "value": "Almacén Central",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 1,\n  \"erp_id\": \"ALM-001\",\n  \"name\": \"Almacén Central\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "4e6dd115-09a1-4706-a49c-9f4899709deb",
          "name": "GET workOrders",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/workOrders?page=0&plain_text=false&ids=1001,1002&erp_ids=OT-001,OT-002&project_id=1&project_code=PRJ-2024&project_erp_id=PROJ-001&subcontractor_ids=1&customer_id=1&customer_ids=1,2&customer_erp_id=CLI-001&address_id=1&address_ids=1,2&address_erp_id=DIR-001&model_id=1&model_erp_id=MOD-001&specialty_id=1&specialty_erp_id=ESP-001&external_reference=EXT-REF-2024&date=2024-01-15&date_from=2024-01-01&date_to=2024-01-31&remote_id=0&workorder_type_id=1&type=corrective,preventive&status_flag=SEND_TO_ERP",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "workOrders"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "ids",
                  "value": "1001,1002",
                  "disabled": true
                },
                {
                  "key": "erp_ids",
                  "value": "OT-001,OT-002",
                  "disabled": true
                },
                {
                  "key": "project_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "project_code",
                  "value": "PRJ-2024",
                  "disabled": true
                },
                {
                  "key": "project_erp_id",
                  "value": "PROJ-001",
                  "disabled": true
                },
                {
                  "key": "subcontractor_ids",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "customer_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "customer_ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "customer_erp_id",
                  "value": "CLI-001",
                  "disabled": true
                },
                {
                  "key": "address_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "address_ids",
                  "value": "1,2",
                  "disabled": true
                },
                {
                  "key": "address_erp_id",
                  "value": "DIR-001",
                  "disabled": true
                },
                {
                  "key": "model_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "model_erp_id",
                  "value": "MOD-001",
                  "disabled": true
                },
                {
                  "key": "specialty_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "specialty_erp_id",
                  "value": "ESP-001",
                  "disabled": true
                },
                {
                  "key": "external_reference",
                  "value": "EXT-REF-2024",
                  "disabled": true
                },
                {
                  "key": "date",
                  "value": "2024-01-15",
                  "disabled": true
                },
                {
                  "key": "date_from",
                  "value": "2024-01-01",
                  "disabled": true
                },
                {
                  "key": "date_to",
                  "value": "2024-01-31",
                  "disabled": true
                },
                {
                  "key": "remote_id",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "workorder_type_id",
                  "value": "1",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "corrective,preventive",
                  "disabled": true
                },
                {
                  "key": "status_flag",
                  "value": "SEND_TO_ERP",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1001,\n    1002\n  ],\n  \"erp_ids\": [\n    \"OT-001\",\n    \"OT-002\"\n  ],\n  \"project_id\": 1,\n  \"project_code\": \"PRJ-2024\",\n  \"project_erp_id\": \"PROJ-001\",\n  \"subcontractor_ids\": [\n    1\n  ],\n  \"customer_id\": 1,\n  \"customer_ids\": [\n    1,\n    2\n  ],\n  \"customer_erp_id\": \"CLI-001\",\n  \"address_id\": 1,\n  \"address_ids\": [\n    1,\n    2\n  ],\n  \"address_erp_id\": \"DIR-001\",\n  \"model_id\": 1,\n  \"model_erp_id\": \"MOD-001\",\n  \"specialty_id\": 1,\n  \"specialty_erp_id\": \"ESP-001\",\n  \"external_reference\": \"EXT-REF-2024\",\n  \"date\": \"2024-01-15\",\n  \"date_from\": \"2024-01-01\",\n  \"date_to\": \"2024-01-31\",\n  \"remote_id\": 0,\n  \"workorder_type_id\": 1,\n  \"type\": [\n    \"corrective\",\n    \"preventive\"\n  ],\n  \"status_flag\": [\n    \"SEND_TO_ERP\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "1326d74b-317d-4a46-b45b-2a45c1d1f537",
          "name": "GET workOrderState",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/workOrderState?page=0&plain_text=false",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "workOrderState"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "0",
                  "disabled": true
                },
                {
                  "key": "plain_text",
                  "value": "false",
                  "disabled": true
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "_postman_id": "2b9658a3-57cf-404f-8c03-80848d57f69d",
      "name": "POST",
      "item": [
        {
          "_postman_id": "16bd7ba3-98e9-49aa-9e47-7e3ecc33e3a7",
          "name": "POST addresses",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/addresses",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "addresses"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"DIR-001\",\n    // \"name\": \"Sede Central\",\n    // \"address\": \"Calle Gran Vía 1\",\n    // \"city\": \"Madrid\",\n    // \"country\": \"ES\",\n    // \"province\": \"Madrid\",\n    // \"zip_code\": \"28001\",\n    // \"code\": \"SED001\",\n    // \"phone\": \"+34 91 123 4567\",\n    // \"mobile_phone\": \"+34 600 123 456\",\n    // \"email\": \"sede@ejemplo.com\",\n    // \"client_erp_id\": \"CLI-001\",\n    // \"client_remote_id\": \"\",\n    // \"contact\": \"Ana Martínez\",\n    // \"email_contact\": \"ana@ejemplo.com\",\n    // \"observations\": \"Acceso por puerta lateral\",\n    // \"latitude\": 40.4168,\n    // \"longitude\": -3.7038,\n    // \"remote_id\": 0\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "380fb2d2-4631-41c9-8308-a67e4aeffb11",
          "name": "POST assets",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/assets",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "assets"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"ACT-001\",\n    // \"name\": \"Compresor Industrial\",\n    // \"brand\": \"Atlas Copco\",\n    // \"model\": \"GA 22\",\n    // \"address_id\": 1,\n    // \"address_erp_id\": \"DIR-001\",\n    // \"facility_id\": 1,\n    // \"facility_remote_id\": 0,\n    // \"facility_erp_id\": \"SIS-001\",\n    // \"serial_number\": \"SN-2024-0001\",\n    // \"location\": \"Sala de máquinas B2\",\n    // \"family_id\": 1,\n    // \"family_erp_id\": \"FAM-001\",\n    // \"sub_family_id\": 1,\n    // \"sub_family_erp_id\": \"SUBFAM-001\",\n    // \"parent_id\": 1,\n    // \"parent_remote_id\": 0,\n    // \"parent_erp_id\": \"ACT-000\",\n    // \"remote_id\": 0,\n    // \"qr_code\": \"\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "7a2d7d49-fa65-481e-a19e-f9f1856b0674",
          "name": "POST budgetLine",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/budgetLine",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "budgetLine"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"line_id\": 100,\n    // \"budget_offer_id\": 10,\n    // \"budget_offer_erp_id\": \"OFFER-001\",\n    // \"type\": \"material\",\n    // \"item_id\": 1,\n    // \"item_erp_id\": \"ART-001\",\n    // \"description\": \"Replacement part\",\n    // \"qty\": 1,\n    // \"client_qty\": 1,\n    // \"unit_cost\": 10.5,\n    // \"unit_price\": 15,\n    // \"discount_pct\": 10,\n    // \"vat_pct\": 21,\n    // \"unit_type_id\": 1,\n    // \"visible_to_client\": true\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "61c7905a-a419-4540-b77a-1c8188e091e5",
          "name": "POST budgetOffer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/budgetOffer",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "budgetOffer"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"OFFER-001\",\n    // \"budget_id\": 1,\n    // \"budget_erp_id\": \"PRES-001\",\n    // \"subcontractor_id\": 1,\n    // \"subcontractor_erp_id\": \"PROV-001\",\n    // \"print\": true\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "d5a65cfe-5551-4e5a-a2ca-a7ce4ed13c9a",
          "name": "POST budgets",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/budgets",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "budgets"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"PRES-001\",\n    // \"id\": 1,\n    // \"title\": \"Maintenance budget\",\n    // \"description\": \"Annual maintenance contract\",\n    // \"client_id\": 1,\n    // \"client_erp_id\": \"CLI-001\",\n    // \"billing_client_id\": 2,\n    // \"billing_client_erp_id\": \"CLI-002\",\n    // \"address_id\": 1,\n    // \"address_erp_id\": \"DIR-001\",\n    // \"incident_id\": 1,\n    // \"origin_work_order_id\": 42,\n    // \"project_id\": 1,\n    // \"project_erp_id\": \"PRJ-001\",\n    // \"type_id\": 1,\n    // \"status_id\": 1,\n    // \"expiry_date\": \"2024-03-15\",\n    // \"custom_reference\": \"CUST-001\",\n    // \"client_reference\": \"REF-001\",\n    // \"generates_work_order\": true,\n    // \"specialty_id\": 1,\n    // \"subspecialty_id\": 1,\n    // \"technician_id\": 1,\n    // \"commercial_id\": 2,\n    // \"responsible_id\": 3,\n    // \"system_id\": 1,\n    // \"subcontractor_ids\": [\n      // 0\n    // ],\n    // \"asset_ids\": [\n      // 0\n    // ]\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "1ecf7c64-897f-4f0d-af0d-a7be5d4411c3",
          "name": "POST budgetState",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/budgetState",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "budgetState"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"budget_id\": 1,\n    // \"state_id\": 2,\n    // \"state_erp_id\": \"EST-PRES-001\",\n    // \"level\": \"budget\",\n    // \"target_id\": 1,\n    // \"target_erp_id\": \"OFFER-001\",\n    // \"reason\": \"Accepted by client\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "614ba85e-2f18-4273-9b0a-ec73bbb86ad8",
          "name": "POST clients",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/clients",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "clients"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"CLI-001\",\n    // \"name\": \"Empresa Ejemplo S.L.\",\n    // \"trade_name\": \"Ejemplo\",\n    // \"tax_id\": \"B12345678\",\n    // \"code\": \"CLI001\",\n    // \"phone\": \"+34 91 123 4567\",\n    // \"mobile_phone\": \"+34 600 123 456\",\n    // \"email\": \"contacto@ejemplo.com\",\n    // \"city\": \"Madrid\",\n    // \"zip_code\": \"28001\",\n    // \"remote_id\": 0,\n    // \"webservice_id\": 0\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "6f4087b3-86ad-49db-a8bd-28994511511e",
          "name": "POST expensesAndBonuses",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/expensesAndBonuses",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "expensesAndBonuses"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"id\": 1,\n    // \"group\": \"wo_hours\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "e66601fa-038b-4dfa-841f-403506e16d8b",
          "name": "POST facilities",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/facilities",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "facilities"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"SIS-001\",\n    // \"name\": \"Sistema HVAC Planta 1\",\n    // \"remote_id\": 0,\n    // \"address_remote_id\": 0,\n    // \"address_erp_id\": \"DIR-001\",\n    // \"parent_facility_erp_id\": \"SIS-000\",\n    // \"parent_remote_id\": 0\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "2437b875-9e0e-4886-a98d-ca970804d314",
          "name": "POST incidents",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidents",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidents"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"id\": 42,\n    // \"erp_id\": \"INC-001\",\n    // \"description\": \"Fuga de agua\",\n    // \"state\": \"EST-INC-001\",\n    // \"address\": \"DIR-001\",\n    // \"system\": \"SYS-001\",\n    // \"user\": \"USR-001\",\n    // \"external_reference\": \"EXT-REF-001\",\n    // \"priority\": 5,\n    // \"id_project\": 7,\n    // \"erp_id_project\": \"PRJ-001\",\n    // \"erp_id_type\": \"TIP-INC-001\",\n    // \"notice_date\": \"2024-01-15\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "886a7c2b-8a0a-4337-9363-4f98264039d1",
          "name": "POST incidentStates",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidentStates",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidentStates"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"id\": 3,\n    // \"erp_id\": \"EST-INC-001\",\n    // \"name\": \"Abierta\",\n    // \"visible\": true,\n    // \"visible_client\": true,\n    // \"max_time\": 86400,\n    // \"status_flag\": \"DEFAULT\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "202efdfe-dc03-4db8-b433-8cc95745a739",
          "name": "POST incidentTypes",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidentTypes",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidentTypes"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"id\": 1,\n    // \"erp_id\": \"TIP-INC-001\",\n    // \"name\": \"Correctivo\",\n    // \"code\": \"COR\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "38d193f1-e3c1-4c90-af0c-f25fc0d04bee",
          "name": "POST items",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/items",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "items"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"ART-001\",\n    // \"reference\": \"REF-001\",\n    // \"description\": \"Tornillo M6\",\n    // \"price\": 1.5,\n    // \"cost\": 0.8,\n    // \"min_stock\": 10,\n    // \"original_reference\": \"ORIG-001\",\n    // \"use_stock\": true\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "58ca23fb-49bc-4c42-aac6-9ff033c6f41e",
          "name": "POST projects",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/projects",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "projects"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"PROJ-001\",\n    // \"title\": \"Mantenimiento Edificio A\",\n    // \"project_code\": \"PRJ-2024-001\",\n    // \"client_id\": \"CLI-001\",\n    // \"addresses\": [\n      // \"DIR-001\"\n    ],\n    // \"status_id\": 1,\n    // \"managers\": [\n      // \"USR-001\"\n    ],\n    // \"activity\": \"limpieza\",\n    // \"project_managers\": [\n      // \"USR-002\"\n    ],\n    // \"description\": \"\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "10190375-f1c5-42c5-b147-202af8e0c90a",
          "name": "POST stock",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/stock",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "stock"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"wharehouse_id\": 1,\n    // \"wharehouse_erp_id\": \"ALM-001\",\n    // \"item_id\": 1,\n    // \"item_erp_id\": \"ART-001\",\n    // \"stock\": 50,\n    // \"qr_code\": \"QR-ART-001-ALM-001\",\n    // \"min_stock\": 5,\n    // \"ini_stock\": 100,\n    // \"max_stock\": 200,\n    // \"location\": \"Estantería A-3\",\n    // \"regularization\": true,\n    // \"lots\": [\n      // {}\n    // ]\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "53fa3b0b-79f2-4302-a234-ba5dcaa9887d",
          "name": "POST subcontracts",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/subcontracts",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "subcontracts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"SUB-001\",\n    // \"name\": \"Servicios Técnicos S.L.\",\n    // \"tax_id\": \"A87654321\",\n    // \"phone\": \"+34 93 123 4567\",\n    // \"email\": \"info@servtec.com\",\n    // \"service_provider\": true,\n    // \"material_provider\": false,\n    // \"warehouse_code\": \"ALM-SUB-001\",\n    // \"addresses\": [\n      {\n        // \"id\": \"DIR-SUB-001\",\n        // \"name\": \"Oficina Central\",\n        // \"address\": \"Av. Diagonal 100\",\n        // \"city\": \"Barcelona\",\n        // \"province\": \"Barcelona\",\n        // \"country\": \"ES\",\n        // \"zip_code\": \"08019\",\n        // \"main\": true\n      }\n    ]\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "c684848f-9b56-477f-8097-50db6a7bfc50",
          "name": "POST users",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/users",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "users"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"USR-001\",\n    // \"password\": \"SecurePass123!\",\n    // \"cost_value\": 25,\n    // \"price_value\": 45,\n    // \"relations\": {},\n    // \"item_code\": \"ART-USR-001\",\n    // \"role_id\": 3,\n    // \"name\": \"Carlos\",\n    // \"surname\": \"García López\",\n    // \"email\": \"carlos.garcia@empresa.com\",\n    // \"mobile\": \"+34 600 123 456\",\n    // \"phone\": \"+34 91 123 4567\",\n    // \"ext\": \"201\",\n    // \"tax_id\": \"12345678A\",\n    // \"autologin\": 0,\n    // \"registration_date\": \"2024-01-15\",\n    // \"finish_date\": \"2025-12-31\",\n    // \"qr\": \"QR-USR-001\",\n    // \"enabled\": 1,\n    // \"additional_data\": \"{\\\"department\\\": \\\"Mantenimiento\\\"}\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "6090f64f-3c0b-4295-9068-73f9cbecdce4",
          "name": "POST whareHouses",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/whareHouses",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "whareHouses"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"erp_id\": \"ALM-001\",\n    // \"name\": \"Almacén Central\",\n    // \"client_id\": 1,\n    // \"client_erp_id\": \"CLI-001\",\n    // \"supplier_id\": 1,\n    // \"supplier_erp_id\": \"SUB-001\",\n    // \"team_id\": 1,\n    // \"team_erp_id\": \"EQ-001\",\n    // \"address_id\": 1,\n    // \"address_erp_id\": \"DIR-001\"\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "96c5c6e2-c839-45ad-9175-2ebc548f6e95",
          "name": "POST workOrders",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/workOrders",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "workOrders"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "[\n  {\n    // \"id\": 1001,\n    // \"erp_id\": \"OT-001\",\n    // \"status_flag\": \"SEND_TO_ERP\",\n    // \"description\": \"Mantenimiento preventivo anual\",\n    // \"solution\": \"\",\n    // \"customer_observations\": \"\",\n    // \"observations\": \"\",\n    // \"address_id\": 1,\n    // \"facility_remote_id\": 0,\n    // \"facility_erp_id\": 0,\n    // \"address_erp\": \"DIR-001\",\n    // \"technician_id\": 1,\n    // \"technician_erp_id\": \"USR-001\",\n    // \"subcontractor_id\": 1,\n    // \"workorder_type_id\": 1,\n    // \"subcontractor_erp_id\": \"SUB-001\",\n    // \"displacement_id\": 1,\n    // \"displacement_erp_id\": \"DESP-001\",\n    // \"diet_id\": 1,\n    // \"diet_erp_id\": \"DIETA-001\",\n    // \"project_id\": 1,\n    // \"project_erp_id\": \"PROJ-001\",\n    // \"project_code\": \"PRJ-2024\",\n    // \"budget_id\": 1,\n    // \"budget_erp_id\": \"PRES-001\",\n    // \"incidence_id\": 1,\n    // \"incidence_erp_id\": \"INC-001\",\n    // \"work_id\": 1,\n    // \"work_erp_id\": \"OBRA-001\",\n    // \"specialty_id\": 1,\n    // \"specialty_erp_id\": \"ESP-001\",\n    // \"subspecialty_id\": 1,\n    // \"subspecialty_erp_id\": \"SUBESP-001\",\n    // \"team_id\": 0,\n    // \"date\": \"2024-01-15\",\n    // \"remote_id\": 0,\n    // \"assets\": [\n      // 0\n    // ],\n    // \"materials\": [\n      {\n        // \"remote_id\": 101,\n        // \"wo_id\": 1,\n        // \"quantity\": 2,\n        // \"planned_units\": 5,\n        // \"observations\": \"Tornillo M8\",\n        // \"unit_price\": 1.5\n      }\n    ]\n  }\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "5fe32286-3e8e-4b8b-868e-f63e5e923f6e",
          "name": "POST workOrderState",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/workOrderState",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "workOrderState"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "_postman_id": "5f553271-9b2a-4e17-abd3-653c2c4d458d",
      "name": "DELETE",
      "item": [
        {
          "_postman_id": "5144c5dd-341e-4fd8-8b0b-85da2171b5fa",
          "name": "DELETE addresses",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/addresses",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "addresses"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"DIR-001\",\n    \"DIR-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "62d97e0e-7c73-4fd3-a6d9-324eabffe285",
          "name": "DELETE assets",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/assets",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "assets"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"ACT-001\",\n    \"ACT-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "17c2cda0-0140-4fd0-b59f-5a7762fa1167",
          "name": "DELETE budgetLine",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/budgetLine",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "budgetLine"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "1fc9f9ba-21f0-43cc-ba45-63d1e4762aa8",
          "name": "DELETE budgetOffer",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/budgetOffer",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "budgetOffer"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "084e5397-be3d-4ac0-84da-c147fff1f6a4",
          "name": "DELETE budgets",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/budgets",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "budgets"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 1,\n  \"erp_id\": \"PRES-001\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "325edcbb-a7c8-48f5-8366-6523ca466199",
          "name": "DELETE clients",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/clients",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "clients"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"CLI-001\",\n    \"CLI-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "0c6b4d04-affd-42b0-98aa-6be6c3135a15",
          "name": "DELETE expensesAndBonuses",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/expensesAndBonuses",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "expensesAndBonuses"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"GB-001\",\n    \"GB-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "7a202e56-b801-4383-b7f8-30ada11983ff",
          "name": "DELETE facilities",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/facilities",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "facilities"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"SIS-001\",\n    \"SIS-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "aaeba30c-8882-49e4-90f8-b56e29f9b50e",
          "name": "DELETE incidents",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidents",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidents"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"INC-001\",\n    \"INC-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "d8d448c5-d24e-4442-9344-ff87ee230998",
          "name": "DELETE incidentStates",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidentStates",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidentStates"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"EST-INC-001\",\n    \"EST-INC-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "21ec5c42-2f95-4546-8e21-603a58bbec5c",
          "name": "DELETE incidentTypes",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/incidentTypes",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "incidentTypes"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"TIP-INC-001\",\n    \"TIP-INC-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "6a2316c5-1c51-44ba-8f02-056e30f31a5b",
          "name": "DELETE items",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/items",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "items"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"ART-001\",\n    \"ART-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "a56f7289-3148-4c23-b3f9-c94e7d6b730d",
          "name": "DELETE projects",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/projects",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "projects"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"PRY-001\",\n    \"PRY-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "0c5ab003-7f49-4742-a755-d07b4fab3b04",
          "name": "DELETE stock",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/stock",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "stock"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"STK-001\",\n    \"STK-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "eb72fa68-7c26-4489-b43a-bd8e69b6332f",
          "name": "DELETE subcontracts",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/subcontracts",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "subcontracts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"PROV-001\",\n    \"PROV-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "b1bc5f7f-db56-4b53-b60c-2cd1a28a8f5d",
          "name": "DELETE users",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/users",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "users"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"USR-001\",\n    \"USR-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "9124425b-b456-41c0-afd1-c427be86d146",
          "name": "DELETE whareHouses",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/whareHouses",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "whareHouses"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"ALM-001\",\n    \"ALM-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "074018d9-6657-4b26-81d4-7e5ef3765f19",
          "name": "DELETE workOrders",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/workOrders",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "workOrders"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"OT-001\",\n    \"OT-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "_postman_id": "ddfea042-1ce6-42e1-ad35-911053a8f1e7",
          "name": "DELETE workOrderState",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://{{entorno}}.gmao.cloud/apigmao/{{api_token}}/workOrderState",
              "protocol": "https",
              "host": [
                "{{entorno}}.gmao.cloud"
              ],
              "path": [
                "apigmao",
                "{{api_token}}",
                "workOrderState"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ids\": [\n    1,\n    2,\n    3\n  ],\n  \"erp_ids\": [\n    \"EST-001\",\n    \"EST-002\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    }
  ]
}