{"info":{"_postman_id":"887d1fac-e3c2-469c-a1c8-f8648e752021","name":"API RIYO Documentation","description":"<html><head></head><body><p>RIYO API  allows you to extend the features of Riyo to suit your business requirements.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5880602","collectionId":"887d1fac-e3c2-469c-a1c8-f8648e752021","publishedId":"T1LTdj6A","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-09-09T12:09:25.000Z"},"item":[{"name":"Authentication","item":[{"name":"Get Access Token","id":"f3b9ca69-3233-4eb6-9d52-d04f2535bb28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{pvt_key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{endpoint}}/token","description":"<p>Creates a new access token for enable using the other functions in the RIYO sdk</p>\n","urlObject":{"path":["token"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"d6e71064-a137-4ae4-a684-3daf8938ccf2","name":"Get Access Token","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"376-m0dQOL7VajbFiWDp5YzDlpWNdkY\""},{"key":"Function-Execution-Id","value":"w8th4lrvc2ao"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Cloud-Trace-Context","value":"6a59363a9d24cb8c78183ec26aa4e3b3;o=1"},{"key":"Date","value":"Thu, 20 Aug 2020 02:53:19 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"886"},{"key":"Alt-Svc","value":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImlhdCI6MTU5Nzg5MTk5OSwiZXhwIjoxNTk3ODk1NTk5LCJpc3MiOiJmaXJlYmFzZS1hZG1pbnNkay02ODk2NEByaXlvLWRldi1hdS5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLTY4OTY0QHJpeW8tZGV2LWF1LmlhbS5nc2VydmljZWFjY291bnQuY29tIiwidWlkIjoiVVVNN0V4NnVPVGQ1UmZEcGlqZXZqM09vZkJoMiIsImNsYWltcyI6eyJvcmdfaWQiOiIyMGQ4N2RjOS1mNDEzLTQ1ZDctYWY0NS1kZDRlMWRiMzFhMjIifX0.IlvYPdJ8h5Rg_FtZ-XcyvioVgsakTBYO5ZuSEEmAfYg78lW6hV1vfuxoOlbAby779r9_o8tQzHCiifPNNjdv4ibwXLrIYS9IlBWZAzIX0mpMO9WrKRTNilYIZH_O7lMHgeJ4Nez59QN-TsEpdhsGNnlzIu_gsn0rlzUo2FmTSteSaK5FeLwwkvice4DI0dcpSB2YwSynxms-4jmKUAOMQxJCFUt2IDgCrUDK-8HpqT-M2djA3oe_w1xf6oSYeuT4Tsca2UWpjTUPg0jIyYW_BLQ7aXpBY7VuXQFRL6e3C_w8z--AaaFvFg2uAXCKkDWycB-ltKDsJcQOrdjR8JDsgA\"\n}"}],"_postman_id":"f3b9ca69-3233-4eb6-9d52-d04f2535bb28"}],"id":"3dae71a4-c586-4489-8715-7e6a382dd190","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{pvt_key}}"}]},"isInherited":false},"_postman_id":"3dae71a4-c586-4489-8715-7e6a382dd190","description":""},{"name":"Configurations","item":[{"name":"Label","id":"a5c79316-f6a1-4350-9802-0dfe9f81e6d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \"Description\":  \"English\",\n    \"Inactive\":   false,\n    \"Code\":\t \"eng\"\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/label","description":"<p>This endpoint creates a label which can be associated with a booking. Labels are attributes which provides specificity to a booking created in RIYO. example of labels could be language preference, gender preference etc which caters to the specific industry requirements </p>\n","urlObject":{"path":["label"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5c79316-f6a1-4350-9802-0dfe9f81e6d8"},{"name":"Form","id":"282d6d4a-e30e-4430-a192-f246e397a271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \"Formschema\":\"{'Bank Depost Form':{'elements':{'q000120':{'name':'q000120','type':'singleselect','label':'What are you despositing?','options':'Cash;Cheque','recordType':'many','permissions':'write','saveToField':'questionnaire'},'q000240':{'name':'q000240','type':'textfield','label':'Any Comments','options':'','recordType':'many','permissions':'write','saveToField':'questionnaire'}},'setting':{'count':2,'parent':'root'}},'group':{'elements':{'name':{'name':'name','type':'type','label':'label','options':'Options','recordType':'record_type','permissions':'permissions','saveToField':'mapto'}},'setting':{'count':1,'parent':'parent_group'}}}\",\n    \"Inactive\":   false,\n    \"Code\":\t \"form 0001\",\n    \"Services\":[\"eng\"]\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/form","description":"<p>This endpoint creates a form which can be associated with a booking. Form can be customised and associated dynamically to the booking by services, preferences, segments and resource groups associated with a booking.</p>\n","urlObject":{"path":["form"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"282d6d4a-e30e-4430-a192-f246e397a271"},{"name":"Certificate","id":"5eef0158-085d-453e-8f9e-3a9cabea89b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \"Description\":  \"Certificate III\",\n    \"Inactive\":   false,\n    \"Code\":\t \"cert3\"\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/certificate","description":"<p>This endpoint creates a certificate which can be associated with a booking. Certificate attributes provides specificity to a booking created in RIYO.</p>\n","urlObject":{"path":["certificate"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5eef0158-085d-453e-8f9e-3a9cabea89b6"},{"name":"Group","id":"51789882-5416-419b-ac44-286bd55863c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \"Description\":  \"Plumbers\",\n    \"Inactive\":   false,\n    \"Code\":\t \"plumbers\"\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/group","description":"<p>This endpoint creates a group which can be associated with a booking. Group attributes provides specificity to a booking created in RIYO.</p>\n","urlObject":{"path":["group"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"51789882-5416-419b-ac44-286bd55863c1"},{"name":"Segment","id":"db7faf72-2acf-40fc-b377-c474d056bc69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \"Description\":  \"Sydney Area\",\n    \"Inactive\":   false,\n    \"Code\":\t \"sydarea\"\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/group","description":"<p>This endpoint creates a segments which can be associated with a booking. Segments attributes are grouping of users by area or location which provides specificity to a booking created in RIYO.</p>\n","urlObject":{"path":["group"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"db7faf72-2acf-40fc-b377-c474d056bc69"},{"name":"Service","id":"6c3dd2c8-7e4b-4926-83c2-405d376e1068","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \"Description\":  \"Maintenance\",\n    \"Inactive\":   false,\n    \"Code\":\t \"maintenance\"\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/group","description":"<p>This endpoint creates a services which can be associated with a booking. Services attributes are services on the booking which provides specificity to a booking created in RIYO.</p>\n","urlObject":{"path":["group"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c3dd2c8-7e4b-4926-83c2-405d376e1068"},{"name":"Task","id":"05c2f206-a027-494f-a908-3b35e0a2c901","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \"Description\":  \"Plumbers\",\n    \"Inactive\":   false,\n    \"Code\":\t \"plumbers\"\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/group","description":"<p>This endpoint creates a task which can be associated with a booking. Task can be specific actions that needs to be completed in a booking.</p>\n","urlObject":{"path":["group"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"05c2f206-a027-494f-a908-3b35e0a2c901"}],"id":"c92d86f3-b04b-4b1e-95a3-01d6259c6b23","event":[{"listen":"prerequest","script":{"id":"9c6a1011-0332-48ca-a4f0-3182703fbec3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9c4a9d3d-7845-40a4-8fbd-7a31686685a3","type":"text/javascript","exec":[""]}}],"_postman_id":"c92d86f3-b04b-4b1e-95a3-01d6259c6b23","description":""},{"name":"Entities","item":[{"name":"Resource","id":"be5ac6ff-c932-40b3-a314-fdb0d94109d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"ContactMethod\": \"email\",\n  \"EmpID\": \"res0007\",\n  \"FirstName\": \"John\",\n  \"LastName\": \"Forest\",\n  \"Mobile\": \"+61312345678\",\n  \"Email\": \"johnforest@jcstest.com.au\",\n  \"AddressLine1\": \"10,Help Street\",\n  \"AddressLine2\": \"\",\n  \"City\": \"Chatswood\",\n  \"State\": \"New South Wales\",\n\n  \"Country\": \"Australia\",\n  \"PostalCode\": \"2067\",\n  \n  \"Certificates\": [\"cert3\"],\n  \"ResourceGroup\": [\"plumbers\"],\n  \"Labels\": [\"eng\"],\n  \"Services\": [\"maintenance\"],\n  \"Segments\": [\"sydarea\"],\n  \"Inactive\":false\n}\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/resource","description":"<p>Allows creating a new resource in RIYO for the associated company. You can associate \"Certificates\",\n  \"Labels\", \"Services\" and \"Segments\" to resource for enabling easy allocation of the resource to the booking</p>\n","urlObject":{"path":["resource"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"be5ac6ff-c932-40b3-a314-fdb0d94109d9"},{"name":"Dispatcher","id":"504fa568-8552-4905-be3e-9dbfd2f6c009","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \t\"EmpID\": \"dispatcher0001\",\n      \"EmpName\": \"Dispatcher Name\",\n      \"Email\": \"dispatcher0001@jcstest.com.au\",\n      \"WorkArea\": \"\",\n      \"Inactive\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/dispatcher","description":"<p>Allows creating a new dispatcher in RIYO for the associated company. Dispatchers can schedule booking, allocate resources to bookings and manage their schedule on a day to day basis</p>\n","urlObject":{"path":["dispatcher"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"504fa568-8552-4905-be3e-9dbfd2f6c009"},{"name":"Customer","id":"25a6b96e-3eaa-48e6-a579-8cf1e2d5c1d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n \n  \"CustNum\": \"cust002\",\n  \"FirstName\": \"Diane\",\n  \"MiddleName\": \"\",\n  \"LastName\": \"Test\",\n  \"Mobile\": \"+61312345678\",\n  \"Email\": \"diane+cust002@gmail.com\",\n  \"AddressLine1\": \"15 Help St\",\n  \"AddressLine2\": \"\",\n  \n  \"City\": \"Chatswood\",\n  \"State\": \"NSW\",\n  \"PostalCode\": \"2067\",\n  \"Country\": \"Australia\",\n  \"ContactMethod\": \"email\",\n  \"Inactive\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/customer","description":"<p>Allows creating a new customer in RIYO which can be then associated to a booking. Customers with contact method like email and phone number allows them to access the booking on their mobile devices and interact with the resource using the communication module in RIYO</p>\n","urlObject":{"path":["customer"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"25a6b96e-3eaa-48e6-a579-8cf1e2d5c1d0"}],"id":"7322d9b3-99c1-4dd5-8710-2f8bffc61f7b","_postman_id":"7322d9b3-99c1-4dd5-8710-2f8bffc61f7b","description":""},{"name":"Booking","item":[{"name":"Get Bookings","id":"3198834b-c9e9-45fc-95d4-62d21b173a66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{endpoint}}/bookings","description":"<p>An example of unsynced bookings in the system which can retrieved for updating a third party solution</p>\n","urlObject":{"path":["bookings"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"fff3dbfb-95b7-4c9a-b614-510fca0834af","name":"Get Bookings","originalRequest":{"method":"GET","header":[],"url":"{{endpoint}}/bookings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"2080-XMHMOPlo74/czVyTyFIZTZOtH2k\""},{"key":"Function-Execution-Id","value":"o7cpvlar6h1n"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Cloud-Trace-Context","value":"d1f0cf3ca2dd79ec66cadfaa1090e447;o=1"},{"key":"Date","value":"Wed, 09 Sep 2020 12:00:04 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"8320"},{"key":"Alt-Svc","value":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Success\",\n    \"more_unsynced\": true,\n    \"data\": [\n        {\n            \"BookingID\": \"29072024\",\n            \"ActualStartDate\": \"2020-7-30\",\n            \"ActualEndDate\": \"2020-9-9\",\n            \"ActualStartTime\": \"22.566\",\n            \"ActualEndTime\": \"12.425\",\n            \"Status\": \"finished\",\n            \"ActualQuantity\": 13.859,\n            \"ResourceID\": [\n                \"dev_res_0002\"\n            ],\n            \"ResourceNames\": [\n                \"Riyo Resource\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0.001,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"dev_res_0002\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0.001\n                }\n            ],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"AreaID\": \"303005\",\n                \"PackageCD\": \"303005\",\n                \"ServicePlanID\": \"09\",\n                \"ServicePlanDtlID\": \"3030025\"\n            }\n        },\n        {\n            \"BookingID\": \"1599108248-riyo\",\n            \"ActualStartDate\": \"2020-9-9\",\n            \"ActualEndDate\": \"2020-9-9\",\n            \"ActualStartTime\": \"12.506\",\n            \"ActualEndTime\": \"12.507\",\n            \"Status\": \"finished\",\n            \"ActualQuantity\": 0.001,\n            \"ResourceID\": [\n                \"dev_res_0002\"\n            ],\n            \"ResourceNames\": [\n                \"Riyo Resource\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"dev_res_0002\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"1599620055-riyo\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"20010\",\n                \"5\"\n            ],\n            \"ResourceNames\": [\n                \"Tommy Williams\",\n                \"Atin  D\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"20010\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                },\n                {\n                    \"ResourceID\": \"5\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"29092023\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [],\n            \"ResourceNames\": [],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"ServicePlanID\": \"09\",\n                \"AreaID\": \"303005\",\n                \"PackageCD\": \"303005\",\n                \"ServicePlanDtlID\": \"3030025\"\n            }\n        },\n        {\n            \"BookingID\": \"29042020\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"5\"\n            ],\n            \"ResourceNames\": [\n                \"Atin  D\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"5\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"AreaID\": \"303005\",\n                \"ServicePlanID\": \"09\",\n                \"PackageCD\": \"303005\",\n                \"ServicePlanDtlID\": \"3030025\"\n            }\n        },\n        {\n            \"BookingID\": \"a-2020-7-5-recur\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"draft\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [],\n            \"ResourceNames\": [],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"29102023\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"20014\"\n            ],\n            \"ResourceNames\": [\n                \"Jack Nicholas\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"20014\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"ServicePlanDtlID\": \"3030025\",\n                \"ServicePlanID\": \"09\",\n                \"PackageCD\": \"303005\",\n                \"AreaID\": \"303005\"\n            }\n        },\n        {\n            \"BookingID\": \"GHI-2020-7-16-recur\",\n            \"ActualStartDate\": \"2020-9-9\",\n            \"ActualEndDate\": \"2020-9-9\",\n            \"ActualStartTime\": \"12.534\",\n            \"ActualEndTime\": \"12.534\",\n            \"Status\": \"finished\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"dev_res_0002\"\n            ],\n            \"ResourceNames\": [\n                \"Riyo Resource\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"dev_res_0002\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"29092011\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"5\"\n            ],\n            \"ResourceNames\": [\n                \"Atin  D\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"5\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"ServicePlanID\": \"09\",\n                \"AreaID\": \"303005\",\n                \"PackageCD\": \"303005\",\n                \"ServicePlanDtlID\": \"3030025\"\n            }\n        },\n        {\n            \"BookingID\": \"29052033\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"20014\"\n            ],\n            \"ResourceNames\": [\n                \"Jack Nicholas\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"20014\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"PackageCD\": \"103002\",\n                \"ServicePlanDtlID\": \"103002\",\n                \"AreaID\": \"103002\",\n                \"ServicePlanID\": \"103002\"\n            }\n        },\n        {\n            \"BookingID\": \"29062013\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"5\"\n            ],\n            \"ResourceNames\": [\n                \"Atin  D\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"5\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"PackageCD\": \"303005\",\n                \"ServicePlanDtlID\": \"3030025\",\n                \"ServicePlanID\": \"09\",\n                \"AreaID\": \"303005\"\n            }\n        },\n        {\n            \"BookingID\": \"online-1596675488\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"draft\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [],\n            \"ResourceNames\": [],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"29052023\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"20010\"\n            ],\n            \"ResourceNames\": [\n                \"Tommy Williams\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"20010\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"PackageCD\": \"303005\",\n                \"AreaID\": \"303005\",\n                \"ServicePlanID\": \"09\",\n                \"ServicePlanDtlID\": \"3030025\"\n            }\n        },\n        {\n            \"BookingID\": \"1597053455-riyo\",\n            \"ActualStartDate\": \"2020-8-13\",\n            \"ActualEndDate\": \"2020-8-13\",\n            \"ActualStartTime\": \"12.659\",\n            \"ActualEndTime\": \"12.660\",\n            \"Status\": \"finished\",\n            \"ActualQuantity\": 0.001,\n            \"ResourceID\": [\n                \"5\"\n            ],\n            \"ResourceNames\": [\n                \"Atin  D\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0.002,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"5\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0.002\n                }\n            ],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"1599619137-riyo\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"20010\"\n            ],\n            \"ResourceNames\": [\n                \"Tommy Williams\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"20010\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false\n        },\n        {\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"draft\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [],\n            \"ResourceNames\": [],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"online-1596673770\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"1594958380\"\n            ],\n            \"ResourceNames\": [\n                \"Rory Hughes\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"1594958380\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"online-1597313685\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"draft\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [],\n            \"ResourceNames\": [],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [],\n            \"Inactive\": false\n        },\n        {\n            \"BookingID\": \"29092022\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"confirmed\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"20014\"\n            ],\n            \"ResourceNames\": [\n                \"Jack Nicholas\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"20014\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false,\n            \"external_data\": {\n                \"PackageCD\": \"303005\",\n                \"ServicePlanDtlID\": \"3030025\",\n                \"AreaID\": \"303005\",\n                \"ServicePlanID\": \"09\"\n            }\n        },\n        {\n            \"BookingID\": \"1597707595-riyo\",\n            \"ActualStartDate\": null,\n            \"ActualEndDate\": null,\n            \"ActualStartTime\": \"0.000\",\n            \"ActualEndTime\": \"0.000\",\n            \"Status\": \"dispatched\",\n            \"ActualQuantity\": 0,\n            \"ResourceID\": [\n                \"dev_res_0002\"\n            ],\n            \"ResourceNames\": [\n                \"Riyo Resource\"\n            ],\n            \"Tasks\": [],\n            \"TotalMileage\": 0,\n            \"JobMileage\": 0,\n            \"TravelTime\": 0,\n            \"TimeEntries\": [\n                {\n                    \"ResourceID\": \"dev_res_0002\",\n                    \"TotalMileage\": 0,\n                    \"JobMileage\": 0,\n                    \"TravelTime\": 0\n                }\n            ],\n            \"Inactive\": false\n        }\n    ]\n}"}],"_postman_id":"3198834b-c9e9-45fc-95d4-62d21b173a66"},{"name":"Get Booking Detail","id":"41eda8bd-d323-4031-a639-24f2125ef62b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{endpoint}}/booking/:bookingId","description":"<p>Get Booking detail as inbound from RIYO</p>\n","urlObject":{"path":["booking",":bookingId"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"Port Macquarie Experience - 2407","key":"bookingId"}]}},"response":[{"id":"0a7e333d-c1b3-4c66-ac16-307ae2b01d0a","name":"Get Booking Detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/booking/:bookingId","host":["{{endpoint}}"],"path":["booking",":bookingId"],"variable":[{"key":"bookingId","value":"Port Macquarie Experience - 2407"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"179-TZKe0beamwfkItQbhHzAapBgV3Y\""},{"key":"Function-Execution-Id","value":"lj08lvupgrfu"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Cloud-Trace-Context","value":"8035f862ea67c5bfc1499bad0add5b44;o=1"},{"key":"Date","value":"Wed, 09 Sep 2020 12:00:50 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"377"},{"key":"Alt-Svc","value":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Success\",\n    \"data\": {\n        \"BookingID\": \"Port Macquarie Experience - 2407\",\n        \"ActualStartDate\": \"2020-9-19\",\n        \"ActualEndDate\": \"2020-9-19\",\n        \"ActualStartTime\": 11.22,\n        \"ActualEndTime\": 12.30,\n        \"Status\": \"confirmed\",\n        \"Notes\": null,\n        \"ActualQuantity\": null,\n        \"ResourceID\": [\n            \"dev_res_0002\"\n        ],\n        \"Tasks\": [],\n        \"TotalMileage\": null,\n        \"JobMileage\": null,\n        \"TravelTime\": null,\n        \"Inactive\": false\n    }\n}"}],"_postman_id":"41eda8bd-d323-4031-a639-24f2125ef62b"},{"name":"Get Booking Feed","id":"e3c6718e-d0ba-46b8-84b9-ab73fb862041","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{endpoint}}/feed/:bookingId","description":"<p>Retireve chats, forms and other details from an existing booking</p>\n","urlObject":{"path":["feed",":bookingId"],"host":["{{endpoint}}"],"query":[],"variable":[{"type":"string","value":"Port Macquarie Experience - 2407","key":"bookingId"}]}},"response":[{"id":"c7e3228a-2fc2-4b49-9096-47c9264fb344","name":"Get Booking Feed","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint}}/feed/:bookingId","host":["{{endpoint}}"],"path":["feed",":bookingId"],"variable":[{"key":"bookingId","value":"Port Macquarie Experience - 2407"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"43d-bD95dZ89RJQsrhrqsCEGNtVttW8\""},{"key":"Function-Execution-Id","value":"lj08frfgz0fj"},{"key":"Vary","value":"Origin"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Cloud-Trace-Context","value":"5aee25ba2a93e039d95c506ed0090065;o=1"},{"key":"Date","value":"Wed, 09 Sep 2020 12:01:08 GMT"},{"key":"Server","value":"Google Frontend"},{"key":"Content-Length","value":"1085"},{"key":"Alt-Svc","value":"h3-29=\":443\"; ma=2592000,h3-27=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Success\",\n    \"data\": [\n        {\n            \"BookingID\": \"Port Macquarie Experience - 2407\",\n            \"chats\": [\n                {\n                    \"type\": \"messaged\",\n                    \"created\": \"Fri Jul 24 2020\",\n                    \"MessageText\": \"Would need s -- Riyo Client\",\n                    \"FileData\": \"\",\n                    \"MessageBy\": \"SP\",\n                    \"CustNum\": [],\n                    \"EmpID\": [\n                        \"dev_res_0002\"\n                    ],\n                    \"FormID\": \"\",\n                    \"FormName\": \"\"\n                },\n                {\n                    \"type\": \"form\",\n                    \"created\": \"Fri Jul 24 2020\",\n                    \"MessageText\": \"form saved - Indemnity Form\",\n                    \"FileData\": \"https://filelink\",\n                    \"MessageBy\": \"SP\",\n                    \"CustNum\": [],\n                    \"EmpID\": [\n                        \"dev_res_0002\"\n                    ],\n                    \"FormID\": \"Indemnity Form\",\n                    \"FormName\": \"Indemnity Form\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"e3c6718e-d0ba-46b8-84b9-ab73fb862041"},{"name":"Booking with existing customers","id":"a11d73ae-9241-48a8-be7e-317bd2a8b402","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n  \"Duration\": 60,\n \n  \"CreateDate\": \"25/08/2020 12:00:00 AM\",\n  \"EmployeeName\": \"Riyo\",\n  \"CreatedBy\":\"Riyo\",\n\n\n  \"CallerName\":\"\",\n  \"CallerPhoneNo\":\"\",\n  \"CallerEmail\":\"\",\n\n  \"CustNum\": [\"cust002\"],\n \n  \"Tolerance\": 120,\n  \"JobNo\": \"29112031\",\n  \"TaskNo\": \"riyo\",\n  \n \n  \"Priority\": \"8\",\n  \"MustStartBy\": \"30/11/2020 3:00:00 PM\",\n  \"MustFinishBy\": \"30/11/2020 4:00:00 PM\",\n  \"WorkCompleteTime\": \"30/11/2020 4:00:00 PM\",\n  \n  \n\n  \n  \"AddressLine1\": \"Level 6/10 Help St\",\n  \"AddressLine2\": \"\",\n  \"City\": \"Chatswood\",\n  \"State\": \"NSW\",\n  \"PostalCode\": \"2067\",\n  \"Country\": \"Australia\",\n  \"Contractor\": \"Riyo\",\n  \"Department\": \"Riyo\",\n  \n  \"Category\": [\"sydarea\"],\n  \"Class\": [\"plumbers\"],\n  \"Type\": [\"cert3\"],\n  \"Tasks\": [],\n  \"CCT\":[],\n \n\n  \"JobStatus\" :\"draft\",\n\n  \"TaskStory\": \" \",\n  \"ProblemDetail\": \"\",\n  \"TaskDetail\": \"det lots of lorem ipsum\",\n  \"Notes\": \"-\",\n\n\n  \"PrimaryAllocateeList\":[\"res0007\"]\n\n \n}\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/booking","description":"<p>An example of bookings where its possible to associated more than one customer on a single booking</p>\n","urlObject":{"path":["booking"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a11d73ae-9241-48a8-be7e-317bd2a8b402"},{"name":"Booking with new customer","id":"4f4944f5-70eb-4452-866f-b2512a773190","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n  \"Duration\": 60,\n \n  \"CreateDate\": \"25/08/2020 12:00:00 AM\",\n  \"EmployeeName\": \"Riyo\",\n  \"CreatedBy\":\"Riyo\",\n\n\n  \"CallerName\":\"Gemini\",\n  \"CallerPhoneNo\":\"\",\n  \"CallerEmail\":\"gemini@jcstest.com.au\",\n\n  \n  \"CustNum\": [],\n  \"Tolerance\": 120,\n  \"JobNo\": \"29112030\",\n  \"TaskNo\": \"000001\",\n  \n \n  \"Priority\": \"8\",\n  \"MustStartBy\": \"30/08/2020 3:00:00 PM\",\n  \"MustFinishBy\": \"30/08/2020 4:00:00 PM\",\n  \"WorkCompleteTime\": \"30/08/2020 4:00:00 PM\",\n  \n  \n\n  \n  \"AddressLine1\": \"Level 6/10 Help St\",\n  \"AddressLine2\": \"\",\n  \"City\": \"Chatswood\",\n  \"State\": \"NSW\",\n  \"PostalCode\": \"2067\",\n  \"Country\": \"Australia\",\n  \"Contractor\": \"Riyo\",\n  \"Department\": \"Riyo\",\n  \n  \"Category\": [\"sydarea\"],\n  \"Class\": [\"plumbers\"],\n  \"Type\": [\"cert3\"],\n  \"Tasks\": [],\n  \"CCT\":[],\n \n\n  \"JobStatus\" :\"draft\",\n\n  \"TaskStory\": \" \",\n  \"ProblemDetail\": \"\",\n  \"TaskDetail\": \"det lots of lorem ipsum\",\n  \"Notes\": \"-\",\n\n\n  \"PrimaryAllocateeList\":[\"res0007\"]\n\n \n}\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/booking","description":"<p>An example of a booking with a new customer created with the booking</p>\n","urlObject":{"path":["booking"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f4944f5-70eb-4452-866f-b2512a773190"},{"name":"Confirmed Booking","id":"34a7da7c-2ffd-4d83-bca3-ecdabcfde53c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n  \"Duration\": 60,\n \n  \"CreateDate\": \"25/08/2020 12:00:00 AM\",\n  \"EmployeeName\": \"Riyo\",\n  \"CreatedBy\":\"Riyo\",\n\n\n  \"CallerName\":\"\",\n  \"CallerPhoneNo\":\"\",\n  \"CallerEmail\":\"\",\n\n  \"CustNum\": [\"cust002\"],\n \n  \"Tolerance\": 120,\n  \"JobNo\": \"29112032\",\n  \"TaskNo\": \"riyo\",\n  \n \n  \"Priority\": \"8\",\n  \"MustStartBy\": \"30/11/2020 3:00:00 PM\",\n  \"MustFinishBy\": \"30/11/2020 4:00:00 PM\",\n  \"WorkCompleteTime\": \"30/11/2020 4:00:00 PM\",\n  \n  \n\n  \n  \"AddressLine1\": \"Level 6/10 Help St\",\n  \"AddressLine2\": \"\",\n  \"City\": \"Chatswood\",\n  \"State\": \"NSW\",\n  \"PostalCode\": \"2067\",\n  \"Country\": \"Australia\",\n  \"Contractor\": \"Riyo\",\n  \"Department\": \"Riyo\",\n  \n  \"Category\": [\"sydarea\"],\n  \"Class\": [\"plumbers\"],\n  \"Type\": [\"cert3\"],\n  \"Tasks\": [],\n  \"CCT\":[],\n \n  \"ConfirmedResources\":[\"res0007\"],\n  \"JobStatus\" :\"confirmed\",\n\n  \"TaskStory\": \" \",\n  \"ProblemDetail\": \"\",\n  \"TaskDetail\": \"det lots of lorem ipsum\",\n  \"Notes\": \"-\",\n\n\n  \"PrimaryAllocateeList\":[\"res0007\"]\n\n \n}\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/booking","description":"<p>API allows for use cases where bookings have to be directly be confirmed with resources. This payload shows an example of how to directly allocate resources to creating bookings</p>\n","urlObject":{"path":["booking"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"34a7da7c-2ffd-4d83-bca3-ecdabcfde53c"}],"id":"3fbbfd51-7e3b-4b85-aa01-4b2777d2fb66","description":"<p>API to add a booking into riyo</p>\n","event":[{"listen":"prerequest","script":{"id":"0fe032d1-c9d1-400b-918b-145e6b15f76e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bf0af67d-82d2-41e3-a2a0-3dbd7229751e","type":"text/javascript","exec":[""]}}],"_postman_id":"3fbbfd51-7e3b-4b85-aa01-4b2777d2fb66"},{"name":"Resource Operations","item":[{"name":"Leave","id":"f9ba721c-b04b-436c-b1ab-890eaf9b279a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \n    \t\"EmpID\": [\"res0007\"],\n        \"LeaveStartDate\": \"2020-08-12\",\n        \"LeaveEndDate\":  \"2020-08-13\",\n        \"LeaveType\": \"Annual\",\n        \"LeaveComments\": \"Annual Paid Leave\",\n        \"EmpLeaveID\": \"tst_leave_res_001\"\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/leave","description":"<p>This endpoint creates a label which can be associated with a booking. Labels are attributes which provides specificity to a booking created in RIYO. example of labels could be language preference, gender preference etc which caters to the specific industry requirements </p>\n","urlObject":{"path":["leave"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9ba721c-b04b-436c-b1ab-890eaf9b279a"}],"id":"e82fd6ba-e47a-4ef5-a6b5-7ce37e6cf712","_postman_id":"e82fd6ba-e47a-4ef5-a6b5-7ce37e6cf712","description":""}],"event":[{"listen":"prerequest","script":{"id":"55c6b9b4-74e1-4986-b767-fe8fda4e80b4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"219882c3-6ef6-4425-ab3e-35a108a58431","type":"text/javascript","exec":[""]}}]}