{"info":{"_postman_id":"3656728a-37f0-4737-8048-87457113ef3b","name":"HirePOS API","description":"<html><head></head><body><p>The HirePOS API (Application Programming Interface) enables your application to communicate directly with HirePOS to perform common tasks such as adding a new website booking without the need for any manual data entry or human intervention. Our API provides an easy HTTP interface to HirePOS functionality.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8454853","collectionId":"3656728a-37f0-4737-8048-87457113ef3b","publishedId":"SVfUqRVJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-09-04T01:51:50.000Z"},"item":[{"name":"Create Website Booking","id":"87ccaf18-fc33-46dd-a2b4-01ec9fa02fdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"AuthKey","value":"{{AuthKey}}","type":"text"},{"key":"AuthSecret","value":"{{AuthSecret}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"BookingDate\": \"2019-09-20T08:00:00\", \r\n\t\"EstDateFrom\": \"2019-09-21T16:30:00\",\r\n\t\"EstDateTo\": \"2019-09-22T16:30:00\",\r\n\t\"Company\": \"AnyDay Hire\",\r\n\t\"FirstName\": \"John\", \r\n\t\"LastName\": \"Smith\",\r\n\t\"AddressLine1\": \"Unit 1\",\r\n\t\"AddressLine2\": \"10 Any Street\",\r\n\t\"City\": \"Any City\",\r\n\t\"State\": \"QLD\",\r\n\t\"Postcode\": \"4870\",\r\n\t\"Country\": \"Australia\",\r\n\t\"Phone1\": \"07 1000 0000\",\r\n\t\"Phone2\": \"\",\r\n\t\"Phone3\": \"\",\r\n\t\"Fax\": \"\",\r\n\t\"Email\": \"api@hirepos.com.au\",\r\n\t\"EventName\": \"\",\r\n\t\"DeliveryAddressLine1\": \"Unit 1\",\r\n\t\"DeliveryAddressLine2\": \"10 Any Street\",\r\n\t\"DeliveryCity\": \"Any City\",\r\n\t\"DeliveryState\": \"QLD\",\r\n\t\"Comments\": \"Please call an hour before delivery.\", \r\n\t\"Items\": [{\"Code\": \"H1\", \"Quantity\": 1}, {\"Code\": \"H2\", \"Quantity\": 1}, {\"Code\": \"M1\", \"Quantity\": 4}]\r\n}"},"url":"https://hirepos-api.azurewebsites.net/WebsiteBookings","description":"<p>Creates a new Website Booking in the HirePOS Online Store system.  End user is notified via Online Store button in main screen of HirePOS.  Website Booking is accepted and a new Booking is automatically generated in HirePOS.</p>\n","urlObject":{"protocol":"https","path":["WebsiteBookings"],"host":["hirepos-api","azurewebsites","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"87ccaf18-fc33-46dd-a2b4-01ec9fa02fdb"},{"name":"Get Website Booking","id":"05925c51-76a0-4e7a-90e2-818e0f7b6aa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"AuthKey","value":"{{AuthKey}}","type":"text"},{"key":"AuthSecret","value":"{{AuthSecret}}","type":"text"}],"url":"https://hirepos-api.azurewebsites.net/WebsiteBookings?Id={{Id}}","description":"<p>Get details of Website Booking previously submitted.</p>\n","urlObject":{"protocol":"https","path":["WebsiteBookings"],"host":["hirepos-api","azurewebsites","net"],"query":[{"key":"Id","value":"{{Id}}"}],"variable":[]}},"response":[],"_postman_id":"05925c51-76a0-4e7a-90e2-818e0f7b6aa9"},{"name":"Get Items","id":"33f5c3db-94d7-4a2e-8bc7-3d0f4578b87e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"AuthKey","value":"{{AuthKey}}","type":"text"},{"key":"AuthSecret","value":"{{AuthSecret}}","type":"text"}],"url":"https://hirepos-api.azurewebsites.net/Items","description":"<p>Gets list of top 100 Items recently created or updated in HirePOS.</p>\n","urlObject":{"protocol":"https","path":["Items"],"host":["hirepos-api","azurewebsites","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"33f5c3db-94d7-4a2e-8bc7-3d0f4578b87e"},{"name":"AutoCalc","id":"40bd3766-ace1-4f9a-8920-737e23a623bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"DateFrom\": \"3/09/2019\",\n    \"DateTo\": \"10/09/2019\",\n    \"Lines\": [\n        {\n            \"RowIndex\": \"0\",\n            \"Quantity\": 1,\n            \"Multiple\": \"1\",\n            \"WebsiteCode\": \"PKG-1\"\n        },\n        {\n            \"RowIndex\": \"1\",\n            \"Quantity\": 1,\n            \"Multiple\": \"1\",\n            \"WebsiteCode\": \"H1\"\n        }\n    ]\n}"},"url":"https://hirepos-api.azurewebsites.net/AutoCalc?StoreKey={{StoreKey}}","description":"<p>Autocalculates booking line quantity of units and line total based on hire period.</p>\n","urlObject":{"protocol":"https","path":["AutoCalc"],"host":["hirepos-api","azurewebsites","net"],"query":[{"key":"StoreKey","value":"{{StoreKey}}"}],"variable":[]}},"response":[],"_postman_id":"40bd3766-ace1-4f9a-8920-737e23a623bc"}]}