{"info":{"_postman_id":"aec628f0-cb3d-467c-9072-8e1faad134c6","name":"DeliveryEase","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"37019895","collectionId":"aec628f0-cb3d-467c-9072-8e1faad134c6","publishedId":"2sA3kRHNns","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"ec520b"},"publishDate":"2024-07-16T16:03:06.000Z"},"item":[{"name":"Auth","item":[{"name":"Login","id":"38dd3f07-62f4-4ca7-bdd4-d84d1be57bdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"username@example.com\",\r\n  \"password\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prod-api.deliveryease.co/api/Account/Token","description":"<p>The login api returns a bearer token that you'll use in all the APIs</p>\n","urlObject":{"path":["Token"],"host":["https://prod-api.deliveryease.co/api/Account"],"query":[],"variable":[]}},"response":[],"_postman_id":"38dd3f07-62f4-4ca7-bdd4-d84d1be57bdb"}],"id":"441bbd50-0559-4238-85a6-fe951fe430bb","_postman_id":"441bbd50-0559-4238-85a6-fe951fe430bb","description":""},{"name":"Patients","item":[{"name":"Add Patient","id":"f1739e9f-e0ed-4039-bd88-f1536d863bc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"string\",\r\n    \"lastName\": \"string\",\r\n    \"email\": \"string\",\r\n    \"phone\": \"string\",\r\n    \"notes\": \"string\",\r\n    \"birthDate\": \"2024-02-15T14:31:20.545Z\",\r\n    \"gender\": \"string\",\r\n    \"authorizedPerson\": [\r\n        \"string\"\r\n    ],\r\n    \"address1\": \"string\",\r\n    \"address2\": \"string\",\r\n    \"city\": \"string\",\r\n    \"country\": \"string\",\r\n    \"state\": \"string\",\r\n    \"zipCode\": \"string\",\r\n    \"buzzCode\": \"string\",\r\n    \"unitNumber\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prod-api.deliveryease.co/api/Patients","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>gender</td>\n<td>string</td>\n<td>Options:  <br />Male  <br />Female  <br />Other</td>\n</tr>\n</tbody>\n</table>\n</div><p>This API returns the patient's Id that you can use in the order creation.</p>\n<p>ex:</p>\n<p>{</p>\n<p>\"Id\": 1</p>\n<p>}</p>\n","urlObject":{"host":["https://prod-api.deliveryease.co/api/Patients"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1739e9f-e0ed-4039-bd88-f1536d863bc3"},{"name":"Get Patients","id":"9e70ac5a-dc9d-4068-b54b-ddacc1edabe9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prod-api.deliveryease.co/api/Patients?pageNumber=1&pageSize=10&sortField=Id&sortOrder=desc","urlObject":{"host":["https://prod-api.deliveryease.co/api/Patients"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"disabled":true,"key":"search","value":null},{"key":"sortField","value":"Id"},{"description":{"content":"<p>asc/desc</p>\n","type":"text/plain"},"key":"sortOrder","value":"desc"}],"variable":[]}},"response":[],"_postman_id":"9e70ac5a-dc9d-4068-b54b-ddacc1edabe9"},{"name":"Edit patient","id":"1de51d02-9029-4d83-90f6-196ea6463540","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"firstName\": \"string\",\r\n  \"lastName\": \"string\",\r\n  \"email\": \"string\",\r\n  \"phone\": \"string\",\r\n  \"notes\": \"string\",\r\n  \"birthDate\": \"2024-02-15T14:31:20.545Z\",\r\n  \"gender\": \"string\", // Options: (Male|Female|Other)\r\n  \"authorizedPerson\": [\r\n    \"string\"\r\n  ],\r\n  \"address1\": \"string\",\r\n  \"address2\": \"string\",\r\n  \"city\": \"string\",\r\n  \"country\": \"string\",\r\n  \"state\": \"string\",\r\n  \"zipCode\": \"string\",\r\n  \"buzzCode\": \"string\",\r\n  \"unitNumber\": \"string\",\r\n  \"lastUpdated\": \"string\" // this field is coming from get patient to ensure the edit isn't done by another user\r\n  }\r\n","options":{"raw":{"language":"json"}}},"url":"https://prod-api.deliveryease.co/api/Patients​/{id}","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>gender</td>\n<td>string</td>\n<td>Options:  <br />Male  <br />Female  <br />Other</td>\n</tr>\n<tr>\n<td>lastUpdated</td>\n<td>datetime</td>\n<td>This field is coming from get patient API to ensure you're the only user making the edit</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{id}"],"host":["https://prod-api.deliveryease.co/api/Patients​"],"query":[],"variable":[]}},"response":[],"_postman_id":"1de51d02-9029-4d83-90f6-196ea6463540"},{"name":"Patient details","id":"8064fd62-1612-40cd-9e72-7e157248eeb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prod-api.deliveryease.co/api/Patients​/{id}","urlObject":{"path":["{id}"],"host":["https://prod-api.deliveryease.co/api/Patients​"],"query":[],"variable":[]}},"response":[],"_postman_id":"8064fd62-1612-40cd-9e72-7e157248eeb8"}],"id":"ab175b1e-cced-4c73-ae6e-785302f292ff","_postman_id":"ab175b1e-cced-4c73-ae6e-785302f292ff","description":""},{"name":"Orders","item":[{"name":"Create order","id":"84ac54ac-b9cb-44b7-ab5b-83a7afad42b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"patientId\": 0,\r\n  \"isDraft\": false,\r\n  \"pickupAppointmentDate\": \"2024-02-15T14:51:19.841Z\",\r\n  \"pickupAppointmentToDate\": \"2024-02-15T14:51:19.841Z\",\r\n  \"carrierId\": 3081,\r\n  \"cod\": 0,\r\n  \"deliveryAppointmentDate\": \"2024-02-15T14:51:19.841Z\",\r\n  \"deliveryAppointmentToDate\": \"2024-02-15T14:51:19.841Z\",\r\n  \"specialRequirements\": [\r\n    \"string\"\r\n  ],\r\n  \"isRecurring\": true,\r\n  \"recurringType\": \"string\", // Options: (Daily, Monthly, Weekly, Bi-Weekly)\r\n  \"recurringFrom\": \"2024-02-15T14:51:19.841Z\",\r\n  \"recurringTo\": \"2024-02-15T14:51:19.841Z\",\r\n  \"isHot\": true,\r\n  \"isTemperatureControlled\": true,\r\n  \"narcotic\":true,\r\n  \"signatureRequired\": true,\r\n  \"rxNumber\": [\"123\", \"456\"],\r\n  \"txNumber\": [\"789\", \"357\"],\r\n  \"notes\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://prod-api.deliveryease.co/api/orders","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th><strong>Type</strong></th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PatientId*</td>\n<td>int</td>\n<td>Patient id: required</td>\n</tr>\n<tr>\n<td>isDraft</td>\n<td>bool</td>\n<td>This value should be always be false</td>\n</tr>\n<tr>\n<td>pickupAppointmentDate*</td>\n<td>datetime</td>\n<td>Pickup window start</td>\n</tr>\n<tr>\n<td>pickupAppointmentToDate*</td>\n<td>datetime</td>\n<td>Pickup window end</td>\n</tr>\n<tr>\n<td>carrierId</td>\n<td>int</td>\n<td>this value should be always 3081</td>\n</tr>\n<tr>\n<td>cod</td>\n<td>decimal</td>\n<td>This is the cash on delivery, leave 0 if not applicable</td>\n</tr>\n<tr>\n<td>deliveryAppointmentDate</td>\n<td>datetime</td>\n<td>Delivery window start</td>\n</tr>\n<tr>\n<td>deliveryAppointmentToDate</td>\n<td>datetime</td>\n<td>Delivery window end</td>\n</tr>\n<tr>\n<td>specialRequirements</td>\n<td>List[string]</td>\n<td>These values should be one of the requirements set under Settings</td>\n</tr>\n<tr>\n<td>notes</td>\n<td>string</td>\n<td>Free field notes</td>\n</tr>\n<tr>\n<td>isRecurring</td>\n<td>bool</td>\n<td>indicates if this order is recurring</td>\n</tr>\n<tr>\n<td>recurringType</td>\n<td>string</td>\n<td>Options:  <br />Daily  <br />Monthly  <br />Weekly  <br />Bi-Weekly</td>\n</tr>\n<tr>\n<td>recurringFrom</td>\n<td>datetime</td>\n<td>The date and time from which recurring orders should start. If this field is left empty, recurring orders will start immediately upon creation</td>\n</tr>\n<tr>\n<td>recurringTo</td>\n<td>datetime</td>\n<td>The date and time at which recurring orders should stop. If this field is left empty, recurring orders will continue indefinitely</td>\n</tr>\n<tr>\n<td>isHot</td>\n<td>bool</td>\n<td>Indicates if the order is priority</td>\n</tr>\n<tr>\n<td>isTemperatureControlled</td>\n<td>bool</td>\n<td>Indicates if the order is temperature controlled</td>\n</tr>\n<tr>\n<td>narcotic</td>\n<td>bool</td>\n<td>Indicates if the order is narcotic</td>\n</tr>\n<tr>\n<td>signatureRequired</td>\n<td>bool</td>\n<td>Indicates if the signature is required upon delivery</td>\n</tr>\n<tr>\n<td>rxNumber</td>\n<td>List[string]</td>\n<td>List of Rx numbers</td>\n</tr>\n<tr>\n<td>txNumber</td>\n<td>List[string]</td>\n<td>List of transactions numbers</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"host":["https://prod-api.deliveryease.co/api/orders"],"query":[],"variable":[]}},"response":[],"_postman_id":"84ac54ac-b9cb-44b7-ab5b-83a7afad42b3"},{"name":"Order details","id":"6762a4e1-8e92-450f-b9ec-5930595f1ef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://prod-api.deliveryease.co/api/Orders/Details/{id}","urlObject":{"path":["Details","{id}"],"host":["https://prod-api.deliveryease.co/api/Orders"],"query":[],"variable":[]}},"response":[],"_postman_id":"6762a4e1-8e92-450f-b9ec-5930595f1ef6"}],"id":"69ed91ae-6fb6-4c75-b0ca-33ef66132420","_postman_id":"69ed91ae-6fb6-4c75-b0ca-33ef66132420","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"256f9eae-06b1-4c45-82ff-1756f8e9a161"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"9e27edfd-aca5-424f-81f2-41c1d1623bf7"}}],"variable":[{"key":"url","value":"https://prod-api.deliveryease.co/api/","type":"string"}]}