{"info":{"_postman_id":"05ce6d3b-850a-48d0-9a8c-8f977e17e2e7","name":"RUFUS Cloud","description":"<html><head></head><body><p>This is the public API documentation for RUFUS Cloud. Here you will find all you need to interact with our online service system, such as tools for binding and manage your device brand, creating and managing sessions and publish your passings. </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4814028","collectionId":"05ce6d3b-850a-48d0-9a8c-8f977e17e2e7","publishedId":"SzKPU18B","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-02-13T14:31:15.000Z"},"item":[{"name":"Devices","item":[{"name":"Get device by ID","id":"e113b915-15de-4f02-b3dc-b1bf1f718fd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/devices/{device_id}","description":"<p>Obtains a device using the device id.</p>\n<p>Input data:</p>\n<ul>\n<li>{device_id}: Device ID.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If found returns a JSON with all the device's data. (200 OK).</li>\n<li>If not found returns the error with description \"Device not found\" (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","devices","{device_id}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"45191a39-f15f-4bc3-af97-7d8a2a2308e6","name":"Get Device by ID (Not Found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/devices/asudoaiud98"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 29 Aug 2019 09:12:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Device not found\"\n}"},{"id":"b97e7545-5833-48db-8127-d7a78cbf2fd2","name":"Get Device by ID (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/devices/A478B83E25F80295F2F27878131E91E04774E0C2888CE945BC2BEB7709097DF9"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true","name":"Access-Control-Allow-Credentials","description":"Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE,OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 14 Sep 2018 15:10:32 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Powered-By","value":"ASP.NET","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\n    \"device_id\": \"A478B83E25F80295F2F27878131E91E04774E0C2888CE945BC2BEB7709097DF9\",\n    \"username\": \"usercarl_1\",\n    \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n    \"type\": \"One4All\",\n    \"model\": \"One4All 5 PRO\",\n    \"alias\": \"One4All PRO Timing Now\",\n    \"firmware\": \"1.2.3\",\n    \"serial_number\": \"AODNA123133XCV\",\n    \"user_email\": \"carlos.ada4n@macsha.com\",\n    \"last_login\": \"2019-08-29T08:46:37.663Z\",\n    \"creation_date\": \"2018-08-01T09:55:04.272Z\",\n    \"device_signature\": \"OAISUDFA408ADH7A9CF6KASD8A9PAT2ASKLD89E38EEAJKSD82IK9945372809C31\",\n    \"isOriginal\": true\n}"}],"_postman_id":"e113b915-15de-4f02-b3dc-b1bf1f718fd1"},{"name":"Get devices by API token","id":"fe69bba8-5982-46e6-8dae-06fcf742db32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/devices/user/{api_token}","description":"<p>Obtains all the devices from a user (company) by the user API token.</p>\n<p>Keep in mind that timers don't have any registered device, so company's API token should be specified instead in their case.</p>\n<p>Input data:</p>\n<ul>\n<li>{api_token}: User/Company's user API token.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If found returns a JSON with all the devices's data. (200 OK)</li>\n<li>If the user is not found returns an error with description \"User not found\". (404 Not Found)</li>\n</ul>\n<p>Please note that if no {api_token} is set at the request the Backend will serve the default request (Get device by ID).</p>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","devices","user","{api_token}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"00497b6e-7897-44dc-8fe5-9eb7db14e657","name":"Get devices by API token (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/devices/user/E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 02 Aug 2019 14:09:21 GMT"}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\r\n        \"username\": \"usercarl_1\",\r\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\r\n        \"type\": \"One4All\",\r\n        \"model\": \"One4All 5\",\r\n        \"alias\": \"New test device\",\r\n        \"firmware\": \"1.2.3\",\r\n        \"serial_number\": \"LASJDH723648HSUS\",\r\n        \"user_email\": \"carlos.a4n@macsha.com\",\r\n        \"last_login\": \"2019-08-29T08:55:01.237Z\",\r\n        \"creation_date\": \"2019-07-25T14:48:31.993Z\",\r\n        \"device_signature\": \"OAISUDFA408ADH7A9CF6KASD8A9PAT2ASKLD89E38EEAJKSD82IK9945372809C31\",\r\n    \t\"isOriginal\": true\r\n    },\r\n    {\r\n        \"device_id\": \"A2ED84690658484A9FF692D924A87F74D4093690AA97D179410BA3346EE6F007\",\r\n        \"username\": \"usercarl_1\",\r\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\r\n        \"type\": \"One4All\",\r\n        \"model\": \"One4All 5\",\r\n        \"alias\": \"My fake device\",\r\n        \"firmware\": \"1.2.3\",\r\n        \"serial_number\": \"AS4736A5D7SD\",\r\n        \"user_email\": \"carlos.a4n@macsha.com\",\r\n        \"last_login\": \"2019-07-30T11:10:07.112Z\",\r\n        \"creation_date\": \"2019-07-30T10:58:46.818Z\",\r\n        \"device_signature\": \"OAISUDFA408ADH7A9CF6KASD8A9PAT2ASKLD89E38EEAJKSD82IK9945372809C31\",\r\n    \t\"isOriginal\": true\r\n    },\r\n    {\r\n        \"device_id\": \"B58D0EC747D5E54068F5EE897B78047781BE71DCBDEB08279371BA2925B254F7\",\r\n        \"username\": \"usercarl_1\",\r\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\r\n        \"type\": \"One4All\",\r\n        \"model\": \"One4All 5 PRO\",\r\n        \"alias\": \"My fake device 34\",\r\n        \"firmware\": \"1.2.3\",\r\n        \"serial_number\": \"AS6D7A5D7SD\",\r\n        \"user_email\": \"carlos.a4n@macsha.com\",\r\n        \"last_login\": \"2019-08-02T15:59:24.807Z\",\r\n        \"creation_date\": \"2019-08-02T15:59:24.807Z\",\r\n        \"device_signature\": \"OAISUDFA408ADH7A9CF6KASD8A9PAT2ASKLD89E38EEAJKSD82IK9945372809C31\",\r\n    \t\"isOriginal\": true\r\n    }\r\n]"},{"id":"b11ee5c7-b891-4db0-bf19-5934949b2a1a","name":"Get devices by API token (User not found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/devices/user/P9I8JHKI67H879CF6854E0F9CDEE5E18EE98AB089945372809C3177770BC1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 04 Feb 2020 10:23:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"User not found\"\n}"}],"_postman_id":"fe69bba8-5982-46e6-8dae-06fcf742db32"},{"name":"Register device","id":"afe0d121-dcb2-4454-848f-ffd4a3e5f0ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"token_device\": \"06581\",\n\t\"type\": \"One4All\",\n\t\"model\": \"One4All 5\",\n\t\"firmware\": \"1.2.3\",\n\t\"serial_number\": \"IASLD089IDOAL1HDL\",\n\t\"alias\":\"Demo device new\",\n\t\"device_signature\":\"55930B968F0A90B182E5302209302F4F7C93253EDA6EA4581AF6\"\n}"},"url":"https://api.runonrufus.com:44333/v1/devices/","description":"<p>Registers a device to a Company, even if it is registered by a timer.</p>\n<p>Input data:</p>\n<p>Receives a JSON through the Body of the request:</p>\n<ul>\n<li>token_device: Token device generated by the user.</li>\n<li>type: Device type.</li>\n<li>model: Model of the device.</li>\n<li>firmware: Version of the firmware of the device.</li>\n<li>serial_number: Serial number of the device.</li>\n<li>alias: A custom device name.</li>\n<li>device_signature: Hash corresponding to the provided signature for that type and model of device.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If the device has been registered successfully returns a JSON notifying the success with a description message and the device ID (201 Created).</li>\n<li>If the device has been registered already returns a conflict error message with description \"Device is registered already\" (409 Conflict).</li>\n<li>If the token device is not active returns a JSON with the message message contaning \"Invalid token\" as description and the token_device (409 Conflict).</li>\n<li>If the token is not associated to any user returns a JSON with description \"Token not found\" and the token_device (404 Not found).</li>\n<li>If no token_device is set returns a Bad Request error (404 Bad request).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","devices",""],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"0cbd1796-2669-4906-8079-86e5d4931fc2","name":"Register device (Bad request)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\n\t\"type\": \"One4All\",\n\t\"model\": \"One4All 5\",\n\t\"firmware\": \"1.2.3\",\n\t\"serial_number\": \"477dl\",\n\t\"alias\":\"Demo device\",\n\t\"device_signature\":\"E37F290E244458AFE45BAFB9D39454587DB8DD87A4988B7C1B0D9CB85D9CC8E3\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/devices/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Tue, 04 Feb 2020 11:05:38 GMT"},{"key":"Content-Length","value":"0"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null},{"id":"6dc964af-2fdd-4e0f-9d0b-3d89fb1f7385","name":"Register Device (Already Exists)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\t\"token_device\": \"C4D37\",\n\t\"type\": \"One4All\",\n\t\"model\": \"One4All 5\",\n\t\"firmware\": \"1.2.3\",\n\t\"serial_number\": \"477dl\",\n\t\"alias\":\"Demo device\",\n\t\"device_signature\":\"E37F290E244458AFE45BAFB9D39454587DB8DD87A4988B7C1B0D9CB85D9CC8E3\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/devices/"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type ","value":"application/json","description":"","type":"text","name":"Content-Type "}],"cookie":[],"responseTime":null,"body":"{\"description\":\"Device is registered already\"}"},{"id":"8b1f341d-547f-463a-8a2f-82d94fd3122a","name":"Register device (Token not found)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-mock-response-code","value":"200","disabled":true}],"body":{"mode":"raw","raw":"{\n\t\"token_device\": \"AAAA\",\n\t\"type\": \"One4All\",\n\t\"model\": \"O4All 5\",\n\t\"firmware\": \"1.2.3\",\n\t\"serial_number\": \"asdasd\",\n\t\"alias\":\"My One4All\",\n\t\"device_signature\":\"E37F290E244458AFE45BAFB9D39454587DB8DD87A4988B7C1B0D9CB85D9CC8E3\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.runonrufus.com:44333/v1/devices/","protocol":"https","host":["api","runonrufus","com"],"port":"44333","path":["v1","devices",""],"query":[{"key":"username","value":"macshaUser","disabled":true}]}},"code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true","name":"Access-Control-Allow-Credentials","description":"Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE,OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Type","value":"text/plain; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 14 Sep 2018 15:06:52 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Powered-By","value":"ASP.NET","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"description\":\"Token not found\",\"token\":\"AAAA\"}"},{"id":"8c329142-952c-485a-ae1c-d0f4223384dc","name":"Register device (OK)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-mock-response-code","value":"200","disabled":true}],"body":{"mode":"raw","raw":"{\n\t\"token_device\": \"C4D37\",\n\t\"type\": \"One4All\",\n\t\"model\": \"One4All 5\",\n\t\"firmware\": \"1.2.3\",\n\t\"serial_number\": \"477dl\",\n\t\"alias\":\"Demo device\",\n\t\"device_signature\":\"E37F290E244458AFE45BAFB9D39454587DB8DD87A4988B7C1B0D9CB85D9CC8E3\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.runonrufus.com:44333/v1/devices/","protocol":"https","host":["api","runonrufus","com"],"port":"44333","path":["v1","devices",""],"query":[{"key":"token_device","value":"41FFE","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"plain","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 29 Aug 2019 11:26:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\"description\":\"Device registered succesfully\",\"device_id\":\"1BC911300DE1B46F77F24B5ED676JHT014E47A9971D8EBD693B4B8B0210C81A4\"}"},{"id":"9befb77d-508b-4de4-bc5b-37f9e6823977","name":"Register device (Invalid token)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_device\": \"C4D37\",\n\t\"type\": \"One4All\",\n\t\"model\": \"One4All 5\",\n\t\"firmware\": \"1.2.3\",\n\t\"serial_number\": \"477dl\",\n\t\"alias\":\"Demo device\",\n\t\"device_signature\":\"E37F290E244458AFE45BAFB9D39454587DB8DD87A4988B7C1B0D9CB85D9CC8E3\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/devices/"},"status":"Conflict","code":409,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 04 Feb 2020 11:22:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\"description\":\"Invalid token\",\"token\":\"C4D37\"}"}],"_postman_id":"afe0d121-dcb2-4454-848f-ffd4a3e5f0ce"}],"id":"96a3be98-065d-4c5f-b8c9-78267ca3484c","description":"<p>In this section you will find how to bind and manage your own device to RUFUS Cloud.</p>\n","event":[{"listen":"prerequest","script":{"id":"4bd387d6-35fb-4629-8766-2228743e2e3b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"65c6ceeb-3196-4879-bfe4-f52a793045ea","type":"text/javascript","exec":[""]}}],"_postman_id":"96a3be98-065d-4c5f-b8c9-78267ca3484c"},{"name":"Sessions","item":[{"name":"Count sessions","id":"02e7d0de-4793-4b25-8faa-98be60d53c2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/count/device/{device_id}","description":"<p>Counts the number of sessions of a device with the given device ID.</p>\n<p>Input data:</p>\n<ul>\n<li>{device_id}: Device ID of the device containing the sessions.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK returns the number of sessions of that device (200 OK).</li>\n<li>If the device is not found returns an error message with description \"Device not found\" (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","sessions","count","device","{device_id}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"1df05a92-abf3-42b5-b4ef-a85835225f6e","name":"Count sessions by device (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/count/device/49526C9F259138F099E6604607D1BDB7FEE3B7AF642F0819549D773728E8"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 11:33:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": 8\n}"},{"id":"bb1622a0-f4d3-48d5-9be1-692f42fd357d","name":"Count sessions by device (Device not found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/count/device/49526C9F259138F099E66046079D773728E8"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2020 11:38:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"Device not found\"\n}"}],"_postman_id":"02e7d0de-4793-4b25-8faa-98be60d53c2d"},{"name":"Get  session","id":"68f03693-09a2-4201-a478-6895e6bd788a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/{token_session}","description":"<p>Obtains a session using the session's ID token.</p>\n<p>Input data:</p>\n<ul>\n<li>{token_session}: Session ID token.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If found returns a JSON with the session's data. (200 OK).</li>\n<li>If not found returns the error with description \"Session not found\" (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","sessions","{token_session}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"3c3c0ff1-91c7-410c-a0fe-7363ac6f394d","name":"Get  Session (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/F9D45882B3C8144C3E07D454FDAA22FBFC7ACB3561415512A3935F9E08273CDE"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 02 Aug 2019 14:29:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"token_session\": \"F9D45882B3C8144C3E07D454FDAA22FBFC7ACB3561415512A3935F9E08273CDE\",\n    \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n    \"creation_date\": \"2019-07-25T14:50:41.945Z\",\n    \"duration\": \"2019-07-25T16:50:41.945Z\",\n    \"last_refresh\": \"2019-07-25T14:50:41.945Z\",\n    \"active\": false,\n    \"passings\": 150,\n    \"alias\": \"Session generated 7/25/2019 2:50:41 PM\"\n}"},{"id":"52c42c2a-251b-4d8b-b106-f68dde598f4f","name":"Get  Session (Not found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/KLAJSDASD54AD5ADL7JALSKDJ4564657IUUJLJLAGTYADGHPOIAS9DMMNZC"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 02 Sep 2019 15:32:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Session not found\"\n}"}],"_postman_id":"68f03693-09a2-4201-a478-6895e6bd788a"},{"name":"Get sessions by device","id":"50eda485-8479-42f8-84c0-e9e20269ada9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/device/{device_id}?page=0","description":"<p>Obtains all the sessions from a device using the device ID. Sessions are returned from the newest to the oldest.</p>\n<p>Each request returns a maximun number of 5000 results due to performance. To get further results pagination is needed. That's made using the \"page\" parameter.</p>\n<p>Input data:</p>\n<ul>\n<li>{device_id}: Device ID.</li>\n<li>params:<ul>\n<li>page = {num_page}: Number of the page for pagination (default 0).</li>\n</ul>\n</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If found returns a JSON with all the data of all sessions of the device. (200 OK)</li>\n<li>If the device is not found returns an error message with description \"Device not found\". (404 Not found)</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","sessions","device","{device_id}"],"host":["api","runonrufus","com"],"query":[{"key":"page","value":"0"}],"variable":[]}},"response":[{"id":"9a81d827-4c73-4b7f-9bc7-fd0c2478d8ee","name":"Get Sessions by device (Not found)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.runonrufus.com:44333/v1/sessions/device/49526C9F259138F099E660460772B0D1BDB7FEE3B7AF64819549D773728E8?page=0","protocol":"https","host":["api","runonrufus","com"],"port":"44333","path":["v1","sessions","device","49526C9F259138F099E660460772B0D1BDB7FEE3B7AF64819549D773728E8"],"query":[{"key":"page","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 10:06:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Device not fround\"\n}"},{"id":"d4261818-ea89-4849-a9f7-48ee985bd88f","name":"Get Sessions by device (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.runonrufus.com:44333/v1/sessions/device/8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252?page=0","protocol":"https","host":["api","runonrufus","com"],"port":"44333","path":["v1","sessions","device","8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252"],"query":[{"key":"page","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 02 Aug 2019 14:26:35 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"token_session\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F22527/25/2019 2:49:32 PM\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-07-25T14:49:32.823Z\",\n        \"duration\": \"2019-07-25T16:49:32.823Z\",\n        \"last_refresh\": \"2019-07-25T14:49:32.823Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 7/25/2019 2:49:32 PM\"\n    },\n    {\n        \"token_session\": \"F9D45882B3C8144C3E07D454FDAA22FBFC7ACB3561415512A3935F9E08273CDE\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-07-25T14:50:41.945Z\",\n        \"duration\": \"2019-07-25T16:50:41.945Z\",\n        \"last_refresh\": \"2019-07-25T14:50:41.945Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 7/25/2019 2:50:41 PM\"\n    },\n    {\n        \"token_session\": \"920252FAC73D2FB4E8C71B96769037727DB934896B97B0D86D72644186D88BF1\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-07-25T14:52:27.7Z\",\n        \"duration\": \"2019-07-25T16:52:27.7Z\",\n        \"last_refresh\": \"2019-07-25T14:52:27.7Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 7/25/2019 2:52:27 PM\"\n    },\n    {\n        \"token_session\": \"8ECE4A975CBC1B767C0471E4A518FEE43CD535AABB2527A8CA91883AE8C96AE2\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-07-25T14:57:48.845Z\",\n        \"duration\": \"2019-07-25T16:57:48.845Z\",\n        \"last_refresh\": \"2019-07-25T14:57:48.845Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 7/25/2019 2:57:48 PM\"\n    },\n    {\n        \"token_session\": \"E49D2207271B1E3F056DA0CB327F1982F9C9AA96CF5CA93BF2A5A4092FDEB07A\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-07-25T15:24:22.558Z\",\n        \"duration\": \"2019-07-25T17:24:22.558Z\",\n        \"last_refresh\": \"2019-07-25T15:24:22.558Z\",\n        \"active\": false,\n        \"passings\": 767,\n        \"alias\": \"Session generated 7/25/2019 3:24:22 PM\"\n    },\n    {\n        \"token_session\": \"4F45061AE3982BFCC80C4CBEB227748572794E78D6917592D58987736E9E851D\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-08-02T11:39:23.928Z\",\n        \"duration\": \"2019-08-02T13:39:23.928Z\",\n        \"last_refresh\": \"2019-08-02T11:39:23.928Z\",\n        \"active\": false,\n        \"passings\": 413,\n        \"alias\": \"Session generated 8/2/2019 11:39:23 AM\"\n    },\n    {\n        \"token_session\": \"A99D3394E285A6AEFCAD52141FBF252BCBB9F37B873B7AB771F76B505DE5BFFE\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-08-02T11:45:43.014Z\",\n        \"duration\": \"2019-08-02T13:45:43.014Z\",\n        \"last_refresh\": \"2019-08-02T11:45:43.014Z\",\n        \"active\": false,\n        \"passings\": 143,\n        \"alias\": \"Session generated 8/2/2019 11:45:43 AM\"\n    },\n    {\n        \"token_session\": \"5FB7A7AA0987EF9FE596D0DE068CED28C5174CE3A1E35141284275F87D1D0ADC\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-08-02T11:55:05.74Z\",\n        \"duration\": \"2019-08-02T13:55:05.74Z\",\n        \"last_refresh\": \"2019-08-02T11:55:05.74Z\",\n        \"active\": false,\n        \"passings\": 77,\n        \"alias\": \"Session generated 8/2/2019 11:55:05 AM\"\n    },\n    {\n        \"token_session\": \"744C81548A259B8F3F5074144EC762DF2426E22460111681E18ACFDA61D859E7\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-08-02T13:09:50.945Z\",\n        \"duration\": \"2019-08-02T15:09:50.945Z\",\n        \"last_refresh\": \"2019-08-02T13:09:50.945Z\",\n        \"active\": false,\n        \"passings\": 81,\n        \"alias\": \"Session generated 02/08/2019 15:09:48\"\n    },\n    {\n        \"token_session\": \"2B9FA349D240D6131A144608880E0469F79489C6788D120752FE30D64E42DDFB\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-08-02T13:23:43.468Z\",\n        \"duration\": \"2019-08-02T15:23:43.468Z\",\n        \"last_refresh\": \"2019-08-02T13:23:43.468Z\",\n        \"active\": false,\n        \"passings\": 129,\n        \"alias\": \"Session generated 02/08/2019 15:23:41\"\n    },\n    {\n        \"token_session\": \"1A8F90802E581CC56862C307BDC1C4D7499C3C55D1CD4A02DF1F61CB765AE495\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-08-02T14:19:24.222Z\",\n        \"duration\": \"2019-08-02T16:19:24.222Z\",\n        \"last_refresh\": \"2019-08-02T14:19:24.222Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"24B26384FEAB7ED00324E2B47C69D97D53C554554BDBDE19A3FFB515DB3D5B08\",\n        \"device_id\": \"8127BAE074BC53608CD5BB926F458CC039EBA4F0E887A9D4A230A5F2CC3F2252\",\n        \"creation_date\": \"2019-08-02T14:20:56.385Z\",\n        \"duration\": \"2019-08-02T16:20:56.385Z\",\n        \"last_refresh\": \"2019-08-02T14:20:56.385Z\",\n        \"active\": true,\n        \"passings\": 0,\n        \"alias\": \"Session generated 8/2/2019 2:20:56 PM\"\n    }\n]"}],"_postman_id":"50eda485-8479-42f8-84c0-e9e20269ada9"},{"name":"Get sessions by user","id":"3915d974-6c29-4c45-b736-af30d8867c4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/user/{api_token}","description":"<p>Obtains an array of all the sessions by the company's user API token.</p>\n<p>Input data:</p>\n<ul>\n<li>{api_token}: Company's user API token.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If found returns a JSON with all the active sessions of the given user. (200 OK).</li>\n<li>If not found returns the error with description \"User not found\" (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","sessions","user","{api_token}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"9e7982ba-e39b-430f-bc98-9b757e827304","name":"Get Sessions by user (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/user/E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Oct 2020 16:39:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"token_session\": \"7BF187F812C111B993F80E375BD51633204304037BE2A557F51C3AA12A37B04F\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-07-25T14:55:51.923Z\",\n        \"duration\": \"2019-07-25T16:55:51.923Z\",\n        \"last_refresh\": \"2019-07-25T14:55:51.923Z\",\n        \"active\": false,\n        \"passings\": 7,\n        \"alias\": \"Session generated 7/25/2019 clasificacion de peru 2019\"\n    },\n    {\n        \"token_session\": \"EEA58FA54A1A6AF81863DFDF00760E723A5E3A38B9779DEAE6D55250ED96FFD8\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-08-28T07:24:24.365Z\",\n        \"duration\": \"2019-08-28T09:40:55.261Z\",\n        \"last_refresh\": \"2019-08-28T07:40:55.265Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"5DB6CE8D9B508E148A875B304B98F66FAB368C9C531F74E3A7C3EC0E8E82241C\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-08-29T08:46:37.663Z\",\n        \"duration\": \"2019-08-29T10:47:52.652Z\",\n        \"last_refresh\": \"2019-08-29T08:47:52.652Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias 234\"\n    },\n    {\n        \"token_session\": \"DBEFFFC35DBE90F5114470FF4D4C6712143DDA0B3D1049D9058439027773C2E4\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-11-18T16:38:06.314Z\",\n        \"duration\": \"2019-11-18T18:38:06.314Z\",\n        \"last_refresh\": \"2019-11-18T16:38:06.314Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 18/11/2019 17:38:04\"\n    },\n    {\n        \"token_session\": \"5DA5656FC81C01655814F2F8C63B33ACC29AFD5B84BF6B5EAA94D20ACAC2A300\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-11-18T16:38:08.794Z\",\n        \"duration\": \"2019-11-18T18:38:08.794Z\",\n        \"last_refresh\": \"2019-11-18T16:38:08.794Z\",\n        \"active\": false,\n        \"passings\": 4,\n        \"alias\": \"Session generated 18/11/2019 17:38:07\"\n    },\n    {\n        \"token_session\": \"9849423E1971494BDCADAF5CE386A0006F95CD48F4E2F01A06A3033FB637133B\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-11-18T16:38:19.836Z\",\n        \"duration\": \"2019-11-18T18:38:19.836Z\",\n        \"last_refresh\": \"2019-11-18T16:38:19.836Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 18/11/2019 17:38:18\"\n    },\n    {\n        \"token_session\": \"E802ED9F733FF553783C6FBF1FDF569A0E3EA32678DF49E9A08B27B677CBFBAA\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-11-18T16:40:01.112Z\",\n        \"duration\": \"2019-11-18T18:40:01.112Z\",\n        \"last_refresh\": \"2019-11-18T16:40:01.112Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 18/11/2019 17:39:58\"\n    },\n    {\n        \"token_session\": \"3DFCB8D9BDBCA7DB24F3DFB70AA3D23F1650499C5EDE223DCD4C445E9EEE34F2\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-11-18T16:40:25.277Z\",\n        \"duration\": \"2019-11-18T18:40:25.277Z\",\n        \"last_refresh\": \"2019-11-18T16:40:25.277Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 18/11/2019 17:40:24\"\n    },\n    {\n        \"token_session\": \"CD7DC566B4132D3CBA42082DF5771DD5B62D49C760327EEB284F5CB6FDAA2109\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2019-11-18T16:40:32.974Z\",\n        \"duration\": \"2019-11-18T18:40:32.974Z\",\n        \"last_refresh\": \"2019-11-18T16:40:32.974Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 18/11/2019 17:40:32\"\n    },\n    {\n        \"token_session\": \"7C7B08689A2D56E7A25D49F6DEFDD0BB2F3949DA4B2C2406E1F4E031EF429BC4\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-03T12:31:29.242Z\",\n        \"duration\": \"2020-01-03T14:31:29.242Z\",\n        \"last_refresh\": \"2020-01-03T12:31:29.242Z\",\n        \"active\": false,\n        \"passings\": 2,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"67FFA56FA4560789CA9FCC74B2103A164C3D1EFE48D8DF3CA15AFC87201EF36F\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-03T14:40:49.556Z\",\n        \"duration\": \"2020-01-03T16:40:49.556Z\",\n        \"last_refresh\": \"2020-01-03T14:40:49.556Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"04EE0C81BA2077DE1B5DCABF749BCEDB7ED62354F102B753D5611A84B466F452\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-03T14:45:44.213Z\",\n        \"duration\": \"2020-01-03T16:45:44.213Z\",\n        \"last_refresh\": \"2020-01-03T14:45:44.213Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"EBDAFCF8C06094BFFF2188E102E51E71B1C4393292D8A65EFAF7BB44F71ECEDC\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-03T14:48:00.404Z\",\n        \"duration\": \"2020-01-03T16:48:00.404Z\",\n        \"last_refresh\": \"2020-01-03T14:48:00.404Z\",\n        \"active\": false,\n        \"passings\": 5,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"7B6A66AF6E057E1C91754AD69BD92E485516094848AA70419BACC97B4377009E\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-03T16:04:30Z\",\n        \"duration\": \"2020-01-30T16:56:00.244Z\",\n        \"last_refresh\": \"2020-01-30T14:56:00.246Z\",\n        \"active\": false,\n        \"passings\": 613,\n        \"alias\": \"Session generated 03/01/2020 17:04:25\"\n    },\n    {\n        \"token_session\": \"1CB51FB46CC81C96DB9167BC421A911A24C08041D6DF803530C83FEF83D22217\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-31T12:21:36.152Z\",\n        \"duration\": \"2020-01-31T14:21:36.152Z\",\n        \"last_refresh\": \"2020-01-31T12:21:36.152Z\",\n        \"active\": false,\n        \"passings\": 201,\n        \"alias\": \"Session generated 31/01/2020 13:21:35\"\n    },\n    {\n        \"token_session\": \"42BA9DA88658B5B0BF9BF2310C6F6CD128E2FC57358B5A745EFED0EBFAF2FB4B\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-31T12:38:44.649Z\",\n        \"duration\": \"2020-01-31T14:38:44.649Z\",\n        \"last_refresh\": \"2020-01-31T12:38:44.649Z\",\n        \"active\": false,\n        \"passings\": 354,\n        \"alias\": \"Session generated 31/01/2020 13:38:44\"\n    },\n    {\n        \"token_session\": \"D9B83A576F920ACC064D8C3EA2B766388AFEFCFC117C00619EA9949E720E61EB\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-31T15:16:14.763Z\",\n        \"duration\": \"2020-01-31T17:31:03.527Z\",\n        \"last_refresh\": \"2020-01-31T15:31:03.527Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session generated 31/01/2020 16:16:11\"\n    },\n    {\n        \"token_session\": \"67C2075E361EAD6E6549DD5A765FC4CC43EBA9CBDE650D770D4239B96B94B5B0\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-31T16:16:17.102Z\",\n        \"duration\": \"2020-01-31T18:16:17.102Z\",\n        \"last_refresh\": \"2020-01-31T16:16:17.102Z\",\n        \"active\": false,\n        \"passings\": 4,\n        \"alias\": \"Session generated 31/01/2020 17:16:10\"\n    },\n    {\n        \"token_session\": \"BE9DC11B2183B416EA30D289E9B070FD72006C44A03847ABD3F25F027E2783FC\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-31T16:29:30.897Z\",\n        \"duration\": \"2020-01-31T18:29:30.897Z\",\n        \"last_refresh\": \"2020-01-31T16:29:30.897Z\",\n        \"active\": false,\n        \"passings\": 3,\n        \"alias\": \"Session generated 31/01/2020 17:29:30\"\n    },\n    {\n        \"token_session\": \"37F136E285BD5AFC78B034AA9A02B75542B31E907B94E317F5136FF93F32FABA\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-01-31T16:47:48.09Z\",\n        \"duration\": \"2020-01-31T18:47:48.09Z\",\n        \"last_refresh\": \"2020-01-31T16:47:48.09Z\",\n        \"active\": false,\n        \"passings\": 6,\n        \"alias\": \"Session generated 31/01/2020 17:47:47\"\n    },\n    {\n        \"token_session\": \"B88417F96F7481F1A069BBC9ACB0C2657F7556764537A30583FD73F82B9D0F57\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-03T08:39:37.26Z\",\n        \"duration\": \"2020-02-03T10:39:37.26Z\",\n        \"last_refresh\": \"2020-02-03T08:39:37.26Z\",\n        \"active\": false,\n        \"passings\": 3475,\n        \"alias\": \"Session generated 03/02/2020 9:39:36\"\n    },\n    {\n        \"token_session\": \"1AA2E6E3813D650528D824787597DA39B661AE060114F4762BE39D0A1E1D11F6\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-05T09:52:06.81Z\",\n        \"duration\": \"2020-02-05T11:52:57.125Z\",\n        \"last_refresh\": \"2020-02-05T09:52:57.125Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"03D401C57920A6CAFD367FD2759CEB73BEC9FF0101B7A4E4A6BC24A7C2CD3583\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-05T09:57:49.942Z\",\n        \"duration\": \"2020-02-05T11:57:49.942Z\",\n        \"last_refresh\": \"2020-02-05T09:57:49.942Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"D53D074440AEB365B421C82243DE6087D19BCC78B55A4FD5FCE785DF42E56CF6\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-05T14:44:39.452Z\",\n        \"duration\": \"2020-02-05T16:44:39.452Z\",\n        \"last_refresh\": \"2020-02-05T14:44:39.452Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"BAF22D340A00CC49BBA2EEAD22AD5E5BFECE4D7F18E0FD82D6C9A438CFB6E171\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-05T14:51:07.087Z\",\n        \"duration\": \"2020-02-05T16:51:07.087Z\",\n        \"last_refresh\": \"2020-02-05T14:51:07.087Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"1BA32F4B787CCE349F86681BA36CFFDC8D893B550501049E69D82EE37B422112\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-05T14:52:23.797Z\",\n        \"duration\": \"2020-02-05T17:54:48.872Z\",\n        \"last_refresh\": \"2020-02-05T14:54:48.875Z\",\n        \"active\": false,\n        \"passings\": 5,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"7E0FC16438001F63047912E0F06CADC5D1567118FD6618B6C525AD65F451D441\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-06T10:59:18.744Z\",\n        \"duration\": \"2020-02-06T12:59:18.744Z\",\n        \"last_refresh\": \"2020-02-06T10:59:18.744Z\",\n        \"active\": false,\n        \"passings\": 1,\n        \"alias\": \"New session alias\"\n    },\n    {\n        \"token_session\": \"C2C16859C507386ADCE6063D321A8D9865606427891D9CCDE85218F8EFD38835\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-06T12:36:37.175Z\",\n        \"duration\": \"2020-02-06T14:36:37.175Z\",\n        \"last_refresh\": \"2020-02-06T12:36:37.175Z\",\n        \"active\": false,\n        \"passings\": 14666,\n        \"alias\": \"Session generated 06/02/2020 13:36:33\"\n    },\n    {\n        \"token_session\": \"B4E3419CD55542D3EF6D9C259124E53F9A83B58BB7D82EB8A023C5150C7CAC0A\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"A478B83E25F80295F2F27878131E91E04774E0C2888CE945BC2BEB7709097DF9\",\n        \"creation_date\": \"2020-02-06T14:12:30.207Z\",\n        \"duration\": \"2020-02-06T16:12:30.207Z\",\n        \"last_refresh\": \"2020-02-06T14:12:30.207Z\",\n        \"active\": false,\n        \"passings\": 3400,\n        \"alias\": \"Session generated 06/02/2020 15:12:30\"\n    },\n    {\n        \"token_session\": \"9FBA6D72DE24771B6EE4FFE99890605AD2C6D3F72267BCF02F388A22292E4515\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-06T14:12:37.452Z\",\n        \"duration\": \"2020-02-06T16:12:37.452Z\",\n        \"last_refresh\": \"2020-02-06T14:12:37.452Z\",\n        \"active\": false,\n        \"passings\": 8428,\n        \"alias\": \"Session generated 06/02/2020 15:12:38\"\n    },\n    {\n        \"token_session\": \"C6F05A57F652F314D8D83F0C52534974AF1F960C49AE3CE44EF5E25D09CE9FEE\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-06T14:18:44.084Z\",\n        \"duration\": \"2020-02-06T16:18:44.084Z\",\n        \"last_refresh\": \"2020-02-06T14:18:44.084Z\",\n        \"active\": false,\n        \"passings\": 19607,\n        \"alias\": \"Session generated 06/02/2020 15:18:42\"\n    },\n    {\n        \"token_session\": \"CD656DBC9FFAFA491FBCA3E977B3FFC68F39BF169DEE9B1567E5AE3D95D80B16\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"A478B83E25F80295F2F27878131E91E04774E0C2888CE945BC2BEB7709097DF9\",\n        \"creation_date\": \"2020-02-06T14:18:45.203Z\",\n        \"duration\": \"2020-02-06T16:18:45.203Z\",\n        \"last_refresh\": \"2020-02-06T14:18:45.203Z\",\n        \"active\": false,\n        \"passings\": 2313,\n        \"alias\": \"Session generated 06/02/2020 15:18:45\"\n    },\n    {\n        \"token_session\": \"1E7DF4B34B620EE9941753FECF7FAA9565B114B19E4698BAAB6D6D0176C388E4\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"A478B83E25F80295F2F27878131E91E04774E0C2888CE945BC2BEB7709097DF9\",\n        \"creation_date\": \"2020-02-06T14:19:59.301Z\",\n        \"duration\": \"2020-02-06T16:19:59.301Z\",\n        \"last_refresh\": \"2020-02-06T14:19:59.301Z\",\n        \"active\": false,\n        \"passings\": 1,\n        \"alias\": \"Session generated 06/02/2020 15:20:00\"\n    },\n    {\n        \"token_session\": \"DD7829633A331E6579CBF734B1EE28BEDB70AC81B52B678DD0BB583BBE36A980\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"A478B83E25F80295F2F27878131E91E04774E0C2888CE945BC2BEB7709097DF9\",\n        \"creation_date\": \"2020-02-06T14:21:53.742Z\",\n        \"duration\": \"2020-02-06T16:21:53.742Z\",\n        \"last_refresh\": \"2020-02-06T14:21:53.742Z\",\n        \"active\": true,\n        \"passings\": 13506,\n        \"alias\": \"Session generated 06/02/2020 15:21:54\"\n    },\n    {\n        \"token_session\": \"5D75155D314D1F48F0E1241CC0AD7527E9C26B145E6DD93867D90B64D0370A03\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-21T10:18:04.469Z\",\n        \"duration\": \"2020-02-21T12:18:04.469Z\",\n        \"last_refresh\": \"2020-02-21T10:18:04.469Z\",\n        \"active\": false,\n        \"passings\": 7173,\n        \"alias\": \"Session generated 21/02/2020 11:17:53\"\n    },\n    {\n        \"token_session\": \"A7F66AD64BE9B05CC18A2F3F4E15ADF71161EB2F9C34667191B3CC569165F965\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-02-21T14:48:48.187Z\",\n        \"duration\": \"2020-02-21T16:48:48.187Z\",\n        \"last_refresh\": \"2020-02-21T14:48:48.187Z\",\n        \"active\": false,\n        \"passings\": 3709,\n        \"alias\": \"Session generated 21/02/2020 15:48:46\"\n    },\n    {\n        \"token_session\": \"0177B7747D3A8FB11C41EF95FC29908BD6557DC7EEF0EB8B95ED2DA45887D8B8\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"DD148E58986F4F087A074B746B93226E146EDE539B5E245D036E97A9305FF724\",\n        \"creation_date\": \"2020-09-18T10:07:10.859Z\",\n        \"duration\": \"2020-09-18T12:07:10.859Z\",\n        \"last_refresh\": \"2020-09-18T10:07:10.859Z\",\n        \"active\": true,\n        \"passings\": 18,\n        \"alias\": \"Session generated 18/09/2020 12:07:11\"\n    },\n    {\n        \"token_session\": \"CA39140700D8D953F1347384A81946B4C74343B1B747FF64DBA799E8F592EC8F\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n        \"creation_date\": \"2020-10-13T11:27:03.465Z\",\n        \"duration\": \"2020-10-13T13:27:03.465Z\",\n        \"last_refresh\": \"2020-10-13T11:27:03.465Z\",\n        \"active\": false,\n        \"passings\": 0,\n        \"alias\": \"Session 10/13/2020 11:27:03 AM\"\n    },\n    {\n        \"token_session\": \"1A3E318FDF9C5D71B87C97AFFD0F152682F7C8E0AC01C9A7F3F892C71EA754E7\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"B10026601EDF66F7099AA45B7AA3AEFC680FEC77947E280C48F3F0E769DA03C1\",\n        \"creation_date\": \"2020-10-29T10:03:24.071Z\",\n        \"duration\": \"2020-10-29T12:03:24.071Z\",\n        \"last_refresh\": \"2020-10-29T10:03:24.071Z\",\n        \"active\": true,\n        \"passings\": 4,\n        \"alias\": \"Session generated 29/10/2020 11:03:23\"\n    },\n    {\n        \"token_session\": \"B3B9621698A58F01F71A2B0ACBCC6E354D9CAB9D81F4EBE911E02DDF1BBBED8A\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"A17268DF6105042417707A006A29537F2D2CA5C12CB8F3738B7B324C7F836B4C\",\n        \"creation_date\": \"2020-11-04T14:39:54.244Z\",\n        \"duration\": \"2020-11-04T16:39:54.244Z\",\n        \"last_refresh\": \"2020-11-04T14:39:54.244Z\",\n        \"active\": false,\n        \"passings\": 10,\n        \"alias\": \"Session generated 04/11/2020 15:39:51\"\n    },\n    {\n        \"token_session\": \"97D0C1EA799FE7997A5CF46F3B242DF1F64B8B47F1067EA6FC04163E4CB593AA\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"A17268DF6105042417707A006A29537F2D2CA5C12CB8F3738B7B324C7F836B4C\",\n        \"creation_date\": \"2020-11-04T14:40:15.989Z\",\n        \"duration\": \"2020-11-04T16:40:15.989Z\",\n        \"last_refresh\": \"2020-11-04T14:40:15.989Z\",\n        \"active\": false,\n        \"passings\": 9,\n        \"alias\": \"Session generated 04/11/2020 15:40:15\"\n    },\n    {\n        \"token_session\": \"6FF7C948CA9A783FC5BC18ACB399AF93FC46511B28F0C20E560041710F9C7151\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"A17268DF6105042417707A006A29537F2D2CA5C12CB8F3738B7B324C7F836B4C\",\n        \"creation_date\": \"2020-11-04T14:40:32.113Z\",\n        \"duration\": \"2020-11-04T16:40:32.113Z\",\n        \"last_refresh\": \"2020-11-04T14:40:32.113Z\",\n        \"active\": true,\n        \"passings\": 7,\n        \"alias\": \"Session generated 04/11/2020 15:40:31\"\n    },\n    {\n        \"token_session\": \"00F1CD57331EB4BBADF90B06B33600B3E953D820BDCE9D10973B5E6C5B11DC65\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"3640C354C6EC2124A8BA44CB7B5804551635C100EFA1E0A63BC624AC1E75E481\",\n        \"creation_date\": \"2020-11-04T14:42:12.334Z\",\n        \"duration\": \"2020-11-04T16:42:12.334Z\",\n        \"last_refresh\": \"2020-11-04T14:42:12.334Z\",\n        \"active\": false,\n        \"passings\": 11,\n        \"alias\": \"Session generated 04/11/2020 15:42:10\"\n    },\n    {\n        \"token_session\": \"C00B73BA64711DA1006B6DAC1BA00F5935C9DDF681F2060D53316FFEA7256D0E\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"3640C354C6EC2124A8BA44CB7B5804551635C100EFA1E0A63BC624AC1E75E481\",\n        \"creation_date\": \"2020-11-04T14:42:33.385Z\",\n        \"duration\": \"2020-11-04T16:42:33.385Z\",\n        \"last_refresh\": \"2020-11-04T14:42:33.385Z\",\n        \"active\": false,\n        \"passings\": 11,\n        \"alias\": \"Session generated 04/11/2020 15:42:32\"\n    },\n    {\n        \"token_session\": \"26187A90DD6AAF963C3F506E4CF92B091F0C94B46B2A86DED5EEFB7F3B5A47AC\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"3640C354C6EC2124A8BA44CB7B5804551635C100EFA1E0A63BC624AC1E75E481\",\n        \"creation_date\": \"2020-11-04T14:42:53.948Z\",\n        \"duration\": \"2020-11-04T16:42:53.948Z\",\n        \"last_refresh\": \"2020-11-04T14:42:53.948Z\",\n        \"active\": true,\n        \"passings\": 8,\n        \"alias\": \"Session generated 04/11/2020 15:42:53\"\n    }\n]"},{"id":"e41a4910-9398-4cbc-8c1a-e4423373f7b4","name":"Get Sessions by user (Not Found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/user/E21C1FA40C521879CF68DDAEDEE5E18EE98AB089945372809C3177770BC1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 05 Nov 2020 15:19:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"User not found\"\n}"}],"_postman_id":"3915d974-6c29-4c45-b736-af30d8867c4f"},{"name":"Get active sessions by user","id":"2e4e3e52-116d-468f-b8f6-339ecb82fd08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/user/{api_token}/active","description":"<p>Returns an array of the active sessions of the given company's user API token. Keep in mind that if a session has a duration time less than current time it won't count as active.</p>\n<p>Input data:</p>\n<ul>\n<li>{api_token}: Company's user API token.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If found returns a JSON with all the active sessions of the given user. (200 OK).</li>\n<li>If not found returns the error with description \"User not found\" (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","sessions","user","{api_token}","active"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"0292922a-e470-4f6c-85aa-95d44202a7e9","name":"Get active sessions by user (Not Found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/user/E21C1FA40C521E18EE98AB089945372809C3177770BC1/active"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 05 Nov 2020 14:24:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"User not found\"\n}"},{"id":"11b497a9-0470-407c-945f-c3a9aaddbea4","name":"Get active sessions by user (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/sessions/user/E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1/active"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 04 Nov 2020 14:44:34 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"token_session\": \"6FF7C948CA9A783FC5BC18ACB399AF93FC46511B28F0C20E560041710F9C7151\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"A17268DF6105042417707A006A29537F2D2CA5C12CB8F3738B7B324C7F836B4C\",\n        \"creation_date\": \"2020-11-04T14:40:32.113Z\",\n        \"duration\": \"2020-11-04T16:40:32.113Z\",\n        \"last_refresh\": \"2020-11-04T14:40:32.113Z\",\n        \"active\": true,\n        \"passings\": 7,\n        \"alias\": \"Session generated 04/11/2020 15:40:31\"\n    },\n    {\n        \"token_session\": \"26187A90DD6AAF963C3F506E4CF92B091F0C94B46B2A86DED5EEFB7F3B5A47AC\",\n        \"user_api_token\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"device_id\": \"3640C354C6EC2124A8BA44CB7B5804551635C100EFA1E0A63BC624AC1E75E481\",\n        \"creation_date\": \"2020-11-04T14:42:53.948Z\",\n        \"duration\": \"2020-11-04T16:42:53.948Z\",\n        \"last_refresh\": \"2020-11-04T14:42:53.948Z\",\n        \"active\": true,\n        \"passings\": 8,\n        \"alias\": \"Session generated 04/11/2020 15:42:53\"\n    }\n]"}],"_postman_id":"2e4e3e52-116d-468f-b8f6-339ecb82fd08"},{"name":"Insert session","id":"4aaa5402-2e50-476a-8f13-e0344c9a4f46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n\t\"alias\": \"New session alias\"\n}"},"url":"https://api.runonrufus.com:44333/v1/sessions","description":"<p>Registers a session for a device. If the device has an active session, it will be closed automatically.</p>\n<p>Input data:</p>\n<p>Receives a JSON through the Body of the request:</p>\n<ul>\n<li>device_id: The device ID where the session will be created.</li>\n<li>alias: A session name to recognize the session more easily. If there is no alias the server will create an alias authomatically.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK returns the session indentification info (ID), the duration in minutes and a string with the expiration date/time in UTC. (201 Created)</li>\n<li>If the device is not found returns the error with description \"Device not found\" (404 Not Found).</li>\n<li>If the deviceid is null (no deviecid field at the JSON) returns a \"Bad request\" error (400 Bad Request).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","sessions"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"0de77ec2-5bca-4873-87dd-042d1cd133a1","name":"Insert session without alias (OK)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"device_id\": \"D358C160D7CE12BFC266E930190A17D8\"\n}"},"url":"https://api.runonrufus.com:44333/v1/sessions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 13 Oct 2020 11:27:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Session registered succesfully\",\n    \"session_info\": \"CA39140700D8D953F1347384A81946B4C74343B1B747FF64DBA799E8F592EC8F\",\n    \"valid_until\": \"2020-10-13T13:27:03\",\n    \"duration_minutes\": 120\n}"},{"id":"25cb1deb-d806-468c-869d-95e30e8f2e90","name":"Insert session with alias (OK)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n\t\"alias\": \"New session alias\"\n}"},"url":"https://api.runonrufus.com:44333/v1/sessions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 09:57:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Session registered succesfully\",\n    \"session_info\": \"03D401C57920A6CAFD367FD2759CEB73BEC9FF0101B7A4E4A6BC24A7C2CD3583\",\n    \"valid_until\": \"2020-02-05T16:52:23\",\n    \"duration_minutes\": 120\n}"},{"id":"59a12361-bcf3-4205-8741-faa3b959c694","name":"Insert session (Device not found)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"device_id\": \"D358C160D7CE12BFC266E930190A17D8\",\n\t\"alias\": \"New session alias\"\n}"},"url":"https://api.runonrufus.com:44333/v1/sessions"},"status":"Not Found","code":404,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 10:20:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\"description\":\"Device not found\",\"device\":\"D358C160D7CE12BFC266E930190A17D8\"}"},{"id":"7d153e4a-7e8e-481d-8507-c6b003568d42","name":"Insert session (No device)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"alias\": \"New session alias\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/sessions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 10:48:32 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4aaa5402-2e50-476a-8f13-e0344c9a4f46"},{"name":"Renew session","id":"16098048-cd6e-463a-a12b-95941374373f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.runonrufus.com:44333/v1/sessions/renew/{token_session}","description":"<p>If a session is active, adds 2 hours (120 minutes) to the expiration date from the time of the request.</p>\n<p>Input data:</p>\n<ul>\n<li>{token_session}: ID of the session.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK returns a JSON with a confirmation message with description \"Session updated successfully\", the duration in minutes and a string with the new expiration date/time in UTC (200 OK).</li>\n<li>If no active session has been found with the {session_token} returns an error message with the description \"No active session has been found with this ID\" (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","sessions","renew","{token_session}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"118dd085-492c-42b5-81f5-466243d8adfc","name":"Renew Session (OK)","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"duration\":\"2018-09-10 15:45:58.095Z\",\n\t\"last_update\":\"2018-09-10 13:45:58.095Z\"\n}"},"url":"https://api.runonrufus.com:44333/v1/sessions/renew/A74FB26FCE1FFEDD5EF0688636B4B7OUYAOPIADNVVBZCMGIAD7894654ASDIO"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true","name":"Access-Control-Allow-Credentials","description":"Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE,OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Type","value":"text/plain; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 12 Sep 2018 14:05:48 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Powered-By","value":"ASP.NET","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\n\t\"description\":\"Session updated succesfully\",\n\t\"valid_until\":\"2020-02-05T13:10:46\",\n\t\"duration_minutes\":120\n\t\n}"},{"id":"d2cc848d-fbdd-4d77-bd53-501262d0793e","name":"Renew Session (Not Found)","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.runonrufus.com:44333/v1/sessions/renew/LAADHAOD79ASD8YAKSJDDH78967OAHSDIAUSDG685"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true","name":"Access-Control-Allow-Credentials","description":"Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE,OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 17 Sep 2018 08:16:12 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Powered-By","value":"ASP.NET","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"description\": \"No active session has been found with this ID\"\r\n}"}],"_postman_id":"16098048-cd6e-463a-a12b-95941374373f"},{"name":"Close session","id":"6b4eb0c8-283d-4b85-960e-b5579de03e85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.runonrufus.com:44333/v1/sessions/close/{token_session}","description":"<p>Set session Active status to \"false\" (closes the session).</p>\n<p>Input data:</p>\n<ul>\n<li>{token_session}: ID of the session.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is correct returns a confirmation message with description \"Session closed succesfully\" (200 OK).</li>\n<li>If the session is closed already returns an error message with description \"This session is closed already\" (409 Conflict).</li>\n<li>If the session is not found returns an error message with description \"Session not found\" (404 Not Foun).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","sessions","close","{token_session}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"2af8b5c2-8599-4119-9b0b-c2fb6ab725dd","name":"Close session (OK)","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.runonrufus.com:44333/v1/sessions/status/F9D45882B3C8144C3E07D454FDAA22FBFC7ACB3561415512A3935F9E08273CDE"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 02 Aug 2019 14:36:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Session closed succesfully\"\n}"},{"id":"482d1dd3-86ef-4b9a-9877-72052d2090b2","name":"Close session (Closed already)","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.runonrufus.com:44333/v1/sessions/close/E4E647447F07B8FF61A63B932039D820FBFF856204123A3D3DE08F6CB35BE04F"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 11:20:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"This session is closed already\"\n}"},{"id":"de84e125-8808-4783-a53d-f1e255555f13","name":"Close session (Not found)","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.runonrufus.com:44333/v1/sessions/close/7B6A66AF6E057E1C91754AD69BD92E485516094848AA70419BACC97B4377009E"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 11:19:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Session not found\"\n}"}],"_postman_id":"6b4eb0c8-283d-4b85-960e-b5579de03e85"}],"id":"d8986ced-6f90-468c-9ca7-8f1432d5da7d","description":"<p>In this section you will find how to create and manage sessions for RUFUS Cloud</p>\n","event":[{"listen":"prerequest","script":{"id":"8e9a4e70-0c16-412a-9981-e85dfb063bad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"10332390-7c44-4222-a29e-8823ef463a64","type":"text/javascript","exec":[""]}}],"_postman_id":"d8986ced-6f90-468c-9ca7-8f1432d5da7d"},{"name":"Passings","item":[{"name":"Count passings","id":"661933c8-ef03-4811-94a8-d0b27c1ea8cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/passings/count/session/{token_session}","description":"<p>Counts the number of passings of a session by the session ID.</p>\n<p>Input data:</p>\n<ul>\n<li>{token_session}: ID of the session containing the passings.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK returns the number of passings of that session (200 OK).</li>\n<li>If the session is not found returns an error message with description \"Session not found\" (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","passings","count","session","{token_session}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"ca18c0c5-7763-4c40-bcf9-fccdad2d407a","name":"Count passings (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/passings/count/session/0422BF78591079D22181D961851EF191B8592C1944F4312CB645FF47B69A34D4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 12:30:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": 185\n}"},{"id":"edf06531-0571-4361-864c-2f75dc8645c1","name":"Count passings (Not found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/passings/count/session/0422BF78591079D22181D961851EF191BB645FF47B69A34D4"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 05 Feb 2020 12:41:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"Session not found\"\n}"}],"_postman_id":"661933c8-ef03-4811-94a8-d0b27c1ea8cb"},{"name":"Get passings by range","id":"b24e24e7-1a79-46a2-9925-6820c1a25c13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/passings/{token_session}/?first={first_passing}&last={last_passing}&page={num_page}","description":"<p>Returns a list of passings of a session from the specified initial passing to the last one (both of them included) with a max of 5000, so if there are more pagination will be needed.</p>\n<p>Input data:</p>\n<ul>\n<li>{token_session}: ID of the session of the passings.</li>\n<li>Params:<ul>\n<li>{first_passing}: Initial passing. If it is not specified it will return all passings starting from the first one from the corresponding pagination.</li>\n<li>{last_passing}: Last passing of the range. If it is not specified it will return all passings starting from {first_passing} until the last one or the last pagination limit.</li>\n<li>{num_page}: If pagination is needed it needs to be used to get a higher number of times (every 5000 passings a page increase will be needed). Default value is 0 (to get a range between the first 5000 passings).</li>\n</ul>\n</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK returns a JSON with the list of all the passings between the given range (up to pagination limit) (200 OK).</li>\n<li>If no {token_session} is specified returns an error message with description \"Session not found\" (404 Not found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","passings","{token_session}",""],"host":["api","runonrufus","com"],"query":[{"key":"first","value":"{first_passing}"},{"key":"last","value":"{last_passing}"},{"key":"page","value":"{num_page}"}],"variable":[]}},"response":[{"id":"54f75a2b-8349-444b-9345-b592d58a2eeb","name":"Get passings by range (OK)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.runonrufus.com:44333/v1/passings/E49D2207271B1E3F056DA0CB327F1982F9C9AA96CF5CA93BF2A5A4092FDEB07A/?first=1&last=40&page=0","protocol":"https","host":["api","runonrufus","com"],"port":"44333","path":["v1","passings","E49D2207271B1E3F056DA0CB327F1982F9C9AA96CF5CA93BF2A5A4092FDEB07A",""],"query":[{"key":"first","value":"1"},{"key":"last","value":"40"},{"key":"page","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 02 Aug 2019 15:28:14 GMT"}],"cookie":[],"responseTime":null,"body":"[\r\n\t{\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:25.048\",\r\n        \"num_passing\": 1,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC37825\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:26.042\",\r\n        \"num_passing\": 2,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC80356\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:27.043\",\r\n        \"num_passing\": 3,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC22888\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:28.044\",\r\n        \"num_passing\": 4,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC65419\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:29.046\",\r\n        \"num_passing\": 5,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC7951\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:30.047\",\r\n        \"num_passing\": 6,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC50482\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:31.048\",\r\n        \"num_passing\": 7,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC93013\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:32.048\",\r\n        \"num_passing\": 8,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC35545\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:33.050\",\r\n        \"num_passing\": 9,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC78076\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:34.051\",\r\n        \"num_passing\": 10,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC20608\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:35.051\",\r\n        \"num_passing\": 11,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC63139\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:36.053\",\r\n        \"num_passing\": 12,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC5671\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:37.055\",\r\n        \"num_passing\": 13,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC48202\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:38.055\",\r\n        \"num_passing\": 14,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC90733\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:39.057\",\r\n        \"num_passing\": 15,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC33265\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:40.058\",\r\n        \"num_passing\": 16,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC11677\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:41.059\",\r\n        \"num_passing\": 17,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC54208\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:42.060\",\r\n        \"num_passing\": 18,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC96739\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:43.061\",\r\n        \"num_passing\": 19,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC39271\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:44.061\",\r\n        \"num_passing\": 20,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC81802\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:45.062\",\r\n        \"num_passing\": 21,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC24334\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:46.063\",\r\n        \"num_passing\": 22,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC66865\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:47.066\",\r\n        \"num_passing\": 23,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC9397\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:48.068\",\r\n        \"num_passing\": 24,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC51928\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:49.069\",\r\n        \"num_passing\": 25,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC94459\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:50.071\",\r\n        \"num_passing\": 26,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC36991\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:51.072\",\r\n        \"num_passing\": 27,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC15403\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:52.073\",\r\n        \"num_passing\": 28,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC57934\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:53.074\",\r\n        \"num_passing\": 29,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC0467\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:54.075\",\r\n        \"num_passing\": 30,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC42997\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:55.077\",\r\n        \"num_passing\": 31,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC85528\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:56.078\",\r\n        \"num_passing\": 32,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC28060\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:57.080\",\r\n        \"num_passing\": 33,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC70591\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:58.080\",\r\n        \"num_passing\": 34,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC13123\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:11:59.081\",\r\n        \"num_passing\": 35,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC55654\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:12:00.083\",\r\n        \"num_passing\": 36,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC98185\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:12:01.085\",\r\n        \"num_passing\": 37,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC40717\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:12:02.087\",\r\n        \"num_passing\": 38,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC83248\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:12:03.088\",\r\n        \"num_passing\": 39,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC25780\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"F56EB45AC79F5387C0890246B8E0D6EB29430DEA18339CEED1536ACB098BFE10\",\r\n        \"timestamp\": \"2019-11-18 17:12:04.091\",\r\n        \"num_passing\": 40,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC51949\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    }\r\n]"},{"id":"eff23fb3-92a5-418c-bbff-1cd0e1fa5a20","name":"Get passings by range (Not found)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://127.0.0.1:44321/v1/passings/F56EB45AC79F5387C0890246B8E0D6EB2943339CEED1536ACB098BFE10/?first=1&last=150&page=0","protocol":"https","host":["127","0","0","1"],"port":"44321","path":["v1","passings","F56EB45AC79F5387C0890246B8E0D6EB2943339CEED1536ACB098BFE10",""],"query":[{"key":"first","value":"1"},{"key":"last","value":"150"},{"key":"page","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2020 15:08:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Session not found\"\n}"}],"_postman_id":"b24e24e7-1a79-46a2-9925-6820c1a25c13"},{"name":"Get first and last passing by session","id":"cfe26865-55f8-40e8-8762-a3e89dad22ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/passings/session/{token_session}/first-and-last","description":"<p>Returns the first and last passing from a session.</p>\n<p>Input data:</p>\n<ul>\n<li>{token_session}: Session ID of the passings.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK returns a list with the first and last passings of the session (200 OK).</li>\n<li>If no session is found returns an error message with description \"Session not found\" (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","passings","session","{token_session}","first-and-last"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"7a719dc2-ab65-4ecf-be9f-904339421e46","name":"Get first and last passing by session (Not found)","originalRequest":{"method":"GET","header":[],"url":"https://127.0.0.1:44321/v1/passings/session/4E38396B1E7225115E0FEA408D96F945673871F02E71C6AF2BF31D87BD4778E6/first-and-last"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2020 15:40:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Session not found\"\n}"},{"id":"bc2c9edf-6245-47d6-9414-9f83126cf9b6","name":"Get first and last passing by session (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/passings/session/4E38396B1E7225115E0FEA408D96F945673871F02E71C6AF2BF31D87BD4778E6/first-and-last"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 03 Sep 2019 10:19:55 GMT"}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"token_session\": \"4E38396B1E7225115E0FEA408D96F945673871F02E71C6AF2BF31D87BD4778E6\",\r\n        \"timestamp\": \"2019-10-06 09:19:38.124\",\r\n        \"num_passing\": 1,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC03161\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    },\r\n    {\r\n        \"token_session\": \"4E38396B1E7225115E0FEA408D96F945673871F02E71C6AF2BF31D87BD4778E6\",\r\n        \"timestamp\": \"2019-10-06 13:55:16.604\",\r\n        \"num_passing\": 6632,\r\n        \"latitude\": \"12.324\",\r\n        \"longitude\": \"12.354\",\r\n        \"status\": \"Received\",\r\n        \"participant_id\": \"MC03152\",\r\n        \"bib\": null,\r\n        \"chip\": null,\r\n        \"timezone\": \"GMT+1\"\r\n    }\r\n]"}],"_postman_id":"cfe26865-55f8-40e8-8762-a3e89dad22ca"},{"name":"Insert passing","id":"4f3b7790-dd9a-4a50-b0bd-320825f99647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"7E0FC16438001F63047912E0F06CADC5D1567118FD6618B6C525AD65F451D441\",\n\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\"latitude\":\"12.256\",\n\t\"longitude\":\"3.12457\",\n\t\"participant_id\":\"\",\n\t\"chip\":\"TC01244\",\n\t\"bib\":\"\",\n\t\"timezone\": \"GMT+1\",\n\t\"num_passing\":8\n}"},"url":"https://api.runonrufus.com:44333/v1/passings","description":"<p>Inserts a passing into an active session.</p>\n<p>Input data:</p>\n<ul>\n<li>Receives a JSON through the Body of the request:<ul>\n<li>token_session: ID of the active session where to insert the passing. Madatory.</li>\n<li>timestamp: String representing the timestamp of the passing in format \"YYYY-MM-DD HH:mm:SS.fff\". Mandatory.</li>\n<li>longitude: The longitude coord.</li>\n<li>latitude: The latitude coord.</li>\n<li>status: Status of the passing for future features. Right now set as \"Received\". Mandatory</li>\n<li>participant_id: String representing the ID of the participant.</li>\n<li>chip: String representing the chip of the participant.</li>\n<li>bib: String represnting the bib of the participant.</li>\n<li>timezone: String representing the timezone. For example: \"GMT+1\"</li>\n<li>num_passing: Number of passing. This one is numeric. Mandatory.</li>\n</ul>\n</li>\n</ul>\n<p>At least one of participant_id, chip or bib must be set.</p>\n<p>Output:</p>\n<ul>\n<li>If everything is OK returns a JSON with a confirmation message and the session ID token (201 Created).</li>\n<li>If a passing with the specified passing number exists into this session a JSON with a message is returned and with the passing number (409 Conflict).</li>\n<li>If the session has expired returns an error message with description \"This session has expired\" and the token session ID (440 Timeout).</li>\n<li>If the session is not found, an error message is returned with description \"Session not found\" and with the token session ID (404 Not Found).</li>\n<li>If timestamp is not in a valid format returns an error message with description \"Invalid date time format\" (400 Bad Request).</li>\n<li>If none of Chip, bib and participant is not set returns an error message with description \"At least participant ID, chip or bib is needed\" (400 Bad Request).</li>\n<li>If some of the mandatory fields are not set returns an error message with description \"All mandatory data is needed\" (400 Bad Request).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","passings"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"4bf54951-7fcf-43d4-9a76-afaae86b9f15","name":"Insert passing (OK)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"24B26384FEAB7ED00324E2B47C69D97D53C554554BDBDE19A3FFB515DB3D5B08\",\n\t\"timestamp\":\"2020-01-3 13:06:24.645\",\n\t\"latitude\":\"12.256\",\n\t\"longitude\":\"3.12457\",\n\t\"status\":\"Received\",\n\t\"participant_id\":\"\",\n\t\"chip\":\"TC01244\",\n\t\"bib\":\"\",\n\t\"timezone\": \"GMT+1\",\n\t\"num_passing\":\"1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings"},"status":"Created","code":201,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 02 Aug 2019 15:21:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\"description\":\"Passing published succesfully\",\"token_session\":\"24B26384FEAB7ED00324E2B47C69D97D53C554554BDBDE19A3FFB515DB3D5B08\"}"},{"id":"587d2ee0-978e-4b88-a9f2-8cfd9c5c3b52","name":"Insert passing (Passing exists already)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"E2E2843B8C8616D9A152FAE017AC0AD9EAB2B605626710580DA28E1E9B21A5AA\",\n\t\"timestamp\":\"2020-01-3 13:06:24.645\",\n\t\"latitude\":\"12.256\",\n\t\"longitude\":\"3.12457\",\n\t\"status\":\"Received\",\n\t\"participant_id\":\"\",\n\t\"chip\":\"TC01244\",\n\t\"bib\":\"\",\n\t\"timezone\": \"GMT+1\",\n\t\"num_passing\":\"1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings"},"status":"Conflict","code":409,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 03 Sep 2019 11:22:19 GMT"}],"cookie":[],"responseTime":null,"body":"published{\"description\":\"Passing is registered already\",\"passing\":\"1\"}"},{"id":"8f7251bb-2b93-44fa-a949-24c7b05d6ecd","name":"Insert passing (Session not found)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"1BA32F4B787CCE3481B3B550501049E69D82EE37B422112\",\n\t\"timestamp\":\"2020-01-3 13:06:24.645\",\n\t\"latitude\":\"12.256\",\n\t\"longitude\":\"3.12457\",\n\t\"status\":\"Received\",\n\t\"participant_id\":\"\",\n\t\"chip\":\"TC01244\",\n\t\"bib\":\"\",\n\t\"timezone\": \"GMT+1\",\n\t\"num_passing\":\"2\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings"},"status":"Not Found","code":404,"_postman_previewlanguage":"plain","header":[{"key":"Access-Control-Allow-Credentials","value":"true","name":"Access-Control-Allow-Credentials","description":"Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept","name":"Access-Control-Allow-Headers","description":"Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request."},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE,OPTIONS","name":"Access-Control-Allow-Methods","description":"Specifies the method or methods allowed when accessing the resource. This is used in response to a preflight request."},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":"Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."},{"key":"Content-Type","value":"text/plain; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 17 Sep 2018 09:38:02 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Powered-By","value":"ASP.NET","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[],"responseTime":null,"body":"{\"description\":\"Session not found\",\"token_session\":\"B0F066A185C73AE83D1DE05\"}"},{"id":"d9a80ba3-5dd8-4ea1-a452-8484be689c9d","name":"Insert passing (Invalid date time format)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"1BA32F4B787CCE349F86681BA36CFFDC8D893B550501049E69D82EE37B422112\",\n\t\"timestamp\":\"2020-01-3 13:24.645\",\n\t\"latitude\":\"12.256\",\n\t\"longitude\":\"3.12457\",\n\t\"status\":\"Received\",\n\t\"participant_id\":\"\",\n\t\"chip\":\"TC01244\",\n\t\"bib\":\"\",\n\t\"timezone\": \"GMT+1\",\n\t\"num_passing\":1\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2020 16:19:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Invalid Date time format\"\n}"},{"id":"ea89b024-7744-474e-94da-9087bfc55868","name":"Insert passing (Session expired)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"E49D2207271B1E3F056DA0CB32982F9C9AA96CF5CA93BF2A5A4092FDEB07A\",\n\t\"timestamp\":\"2020-01-3 13:06:24.645\",\n\t\"latitude\":\"12.256\",\n\t\"longitude\":\"3.12457\",\n\t\"status\":\"Received\",\n\t\"participant_id\":\"\",\n\t\"chip\":\"TC01244\",\n\t\"bib\":\"\",\n\t\"timezone\": \"GMT+1\",\n\t\"num_passing\":1\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings"},"status":" ","code":440,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 03 Sep 2019 10:44:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\"description\":\"This session has expired\",\"token_session\":\"E49D2207271B1E3F056DA0CB32982F9C9AA96CF5CA93BF2A5A4092FDEB07A\"}"},{"id":"eeafa5ee-41d9-42ff-9420-c5b4a7bb755f","name":"Insert passing (Mandatory field missing)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"7E0FC16438001F63047912E0F06CADC5D1567118FD6618B6C525AD65F451D441\",\n\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\"latitude\":\"12.256\",\n\t\"longitude\":\"3.12457\",\n\t\"participant_id\":\"\",\n\t\"chip\":\"TC01244\",\n\t\"bib\":\"\",\n\t\"timezone\": \"GMT+1\",\n\t\"num_passing\":8\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings"},"status":"Bad Request","code":400,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 06 Feb 2020 11:30:40 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\"description\":\"All mandatory data is needed\"}"},{"id":"f11d3b59-2847-4603-ae8b-2df63cf9fc91","name":"Insert passing (No chip, bib or participant ID)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"1BA32F4B787CCE349F86681BA36CFFDC8D893B550501049E69D82EE37B422112\",\n\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\"latitude\":\"12.256\",\n\t\"longitude\":\"3.12457\",\n\t\"status\":\"Received\",\n\t\"participant_id\":\"\",\n\t\"chip\":\"\",\n\t\"bib\":\"\",\n\t\"timezone\": \"GMT+1\",\n\t\"num_passing\":6\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2020 16:28:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"At least participant ID, chip or bib is needed\"\n}"}],"_postman_id":"4f3b7790-dd9a-4a50-b0bd-320825f99647"},{"name":"Insert list of passings","id":"d63a3a02-c74c-40ec-81ea-1ada194e1b99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"7E0FC16438001F63047912E0F06CADC5D1567118FD6618B6C525AD65F451D441\",\n\t\"times_list\":[{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01224\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":13\n\t},\n\t{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:46.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01246\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":14\n\t}\n\t\n\t]\n\n}"},"url":"https://api.runonrufus.com:44333/v1/passings/batch","description":"<p>Inserts a list of passings into a session. It's very similar at the single passing insertion, but the JSON includes a list of passings instead.</p>\n<p>Input data:</p>\n<ul>\n<li>Receives a JSON through the Body of the request:<ul>\n<li>token_session: ID of the active session where to insert the passings. Mandatory.</li>\n<li>times_list: List of passings to insert. Mandatory. Each passing contains the following data: <ul>\n<li>token_session: ID of the active session where to insert the passing. Madatory.</li>\n<li>timestamp: String representing the timestamp of the passing in format \"YYYY-MM-DD HH:mm:SS.fff\". Mandatory.</li>\n<li>longitude: The longitude coord.</li>\n<li>latitude: The latitude coord.</li>\n<li>status: Status of the passing for future features. Right now set as \"Received\". Mandatory</li>\n<li>participant_id: String representing the ID of the participant.</li>\n<li>chip: String representing the chip of the participant.</li>\n<li>bib: String represnting the bib of the participant.</li>\n<li>timezone: String representing the timezone. For example: \"GMT+1\"</li>\n<li>num_passing: Number of passing. This one is numeric. Mandatory.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK returns a confirmation message and the session ID token (201 Created).</li>\n<li>If a passing with the specified passing number exists into this session a message with description \"Found passings existing already for this session\" is returned with the list of passings (409 Conflict).</li>\n<li>If the session has expired returns an error message with description \"This session has expired\" and the token session ID (440 Timeout).</li>\n<li>If the session is not found, an error message is returned with description \"Session not found\" and with the token session ID (404 Not Found).</li>\n<li>If times_list is not set or is empty returns an error message with description \"Empty passings list\" (400 Bad Request).</li>\n<li>If timestamp is not in a valid format returns an error message with description \"Invalid date time format\" (400 Bad Request).</li>\n<li>If none of Chip, bib and participant is not set returns an error message with description \"At least participant ID, chip or bib is needed\" (400 Bad Request).</li>\n<li>If some of the mandatory fields are not set returns an error message with description \"All mandatory data is needed\" (400 Bad Request).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","passings","batch"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"2bea4b46-d34b-4b81-8678-2c9776b5aa7e","name":"Insert list of passings (Passings already exist)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"E2E2843B8C8616D9A152FAE017AC0AD9EAB2B605626710580DA28E1E9B21A5AA\",\n\t\"times_list\":[{\n\t\t\t\"timestamp\":\"2019-08-14 12:05:24.645\",\n\t\t\t\"latitude\":12.256,\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"TC00004\",\n\t\t\t\"num_passing\":\"1\"\n\t},\n\t{\n\t\t\t\"timestamp\":\"2019-08-14 12:08:24.645\",\n\t\t\t\"latitude\":12.256,\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"TC00016\",\n\t\t\t\"num_passing\":\"2\"\n\t}\n\t\n\t]\n\n}"},"url":"https://api.runonrufus.com:44333/v1/times/batch"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 03 Sep 2019 11:18:48 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Error: Found passings existing already for this session\",\n    \"times_list\": [\n        {\n\t\t\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01244\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":1\n\t},\n\t{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:46.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01246\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":2\n\t}\n    ]\n}"},{"id":"2fd81d47-8198-48a5-a47d-e95bce6493d4","name":"Insert list of passings (Invalid date time format)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"7E0FC16438001F63047912E0F06CADC5D1567118FD6618B6C525AD65F451D441\",\n\t\"times_list\":[{\n\t\t\t\"timestamp\":\"2020-01-3 13:24.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01224\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":13\n\t},\n\t{\n\t\t\t\"timestamp\":\"2020-01-3 13:24.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01246\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":14\n\t}\n\t\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"https://TC01246/v1/passings/batch"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2020 11:16:25 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Invalid date time format\",\n    \"times_list\": [\n        {\n            \"timestamp\": \"2020-01-3 13:24.645\",\n            \"latitude\": \"12.256\",\n            \"longitude\": \"3.12457\",\n            \"status\": \"Received\",\n            \"participant_id\": \"\",\n            \"chip\": \"TC01224\",\n            \"bib\": \"\",\n            \"timezone\": \"GMT+1\",\n            \"num_passing\": 13\n        },\n        {\n            \"timestamp\": \"2020-01-3 13:24.645\",\n            \"latitude\": \"12.256\",\n            \"longitude\": \"3.12457\",\n            \"status\": \"Received\",\n            \"participant_id\": \"\",\n            \"chip\": \"TC01246\",\n            \"bib\": \"\",\n            \"timezone\": \"GMT+1\",\n            \"num_passing\": 14\n        }\n    ]\n}"},{"id":"433fa7ae-e822-472c-9c21-db8996d499b7","name":"Insert list of passings (OK)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"E2E2843B8C8616D9A152FAE010AD9EAB2B605626710580DA28E1E9B21A5AA\",\n\t\"times_list\":[{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01244\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":1\n\t},\n\t{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:46.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01246\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":2\n\t}\n\t\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings/batch"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 03 Sep 2019 11:10:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"All passings published succesfully\",\n    \"token_session\": \"E2E2843B8C8616D9A152FAE010AD9EAB2B605626710580DA28E1E9B21A5AA\"\n}"},{"id":"7e259a15-3dd0-4263-966c-90a17c032695","name":"Insert list of passings (Session expired)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"E49D2207271B1E3F056DA0CB327F1982F9C9AA96CF5CA93B92FDEB07A\",\n\t\"times_list\":[{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01244\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":1\n\t},\n\t{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:46.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01246\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":2\n\t}\n\t\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/times/batch"},"status":" ","code":440,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Tue, 03 Sep 2019 11:08:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"This session has expired\",\n    \"token_session\": \"E49D2207271B1E3F056DA0CB327F1982F9C9AA96CF5CA93BF2A5A4092FDEB07A\"\n}"},{"id":"9683f204-5f96-433b-9497-b696b4d9de43","name":"Insert list of passings (Missing mandatory field)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"7E0FC16438001F63047912E0F06CADC5D1567118FD6618B6C525AD65F451D441\",\n\t\"times_list\":[{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01244\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":9\n\t},\n\t{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:46.645\",\n\t\t\t\"latitude\": \"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01246\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":10\n\t}\n\t\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings/batch"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2020 11:10:32 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"All mandatory data is needed\",\n    \"times_list\": [\n        {\n            \"timestamp\": \"2020-01-3 13:24:45.645\",\n            \"latitude\": \"12.256\",\n            \"longitude\": \"3.12457\",\n            \"status\": \"Received\",\n            \"participant_id\": \"\",\n            \"chip\": \"TC01244\",\n            \"bib\": \"\",\n            \"timezone\": \"GMT+1\",\n            \"num_passing\": 9\n        },\n        {\n            \"timestamp\": \"2020-01-3 13:24:46.645\",\n            \"latitude\": \"12.256\",\n            \"longitude\": \"3.12457\",\n            \"participant_id\": \"\",\n            \"chip\": \"TC01246\",\n            \"bib\": \"\",\n            \"timezone\": \"GMT+1\",\n            \"num_passing\": 10\n        }\n    ]\n}"},{"id":"a692f612-6178-4d07-b3db-e73317e72758","name":"Insert list of passings (No chip, bib or participant ID)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"7E0FC16438001F63047912E0F06CADC5D1567118FD6618B6C525AD65F451D441\",\n\t\"times_list\":[{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":11\n\t},\n\t{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:46.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01246\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":12\n\t}\n\t\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings/batch"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2020 11:14:09 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"At least participant ID, chip or bib is needed\",\n    \"times_list\": [\n        {\n            \"timestamp\": \"2020-01-3 13:24:45.645\",\n            \"latitude\": \"12.256\",\n            \"longitude\": \"3.12457\",\n            \"status\": \"Received\",\n            \"participant_id\": \"\",\n            \"chip\": \"\",\n            \"bib\": \"\",\n            \"timezone\": \"GMT+1\",\n            \"num_passing\": 11\n        },\n        {\n            \"timestamp\": \"2020-01-3 13:24:46.645\",\n            \"latitude\": \"12.256\",\n            \"longitude\": \"3.12457\",\n            \"status\": \"Received\",\n            \"participant_id\": \"\",\n            \"chip\": \"TC01246\",\n            \"bib\": \"\",\n            \"timezone\": \"GMT+1\",\n            \"num_passing\": 12\n        }\n    ]\n}"},{"id":"f6305501-6179-4ee7-9547-b2cfe3634bb6","name":"Insert list of passings (No passings list)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"1BA32F4B787CCE349F86681BA36CFFDC8D893B550501049E69D82EE37B422112\"\n\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/passings/batch"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2020 17:10:48 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Empty passings list\"\n}"},{"id":"f8027db9-52d6-4029-8f2c-b7aea0d33718","name":"Insert list of passings (Session not found)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token_session\":\"E2E2843B8C8616D9A152FAE017AC0AD9EAB2B626710580DA28E1E9B21A5AA\",\n\t\"times_list\":[{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:45.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01244\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":1\n\t},\n\t{\n\t\t\t\"timestamp\":\"2020-01-3 13:24:46.645\",\n\t\t\t\"latitude\":\"12.256\",\n\t\t\t\"longitude\":\"3.12457\",\n\t\t\t\"status\":\"Received\",\n\t\t\t\"participant_id\":\"\",\n\t\t\t\"chip\":\"TC01246\",\n\t\t\t\"bib\":\"\",\n\t\t\t\"timezone\": \"GMT+1\",\n\t\t\t\"num_passing\":2\n\t}\n\t\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/times/batch"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Session not Found\",\n    \"token_session\": \"B0F066A185C73AE83D1DE05\"\n}"}],"_postman_id":"d63a3a02-c74c-40ec-81ea-1ada194e1b99"}],"id":"704b564c-9e65-42d4-b22b-f743326f0ec5","description":"<p>In this section you will find how to publish passings into a session and how to get them to your own software.</p>\n","event":[{"listen":"prerequest","script":{"id":"c7fd8d18-e2f8-4c7c-924f-dc85b52c05d1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"432e6ea8-9142-4369-9755-e7af77f0df9b","type":"text/javascript","exec":[""]}}],"_postman_id":"704b564c-9e65-42d4-b22b-f743326f0ec5"},{"name":"Events","item":[{"name":"Get events by API token","id":"c2fbac7d-a47b-45c5-9d85-ff4ecae965e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/event/user/{api_token}","description":"<p>Obtains all the events from a user (company) by the user API token.</p>\n<p>Input data:</p>\n<ul>\n<li>{api_token}: User/Company's user API token.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If found returns a JSON with all events. (200 OK)</li>\n<li>If the user is not found returns an error with description \"User not found\". (404 Not Found)</li>\n</ul>\n<p>Please note that if no {api_token} is set at the request the Backend will try to get an event by it's corresponding ID.</p>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","event","user","{api_token}"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"548996df-c25a-44e1-ba16-c910ecbdb30d","name":"Get events by API token (Not Found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/event/user/E21C1FA40C521AE0F9CDEE5E18EE98AB089945372809C3177770BC1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Nov 2020 13:21:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"User not found\"\n}"},{"id":"e2e5986f-94b1-440c-91dd-ff2cb978bd78","name":"Get events by API token (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/event/user/E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Nov 2020 13:12:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_id\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"event_id\": \"B92E783965DE01A49023A28C60E056A024583C2745DB6A73D93A9E3F8CA9C376\",\n        \"event_url\": \"new-event-fdfs\",\n        \"name\": \"New Event\",\n        \"edition\": \"fdfs\",\n        \"hide_results\": false,\n        \"has_results\": true,\n        \"place\": \"Carrer de Zurbano, 2, 08201 Sabadell, Barcelona, España\",\n        \"date\": \"2020-10-06T13:29:39.243Z\",\n        \"type\": \"dua\",\n        \"banner_url\": \"../../../../../assets/header-dua.png\",\n        \"theme\": \"dark\",\n        \"buttons_color\": \"#ED1C24\",\n        \"accent_color\": \"#FBB03B\",\n        \"publish_diploma\": true,\n        \"results_with_times\": true,\n        \"latitude\": 41.541213819753516,\n        \"longitude\": 2.111264691681014,\n        \"old\": false,\n        \"has_start_list\": true,\n        \"hide_start_list\": false,\n        \"last_update\": \"2020-11-09T09:49:37.019Z\",\n        \"timer_company\": \"Run Timing Pro\",\n        \"hide_timer_company\": false,\n        \"web_site\": \"\",\n        \"schedule\": [],\n        \"hide_map\": false,\n        \"hide_forecast\": false\n    },\n    {\n        \"owner_id\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"event_id\": \"694323D779B2D5E88DED590C1D5B26CDC77FE1CCAF21C48607D9C0B3939600CC\",\n        \"event_url\": \"new-event-mixpanel-786\",\n        \"name\": \"New Event Mixpanel\",\n        \"edition\": \"786\",\n        \"hide_results\": false,\n        \"has_results\": true,\n        \"place\": \"Cami Can Casamada, 21, 08208 Sabadell, Barcelona, España\",\n        \"date\": \"2020-10-07T12:20:06.835Z\",\n        \"type\": \"tria\",\n        \"banner_url\": \"../../../../../assets/header-tria.png\",\n        \"theme\": \"light\",\n        \"buttons_color\": \"#ED1C24\",\n        \"accent_color\": \"#2976FF\",\n        \"publish_diploma\": true,\n        \"results_with_times\": true,\n        \"latitude\": 41.568241394961284,\n        \"longitude\": 2.1082101951980681,\n        \"old\": false,\n        \"has_start_list\": true,\n        \"hide_start_list\": false,\n        \"last_update\": \"2020-11-04T09:46:52.134Z\",\n        \"timer_company\": \"Run Timing Pro\",\n        \"hide_timer_company\": false,\n        \"web_site\": \"\",\n        \"schedule\": [\n            {\n                \"from\": \"2020-10-06T22:00:06.835Z\",\n                \"to\": \"2020-10-06T22:00:06.835Z\",\n                \"description\": \"task task\"\n            },\n            {\n                \"from\": \"2020-10-06T22:00:06.835Z\",\n                \"to\": \"2020-10-06T22:00:06.835Z\",\n                \"description\": \"super task\"\n            },\n            {\n                \"from\": \"2020-10-07T12:00:06.835Z\",\n                \"to\": \"2020-10-07T14:00:06.835Z\",\n                \"description\": \"random task\"\n            }\n        ],\n        \"hide_map\": false,\n        \"hide_forecast\": false\n    },\n    {\n        \"owner_id\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"event_id\": \"B9043DEEE6B7C7494533CAA50E32DE2C7F5C743396546AAC93EC773E91CECC3B\",\n        \"event_url\": \"new-eventio-1312\",\n        \"name\": \"New Eventio\",\n        \"edition\": \"1312\",\n        \"hide_results\": false,\n        \"has_results\": false,\n        \"place\": \"Carrer dels Almogàvers, 106, 08018 Barcelona, España\",\n        \"date\": \"2020-10-08T08:37:04.271Z\",\n        \"type\": \"running\",\n        \"banner_url\": \"../../../../../assets/header-run.png\",\n        \"theme\": \"light\",\n        \"buttons_color\": \"#ED1C24\",\n        \"accent_color\": \"#2976FF\",\n        \"publish_diploma\": true,\n        \"results_with_times\": false,\n        \"latitude\": 41.396468399999996,\n        \"longitude\": 2.1903425999999997,\n        \"old\": false,\n        \"has_start_list\": false,\n        \"hide_start_list\": false,\n        \"last_update\": \"2020-10-29T10:02:21.464Z\",\n        \"timer_company\": \"Run Timing Pro\",\n        \"hide_timer_company\": false,\n        \"web_site\": \"\",\n        \"schedule\": [],\n        \"hide_map\": true,\n        \"hide_forecast\": true\n    }\n]"}],"_postman_id":"c2fbac7d-a47b-45c5-9d85-ff4ecae965e2"},{"name":"Get events by API token and date","id":"0d853864-5249-4257-8ed8-0087014e605c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/event/user/E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1/9/1019","description":"<p>Obtains all the events of a user (company) by the user API token and starting at the given month and year.</p>\n<p>Input data:</p>\n<ul>\n<li>{api_token}: User/Company's user API token.</li>\n<li>month: Starting month of the event. Must be a number between 1 and 12.</li>\n<li>year: Starting year of the event. Must be a valid year number between 1990 and 2090.</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If found returns a JSON with all events. (200 OK)</li>\n<li>If the user is not found returns an error with description \"User not found\". (404 Not Found)</li>\n<li>If the month or year are not inside their correct range it will return an error with a descriptive message. (400 Bad Request)</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","event","user","E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1","9","1019"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"5b7495ed-0f3a-4e6f-ba50-18abcdab5990","name":"Get events by API token and date (Not Found)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/event/user/E21C1FA40C521879CF68DDAE0F9C18EE98AB089945372809C3177770BC1/9/2019"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 20 Nov 2020 12:54:10 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"User not found\"\n}"},{"id":"8a9c1419-ab95-4ad0-9272-60d355fea68f","name":"Get events by API token and date (Wrong month number)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/event/user/E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1/23/2019"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 20 Nov 2020 12:55:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Month needs to be between 1 and 12\"\n}"},{"id":"b7679962-155b-4c62-915f-3efab0d4776b","name":"Get events by API token and date (OK)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/event/user/E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1/9/2019"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Nov 2020 15:32:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_id\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"event_id\": \"IASUYDIAUDY897AD67AIDHAKSJGH8767OHIAIHD\",\n        \"event_url\": \"v-summer-runfest-2019\",\n        \"name\": \"V Summer Runfest\",\n        \"edition\": \"2019\",\n        \"hide_results\": false,\n        \"has_results\": true,\n        \"place\": \"Av. ParaireBarcelona\",\n        \"date\": \"2019-09-10T00:00:00Z\",\n        \"type\": \"swim\",\n        \"banner_url\": \"https://res.cloudinary.com/macshadesign/image/upload/v1569484551/angular_sample/banner-demo2.jpg\",\n        \"theme\": \"dark\",\n        \"buttons_color\": \"#2CC6B3\",\n        \"accent_color\": \"#00FF00\",\n        \"publish_diploma\": true,\n        \"results_with_times\": true,\n        \"latitude\": 0,\n        \"longitude\": 0,\n        \"old\": true,\n        \"has_start_list\": false,\n        \"hide_start_list\": false,\n        \"last_update\": \"0001-01-01T00:00:00\",\n        \"timer_company\": null,\n        \"hide_timer_company\": false,\n        \"web_site\": null,\n        \"schedule\": null,\n        \"hide_map\": false,\n        \"hide_forecast\": false\n    },\n    {\n        \"owner_id\": \"E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1\",\n        \"event_id\": \"6042EF0A609313717BF77290AD61AA9439956152F0025F6ECBD842FCE1C1C227\",\n        \"event_url\": \"eco-race-2019\",\n        \"name\": \"Eco Race\",\n        \"edition\": \"2019\",\n        \"hide_results\": false,\n        \"has_results\": true,\n        \"place\": \"Av. d'Icària, 131, 08005 Barcelona, España\",\n        \"date\": \"2019-09-20T00:00:00Z\",\n        \"type\": \"running\",\n        \"banner_url\": \"https://res.cloudinary.com/macshadesign/image/upload/v1569484551/angular_sample/banner-demo.jpg\",\n        \"theme\": \"light\",\n        \"buttons_color\": \"#00A99D\",\n        \"accent_color\": \"#9A65C9\",\n        \"publish_diploma\": true,\n        \"results_with_times\": true,\n        \"latitude\": 41.3903565,\n        \"longitude\": 2.1941694,\n        \"old\": true,\n        \"has_start_list\": false,\n        \"hide_start_list\": false,\n        \"last_update\": \"0001-01-01T00:00:00\",\n        \"timer_company\": null,\n        \"hide_timer_company\": false,\n        \"web_site\": null,\n        \"schedule\": null,\n        \"hide_map\": false,\n        \"hide_forecast\": false\n    }\n]"},{"id":"dc1799b9-4e57-4ce1-ba11-21b2010296e1","name":"Get events by API token and date (Wrong year number)","originalRequest":{"method":"GET","header":[],"url":"https://api.runonrufus.com:44333/v1/event/user/E21C1FA40C521879CF68DDAE0F9CDEE5E18EE98AB089945372809C3177770BC1/9/1019"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 20 Nov 2020 12:56:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Year needs to be between 1990 and 2090\"\n}"}],"_postman_id":"0d853864-5249-4257-8ed8-0087014e605c"}],"id":"f40d43d1-ac14-4ae1-84ee-0c28c4c84c17","description":"<p>In this section you will find how to obtain the information related to Cloud events. To get results or participant lists check the Results section.</p>\n","event":[{"listen":"prerequest","script":{"id":"91c24755-def0-492c-ad35-243fbd293035","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9b1aac65-bb15-4024-b6e9-19fee8ae675d","type":"text/javascript","exec":[""]}}],"_postman_id":"f40d43d1-ac14-4ae1-84ee-0c28c4c84c17"},{"name":"Results","item":[{"name":"Publish results","id":"0a6511da-1a4e-452d-bbc1-64f46223dfcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : \"6544578545\",\r\n                    \"email\" : \"somemail@mail.com\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : \"9697454514\",\r\n                    \"email\" : \"fake@mail.com\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 3,\r\n                    \"time\" : \"00:57:58.2\",\r\n                    \"real_time\" : \"00:57:58.2\",\r\n                    \"rithm\" : \"11:35 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:57:58.2\",\r\n                            \"hour\" : \"03:57:58.2 PM\",\r\n                            \"pos_general\" : 2,\r\n                            \"pos_category\" : 2\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 4,\r\n                    \"time\" : \"00:58:00.8\",\r\n                    \"real_time\" : \"00:58:00.8\",\r\n                    \"rithm\" : \"11:36 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:58:00.8\",\r\n                            \"hour\" : \"03:58:00.8 PM\",\r\n                            \"pos_general\" : 3,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : null,\r\n                    \"country\" : null\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"last_update_results\":\"2020-11-20T14:37:55.111Z\"\r\n}"},"url":"https://api.runonrufus.com:44333/v1/results/{event_id}/publish","description":"<p>Uploads results to a Rufus Cloud event by it's ID. Note that the event must be created previously. Keep in mind that if the event contains previous results the full list must be included anyway since the old ones will be overwritten.</p>\n<p>Input data:</p>\n<ul>\n<li>{event_id}: The ID of the event.</li>\n<li>The JSON structure through the body contaning the data of the event's trials and their results.<ul>\n<li>trials: Array containing the trials. Each trial has the following data:<ul>\n<li>name: Name of the trial.</li>\n<li>results: Array of the results data of each participant within them. Each participant has the following data:<ul>\n<li>participant_id: The Bib of the participant. String.</li>\n<li>participant_name: Full name of the participant. String.</li>\n<li>gender: Gender of the participant. M= Male, F= Female. String.</li>\n<li>category: Category or age group. String.</li>\n<li>phone: Phone number. String.</li>\n<li>email: Contact email. String.</li>\n<li>club: Club. String.</li>\n<li>pos_category: Position according to the age group. Number.</li>\n<li>pos_gender: Position by gender. Number.</li>\n<li>pos_general: Overall position. Number.</li>\n<li>time: Time difference from Start time (if any) to Finsh time using relative time of the trial. String.</li>\n<li>real_time: Time difference from Start time (if any) to Finsh time using real time. In most cases it's the same than 'time' field. String.</li>\n<li>rithm: The rithm at the trial. String.</li>\n<li>real_start: If the participant has a Start time, it's the real time at that point. String.</li>\n<li>checkpoints: Array with the data of the checkpoints:<ul>\n<li>name: Name of the checkpoint. String.</li>\n<li>time: Time of the participant at that checkpoint relative to trial time. String.</li>\n<li>hour: Time of the participant at that checkpoint in real time. String.</li>\n<li>pos_general: General position at this checkpoint. Number.</li>\n<li>pos_category: Position by category at this checkpoint. Number.</li>\n</ul>\n</li>\n<li>city: City of the participant. String.</li>\n<li>country: Country of the participant. If the name of the country is set in english or using it's corresponding ISO code the flag will be shown at event app's results for that event. String.</li>\n</ul>\n</li>\n</ul>\n</li>\n<li>last_update_results: ISO date and time of the upload time.</li>\n</ul>\n</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK it will return a confirmation message. (200 OK).</li>\n<li>If there are results or start list being published for this event already it will return a conflict message (409 Conflict).</li>\n<li>If no {event_id} is set will return a message with the error. (400 Bad Request).</li>\n<li>If no event is found with that ID it will return a message with the error. (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","results","{event_id}","publish"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"3bee557e-5415-4fc1-a10f-bb94202ba68c","name":"Publish results (Publishing already)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : \"6544578545\",\r\n                    \"email\" : \"somemail@mail.com\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : \"9697454514\",\r\n                    \"email\" : \"fake@mail.com\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 3,\r\n                    \"time\" : \"00:57:58.2\",\r\n                    \"real_time\" : \"00:57:58.2\",\r\n                    \"rithm\" : \"11:35 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:57:58.2\",\r\n                            \"hour\" : \"03:57:58.2 PM\",\r\n                            \"pos_general\" : 2,\r\n                            \"pos_category\" : 2\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 4,\r\n                    \"time\" : \"00:58:00.8\",\r\n                    \"real_time\" : \"00:58:00.8\",\r\n                    \"rithm\" : \"11:36 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:58:00.8\",\r\n                            \"hour\" : \"03:58:00.8 PM\",\r\n                            \"pos_general\" : 3,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : null,\r\n                    \"country\" : null\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"last_update_results\":\"2020-11-20T14:37:55.111Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/results/9F7C5D2898728E71638623C085C15210102B9D805D86D988AEFDAF7B2F7E2D19/publish"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 13 Nov 2020 15:49:03 GMT"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"This event is publishing already.\"\n}"},{"id":"99cab476-3f4d-48e9-82ca-6205605d909e","name":"Publish results (OK)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : \"6544578545\",\r\n                    \"email\" : \"somemail@mail.com\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : \"9697454514\",\r\n                    \"email\" : \"fake@mail.com\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 3,\r\n                    \"time\" : \"00:57:58.2\",\r\n                    \"real_time\" : \"00:57:58.2\",\r\n                    \"rithm\" : \"11:35 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:57:58.2\",\r\n                            \"hour\" : \"03:57:58.2 PM\",\r\n                            \"pos_general\" : 2,\r\n                            \"pos_category\" : 2\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 4,\r\n                    \"time\" : \"00:58:00.8\",\r\n                    \"real_time\" : \"00:58:00.8\",\r\n                    \"rithm\" : \"11:36 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:58:00.8\",\r\n                            \"hour\" : \"03:58:00.8 PM\",\r\n                            \"pos_general\" : 3,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : null,\r\n                    \"country\" : null\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"last_update_results\":\"2020-11-20T14:37:55.111Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/results/9F7C5D2898728E71638623C085C15210102B9D805D86D988AEFDAF7B2F7E2D19/publish"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 13 Nov 2020 14:45:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Published succesfully.\"\n}"},{"id":"a62fc737-d127-418f-a471-ab6227178040","name":"Publish results (Bad Request)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : \"6544578545\",\r\n                    \"email\" : \"somemail@mail.com\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : \"9697454514\",\r\n                    \"email\" : \"fake@mail.com\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 3,\r\n                    \"time\" : \"00:57:58.2\",\r\n                    \"real_time\" : \"00:57:58.2\",\r\n                    \"rithm\" : \"11:35 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:57:58.2\",\r\n                            \"hour\" : \"03:57:58.2 PM\",\r\n                            \"pos_general\" : 2,\r\n                            \"pos_category\" : 2\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 4,\r\n                    \"time\" : \"00:58:00.8\",\r\n                    \"real_time\" : \"00:58:00.8\",\r\n                    \"rithm\" : \"11:36 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:58:00.8\",\r\n                            \"hour\" : \"03:58:00.8 PM\",\r\n                            \"pos_general\" : 3,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : null,\r\n                    \"country\" : null\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"last_update_results\":\"2020-11-20T14:37:55.111Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/results//publish"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 13 Nov 2020 15:49:03 GMT"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Event ID is required.\"\n}"},{"id":"b55552f5-c18f-4789-b3b4-f9e7f9a7d6ce","name":"Publish results (Not Found)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : \"6544578545\",\r\n                    \"email\" : \"somemail@mail.com\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : \"9697454514\",\r\n                    \"email\" : \"fake@mail.com\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 3,\r\n                    \"time\" : \"00:57:58.2\",\r\n                    \"real_time\" : \"00:57:58.2\",\r\n                    \"rithm\" : \"11:35 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:57:58.2\",\r\n                            \"hour\" : \"03:57:58.2 PM\",\r\n                            \"pos_general\" : 2,\r\n                            \"pos_category\" : 2\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 2,\r\n                    \"pos_gender\" : 2,\r\n                    \"pos_general\" : 4,\r\n                    \"time\" : \"00:58:00.8\",\r\n                    \"real_time\" : \"00:58:00.8\",\r\n                    \"rithm\" : \"11:36 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:58:00.8\",\r\n                            \"hour\" : \"03:58:00.8 PM\",\r\n                            \"pos_general\" : 3,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"results\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 1,\r\n                    \"time\" : \"00:13:58.7\",\r\n                    \"real_time\" : \"00:13:58.7\",\r\n                    \"rithm\" : \"02:47 min/Km\",\r\n                    \"real_start\" : \"16:00:48.9\",\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"01:14:47.7\",\r\n                            \"hour\" : \"04:14:47.7 PM\",\r\n                            \"pos_general\" : 12,\r\n                            \"pos_category\" : 8\r\n                        }, \r\n                        {\r\n                            \"name\" : \"Start\",\r\n                            \"time\" : \"01:00:48.9\",\r\n                            \"hour\" : \"04:00:48.9 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : null,\r\n                    \"country\" : null\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"phone\" : null,\r\n                    \"email\" : null,\r\n                    \"club\" : null,\r\n                    \"pos_category\" : 1,\r\n                    \"pos_gender\" : 1,\r\n                    \"pos_general\" : 2,\r\n                    \"time\" : \"00:36:29.2\",\r\n                    \"real_time\" : \"00:36:29.2\",\r\n                    \"rithm\" : \"07:17 min/Km\",\r\n                    \"real_start\" : null,\r\n                    \"checkpoints\" : [ \r\n                        {\r\n                            \"name\" : \"Finish\",\r\n                            \"time\" : \"00:36:29.2\",\r\n                            \"hour\" : \"03:36:29.2 PM\",\r\n                            \"pos_general\" : 1,\r\n                            \"pos_category\" : 1\r\n                        }\r\n                    ],\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"last_update_results\":\"2020-11-20T14:37:55.111Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/results/9F7C5D2898728E71638623C085C15210102B9D805D86D988AEFDAF7B2F7E2D19/publish"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 13 Nov 2020 15:48:22 GMT"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"No event with this id has been found.\"\n}"}],"_postman_id":"0a6511da-1a4e-452d-bbc1-64f46223dfcb"}],"id":"103063e1-0dd9-40d8-9502-361c4da1ae13","description":"<p>API call to upload results to a Rufus Cloud event.</p>\n","event":[{"listen":"prerequest","script":{"id":"6da13935-21ed-47a8-9b0f-f7a033471eb6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6aa7f808-9366-460d-a990-a61639eeaac7","type":"text/javascript","exec":[""]}}],"_postman_id":"103063e1-0dd9-40d8-9502-361c4da1ae13"},{"name":"Participants","item":[{"name":"Publish participants","id":"791c0d2a-c2da-4ed6-87f7-c6a50abf15dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel\",\r\n                    \"participant_lastname\": \"MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali\",\r\n                    \"participant_lastname\": \"MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1981\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio\",\r\n                    \"participant_lastname\": \"FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1996\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/participants/{event_id}/publish","description":"<p>Uploads a start list for each trial to a Rufus Cloud event by it's ID. Note that the event must be created previously. Keep in mind that if the event contains a previous start list the full list must be included anyway since the old one will be overwritten.</p>\n<p>Input data:</p>\n<ul>\n<li>{event_id}: The ID of the event.</li>\n<li>The JSON structure through the body contaning the data of the event's trials and their start list.<ul>\n<li>trials: Array containing the trials. Each trial has the following data:<ul>\n<li>name: Name of the trial.</li>\n<li>partitipants: Array of the start list data of each participant within them. Each participant has the following data:<ul>\n<li>participant_id: The Bib of the participant. String.</li>\n<li>participant_name: Name of the participant. String.</li>\n<li>participant_lastname: Lastname of the participant. String.</li>\n<li>gender: Gender of the participant. M= Male, F= Female. String.</li>\n<li>category: Category or age group. String.</li>\n<li>yob: Year of birth. String.</li>\n<li>club: Club. String.</li>\n<li>city: City of the participant. String.</li>\n<li>country: Country of the participant. If the name of the country is set in english or using it's corresponding ISO code the flag will be shown at the event app's start list for that event. String.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>Output:</p>\n<ul>\n<li>If everything is OK it will return a confirmation message. (200 OK).</li>\n<li>If there are results or start list being published for this event already it will return a conflict message (409 Conflict).</li>\n<li>If no {event_id} is set will return a message with the error. (400 Bad Request).</li>\n<li>If no event is found with that ID it will return a message with the error. (404 Not Found).</li>\n</ul>\n","urlObject":{"protocol":"https","port":"44333","path":["v1","participants","{event_id}","publish"],"host":["api","runonrufus","com"],"query":[],"variable":[]}},"response":[{"id":"988d7bb8-d03e-4fa9-9560-79fe1463ba89","name":"Publish participants (OK)","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel\",\r\n                    \"participant_lastname\": \"MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali\",\r\n                    \"participant_lastname\": \"MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1981\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio\",\r\n                    \"participant_lastname\": \"FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1996\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/participants/9F7C5D2898728E71638623C085C15210102B9D805D86D988AEFDAF7B2F7E2D19/publish"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Fri, 20 Nov 2020 14:14:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Published succesfully\"\n}"},{"id":"eadd433f-6d40-4955-9ade-07552c2faa5b","name":"Publish participants (Publishing already)","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel\",\r\n                    \"participant_lastname\": \"MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali\",\r\n                    \"participant_lastname\": \"MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1981\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio\",\r\n                    \"participant_lastname\": \"FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1996\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/participants/9F7C5D2898728E71638623C085C152B9D805D86D988AEFDAF7B2F7E2D19/publish"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 23 Nov 2020 09:57:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"This event is publishing already.\"\n}"},{"id":"f40cf9a8-99e5-4240-8f90-c8e0f34d1fb4","name":"Publish participants (Not Found)","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel\",\r\n                    \"participant_lastname\": \"MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali\",\r\n                    \"participant_lastname\": \"MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1981\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio\",\r\n                    \"participant_lastname\": \"FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1996\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/participants/9F7C5D2898728E71638623C085C152B9D805D86D988AEFDAF7B2F7E2D19/publish"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 23 Nov 2020 09:57:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"No event with this id has been found.\"\n}"},{"id":"f940aeb9-190d-4118-b85d-09ff02c3ba2f","name":"Publish participants (Bad Request)","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"trials\" : [ \r\n        {\r\n            \"name\" : \"5K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel\",\r\n                    \"participant_lastname\": \"MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : \"Runners Club\",\r\n                    \"city\" : \"Sant Andreu de la Barca\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Run 4 Legs\",\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"48\",\r\n                    \"participant_name\" : \"Fernanda Natali\",\r\n                    \"participant_lastname\": \"MARTIN\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1981\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Barcelona\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"46\",\r\n                    \"participant_name\" : \"Luis Ignacio\",\r\n                    \"participant_lastname\": \"FERREYRA\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1985\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Madrid\",\r\n                    \"country\" : \"es\"\r\n                }\r\n        \r\n            ]\r\n        },\r\n        {\r\n            \"name\" : \"10K\",\r\n            \"participants\" : [ \r\n                {\r\n                    \"participant_id\" : \"2230\",\r\n                    \"participant_name\" : \"Matias Ariel MILITO\",\r\n                    \"gender\" : \"M\",\r\n                    \"category\" : \"GENERAL Masculino\",\r\n                    \"yob\" : \"1990\",\r\n                    \"club\" : \"Rocky Club\",\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }, \r\n                {\r\n                    \"participant_id\" : \"1\",\r\n                    \"participant_name\" : \"Monica Adriana\",\r\n                    \"participant_lastname\": \"CERVERA\",\r\n                    \"gender\" : \"F\",\r\n                    \"category\" : \"GENERAL Femenino\",\r\n                    \"yob\" : \"1996\",\r\n                    \"club\" : null,\r\n                    \"city\" : \"Rubi\",\r\n                    \"country\" : \"es\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.runonrufus.com:44333/v1/participants//publish"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Accept"},{"key":"Access-Control-Allow-Methods","value":"POST,GET,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Mon, 23 Nov 2020 09:57:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"description\": \"Event ID is required.\"\n}"}],"_postman_id":"791c0d2a-c2da-4ed6-87f7-c6a50abf15dd"}],"id":"1035d8de-b7df-4941-b75c-d7bfcba5a6f1","description":"<p>API call to upload participants to a Rufus Cloud event.</p>\n","event":[{"listen":"prerequest","script":{"id":"5a02e5c3-ea17-4d5b-bb41-280b0347a3c2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3e0179cf-1983-4379-b0ec-3b1190446e93","type":"text/javascript","exec":[""]}}],"_postman_id":"1035d8de-b7df-4941-b75c-d7bfcba5a6f1"}],"event":[{"listen":"prerequest","script":{"id":"dd635861-3bad-477c-8e37-49a6b308e70a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4195bc4f-8de3-4ce9-9b85-a4ddd9d36dd1","type":"text/javascript","exec":[""]}}],"variable":[{"key":"url","value":"https://stage.api.runonrufus.com:44333"}]}