{"info":{"_postman_id":"1ed018ce-fe41-4af2-9709-2f62930f6225","name":"API Emergency Stop","description":"<html><head></head><body><p>Public API for sending emergency stop/resume commands to vehicles and querying batch status.</p>\n<p>Base path: <code>/parada-emergencia</code></p>\n<p><strong>Authentication:</strong> All endpoints require:</p>\n<ul>\n<li><code>Authorization: Bearer &lt;token&gt;</code> — Waypoint user session token</li>\n<li><code>id-client: &lt;numeric client id&gt;</code> — ID of the client the vehicles belong to</li>\n<li><code>x-api-key: &lt;api-key&gt;</code> — API key assigned to the client in AWS API Gateway</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"50892995","collectionId":"1ed018ce-fe41-4af2-9709-2f62930f6225","publishedId":"2sBXigKYVe","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-12T21:27:03.000Z"},"item":[{"name":"Auth","item":[{"name":"GET /auth/login","id":"9625202f-f3f6-4f2a-a3ba-3d5a395e254e","request":{"method":"GET","header":[],"url":"https://api.waypoint.cl/auth/login?user=<username>&password=<password>","description":"<p>Retrieves the Waypoint user session token. The returned token must be used as the value of the <code>Authorization</code> header (with the <code>Bearer </code> prefix) in all other endpoints.</p>\n<blockquote>\n<p>This endpoint belongs to the Waypoint authentication service, not to the emergency stop API.</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["auth","login"],"host":["api","waypoint","cl"],"query":[{"description":{"content":"<p>Waypoint username</p>\n","type":"text/plain"},"key":"user","value":"<username>"},{"description":{"content":"<p>User password</p>\n","type":"text/plain"},"key":"password","value":"<password>"}],"variable":[]}},"response":[{"id":"3cabf686-b523-4211-967d-001059483852","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.waypoint.cl/auth/login?user=<username>&password=<password>","protocol":"https","host":["api","waypoint","cl"],"path":["auth","login"],"query":[{"key":"user","value":"<username>","description":"Waypoint username"},{"key":"password","value":"<password>","description":"User password"}]},"description":"Retrieves the Waypoint user session token. The returned token must be used as the value of the `Authorization` header (with the `Bearer ` prefix) in all other endpoints.\n\n> This endpoint belongs to the Waypoint authentication service, not to the emergency stop API."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"AccessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\"\n}"},{"id":"ca5989c2-1184-4339-b7b8-b050c6ec7fff","name":"401 Unauthorized — invalid credentials","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.waypoint.cl/auth/login?user=<username>&password=<password>","protocol":"https","host":["api","waypoint","cl"],"path":["auth","login"],"query":[{"key":"user","value":"<username>","description":"Waypoint username"},{"key":"password","value":"<password>","description":"User password"}]},"description":"Retrieves the Waypoint user session token. The returned token must be used as the value of the `Authorization` header (with the `Bearer ` prefix) in all other endpoints.\n\n> This endpoint belongs to the Waypoint authentication service, not to the emergency stop API."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Invalid credentials\"\n}"}],"_postman_id":"9625202f-f3f6-4f2a-a3ba-3d5a395e254e"}],"id":"d0b01670-c7e7-4d63-9966-c5c3fcd72848","_postman_id":"d0b01670-c7e7-4d63-9966-c5c3fcd72848","description":""},{"name":"Vehicles","item":[{"name":"POST /vehicles — LOCK by PLATE","id":"420ed9ab-4e7e-45f6-9fa9-ec5e026d0e66","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"LOCK\",\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles","description":"<p>Sends an <strong>emergency stop (LOCK)</strong> command for one or more vehicles identified by license plate.</p>\n<p>Before processing the command, the system validates that the user has access to the client specified in <code>id-client</code>.</p>\n<p>The system resolves identifiers against Core and sends the batch to the backend. Vehicles not found in Core do not block the operation — they are returned in <code>failures</code> with <code>reason: VEHICLE_NOT_FOUND_IN_SYSTEM</code>.</p>\n<p><strong>Body fields:</strong></p>\n<ul>\n<li><code>action</code>: <code>LOCK</code> (stop) or <code>UNLOCK</code> (resume)</li>\n<li><code>id_type</code>: <code>PLATE</code> (license plate), <code>INTERNAL_CODE</code> (internal name), <code>VIN</code> (chassis number)</li>\n<li><code>vehicles</code>: array of identifiers matching the chosen <code>id_type</code></li>\n</ul>\n","urlObject":{"protocol":"https","path":["parada-emergencia","vehicles"],"host":["api.waypoint.cl"],"query":[],"variable":[]}},"response":[{"id":"1afa2b0a-f7a5-4708-bcff-871662b58133","name":"202 Accepted — all resolved","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"LOCK\",\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles","description":"Sends an **emergency stop (LOCK)** command for one or more vehicles identified by license plate.\n\nBefore processing the command, the system validates that the user has access to the client specified in `id-client`.\n\nThe system resolves identifiers against Core and sends the batch to the backend. Vehicles not found in Core do not block the operation — they are returned in `failures` with `reason: VEHICLE_NOT_FOUND_IN_SYSTEM`.\n\n**Body fields:**\n- `action`: `LOCK` (stop) or `UNLOCK` (resume)\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers matching the chosen `id_type`"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"batch_id\": \"aae37fb3-5da0-440d-af58-0d7b74972419\",\n  \"failures\": []\n}"},{"id":"a9a77a05-8244-492b-90c3-c1d573fab18f","name":"202 Accepted — with failures","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"LOCK\",\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles","description":"Sends an **emergency stop (LOCK)** command for one or more vehicles identified by license plate.\n\nBefore processing the command, the system validates that the user has access to the client specified in `id-client`.\n\nThe system resolves identifiers against Core and sends the batch to the backend. Vehicles not found in Core do not block the operation — they are returned in `failures` with `reason: VEHICLE_NOT_FOUND_IN_SYSTEM`.\n\n**Body fields:**\n- `action`: `LOCK` (stop) or `UNLOCK` (resume)\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers matching the chosen `id_type`"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"batch_id\": \"aae37fb3-5da0-440d-af58-0d7b74972419\",\n  \"failures\": [\n    { \"vehicle\": \"ABCD12\", \"reason\": \"SOLICITUD_VIGENTE\" },\n    { \"vehicle\": \"EFGH34\", \"reason\": \"VEHICLE_NOT_FOUND_IN_SYSTEM\" }\n  ]\n}"},{"id":"9ce69da5-fbd4-4bc6-a7fd-04fbe0ca5222","name":"400 Bad Request — invalid body","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"LOCK\",\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles","description":"Sends an **emergency stop (LOCK)** command for one or more vehicles identified by license plate.\n\nBefore processing the command, the system validates that the user has access to the client specified in `id-client`.\n\nThe system resolves identifiers against Core and sends the batch to the backend. Vehicles not found in Core do not block the operation — they are returned in `failures` with `reason: VEHICLE_NOT_FOUND_IN_SYSTEM`.\n\n**Body fields:**\n- `action`: `LOCK` (stop) or `UNLOCK` (resume)\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers matching the chosen `id_type`"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"action must be LOCK or UNLOCK\"\n}"},{"id":"100b8dcb-6277-4421-8936-bb32fb4c7e3f","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"LOCK\",\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles","description":"Sends an **emergency stop (LOCK)** command for one or more vehicles identified by license plate.\n\nBefore processing the command, the system validates that the user has access to the client specified in `id-client`.\n\nThe system resolves identifiers against Core and sends the batch to the backend. Vehicles not found in Core do not block the operation — they are returned in `failures` with `reason: VEHICLE_NOT_FOUND_IN_SYSTEM`.\n\n**Body fields:**\n- `action`: `LOCK` (stop) or `UNLOCK` (resume)\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers matching the chosen `id_type`"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Authorization header required\"\n}"},{"id":"8e4ed309-8bb5-4286-902b-b756c851d7c7","name":"403 Forbidden — no access to client","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"LOCK\",\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles","description":"Sends an **emergency stop (LOCK)** command for one or more vehicles identified by license plate.\n\nBefore processing the command, the system validates that the user has access to the client specified in `id-client`.\n\nThe system resolves identifiers against Core and sends the batch to the backend. Vehicles not found in Core do not block the operation — they are returned in `failures` with `reason: VEHICLE_NOT_FOUND_IN_SYSTEM`.\n\n**Body fields:**\n- `action`: `LOCK` (stop) or `UNLOCK` (resume)\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers matching the chosen `id_type`"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"You do not have access to the specified client\"\n}"}],"_postman_id":"420ed9ab-4e7e-45f6-9fa9-ec5e026d0e66"},{"name":"POST /vehicles — UNLOCK by INTERNAL_CODE","id":"b3eb3487-cd10-4649-ae62-2a7bc514f248","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"UNLOCK\",\n  \"id_type\": \"INTERNAL_CODE\",\n  \"vehicles\": [\"CAMION-01\", \"CAMION-02\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles","description":"<p>Sends a <strong>resume (UNLOCK)</strong> command using the vehicle's internal code in the Waypoint system.</p>\n","urlObject":{"protocol":"https","path":["parada-emergencia","vehicles"],"host":["api.waypoint.cl"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3eb3487-cd10-4649-ae62-2a7bc514f248"},{"name":"POST /vehicles — LOCK by VIN","id":"44b0a536-d2ef-44a0-9dc9-98e337cb97d4","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"LOCK\",\n  \"id_type\": \"VIN\",\n  \"vehicles\": [\"9BWZZZ377VT004251\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles","description":"<p>Sends a stop command identifying the vehicle by chassis number (VIN).</p>\n","urlObject":{"protocol":"https","path":["parada-emergencia","vehicles"],"host":["api.waypoint.cl"],"query":[],"variable":[]}},"response":[],"_postman_id":"44b0a536-d2ef-44a0-9dc9-98e337cb97d4"}],"id":"58573c07-12ec-4771-b697-842e54ca7f16","_postman_id":"58573c07-12ec-4771-b697-842e54ca7f16","description":""},{"name":"Vehicles Status","item":[{"name":"POST /vehicles-status — by PLATE","id":"e8ec414b-584e-4fc0-8688-9b6f0664726a","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles-status","description":"<p>Queries the current emergency stop status for one or more vehicles.</p>\n<p><strong>Body fields:</strong></p>\n<ul>\n<li><code>id_type</code>: <code>PLATE</code> (license plate), <code>INTERNAL_CODE</code> (internal name), <code>VIN</code> (chassis number)</li>\n<li><code>vehicles</code>: array of identifiers</li>\n</ul>\n<p>Vehicles not found in the system are returned in <code>not_found</code>. The values of <code>type</code>, <code>status</code>, and the date fields come directly from the backend.</p>\n","urlObject":{"protocol":"https","path":["parada-emergencia","vehicles-status"],"host":["api.waypoint.cl"],"query":[],"variable":[]}},"response":[{"id":"0bae9b77-1e78-4724-b30e-d663cb24f357","name":"200 OK — with results","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles-status","description":"Queries the current emergency stop status for one or more vehicles.\n\n**Body fields:**\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers\n\nVehicles not found in the system are returned in `not_found`. The values of `type`, `status`, and the date fields come directly from the backend."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"vehicle\": { \"id\": 4095, \"id_legacy\": 4094, \"plate\": \"ABCD12\" },\n      \"type\": { \"id\": 1 },\n      \"status\": { \"id\": 3, \"nombre\": \"Ejecutada\" },\n      \"requested_at\": 1744913141667,\n      \"sent_at\": 1744913141667,\n      \"cancelled_at\": 0,\n      \"executed_at\": 1744913141667\n    }\n  ],\n  \"not_found\": [\"EFGH34\"]\n}"},{"id":"27ce61b2-69de-444a-b680-9506dfe22ddd","name":"200 OK — no vehicles found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles-status","description":"Queries the current emergency stop status for one or more vehicles.\n\n**Body fields:**\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers\n\nVehicles not found in the system are returned in `not_found`. The values of `type`, `status`, and the date fields come directly from the backend."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [],\n  \"not_found\": [\"ABCD12\", \"EFGH34\"]\n}"},{"id":"19cc66a2-be11-43ee-b64e-0540bea3bb71","name":"400 Bad Request — invalid body","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles-status","description":"Queries the current emergency stop status for one or more vehicles.\n\n**Body fields:**\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers\n\nVehicles not found in the system are returned in `not_found`. The values of `type`, `status`, and the date fields come directly from the backend."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"id_type must be INTERNAL_CODE, PLATE or VIN\"\n}"},{"id":"dadd2574-e129-4405-bae8-e87072226e12","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id_type\": \"PLATE\",\n  \"vehicles\": [\"ABCD12\", \"EFGH34\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles-status","description":"Queries the current emergency stop status for one or more vehicles.\n\n**Body fields:**\n- `id_type`: `PLATE` (license plate), `INTERNAL_CODE` (internal name), `VIN` (chassis number)\n- `vehicles`: array of identifiers\n\nVehicles not found in the system are returned in `not_found`. The values of `type`, `status`, and the date fields come directly from the backend."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Authorization header required\"\n}"}],"_postman_id":"e8ec414b-584e-4fc0-8688-9b6f0664726a"},{"name":"POST /vehicles-status — by INTERNAL_CODE","id":"f2bed476-36e4-44e5-b437-e74c83f5bc21","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id_type\": \"INTERNAL_CODE\",\n  \"vehicles\": [\"CAMION-01\", \"CAMION-02\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.waypoint.cl/parada-emergencia/vehicles-status","description":"<p>Queries the current status using the vehicle's internal code.</p>\n","urlObject":{"protocol":"https","path":["parada-emergencia","vehicles-status"],"host":["api.waypoint.cl"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2bed476-36e4-44e5-b437-e74c83f5bc21"}],"id":"4128aaaa-0da8-49fb-8a42-133cf7a2ce36","_postman_id":"4128aaaa-0da8-49fb-8a42-133cf7a2ce36","description":""},{"name":"Batch Status","item":[{"name":"GET /batch-status","id":"d180067f-bdc6-4119-8317-97d015d08530","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"}],"url":"https://api.waypoint.cl/parada-emergencia/batch-status?batch_id=","description":"<p>Queries the processing status of a batch previously submitted via <code>POST /vehicles</code>.</p>\n<p>Use the <code>batch_id</code> returned in the 202 response from the vehicles endpoint.</p>\n<p><strong>Query params:</strong></p>\n<ul>\n<li><code>batch_id</code> (required): batch UUID</li>\n</ul>\n<p>The <code>requests</code> field replaces the backend's internal list, substituting the vehicle's internal ID with its license plate (<code>plate</code>). All other root-level fields come directly from the backend.</p>\n","urlObject":{"protocol":"https","path":["parada-emergencia","batch-status"],"host":["api.waypoint.cl"],"query":[{"description":{"content":"<p>UUID returned by POST /vehicles in the batch_id field</p>\n","type":"text/plain"},"key":"batch_id","value":""}],"variable":[]}},"response":[{"id":"dd2e931d-3388-4d03-8567-95f8d3ee214b","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"}],"url":{"raw":"https://api.waypoint.cl/parada-emergencia/batch-status?batch_id=","protocol":"https","host":["api.waypoint.cl"],"path":["parada-emergencia","batch-status"],"query":[{"key":"batch_id","value":"","description":"UUID returned by POST /vehicles in the batch_id field"}]},"description":"Queries the processing status of a batch previously submitted via `POST /vehicles`.\n\nUse the `batch_id` returned in the 202 response from the vehicles endpoint.\n\n**Query params:**\n- `batch_id` (required): batch UUID\n\nThe `requests` field replaces the backend's internal list, substituting the vehicle's internal ID with its license plate (`plate`). All other root-level fields come directly from the backend."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"batch_id\": \"aae37fb3-5da0-440d-af58-0d7b74972419\",\n  \"batch_status\": \"PARTIALLY_COMPLETED\",\n  \"requests\": [\n    {\n      \"id\": 101,\n      \"plate\": \"ABCD12\",\n      \"status_id\": 3,\n      \"status\": \"EJECUTADA\",\n      \"command_type_id\": 1,\n      \"command_type\": \"CORTE\",\n      \"platform_id\": 1,\n      \"platform\": \"ANDROID\",\n      \"requested_at\": 1743090000000,\n      \"executed_at\": 1743090005000,\n      \"cancelled_at\": 0\n    }\n  ]\n}"},{"id":"fae41dee-715a-49c4-b44f-90ac691ba11e","name":"400 Bad Request — missing batch_id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"}],"url":{"raw":"https://api.waypoint.cl/parada-emergencia/batch-status?batch_id=","protocol":"https","host":["api.waypoint.cl"],"path":["parada-emergencia","batch-status"],"query":[{"key":"batch_id","value":"","description":"UUID returned by POST /vehicles in the batch_id field"}]},"description":"Queries the processing status of a batch previously submitted via `POST /vehicles`.\n\nUse the `batch_id` returned in the 202 response from the vehicles endpoint.\n\n**Query params:**\n- `batch_id` (required): batch UUID\n\nThe `requests` field replaces the backend's internal list, substituting the vehicle's internal ID with its license plate (`plate`). All other root-level fields come directly from the backend."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Parameter batch_id required\"\n}"},{"id":"03ca0dd6-31f3-4cf1-b1c2-17c112cd94ea","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"}],"url":{"raw":"https://api.waypoint.cl/parada-emergencia/batch-status?batch_id=","protocol":"https","host":["api.waypoint.cl"],"path":["parada-emergencia","batch-status"],"query":[{"key":"batch_id","value":"","description":"UUID returned by POST /vehicles in the batch_id field"}]},"description":"Queries the processing status of a batch previously submitted via `POST /vehicles`.\n\nUse the `batch_id` returned in the 202 response from the vehicles endpoint.\n\n**Query params:**\n- `batch_id` (required): batch UUID\n\nThe `requests` field replaces the backend's internal list, substituting the vehicle's internal ID with its license plate (`plate`). All other root-level fields come directly from the backend."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Authorization header required\"\n}"},{"id":"a5e4f79e-9ff2-4753-9f46-c1290e1fc8a7","name":"502 Bad Gateway — backend unavailable","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>"},{"key":"id-client","value":"<client-id>"},{"key":"x-api-key","value":"<api-key>"}],"url":{"raw":"https://api.waypoint.cl/parada-emergencia/batch-status?batch_id=","protocol":"https","host":["api.waypoint.cl"],"path":["parada-emergencia","batch-status"],"query":[{"key":"batch_id","value":"","description":"UUID returned by POST /vehicles in the batch_id field"}]},"description":"Queries the processing status of a batch previously submitted via `POST /vehicles`.\n\nUse the `batch_id` returned in the 202 response from the vehicles endpoint.\n\n**Query params:**\n- `batch_id` (required): batch UUID\n\nThe `requests` field replaces the backend's internal list, substituting the vehicle's internal ID with its license plate (`plate`). All other root-level fields come directly from the backend."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Error fetching batch status\"\n}"}],"_postman_id":"d180067f-bdc6-4119-8317-97d015d08530"}],"id":"7069dfb9-da52-4afa-8951-fb8a434c2df1","_postman_id":"7069dfb9-da52-4afa-8951-fb8a434c2df1","description":""}],"variable":[{"key":"host","value":"api.waypoint.cl","description":"Environment host. Production: api.waypoint.cl | Development: api-dev.waypoint.cl"},{"key":"bearer_token","value":"Bearer <token>","description":"Waypoint user session token. Include the 'Bearer ' prefix"},{"key":"api_key","value":"<api-key>","description":"Client API key, configured in AWS API Gateway Usage Plan"},{"key":"id_client","value":"<client-id>","description":"Numeric ID of the client the vehicles belong to"},{"key":"batch_id","value":"","description":"UUID of the batch returned by POST /vehicles"},{"key":"user","value":"<username>","description":"Waypoint username"},{"key":"password","value":"<password>","description":"Waypoint user password"}]}