{"info":{"_postman_id":"6164af16-06db-4093-b459-e840238dc8c6","name":"RAS Spectrum API Documentation","description":"<html><head></head><body><img src=\"https://content.pstmn.io/1dc8f624-e8b8-49b3-b94f-e712a74bafce/UkFTIExPR08ucG5n\" width=\"189\" height=\"73\">\n\n<h2 id=\"🔖-how-to-use-the-api\">🔖 How to use the API</h2>\n<ul>\n<li><p>In production, ensure to replace the \"ras\" in the URL with the range name location provided to you.</p>\n</li>\n<li><p>Ensure that the \"Authorization\" tab contains your API Key as \"x-api-key\"</p>\n</li>\n<li><p>While Batch Start and Batch Stop are documented in separate sections for clarity, the API lets you perform both in a single call. Simply include whatever start and stop commands you need in the same payload—for example, you could start Bay 1 and stop Bay 2 in one batch request.</p>\n</li>\n</ul>\n<hr>\n<h3 id=\"📃-enum-types\">📃 Enum Types</h3>\n<p>This section enumerates all enumeration types used by the RAS API, detailing each enum’s name, its set of valid values, and a brief description of their purpose in request and response data.</p>\n<h3 id=\"modetype\">ModeType</h3>\n<p>1.) Ball Rental<br>2.) Available<br>3.) Freeplay<br>4.) Time Rental<br>5.) Checked In<br>6.) Checked Out<br>7.) Error<br>9.) Manual Mode<br>10.) No Response</p>\n<h3 id=\"errorid-autotee\">ErrorID (AutoTee)</h3>\n<p>0.) No Error</p>\n<p>1.) Tee Sensor<br>2) Bottom Sensor<br>3.) Chute Sensor<br>9.) Tee And Chute Sensor</p>\n<p>10.) Motor Sensor</p>\n<p>11.) Bottom And Chute Sensor<br>12.) Tee And Bottom Sensor</p>\n<h3 id=\"errorid-dr1600\">ErrorID (DR1600)</h3>\n<p>0.) No Error</p>\n<p>4.) Drum Sensor</p>\n<p>5.) Club Sensor<br>6.) Low Balls</p>\n<p>7.) Low Balls And Drum Sensor<br>8.) Low Balls And Club Sensor</p>\n<hr>\n<h3 id=\"authentication-error-response\">Authentication error response</h3>\n<p>If an API key is missing, malformed, or invalid, you will receive an HTTP 401 Unauthorized response code.</p>\n<h3 id=\"200-response\">200 response</h3>\n<p>An HTTP <code>200</code> response from our servers indicates your request was sent successfully</p>\n<h3 id=\"403-response\">403 response</h3>\n<p>An HTTP <code>403</code> response indicates that your range name variable, or API Key are not correct</p>\n<h3 id=\"503-response\">503 response</h3>\n<p>An HTTP <code>503</code> response from our servers indicates there is an unexpected spike in API access traffic.</p>\n<h3 id=\"need-help\"><strong>Need help?</strong></h3>\n<p>In case you have questions, email <a href=\"https://mailto:zack.lacanna@rangesystems.com\">zack.lacanna@rangesystems.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"32401939","collectionId":"6164af16-06db-4093-b459-e840238dc8c6","publishedId":"2sAYdfpqNw","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-02-26T19:01:50.000Z"},"item":[{"name":"RAS Commands","item":[{"name":"Get Bay Data","event":[{"listen":"test","script":{"id":"2fc09677-deb3-463b-ba17-11b922488473","exec":[""],"type":"text/javascript","packages":{}}}],"id":"3216c46f-b8a7-4f46-aa41-7d355be01808","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"https://ras.rangesystems.com/api/read","description":"<h2 id=\"🔖-how-to-use-get-bay-data-endpoint\">🔖 How to use Get Bay Data Endpoint:</h2>\n<ul>\n<li><p>In production, ensure to replace the \"ras\" in the URL with the range name location provided to you.</p>\n</li>\n<li><p>Ensure that the \"Authorization\" tab contains your API Key as \"x-api-key\"</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{x-api-key}}"}]},"isInherited":true,"source":{"_postman_id":"6164af16-06db-4093-b459-e840238dc8c6","id":"6164af16-06db-4093-b459-e840238dc8c6","name":"RAS Spectrum API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["api","read"],"host":["ras.rangesystems.com"],"query":[],"variable":[]}},"response":[{"id":"5a08a252-e020-4b69-9366-9abb7b413c9d","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"1234567abcdefg","type":"text"}],"url":"https://ras.rangesystems.com/api/read"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"BayData\": [\n        {\n            \"BayNumber\": 1,\n            \"ModeType\": 2,\n            \"ErrorId\": -1,\n            \"EquipmentType\": \"DR1600\",\n            \"DataTimeStamp\": \"2025-11-03T17:00:49.3987257Z\"\n        },\n        {\n            \"BayNumber\": 2,\n            \"ModeType\": 2,\n            \"ErrorId\": 0,\n            \"EquipmentType\": \"NanoTee\",\n            \"DataTimeStamp\": \"2025-11-03T17:00:50.4752078Z\"\n        },\n        {\n            \"BayNumber\": 3,\n            \"ModeType\": 2,\n            \"ErrorId\": 0,\n            \"EquipmentType\": \"NanoTee\",\n            \"DataTimeStamp\": \"2025-11-03T17:00:49.6328222Z\"\n        },\n        {\n            \"BayNumber\": 4,\n            \"ModeType\": 2,\n            \"ErrorId\": 0,\n            \"EquipmentType\": \"NanoVending\",\n            \"DataTimeStamp\": \"2025-11-03T10:00:51.3489092-07:00\"\n        }\n    ]\n}"},{"id":"029a78d6-2819-4141-9c00-46c9a5169c53","name":"Rate Limit Exceeded","originalRequest":{"method":"GET","header":[],"url":"https://api.getpostman.com/me"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"rateLimited\",\n    \"message\": \"Rate limit exceeded. Please retry after 1669048687\"\n}"}],"_postman_id":"3216c46f-b8a7-4f46-aa41-7d355be01808"},{"name":"Start Bay","event":[{"listen":"test","script":{"id":"2fc09677-deb3-463b-ba17-11b922488473","exec":[""],"type":"text/javascript","packages":{}}}],"id":"5e86e878-e2ff-4eba-8b46-b50e4bf68fd8","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"BayId\": 1,\r\n    \"Active\": true,\r\n    \"TotalBalls\": 50,\r\n    \"TotalTime\": 0,\r\n    \"Sender\": \"InRange\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/write?guid=abcdef-12345","description":"<h2 id=\"🔖-how-to-use-start-bay-endpoint\">🔖 How to use Start Bay Endpoint:</h2>\n<ul>\n<li><p>Enter the command information to \"Body\" tab</p>\n</li>\n<li><p>Enter a unique guid to the \"Params\" tab that concatenates to URL</p>\n</li>\n<li><p>In production, ensure to replace the \"ras\" in the URL with the range name location provided to you.</p>\n</li>\n<li><p>Ensure that the \"Authorization\" tab contains your API Key as \"x-api-key\"</p>\n</li>\n</ul>\n<h2 id=\"🔗-command-body-parameters-raw-json-\">🔗 Command Body Parameters (Raw JSON) :</h2>\n<ul>\n<li><p>\"Bay Id\" : BayNumber (Integer)</p>\n<ul>\n<li>If range has 30 bays would be labeled 1-30</li>\n</ul>\n</li>\n<li><p>\"TotalBalls\" : Total Balls for Session (Integer)</p>\n</li>\n<li><p>\"TotalTime\" : Total Timefor Session (Integer)</p>\n</li>\n<li><p>\"Active\" : Start or Stop Machine (Bool)</p>\n</li>\n<li><p>\"Sender\" : 3rd Party Sending the Command</p>\n</li>\n</ul>\n<h2 id=\"📒-examples\">📒 Examples:</h2>\n<p>Start Bay 1 for 60 Minutes</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"BayId\": 1,\n    \"Active\": true,\n    \"TotalBalls\": 999,\n    \"TotalTime\": 60,\n    \"Sender\": \"InRange\"\n}\n\n</code></pre>\n<p>Start Bay 1 for 100 Balls</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"BayId\": 1,\n    \"Active\": true,\n    \"TotalBalls\": 100,\n    \"TotalTime\": 0,\n    \"Sender\": \"YGB\"\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{x-api-key}}"}]},"isInherited":true,"source":{"_postman_id":"6164af16-06db-4093-b459-e840238dc8c6","id":"6164af16-06db-4093-b459-e840238dc8c6","name":"RAS Spectrum API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["api","write"],"host":["ras.rangesystems.com"],"query":[{"key":"guid","value":"abcdef-12345"}],"variable":[]}},"response":[{"id":"d24faeb6-d628-45b3-b69c-27d781194705","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"abcdef-123456","type":"text"}],"url":{"raw":"https://ras.rangesystems.com/api/write?guid=abcdef1234","protocol":"https","host":["ras","rangesystems","com"],"path":["api","write"],"query":[{"key":"guid","value":"abcdef1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"Item\": {\n        \"BayData\": \"[{\\\"BayNumber\\\":1,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":2,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":3,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":4,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":5,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":6,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":7,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":8,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":9,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":10,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":11,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":12,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":13,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":14,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":15,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":16,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":17,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":18,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":19,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":20,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"}]\",\n        \"LocationName\": \"shanks\",\n        \"SessionData\": \"[]\"\n    }\n}"},{"id":"1cc150c1-3ac3-4d15-9b58-4af1f2380ff1","name":"Rate Limit Exceeded","originalRequest":{"method":"GET","header":[],"url":"https://api.getpostman.com/me"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"rateLimited\",\n    \"message\": \"Rate limit exceeded. Please retry after 1669048687\"\n}"}],"_postman_id":"5e86e878-e2ff-4eba-8b46-b50e4bf68fd8"},{"name":"Edit Bay","event":[{"listen":"test","script":{"id":"2fc09677-deb3-463b-ba17-11b922488473","exec":[""],"type":"text/javascript","packages":{}}}],"id":"1fba254a-c289-4dfb-bc93-8ebcecc5e485","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"BayId\": 1,\r\n    \"TotalBalls\": 0,\r\n    \"TotalTime\": 90\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/edit","description":"<h2 id=\"⏸️-note\">⏸️ Note:</h2>\n<ul>\n<li>Use this endpoint to extend a booking—just include the new total session duration, not only the additional minutes. For example, if you’re extending a 60 minute reservation by 30 minutes, submit a total of 90 minutes in your request. This eliminates the need to completly stop and restart the dispenser.</li>\n</ul>\n<h2 id=\"🔖-how-to-use-edit-bay-endpoint\">🔖 How to use Edit Bay Endpoint:</h2>\n<ul>\n<li><p>Enter the command information to \"Body\" tab</p>\n</li>\n<li><p>Enter a unique guid to the \"Params\" tab that concatenates to URL</p>\n</li>\n<li><p>In production, ensure to replace the \"ras\" in the URL with the range name location provided to you.</p>\n</li>\n<li><p>Ensure that the \"Authorization\" tab contains your API Key as \"x-api-key\"</p>\n</li>\n</ul>\n<h2 id=\"🔗-command-body-parameters-raw-json-\">🔗 Command Body Parameters (Raw JSON) :</h2>\n<ul>\n<li><p>\"Bay Id\" : BayNumber (Integer)</p>\n<ul>\n<li>If range has 30 bays would be labeled 1-30</li>\n</ul>\n</li>\n<li><p>\"TotalBalls\" : Updated total balls for the session. Timed sessions this does not matter (Integer)</p>\n</li>\n<li><p>\"TotalTime\" : Updated total time for the session (Integer)</p>\n</li>\n</ul>\n<h2 id=\"📒-examples\">📒 Examples:</h2>\n<p>Edit Session on Bay 1 to now have a total session length of 90 minutes</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"BayId\": 1,\n    \"TotalBalls\": 0,\n    \"TotalTime\": 90,\n}\n\n</code></pre>\n<p>Edit Session on Bay 2 to now have a total of 100 balls.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"BayId\": 2,\n    \"TotalBalls\": 100,\n    \"TotalTime\": 0,\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{x-api-key}}"}]},"isInherited":true,"source":{"_postman_id":"6164af16-06db-4093-b459-e840238dc8c6","id":"6164af16-06db-4093-b459-e840238dc8c6","name":"RAS Spectrum API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["api","edit"],"host":["ras.rangesystems.com"],"query":[],"variable":[]}},"response":[{"id":"86a45016-87c1-4f9f-a582-fc1ec922b4f4","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"abcdef-123456","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"BayId\": 1,\r\n    \"TotalBalls\": 999,\r\n    \"TotalTime\": 90\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"16dc230c-d742-4b7a-bc17-6be629f6f1de","name":"Bay Not Found","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"abcdef-123456","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"BayId\": 200,\r\n    \"TotalBalls\": 999,\r\n    \"TotalTime\": 40\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": \"Bay X not found\"\r\n}"},{"id":"2973e651-7f30-48ba-8779-da8d7dd99afa","name":"Bay Not Active","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"abcdef-123456","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"BayId\": 2,\r\n    \"TotalBalls\": 0,\r\n    \"TotalTime\": 40\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": \"No active session on this bay\"\r\n}"},{"id":"3cb7caa1-594e-4c7b-9797-528cf1a450eb","name":"Paramaters Invalid","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"abcdef-123456","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"BayId\": -1,\r\n    \"TotalBalls\": \"zero\",\r\n    \"TotalTime\": \"ten\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": \"Invalid numeric parameters\"\r\n}"}],"_postman_id":"1fba254a-c289-4dfb-bc93-8ebcecc5e485"},{"name":"Stop Bay","event":[{"listen":"test","script":{"id":"2fc09677-deb3-463b-ba17-11b922488473","exec":[""],"type":"text/javascript","packages":{}}}],"id":"1da3e0d0-c25f-4a90-85ff-c7af18a95d81","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"BayId\": 1,\r\n    \"Active\": false,\r\n    \"TotalBalls\": 0,\r\n    \"TotalTime\": 0,\r\n    \"Sender\": \"InRange\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/write?guid=abcdef-12345","description":"<h2 id=\"🔖-how-to-use-start-bay-endpoint\">🔖 How to use Start Bay Endpoint:</h2>\n<ul>\n<li><p>Enter the command information to \"Body\" tab</p>\n</li>\n<li><p>Enter a unique guid to the \"Params\" tab that concatenates to URL</p>\n</li>\n<li><p>In production, ensure to replace the \"ras\" in the URL with the range name location provided to you.</p>\n</li>\n<li><p>Ensure that the \"Authorization\" tab contains your API Key as \"x-api-key\"</p>\n</li>\n</ul>\n<h2 id=\"🔗-command-body-parameters-raw-json-\">🔗 Command Body Parameters (Raw JSON) :</h2>\n<ul>\n<li><p>\"Bay Id\" : BayNumber (Integer)</p>\n<ul>\n<li>If range has 30 bays would be labeled 1-30</li>\n</ul>\n</li>\n<li><p>\"TotalBalls\" : Total Balls for Session (Integer)</p>\n</li>\n<li><p>\"TotalTime\" : Total Timefor Session (Integer)</p>\n</li>\n<li><p>\"Active\" : false</p>\n</li>\n<li><p>\"Sender\" : 3rd Party Sending the Command</p>\n</li>\n</ul>\n<h2 id=\"📒-examples\">📒 Examples:</h2>\n<p>Stop Bay 1</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"BayId\": 1,\n    \"Active\": false,\n    \"TotalBalls\": 0,\n    \"TotalTime\": 0,\n    \"Sender\": \"inrange\"\n}\n\n</code></pre>\n<p>Stop Bay 10</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"BayId\": 10,\n    \"Active\": false,\n    \"TotalBalls\": 0,\n    \"TotalTime\": 0,\n    \"Sender\": \"inrange\"\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{x-api-key}}"}]},"isInherited":true,"source":{"_postman_id":"6164af16-06db-4093-b459-e840238dc8c6","id":"6164af16-06db-4093-b459-e840238dc8c6","name":"RAS Spectrum API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["api","write"],"host":["ras.rangesystems.com"],"query":[{"key":"guid","value":"abcdef-12345"}],"variable":[]}},"response":[{"id":"617b64f6-168c-4272-8c3c-3fad7418a570","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"abcdef-123456","type":"text"}],"url":{"raw":"https://ras.rangesystems.com/api/write?guid=abcdef1234","protocol":"https","host":["ras","rangesystems","com"],"path":["api","write"],"query":[{"key":"guid","value":"abcdef1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"Item\": {\n        \"BayData\": \"[{\\\"BayNumber\\\":1,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":2,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":3,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":4,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":5,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":6,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":7,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":8,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":9,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":10,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":11,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":12,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":13,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":14,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":15,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":16,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":17,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":18,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":19,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":20,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"}]\",\n        \"LocationName\": \"shanks\",\n        \"SessionData\": \"[]\"\n    }\n}"},{"id":"49523663-a5e2-4346-9158-a25b8722db3b","name":"Rate Limit Exceeded","originalRequest":{"method":"GET","header":[],"url":"https://api.getpostman.com/me"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"rateLimited\",\n    \"message\": \"Rate limit exceeded. Please retry after 1669048687\"\n}"}],"_postman_id":"1da3e0d0-c25f-4a90-85ff-c7af18a95d81"},{"name":"Batch Start Bays","event":[{"listen":"test","script":{"id":"2fc09677-deb3-463b-ba17-11b922488473","exec":[""],"type":"text/javascript","packages":{}}}],"id":"ac947e70-aeff-4293-ba3c-6844d95909cf","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"commands\": [\r\n\t\t{\r\n\t\t\t\"BayId\": \"10\",\r\n\t\t\t\"Active\": true,\r\n\t\t\t\"TotalBalls\": \"999\",\r\n\t\t\t\"TotalTime\": \"60\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"BayId\": \"11\",\r\n\t\t\t\"Active\": true,\r\n\t\t\t\"TotalBalls\": \"999\",\r\n\t\t\t\"TotalTime\": \"60\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"BayId\": \"12\",\r\n\t\t\t\"Active\": true,\r\n\t\t\t\"TotalBalls\": \"999\",\r\n\t\t\t\"TotalTime\": \"60\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/batch","description":"<h2 id=\"🔖-how-to-use-batch-command-endpoint\">🔖 How to use Batch Command Endpoint:</h2>\n<ul>\n<li><p>Enter the command information to \"Body\" tab</p>\n</li>\n<li><p>In production, ensure to replace the \"ras\" in the URL with the range name location provided to you.</p>\n</li>\n<li><p>Ensure that the \"Authorization\" tab contains your API Key as \"x-api-key\"</p>\n</li>\n</ul>\n<h2 id=\"🔗-command-body-parameters-raw-json-\">🔗 Command Body Parameters (Raw JSON) :</h2>\n<ul>\n<li><p>\"Bay Id\" : BayNumber (Integer)</p>\n<ul>\n<li>If range has 30 bays would be labeled 1-30</li>\n</ul>\n</li>\n<li><p>\"TotalBalls\" : Total Balls for Session (Integer)</p>\n</li>\n<li><p>\"TotalTime\" : Total Timefor Session (Integer)</p>\n</li>\n<li><p>\"Active\" : true</p>\n</li>\n<li><p>\"Sender\" : 3rd Party Sending the Command</p>\n</li>\n<li><p>These must be wrapped within an array labeled \"commands\" as seen in the example</p>\n</li>\n</ul>\n<h2 id=\"📒-examples\">📒 Examples:</h2>\n<p>Start Multiple Bays for 60 Minutes</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{  \n    \"commands\": [ \n        { \"BayId\": \"10\", \"Active\": true, \"TotalBalls\": \"999\", \"TotalTime\": \"60\", \"Sender\": \"inrange\" }, \n        { \"BayId\": \"11\", \"Active\": true, \"TotalBalls\": \"999\", \"TotalTime\": \"60\", \"Sender\": \"inrange\" }, \n        { \"BayId\": \"12\", \"Active\": true, \"TotalBalls\": \"999\", \"TotalTime\": \"60\", \"Sender\": \"inrange\" }   \n     ] \n}\n\n</code></pre>\n<p>Start Multiple Bays for 100 Balls</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{  \n    \"commands\": [ \n        { \"BayId\": \"10\", \"Active\": true, \"TotalBalls\": \"100\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }, \n        { \"BayId\": \"11\", \"Active\": true, \"TotalBalls\": \"100\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }, \n        { \"BayId\": \"12\", \"Active\": true, \"TotalBalls\": \"100\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }     \n     ] \n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{x-api-key}}"}]},"isInherited":true,"source":{"_postman_id":"6164af16-06db-4093-b459-e840238dc8c6","id":"6164af16-06db-4093-b459-e840238dc8c6","name":"RAS Spectrum API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["api","batch"],"host":["ras.rangesystems.com"],"query":[],"variable":[]}},"response":[{"id":"021c8da9-4732-4df2-a7ef-7b43bddfae9d","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"abcdef-123456","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"commands\": [\r\n\t\t{\r\n\t\t\t\"BayId\": \"10\",\r\n\t\t\t\"Active\": true,\r\n\t\t\t\"TotalBalls\": \"999\",\r\n\t\t\t\"TotalTime\": \"60\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"BayId\": \"11\",\r\n\t\t\t\"Active\": true,\r\n\t\t\t\"TotalBalls\": \"999\",\r\n\t\t\t\"TotalTime\": \"60\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"BayId\": \"12\",\r\n\t\t\t\"Active\": true,\r\n\t\t\t\"TotalBalls\": \"999\",\r\n\t\t\t\"TotalTime\": \"60\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/batch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"Item\": {\n        \"BayData\": \"[{\\\"BayNumber\\\":1,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":2,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":3,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":4,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":5,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":6,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":7,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":8,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":9,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":10,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":11,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":12,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":13,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":14,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":15,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":16,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":17,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":18,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":19,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":20,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"}]\",\n        \"LocationName\": \"shanks\",\n        \"SessionData\": \"[]\"\n    }\n}"},{"id":"1be97bb7-cf33-4704-be6b-2f4227dd0f38","name":"Rate Limit Exceeded","originalRequest":{"method":"GET","header":[],"url":"https://api.getpostman.com/me"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"rateLimited\",\n    \"message\": \"Rate limit exceeded. Please retry after 1669048687\"\n}"}],"_postman_id":"ac947e70-aeff-4293-ba3c-6844d95909cf"},{"name":"Batch Stop Bays","event":[{"listen":"test","script":{"id":"2fc09677-deb3-463b-ba17-11b922488473","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a6b07b3d-a564-4322-97f7-98e39d087d0a","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"commands\": [\r\n\t\t{\r\n\t\t\t\"BayId\": \"10\",\r\n\t\t\t\"Active\": false,\r\n\t\t\t\"TotalBalls\": \"0\",\r\n\t\t\t\"TotalTime\": \"0\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"BayId\": \"11\",\r\n\t\t\t\"Active\": false,\r\n\t\t\t\"TotalBalls\": \"0\",\r\n\t\t\t\"TotalTime\": \"0\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"BayId\": \"12\",\r\n\t\t\t\"Active\": false,\r\n\t\t\t\"TotalBalls\": \"0\",\r\n\t\t\t\"TotalTime\": \"0\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/batch","description":"<h2 id=\"🔖-how-to-use-batch-command-endpoint\">🔖 How to use Batch Command Endpoint:</h2>\n<ul>\n<li><p>Enter the command information to \"Body\" tab</p>\n</li>\n<li><p>In production, ensure to replace the \"ras\" in the URL with the range name location provided to you.</p>\n</li>\n<li><p>Ensure that the \"Authorization\" tab contains your API Key as \"x-api-key\"</p>\n</li>\n</ul>\n<h2 id=\"🔗-command-body-parameters-raw-json-\">🔗 Command Body Parameters (Raw JSON) :</h2>\n<ul>\n<li><p>\"Bay Id\" : BayNumber (Integer)</p>\n<ul>\n<li>If range has 30 bays would be labeled 1-30</li>\n</ul>\n</li>\n<li><p>\"TotalBalls\" : Total Balls for Session (Integer)</p>\n</li>\n<li><p>\"TotalTime\" : Total Timefor Session (Integer)</p>\n</li>\n<li><p>\"Active\" : false</p>\n</li>\n<li><p>\"Sender\" : 3rd Party Sending the Command</p>\n</li>\n<li><p>These must be wrapped within an array labeled \"commands\" as seen in the example</p>\n</li>\n</ul>\n<h2 id=\"📒-examples\">📒 Examples:</h2>\n<p>Stop Bays 10-12</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{  \n    \"commands\": [ \n        { \"BayId\": \"10\", \"Active\": false, \"TotalBalls\": \"0\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }, \n        { \"BayId\": \"11\", \"Active\": false, \"TotalBalls\": \"0\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }, \n        { \"BayId\": \"12\", \"Active\": false, \"TotalBalls\": \"0\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }   \n     ] \n}\n\n</code></pre>\n<p>Stop Bays 1-5</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{  \n    \"commands\": [ \n        { \"BayId\": \"1\", \"Active\": false, \"TotalBalls\": \"0\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }, \n        { \"BayId\": \"2\", \"Active\": false, \"TotalBalls\": \"0\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }, \n        { \"BayId\": \"3\", \"Active\": false, \"TotalBalls\": \"0\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" },\n        { \"BayId\": \"4\", \"Active\": false, \"TotalBalls\": \"0\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" },\n        { \"BayId\": \"5\", \"Active\": false, \"TotalBalls\": \"0\", \"TotalTime\": \"0\", \"Sender\": \"inrange\" }     \n     ] \n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{x-api-key}}"}]},"isInherited":true,"source":{"_postman_id":"6164af16-06db-4093-b459-e840238dc8c6","id":"6164af16-06db-4093-b459-e840238dc8c6","name":"RAS Spectrum API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["api","batch"],"host":["ras.rangesystems.com"],"query":[],"variable":[]}},"response":[{"id":"f911f744-e6b1-471a-8b99-e8959e1684e1","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"abcdef-123456","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"commands\": [\r\n\t\t{\r\n\t\t\t\"BayId\": \"10\",\r\n\t\t\t\"Active\": false,\r\n\t\t\t\"TotalBalls\": \"0\",\r\n\t\t\t\"TotalTime\": \"0\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"BayId\": \"11\",\r\n\t\t\t\"Active\": false,\r\n\t\t\t\"TotalBalls\": \"0\",\r\n\t\t\t\"TotalTime\": \"0\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"BayId\": \"12\",\r\n\t\t\t\"Active\": false,\r\n\t\t\t\"TotalBalls\": \"0\",\r\n\t\t\t\"TotalTime\": \"0\",\r\n\t\t\t\"Sender\": \"inrange\"\r\n\t\t}\r\n\t]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://ras.rangesystems.com/api/batch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"Item\": {\n        \"BayData\": \"[{\\\"BayNumber\\\":1,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":2,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":3,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":4,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":5,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":6,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":7,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":8,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":9,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":10,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":11,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":12,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:40.9456985Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":13,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":14,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":15,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":16,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.1938402Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":17,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":18,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:38.3980688Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":19,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"},{\\\"BayNumber\\\":20,\\\"ModeType\\\":2,\\\"OperationMode\\\":1,\\\"BallsRemaining\\\":999,\\\"TimeRemaining\\\":0,\\\"BallsHit\\\":0,\\\"ErrorId\\\":0,\\\"TopTracerData\\\":null,\\\"EquipmentType\\\":\\\"DR1600\\\",\\\"ErrorType\\\":0,\\\"DataTimeStamp\\\":\\\"2025-02-03T23:48:39.0429351Z\\\",\\\"CallButton\\\":false,\\\"BayUser\\\":null,\\\"UserString\\\":null,\\\"SyncID\\\":0,\\\"StartTime\\\":\\\"0001-01-01T00:00:00\\\"}]\",\n        \"LocationName\": \"shanks\",\n        \"SessionData\": \"[]\"\n    }\n}"},{"id":"290b8159-7c98-452a-b639-b724010b343e","name":"Rate Limit Exceeded","originalRequest":{"method":"GET","header":[],"url":"https://api.getpostman.com/me"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"rateLimited\",\n    \"message\": \"Rate limit exceeded. Please retry after 1669048687\"\n}"}],"_postman_id":"a6b07b3d-a564-4322-97f7-98e39d087d0a"}],"id":"12adb5ca-2969-46cb-ac2c-9e9fcb060052","description":"<p>The endpoints that let you manage pulling the current state of the bays as well as sending a command to start and stop individual machines</p>\n","_postman_id":"12adb5ca-2969-46cb-ac2c-9e9fcb060052","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{x-api-key}}"}]},"isInherited":true,"source":{"_postman_id":"6164af16-06db-4093-b459-e840238dc8c6","id":"6164af16-06db-4093-b459-e840238dc8c6","name":"RAS Spectrum API Documentation","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{x-api-key}}"}]}},"event":[{"listen":"prerequest","script":{"id":"9b478d52-33e5-4131-ab10-36d56ff64c45","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5c6951f6-8c1e-43ee-aa70-b6a8761590ac","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":".rangesystems.com"},{"key":"rangename","value":"ras","type":"string"}]}