{"info":{"_postman_id":"423769a7-0b1e-4c1e-aaf4-29871e01dfd7","name":"FieldPulse API Gateway","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"35988189","collectionId":"423769a7-0b1e-4c1e-aaf4-29871e01dfd7","publishedId":"2sA3XLEjFd","public":true,"customColor":{"top-bar":"00034D","right-sidebar":"00034D","highlight":"6FD54A"},"publishDate":"2024-06-10T06:14:00.000Z"},"item":[{"name":"👋 Welcome to FieldPulse's API Documentation","item":[],"id":"42448556-bffc-48f0-99fd-2e15da1a2a0f","description":"<p>FieldPulse's API allows you to interact with our system for creating, reading, updating, and deleting data. This documentation will guide you through using our API effectively.</p>\n<p>By accessing or using the FieldPulse API, you agree to FieldPulse's Terms of Service.</p>\n<h3 id=\"💡-use-cases\">💡 Use Cases</h3>\n<p>With the FieldPulse API, you can access several different endpoints. We also offer webhooks for Job Status changes. Some common examples for using our API include:</p>\n<ul>\n<li><p>Collect Customer leads from your website</p>\n</li>\n<li><p>Update Invoice statuses from another system</p>\n</li>\n<li><p>Create and update Invoices</p>\n</li>\n<li><p>Create Purchase Orders</p>\n</li>\n<li><p>Create Jobs and update Job statuses</p>\n</li>\n<li><p>Update Customer locations</p>\n</li>\n<li><p>Add Customer tags from another system</p>\n</li>\n<li><p>Create and update Estimate details</p>\n</li>\n</ul>\n<h3 id=\"🤝-partner-with-fieldpulse\">🤝 Partner with FieldPulse</h3>\n<p>If you're interested in partnering with FieldPulse, please complete the form at <a href=\"http://fieldpulse.com/partners\">http://fieldpulse.com/partners</a> with information about your company and proposed integration.</p>\n<h3 id=\"🔧-support\">🔧 Support</h3>\n<p>We have a thorough Help Center that can answer questions regarding FieldPulse functionality. If you have technical issues with the API we can be reached at <a href=\"https://mailto:support@fieldpulse.com\">support@fieldpulse.com</a>.</p>\n","_postman_id":"42448556-bffc-48f0-99fd-2e15da1a2a0f"},{"name":"🚀 Getting Started","item":[],"id":"74f25fa8-2d09-4a8c-b21e-148099546726","description":"<ol>\n<li><p><strong>API Endpoints</strong>: All operations are performed through specific endpoints. These endpoints are relative to the base URL: <a href=\"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage\"><i>https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage</i></a></p>\n</li>\n<li><p><strong>Authentication</strong>: To access the API, you’ll need an <strong>API token</strong>. If you don’t have one yet, get in touch with us at <a href=\"https://mailto:support@fieldpulse.com\">support@fieldpulse.com</a> to register and activate your API token. You will include this token in the header of your requests using the key <strong>x-api-key.</strong></p>\n</li>\n</ol>\n<p>3. <strong>HTTP Methods:</strong> We use standard HTTP methods in our API.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- GET to retrieve resources\n- POST to create resources\n- PUT to update resources\n- DELETE to delete resources\n\n</code></pre><p>4. <strong>Response Format:</strong> All responses are returned in <a href=\"https://en.wikipedia.org/wiki/JSON\">JSON</a> format.</p>\n<p>5. <strong>Status Codes:</strong> The API uses standard HTTP status codes to indicate success or failure of API requests.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- 200 OK: Everything worked as expected\n- 201 Created: Everything worked as expected\n- 202 Accepted: Authentication is passed\n- 400 Bad Request: The request was unacceptable, often due to missing a required parameter or wrong parameter.\n- 401 Unauthorized: for missing/invalid authentication\n- 404 Not Found: for non-existing resources\n- 422 Unprocessable Entity: authentication validation error\n- 500 Internal Server Error: for server errors\n\n</code></pre><p>6. <strong>Rate Limits</strong> - The FieldPulse API has rate limits, wich is <strong>50 requests per second ,</strong> to manage the volume of calls to our API. Once the rate limit is exceeded, subsequent requests will receive an error response with a status 429. 429 responses will include a header (<code>RateLimit-Reset</code>) with the time (in epoch format) that the user rate limit will be reset. If you are exceeding the rate limit regularly, email us to discuss alternative options.</p>\n<p>7. <strong>Request Data Validation</strong> - all <strong>POST</strong> and <strong>PUT</strong> requests have data validation rules , which are in the requests body descriptions.<br />Please make a note,<br />. <em>optional -</em> means the data is not required<br /><em>. nullable -</em> means the value can be null</p>\n","_postman_id":"74f25fa8-2d09-4a8c-b21e-148099546726"},{"name":"📕 Glossary","item":[],"id":"5379f0f5-6de3-4579-b09d-6cfe10ef891e","description":"<p>To ensure we're on the same page with our FieldPulse terminology, below are definitions of record types and terminology you'll see throughout the documentation.</p>\n<p><strong>Assets</strong> - Assets are typically physical products sold to customers or equipment used by the business and include data such as warranty information, installation dates, and photos. These are different from invoice items.</p>\n<p><strong>Comments</strong> - Comments are used for internal company communication between users on customer records, jobs, invoices, etc.</p>\n<p><strong>Contracts</strong> - Contracts can be added to estimates and invoices and require a customer's signature before beginning work.</p>\n<p><strong>Customers</strong> - The customer is the person for whom the company is performing work.</p>\n<p><strong>Custom Fields</strong> - Custom Fields are customizable fields that can belong to customer records, jobs, invoices, estimates, and purchase orders. They are used to capture custom information and details.</p>\n<p><strong>Estimates</strong> - Estimates (sometimes called quotes) can be created from customer records, jobs, or from the Estimates page directly. They are used to create work proposals for customers and can be converted to invoices. Estimates are often created from Estimate Templates.</p>\n<p><strong>Invoices</strong> - A central part of the FieldPulse platform, invoices are sent by companies to customers to collect payment for work. Invoices are often created using Invoice Templates.</p>\n<p><strong>Invoice Items</strong> - These are the line items that exist on an invoice. They include several fields like name, prices, cost, quantity, vendor, IDs, and much more.</p>\n<p><strong>Jobs</strong> - Jobs (also referred to as work orders) are associated with customers and represent a body of work to be completed by a company for a customer. Jobs are often created using Job Templates. Jobs have statuses and typically result in an estimate and invoice.</p>\n<p><strong>Locations</strong> - Addresses on various record types.</p>\n<p><strong>Payments</strong> - Payments are created from invoices. Payment methods can be credit cards, cash, check, or other.</p>\n<p><strong>Pipeline Status</strong> - Companies may categorize their customers into pipeline statuses such as new, contact made, scheduled, converted.</p>\n<p><strong>Projects</strong> - Projects can contain jobs, estimates, and invoices. They are typically used to track larger bodies of work that will contain multiple jobs and invoices.</p>\n<p><strong>Purchase Orders (POs)</strong> - Purchase orders can be created as standalone POs or created from jobs, estimates, or invoices directly and are used to purchase materials from suppliers.</p>\n<p><strong>Subtasks</strong> - Projects, jobs, estimates, and invoices can each have subtasks which are used like checklists. Some may be required and some may not, and some may be part of a sequential order.</p>\n<p><strong>Tags</strong> - Tags are labels of text that exist on all record types, used for categorization and organization of records.</p>\n<p><strong>Teams</strong> - Teams are groups of company users. A user may belong to more than one team. Teams are often used to assign work to a group of users.</p>\n<p><strong>Timesheets</strong> - Timesheets are used to clock users in and out and to calculate pay and hours worked.</p>\n<p><strong>Users</strong> - Company users. We currently have three roles: Admin, Team Manager, and Service Agent. The permissions for each role are highly customizable.</p>\n<p><strong>Vendors</strong> - Typically used on purchase orders or inventory items to specify the manufacturer or supplier.</p>\n","_postman_id":"5379f0f5-6de3-4579-b09d-6cfe10ef891e"},{"name":"assets","item":[{"name":"{id}","item":[{"name":"Retrieve asset by ID","id":"b007d99f-bdc7-43a5-b2a5-9dc13615cf44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","urlObject":{"path":["assets",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"8a4a093a-eebb-403d-b4d1-7d1c0aca5e91","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"7712ee91-7aed-467d-bf5e-e64792d05805","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","assets",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"c0939949-02b8-4b4e-8335-384e087203ca","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"e968593a-6ec3-4e40-84ed-a84341b5d2b1","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"3296e208-702d-4598-82c1-dd10df67f283","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"b007d99f-bdc7-43a5-b2a5-9dc13615cf44"},{"name":"Update asset by ID","id":"43cefad9-b4f3-44e6-aea9-df2ac961bd80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"title\",// required | max : 200\n    \"status\",// required | acceptable_values : uninstalled,installed,retired\n    \"customer_id\",// nullable | integer | existing customer id\n    \"maintenance_agreement_id\",// nullable | integer | existing maintenance agreement id\n    \"asset_category_id\",// nullable | integer | existing asset category id\n    \"asset_type\",// optional | acceptable_values : company,customer\n    \"is_template\",// optional | boolean\n    \"tag\",// optional | string | max:255\n    \"location\",// optional | string | max:255 | description: Location string for example \"Some street 1, City, State, Zip Code\"\n    \"install_date\",// nullable | timestamp\n    \"manufacturer\",// optional | string | max:255 | description: Mannufacturer name\n    \"model\",// optional | string | max:255 | description: Model name\n    \"model_number\",// optional | string | max:255\n    \"serial_number\",// optional | string | max:255\n    \"model_year\",// optional | integer\n    \"model_details\",// optional | string | max:4000\n    \"warranty_expiration\",// optional | integer | digits:10\n    \"labor_warranty_expiration\",// optional | integer | digits:10\n    \"warranty_information\",// optional | string | max:4000\n    \"labor_warranty_information\",// optional | string | max:4000\n    \"condition\",// optional | string | max:255\n    \"issues\",// optional | string | max:4000\n    \"notes\",// optional | string | max:4000\n    \"job_ids\"// optional | array | description: array of existing job ids to associate the asset\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","urlObject":{"path":["assets",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"ee847d0c-30a5-4c63-a568-b18a17a97d66","name":"200 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"63ce8199-2f98-46fd-ba21-1f517a332f78","name":"400 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"2e2e2952-b7b8-4c9f-bab7-44aad54b71f6","name":"401 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"10ad25f8-6c02-4c51-a1d3-c20f512fdc5e","name":"404 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"64a0bb67-0263-4287-8e70-35a0bf155ab5","name":"500 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"43cefad9-b4f3-44e6-aea9-df2ac961bd80"},{"name":"Delete asset by ID","id":"a30b384a-21e0-40c8-a4f0-14a5443f3364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","urlObject":{"path":["assets",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"ce7b0c7f-0fb5-4f66-9f50-c1a48f29d726","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"edacc573-6d1b-4069-bc47-54b50f704573","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","assets",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"06074da1-b1b3-4466-abd7-b10087739f52","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"135c6a3c-a13d-48b9-8534-64ac65683ebc","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"df3f3c0d-7202-40fc-be8b-300a2ed1f10b","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"a30b384a-21e0-40c8-a4f0-14a5443f3364"}],"id":"e3b4232d-89a3-4a96-b9b4-c84f953787a0","description":"<p>Endpoints related to asset by ID (GET, PUT, DELETE)</p>\n","_postman_id":"e3b4232d-89a3-4a96-b9b4-c84f953787a0"},{"name":"Retrieve assets list","id":"5db84160-5806-4f97-b68c-b8d497fbf3b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets?status=<string>&limit=<string>&page=<string>&search=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","urlObject":{"path":["assets"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Get by status. Possible statuses - <code>uninstalled</code>, <code>installed</code>, <code>retired</code></p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Search string</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"66794bad-00f3-45bd-b3a6-5dc725802e85","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets?status=installed&limit=10&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","assets"],"query":[{"key":"status","value":"installed","type":"text"},{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"f17efcfd-5e31-419d-8b67-0ad9f358cb93","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets?status=installed&limit=10&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets"],"query":[{"key":"status","value":"installed"},{"key":"limit","value":"10"},{"key":"page","value":"1"},{"key":"search","value":"abc"},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"9f617a0d-2ca0-4f88-b799-70951e9cbded","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets?status=installed&limit=10&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets"],"query":[{"key":"status","value":"installed"},{"key":"limit","value":"10"},{"key":"page","value":"1"},{"key":"search","value":"abc"},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"95241487-12f7-42fa-b7a3-581a6e58c700","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets?status=installed&limit=10&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets"],"query":[{"key":"status","value":"installed"},{"key":"limit","value":"10"},{"key":"page","value":"1"},{"key":"search","value":"abc"},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"5db84160-5806-4f97-b68c-b8d497fbf3b7"},{"name":"Create an asset","id":"83046803-7664-4aff-a08f-8112ce036e29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"title\",// required | max : 200\n    \"status\",// required | acceptable_values : uninstalled,installed,retired\n    \"customer_id\",// nullable | integer | existing customer id\n    \"maintenance_agreement_id\",// nullable | integer | existing maintenance agreement id\n    \"asset_category_id\",// nullable | integer | existing asset category id\n    \"asset_type\",// optional | acceptable_values : company,customer\n    \"is_template\",// optional | boolean\n    \"tag\",// optional | string | max:255\n    \"location\",// optional | string | max:255 | description: Location string for example \"Some street 1, City, State, Zip Code\"\n    \"install_date\",// nullable | timestamp\n    \"manufacturer\",// optional | string | max:255 | description: Mannufacturer name\n    \"model\",// optional | string | max:255 | description: Model name\n    \"model_number\",// optional | string | max:255\n    \"serial_number\",// optional | string | max:255\n    \"model_year\",// optional | integer\n    \"model_details\",// optional | string | max:4000\n    \"warranty_expiration\",// optional | integer | digits:10\n    \"labor_warranty_expiration\",// optional | integer | digits:10\n    \"warranty_information\",// optional | string | max:4000\n    \"labor_warranty_information\",// optional | string | max:4000\n    \"condition\",// optional | string | max:255\n    \"issues\",// optional | string | max:4000\n    \"notes\",// optional | string | max:4000\n    \"job_ids\"// optional | array | description: array of existing job ids to associate the asset\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets","urlObject":{"path":["assets"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"c1ca43b6-4ec7-48dd-be6d-8db6d16df17d","name":"201 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets"},"status":"OK","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"333f653c-c9cd-4ad7-8faa-42ca9bdb0476","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"bbf52558-9ee6-4bb0-9a61-a9caa7c09923","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"e7f71641-ebce-4095-9623-94472308a01e","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"ae42a5b4-6e77-414c-a759-669a2b8eb78f","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": \"installed\",\n  \"customer_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"asset_category_id\": 1,\n  \"asset_type\": \"company\",\n  \"is_template\": false,\n  \"tag\": \"some string\",\n  \"location\": \"some string\",\n  \"install_date\": 1234567890,\n  \"manufacturer\": \"some string\",\n  \"model\": \"some string\",\n  \"model_number\": \"M123\",\n  \"serial_number\": \"SN123\",\n  \"model_year\": 1970,\n  \"model_details\": \"some string\",\n  \"warranty_expiration\": 1234567890,\n  \"labor_warranty_expiration\": 1234567890,\n  \"warranty_information\": \"some string\",\n  \"labor_warranty_information\": \"some string\",\n  \"condition\": \"some string\",\n  \"issues\": \"some string\",\n  \"notes\": \"some string\",\n  \"job_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"83046803-7664-4aff-a08f-8112ce036e29"}],"id":"7d0ac40e-8088-410f-8f3b-b0cb101407e4","description":"<p>Endpoints related to assets</p>\n","_postman_id":"7d0ac40e-8088-410f-8f3b-b0cb101407e4"},{"name":"assets-category","item":[{"name":"{id}","item":[{"name":"Retrieve asset category by ID","id":"f763a636-f9d0-42e4-be1e-8054f3f75017","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","urlObject":{"path":["assets-category",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"7cd6ecb5-30ef-4db9-9531-692b6783c01f","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"57fd3413-fbac-4991-9049-1fbbbc3533fc","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","assets-category",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"ee8f2522-d2c7-48ba-b0f4-5ec919dfb7f7","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"a6450e79-4dc5-4f9a-81e2-4f071ef007a0","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"8f5eeebc-adf2-4306-8395-c50e5beb8d2c","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"f763a636-f9d0-42e4-be1e-8054f3f75017"},{"name":"Update asset category by ID","id":"d6a5896c-af8b-464c-8248-095b6ae5258c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"//required | max : 200 | unique | description: The title should be unique for user company\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","urlObject":{"path":["assets-category",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"31f22003-6e4c-404b-9bc3-38cc7ff564f0","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"bec0ea90-a225-474b-b071-f679957111f2","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","assets-category",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"9d885413-1b40-4b8b-9c2e-6abc5adbba99","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"f264976e-cfd3-430a-add1-f817191e3470","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"0626c113-d862-4bfc-9c16-f0ca5adec3d1","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"0ce0474e-025e-4ada-88e8-bab51adb7ee9","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"d6a5896c-af8b-464c-8248-095b6ae5258c"},{"name":"Delete asset category by ID","id":"99ca1602-c49a-4a60-a9c3-1ce7bbaf3335","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","urlObject":{"path":["assets-category",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"f78a6bd9-5dd7-4a97-ab10-98cbc63114a9","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"7c39f07f-15ba-4408-a27a-29f3783a6602","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","assets-category",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"13b0fbea-f746-4c54-b919-16c5f5b41690","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"11b969c8-551f-4e22-996f-02652c04690e","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"1442dfc1-ffbd-4620-8b64-c9c4921995eb","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"99ca1602-c49a-4a60-a9c3-1ce7bbaf3335"}],"id":"71f929fb-3c36-4f6b-b467-5c4b3ed6d993","description":"<p>Endpoints related to assets category by ID (GET, PUT, DELETE)</p>\n","_postman_id":"71f929fb-3c36-4f6b-b467-5c4b3ed6d993"},{"name":"Retrieve asset categories list","id":"adc2837b-57ff-46c0-8e90-741f639058c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category?limit=<string>&page=<string>&search=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","urlObject":{"path":["assets-category"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"d44dc449-0ba2-487d-9255-2fc413ff54a4","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category?limit=10&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","assets-category"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"a9cd2a87-841f-4c48-bac2-9e9727021868","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category?limit=10&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"a4d2983e-701d-4288-8e86-cfb635a14d68","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category?limit=10&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"05df376c-3b62-4085-a633-20fdf4bc8704","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category?limit=10&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["assets-category"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"adc2837b-57ff-46c0-8e90-741f639058c0"},{"name":"Create an asset category","id":"db1ef2d2-a6e4-4a28-ae1e-d889041878e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"//required | max : 200 | unique | description: The title should be unique for user company\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category","urlObject":{"path":["assets-category"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"a8c39590-d17e-4ca9-b44a-339acad78e19","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category"},"status":"OK","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"2f943558-c986-4755-9d67-6523186d15d9","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"8e5d808a-deea-4a5e-bd04-9c0b4a7d140c","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"3fdf99c2-656b-4cf1-875a-00c1af75f721","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"d5cd1ad3-c755-4995-a18c-2dbb7408a028","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets-category"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"db1ef2d2-a6e4-4a28-ae1e-d889041878e2"}],"id":"871e607e-2128-4ee9-8ef0-1dfd263ed1af","description":"<p>Endpoints related to assets category</p>\n","_postman_id":"871e607e-2128-4ee9-8ef0-1dfd263ed1af"},{"name":"comments","item":[{"name":"{id}","item":[{"name":"Retrieve comment by ID","id":"9178595f-b349-445b-b983-1ed53479559f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","urlObject":{"path":["comments",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"cdde3028-acf6-4d94-9db6-7447e3ab7889","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"4541d11e-fae4-4cfe-89d9-1e108bb62274","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","comments",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"03d98fee-ca70-4cf3-bfe6-f6a92472b9d9","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"dd76f54a-2a9f-4b97-b729-f08fbe0020ee","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"1a33ea37-68f7-47b6-82e4-ce08576e45f2","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"9178595f-b349-445b-b983-1ed53479559f"},{"name":"Update comment by ID","id":"4602a586-8f8c-4be6-807e-825ab4e769b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",// required | string | max:4000\n  \"commentable_id\": 1,// optional | integer | description: the id of the entity (customer, job, etc .. ) for which belongs the comment\n  \"commentable_type\": \"customer\"// optional | string | description: the entity (customer, job, etc .. ) for which belongs the comment\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","urlObject":{"path":["comments",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"6637364e-a299-40fb-a645-202787669eec","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"5669708e-29cf-4c73-a74b-f6cbdebc186c","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","comments",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"128b0abc-ab07-4f2c-87c0-a857872033a5","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"236db3f3-0173-4e5e-a35b-c71a2e023835","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"041527cd-238f-4752-aa95-715566c8ee9d","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"fed93bf0-7ac3-4af7-ad94-515a57367fd5","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"4602a586-8f8c-4be6-807e-825ab4e769b7"},{"name":"Delete comment by ID","id":"642d024f-ac62-484f-a5d9-eb4597c0830d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","urlObject":{"path":["comments",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"43f126f5-7963-479c-93e8-ebef05b4870f","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"3884983d-37d6-416d-bde4-975f96067647","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","comments",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"5d15171f-aa3f-45e5-a075-2969fa013b53","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"09fc8d19-0f56-4f9c-9946-8f48c34b9e4a","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"4120fe59-9df0-44a1-93a7-c38b0eb7dc53","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"642d024f-ac62-484f-a5d9-eb4597c0830d"}],"id":"ebe935e0-681a-40d6-9b44-9ac17f289810","description":"<p>Endpoints related to comment by ID (GET, PUT, DELETE)</p>\n","_postman_id":"ebe935e0-681a-40d6-9b44-9ac17f289810"},{"name":"Retrieve comments list","id":"efcda8f8-82fa-4c9d-a258-bcbe1dd9dbaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments?limit=<string>&page=<string>&object_type=<string>&object_id=<integer>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","urlObject":{"path":["comments"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Get comment for the object. Values example - <code>customer</code>, <code>job</code>, <code>project</code>, <code>subtasks</code>, <code>invoice</code></p>\n","type":"text/plain"},"key":"object_type","value":"<string>"},{"description":{"content":"<p>Comment object id</p>\n","type":"text/plain"},"key":"object_id","value":"<integer>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"7df6f00f-ccaa-412f-b7cc-88f40fd287d0","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments?limit=10&page=1&object_type=customer&object_id=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","comments"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"object_type","value":"customer","type":"text"},{"key":"object_id","value":"1","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"164c0dd0-df5d-40fc-ae13-55e04e9485b2","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments?limit=10&page=1&object_type=customer&object_id=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"object_type","value":"customer","type":"text"},{"key":"object_id","value":"1","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"0660fd1e-042f-497b-a76b-c4662259a7c5","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments?limit=10&page=1&object_type=customer&object_id=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"object_type","value":"customer","type":"text"},{"key":"object_id","value":"1","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"4f0459b6-d093-429c-a430-891d5e46b07c","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments?limit=10&page=1&object_type=customer&object_id=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["comments"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"object_type","value":"customer","type":"text"},{"key":"object_id","value":"1","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"efcda8f8-82fa-4c9d-a258-bcbe1dd9dbaf"},{"name":"Create a comment","id":"381c6809-d13d-4ac7-999c-5d4b9cf50dd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",// required | string | max:4000\n  \"commentable_id\": 1,// required | integer | description: the id of the entity (customer, job, etc .. ) for which belongs the comment\n  \"commentable_type\": \"customer\"// required | string | description: the entity (customer, job, etc .. ) for which belongs the comment\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments","urlObject":{"path":["comments"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"544c78e2-547f-4c22-887f-588e1c4c1c90","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"80318412-5e4e-4532-9461-4938bdfa81f3","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"28610254-1a7a-443a-ae62-0a0cda144c3f","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"47df5b48-59eb-4b78-b82e-ac26b2f5a928","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"754c2c37-62c2-4183-a3be-01d49f933a24","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"some string\",\n  \"commentable_id\": 1,\n  \"commentable_type\": \"customer\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/comments"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"381c6809-d13d-4ac7-999c-5d4b9cf50dd4"}],"id":"63209059-d6c7-4529-8c6e-29bd64c11ec1","description":"<p>Endpoints related to comments</p>\n","_postman_id":"63209059-d6c7-4529-8c6e-29bd64c11ec1"},{"name":"company-profile","item":[{"name":"{id}","item":[{"name":"Retrieve company profile by ID","id":"57b1c66c-92c0-4299-9489-a8570b6a83f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile/:id","urlObject":{"path":["company-profile",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"9895cdda-f080-454b-866b-89a556aeb98c","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["company-profile",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"bac97d25-7f7f-40e6-81df-b0fada9aea19","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["company-profile",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"2092c8eb-3bd5-4b10-a55e-38ac95ed62df","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["company-profile",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"4361ac10-97b9-4fa1-8988-aa2589b5e906","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["company-profile",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"57b1c66c-92c0-4299-9489-a8570b6a83f4"}],"id":"0308c727-63b7-40c6-a95b-272b7d1571f2","_postman_id":"0308c727-63b7-40c6-a95b-272b7d1571f2","description":""},{"name":"Retrieve company profiles list","id":"f3da90ae-beaf-4830-b25e-e7bd71e2d472","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile?limit=<string>&page=<string>&calculate_count=<boolean>&search=<string>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","urlObject":{"path":["company-profile"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 50 items per page</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"0028535e-380c-4b65-97c0-64c522824cd6","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile?limit=10&page=1&search=test&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["company-profile"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"},{"key":"search","value":"test"},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"436726e4-eae2-4d43-a101-c213ac8c2052","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile?limit=10&page=1&search=test&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["company-profile"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed."},{"key":"page","value":"1"},{"key":"search","value":"test"},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"7175f227-df92-4870-af83-fd0370c9ea82","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile?limit=10&page=1&search=test&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["company-profile"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed."},{"key":"page","value":"1"},{"key":"search","value":"test"},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"74819782-9c27-45b9-90c7-161b000a7f34","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/company-profile?limit=10&page=1&search=test&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["company-profile"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed."},{"key":"page","value":"1"},{"key":"search","value":"test"},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"f3da90ae-beaf-4830-b25e-e7bd71e2d472"}],"id":"b13956bc-fe87-4b89-b0e2-31f0d0bbb09c","description":"<p>Endpoints related to contracts</p>\n","_postman_id":"b13956bc-fe87-4b89-b0e2-31f0d0bbb09c"},{"name":"contracts","item":[{"name":"{id}","item":[{"name":"Retrieve contract by ID","id":"a910f92e-b6d4-418c-b9d4-23b3ba93c5b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts/:id","urlObject":{"path":["contracts",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"da765075-814e-4960-b8b0-f75c4f9f91a3","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"c92285fd-4e39-45fb-97f9-c394d0c7cf90","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts/:id","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","contracts",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"4b70ea86-e60e-4b66-8245-490f4f430f5d","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["contracts",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"57caaa2f-db34-4fac-8fe7-1a6fe34c8999","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["contracts",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"02c3ac9c-fb6c-484f-9235-168349a9c4dc","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["contracts",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"a910f92e-b6d4-418c-b9d4-23b3ba93c5b5"}],"id":"c149e1a7-ce5c-457e-b0bc-2fb2b5072bf6","_postman_id":"c149e1a7-ce5c-457e-b0bc-2fb2b5072bf6","description":""},{"name":"Retrieve contracts list","id":"57cb97ca-a7ec-4532-87aa-974ce769c408","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts?limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","urlObject":{"path":["contracts"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"d922d757-5dda-4761-9aa4-ae3c9930720d","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","contracts"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"06469994-e8a4-45e7-a69b-f1824ea06e28","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["contracts"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"e18f4b9a-5025-45b2-bd85-dd7ef8a9df84","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["contracts"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"af4b18dc-00c5-4bc8-9a57-95a4627d88d5","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/contracts?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["contracts"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"57cb97ca-a7ec-4532-87aa-974ce769c408"}],"id":"d75a587a-259d-46de-adf4-dc85696d14e2","description":"<p>Endpoints related to contracts</p>\n","_postman_id":"d75a587a-259d-46de-adf4-dc85696d14e2"},{"name":"customers","item":[{"name":"{customerId}","item":[{"name":"customer-contact","item":[{"name":"{contactId}","item":[{"name":"Retrieve customer contact by ID","id":"452da900-4ba5-48a7-af4c-cd867d4c332b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","urlObject":{"path":["customers",":customerId","customer-contact",":contactId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"f4282429-a96c-4460-bb9b-008b992a93e5","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customerId"},{"id":"361f83d5-9077-4b09-a641-e57f1c8aa4ba","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contactId"}]}},"response":[{"id":"b5ad02b3-8207-41f2-a92d-ecb0990f79ae","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"55b0ac65-746e-4913-8bf6-c1a6092c1d72","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"ad79f55c-a508-4ff1-90b6-0fec4c49d6ec","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"10520d1a-ad50-4ab4-98ef-e386a34688db","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"452da900-4ba5-48a7-af4c-cd867d4c332b"},{"name":"Update customer contact by ID","id":"b8453384-14db-4132-8bc1-7f788a59bffb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",// optional | string | max:255\n  \"last_name\": \"some string\",// optional | string | max:255\n  \"email\": \"some@mail.com\",// optional | string | email | max:255\n  \"notes\": \"some string\",// optional | string | max:1000\n  \"phone\": \"+12345678\",// optional | string | max:255 | description: should be valid phone number\n  \"order\": 1// optional | integer | description: the order of the contact\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","urlObject":{"path":["customers",":customerId","customer-contact",":contactId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"4a056aa7-2024-4db8-9f5b-7b90508f0664","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customerId"},{"id":"cc0805c9-4910-418d-93da-a0f3b7a149bd","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contactId"}]}},"response":[{"id":"ffd05678-e215-433d-a687-2f32054ee713","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"db137c76-21d8-49ae-954b-1e84d45bdbf0","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"d47d8abf-40bb-4ef9-8bb1-baf0cd32e6b9","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"cfa56c88-7bb4-4e63-8227-59bb4d6d0cd1","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"68ec0d5d-93af-4779-b781-e616f4091845","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"b8453384-14db-4132-8bc1-7f788a59bffb"},{"name":"Delete customer contact by ID","id":"ba9c790a-0c48-4027-9b9f-71511bd5197e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","urlObject":{"path":["customers",":customerId","customer-contact",":contactId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"8cd0520c-6ef0-46b0-bc1d-ec2ef4473ee2","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customerId"},{"id":"96f4dc8a-db15-4b39-aa6c-aec066f0e0bb","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"contactId"}]}},"response":[{"id":"ae315d75-4f71-461c-b4ee-bafe7eb1ce90","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"03320602-57e3-491d-b566-c37138f90434","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"a003b7a2-dffb-4007-bfe5-c743889bcd82","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"810f7cc6-8666-43ec-aa03-7c5222cf9cba","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact/:contactId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact",":contactId"],"variable":[{"key":"customerId"},{"key":"contactId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"ba9c790a-0c48-4027-9b9f-71511bd5197e"}],"id":"c2408b91-3b6b-4a9b-b451-05d35e3a56a1","description":"<p>Endpoints related to customer contact by ID (GET, PUT, DELETE)</p>\n","_postman_id":"c2408b91-3b6b-4a9b-b451-05d35e3a56a1"},{"name":"Retrieve customer contacts list","id":"74da4548-41e6-4035-a89a-dd1977838a29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact?limit=<string>&page=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","urlObject":{"path":["customers",":customerId","customer-contact"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customerId"}]}},"response":[{"id":"ad984b9a-57e7-40f6-ae02-140267bbfaa9","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers",":customerId","customer-contact"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}],"variable":[{"key":"customerId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"75a2ab68-a249-43cc-b2dc-b87c28b038c1","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}],"variable":[{"key":"customerId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"71af2f05-1838-47f6-9311-4c3bcd59a4a8","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}],"variable":[{"key":"customerId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"8bc234fa-f9a9-49aa-9eda-66d345b79586","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}],"variable":[{"key":"customerId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"74da4548-41e6-4035-a89a-dd1977838a29"},{"name":"Create a customer contact","id":"979bdc28-dacc-4d90-8c7e-6931a4fb8b6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",// optional | string | max:255\n  \"last_name\": \"some string\",// optional | string | max:255\n  \"email\": \"some@mail.com\",// optional | string | email | max:1000\n  \"notes\": \"some string\",// optional | string | max:1000\n  \"phone\": \"+12345678\",// optional | string | max:255 | description: should be valid phone number\n  \"order\": 1// optional | integer | description: the order of the contact\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact","urlObject":{"path":["customers",":customerId","customer-contact"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"658bd620-c199-4553-b93c-6bdd5baf982a","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customerId"}]}},"response":[{"id":"3fb32301-015f-4f92-ad04-45a1e5600050","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers",":customerId","customer-contact"],"variable":[{"key":"customerId"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"d06d4955-9b4d-4935-abe9-3b9c070a1db3","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact"],"variable":[{"key":"customerId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"cc720690-f727-4f68-b0a5-774db805512b","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact"],"variable":[{"key":"customerId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"c804a88e-f606-43c7-867a-f7d0e339e4e6","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact"],"variable":[{"key":"customerId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"12731f66-004c-4702-84f3-0c80120afdb9","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"notes\": \"some string\",\n  \"phone\": \"+12345678\",\n  \"order\": 1\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId/customer-contact","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId","customer-contact"],"variable":[{"key":"customerId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"979bdc28-dacc-4d90-8c7e-6931a4fb8b6f"}],"id":"36a462bf-4cae-4683-bb6a-34cc060b6f25","description":"<p>Endpoints related to customer contacts</p>\n","_postman_id":"36a462bf-4cae-4683-bb6a-34cc060b6f25"},{"name":"Retrieve customer by ID","id":"384a5149-c943-4277-8341-6c90a74e19c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId?filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&asn=<array>&asn[$index][team_id]=<string>&asn[$index][match]=<string>&asn[$index][assigned_members]=<array>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>","urlObject":{"path":["customers",":customerId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.</p>\n","type":"text/plain"},"key":"asn","value":"<array>"},{"description":{"content":"<p>Team Id to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][team_id]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][match]","value":"<string>"},{"description":{"content":"<p>Array of user id’s to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][assigned_members]","value":"<array>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and dsc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"}],"variable":[{"id":"379d9d4a-5f5d-4f95-8e66-cbd71ddca4d1","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customerId"}]}},"response":[{"id":"cb503c1b-aa49-483a-a6a1-23a4ec105a38","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"e89635db-356c-4b4b-b2e9-3a2609b203cd","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"1ffb059a-98ac-44b3-8690-6934f03d6188","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"8ea3825a-52ef-426d-9aa2-e18094a8aa40","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"384a5149-c943-4277-8341-6c90a74e19c3"},{"name":"Update customer by ID","id":"3c52588b-9204-4479-a877-32ac1041daa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\", // optional | string | max:255\n    \"last_name\", // optional | string | max:255\n    \"display_name\", // optional | string | required, if first_name and last_name are not provided or empty and should be unique | max:255\n    \"email\", // optional | string | email | max:255\n    \"phone\", // optional | string | max:255 | description: should be valid phone number\n    \"notes\", // optional | string | max:7500\n    \"has_different_billing_address\", // optional | boolean | acceptable_values: true,false\n    \"status\", // optional | string | acceptable_values: lead,opportunity,current customer,lost,other,inactive\n    \"company_name\", // optional | string | max:255\n    \"alt_email\", // optional | string | email | max:255\n    \"billing_address_1\", // optional | string | max:1000\n    \"billing_address_2\", // optional | string | max:1000\n    \"billing_city\", // optional | string | max:255\n    \"billing_state\", // optional | string | max:255\n    \"billing_zip_code\", // optional | string | max:255\n    \"assigned_to\", // nullable | integer | description: the id of user whom assigned the customer\n    \"secondary_email\", // optional | string | email | max:255\n    \"secondary_phone\", // optional | string | max:255 | description: should be valid phone number\n    \"service_address_1\", // optional | string | max:255\n    \"service_address_2\", // optional | string | max:255\n    \"service_address_city\", // optional | string | max:255\n    \"service_address_state\", // optional | string | max:255\n    \"service_address_zip_code\", // optional | string | max:255\n    \"job_notes\", // optional | string | max:4000\n    \"customfields\": [ // optional | array | description: array of custom fleds\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        },\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        }\n    ],\n    \"locations\": [ // optional | array | description: array for creating customer location(s)\n        {\n            \"object_type\",  // required | string | description: indicate the location object type. Mostly customer\n            \"object_id\",  // required | integer | description: indicate the location object id. Mostly customer id\n            \"title\", // required | string | max_length:255\n            \"address_1\", // nullable | string | max_length:255\n            \"address_2\", // nullable | string | max_length:255\n            \"city\", // nullable | string | max_length:255\n            \"state\", // nullable | string | max_length:255\n            \"zip_code\", // nullable | string | max_length:255\n            \"is_main_location\" // optional | boolean | acceptable_values: true,false | description: indicate if the location is main. This will be shown in the page\n        },\n        {\n            \"object_type\",  // required | string | description: indicate the location object type. Mostly customer\n            \"object_id\",  // required | integer | description: indicate the location object id. Mostly customer id\n            \"title\", // required | string | max_length:255\n            \"address_1\", // nullable | string | max_length:255\n            \"address_2\", // nullable | string | max_length:255\n            \"city\", // nullable | string | max_length:255\n            \"state\", // nullable | string | max_length:255\n            \"zip_code\", // nullable | string | max_length:255\n            \"is_main_location\" // optional | boolean | acceptable_values: true,false | description: indicate if the location is main. This will be shown in the page\n        }\n    ],\n    \"account_type\", // optional | string |  acceptable_values: individual,company | description: indicate customer type\n    \"pipeline_status_id\", // optional | integer | description: Existing pipeline status id \n    \"lead_source_id\", // optional | integer | description: Existing lead source id\n    \"tags\" // optional | array | description: array of existing customer tag ids\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","urlObject":{"path":["customers",":customerId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customerId"}]}},"response":[{"id":"455274bd-7953-42fd-84ee-34d0544d525e","name":"200 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"d57a0bce-476f-4c9e-a44f-2d16c37f790a","name":"400 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"698319d3-1a14-40c0-8c38-b2d0194f5aea","name":"401 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"c124095e-97d4-4466-b39c-d5be72647705","name":"404 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"a751f970-9e1c-4579-ae79-ba2e0dd352ff","name":"500 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"object_id\": 1,\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"3c52588b-9204-4479-a877-32ac1041daa4"},{"name":"Delete customer by ID","id":"65e0017f-fb63-4804-a728-427515feae6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","urlObject":{"path":["customers",":customerId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"a1b3ae85-5072-4467-869e-90083f3fa852","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customerId"}]}},"response":[{"id":"6371462a-b28a-4e49-bd6d-a656d69fd6da","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"42fce537-d611-4c40-a8f4-a0cb71ac7427","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"ee86e63f-c295-4e56-a01d-0d20c7a8c1a0","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"fb7cb153-a500-480c-ace0-fe24777ee3c3","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers/:customerId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers",":customerId"],"variable":[{"key":"customerId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"65e0017f-fb63-4804-a728-427515feae6f"}],"id":"5c6c3612-3d4d-44c3-be25-fcf47c8aa0a0","description":"<p>Endpoints related to customer by ID</p>\n","_postman_id":"5c6c3612-3d4d-44c3-be25-fcf47c8aa0a0"},{"name":"Retrieve customers list","id":"3ad1edfa-cb01-4921-a760-702e0c6f0527","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers?sort_by=<string>&sort_dir=<string>&limit=<string>&page=<string>&search=<string>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&asn=<array>&asn[$index][team_id]=<string>&asn[$index][match]=<string>&asn[$index][assigned_members]=<array>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>&calculate_count=<boolean>","urlObject":{"path":["customers"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Allowed values: searchable, email, phone, address_1</p>\n","type":"text/plain"},"key":"sort_by","value":"<string>"},{"description":{"content":"<p>Allowed values: asc, desc</p>\n","type":"text/plain"},"key":"sort_dir","value":"<string>"},{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.</p>\n","type":"text/plain"},"key":"asn","value":"<array>"},{"description":{"content":"<p>Team Id to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][team_id]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][match]","value":"<string>"},{"description":{"content":"<p>Array of user id’s to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][assigned_members]","value":"<array>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"}],"variable":[]}},"response":[{"id":"a8e40c9d-b3d6-43fc-a0b3-864fbcde1cda","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers?sort_by=created_at&limit=10&sort_dir=asc&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","customers"],"query":[{"key":"sort_by","value":"created_at","description":"Allowed values: created_at, updated_at","type":"text"},{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_dir","value":"asc","description":"Allowed values: asc, desc","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"89099fed-bd93-4945-9756-f984ebd0042d","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers?sort_by=created_at&limit=10&sort_dir=asc&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers"],"query":[{"key":"sort_by","value":"created_at","description":"Allowed values: created_at, updated_at","type":"text"},{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_dir","value":"asc","description":"Allowed values: asc, desc","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"f37a392e-01dc-4bd0-aeda-57969ef3a318","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers?sort_by=created_at&limit=10&sort_dir=asc&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers"],"query":[{"key":"sort_by","value":"created_at","description":"Allowed values: created_at, updated_at","type":"text"},{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_dir","value":"asc","description":"Allowed values: asc, desc","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"202edbb4-02b4-4961-b00b-8af16d3c8359","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers?sort_by=created_at&limit=10&sort_dir=asc&page=1&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["customers"],"query":[{"key":"sort_by","value":"created_at","description":"Allowed values: created_at, updated_at","type":"text"},{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_dir","value":"asc","description":"Allowed values: asc, desc","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"3ad1edfa-cb01-4921-a760-702e0c6f0527"},{"name":"Create a customer","id":"54072876-dcee-40f4-8386-3fee88a6c498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\", // optional | string | max:255\n    \"last_name\", // optional | string | max:255\n    \"display_name\", // optional | string | required, if first_name and last_name are not provided or empty and should be unique | max:255\n    \"email\", // optional | string | email | max:255\n    \"phone\", // optional | string | max:255 | description: should be valid phone number\n    \"notes\", // optional | string | max:7500\n    \"has_different_billing_address\", // optional | boolean | acceptable_values: true,false\n    \"status\", // optional | string | acceptable_values: lead,opportunity,current customer,lost,other,inactive\n    \"company_name\", // optional | string | max:255\n    \"alt_email\", // optional | string | email | max:255\n    \"billing_address_1\", // optional | string | max:1000\n    \"billing_address_2\", // optional | string | max:1000\n    \"billing_city\", // optional | string | max:255\n    \"billing_state\", // optional | string | max:255\n    \"billing_zip_code\", // optional | string | max:255\n    \"assigned_to\", // nullable | integer | description: the id of user whom assigned the customer\n    \"secondary_email\", // optional | string | email | max:255\n    \"secondary_phone\", // optional | string | max:255 | description: should be valid phone number\n    \"service_address_1\", // optional | string | max:255\n    \"service_address_2\", // optional | string | max:255\n    \"service_address_city\", // optional | string | max:255\n    \"service_address_state\", // optional | string | max:255\n    \"service_address_zip_code\", // optional | string | max:255\n    \"job_notes\", // optional | string | max:4000\n    \"customfields\": [ // optional | array | description: array of custom fleds\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        },\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        }\n    ],\n    \"locations\": [ // optional | array | description: array for creating customer location(s)\n        {\n            \"object_type\",  // required | string | description: indicate the location object type. Mostly customer\n            \"object_id\",  // nullable | integer | description: indicate the location object id. Mostly customer id\n            \"title\", // required | string | max_length:255\n            \"address_1\", // nullable | string | max_length:255\n            \"address_2\", // nullable | string | max_length:255\n            \"city\", // nullable | string | max_length:255\n            \"state\", // nullable | string | max_length:255\n            \"zip_code\", // nullable | string | max_length:255\n            \"is_main_location\" // optional | boolean | acceptable_values: true,false | description: indicate if the location is main. This will be shown in the page\n        },\n        {\n            \"object_type\",  // required | string | description: indicate the location object type. Mostly customer\n            \"object_id\",  // nullable | integer | description: indicate the location object id. Mostly customer id\n            \"title\", // required | string | max_length:255\n            \"address_1\", // nullable | string | max_length:255\n            \"address_2\", // nullable | string | max_length:255\n            \"city\", // nullable | string | max_length:255\n            \"state\", // nullable | string | max_length:255\n            \"zip_code\", // nullable | string | max_length:255\n            \"is_main_location\" // optional | boolean | acceptable_values: true,false | description: indicate if the location is main. This will be shown in the page\n        }\n    ],\n    \"account_type\", // optional | string |  acceptable_values: individual,company | description: indicate customer type\n    \"pipeline_status_id\", // optional | integer | description: Existing pipeline status id \n    \"lead_source_id\", // optional | integer | description: Existing lead source id\n    \"tags\" // optional | array | description: array of existing customer tag ids\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers","urlObject":{"path":["customers"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"0a7dbd5a-4dd2-40f3-a373-1aee492ceb0b","name":"201 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"48441399-700e-49da-96df-b0587a97b5a0","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"5cb6c528-0d1c-4ff6-a72c-9f89bea785d0","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"387fd860-bf76-4c1f-9b81-3edfb1845b05","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"058773c3-1701-4562-a516-61dd47352f75","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"some string\",\n  \"last_name\": \"some string\",\n  \"display_name\": \"some string\",\n  \"email\": \"some@mail.com\",\n  \"phone\": \"+123456789\",\n  \"notes\": \"some string\",\n  \"has_different_billing_address\": false,\n  \"status\": \"some string\",\n  \"company_name\": \"some string\",\n  \"alt_email\": \"some string\",\n  \"billing_address_1\": \"some string\",\n  \"billing_address_2\": \"some string\",\n  \"billing_city\": \"some string\",\n  \"billing_state\": \"some string\",\n  \"billing_zip_code\": \"some string\",\n  \"assigned_to\": 1,\n  \"secondary_email\": \"some string\",\n  \"secondary_phone\": \"some string\",\n  \"service_address_1\": \"some string\",\n  \"service_address_2\": \"some string\",\n  \"service_address_city\": \"some string\",\n  \"service_address_state\": \"some string\",\n  \"service_address_zip_code\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"locations\": [\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": true\n    },\n    {\n        \"object_type\": \"customer\",\n        \"title\": \"some string\",\n        \"address_1\": \"some string\",\n        \"city\": \"some string\",\n        \"state\": \"some string\",\n        \"zip_code\": \"some string\",\n        \"is_main_location\": false\n    }\n  ],\n  \"account_type\": \"company\",\n  \"pipeline_status_id\": 1,\n  \"lead_source_id\": 1,\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/customers"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"54072876-dcee-40f4-8386-3fee88a6c498"}],"id":"3887e8f8-1b96-43c2-be5e-bb642c90d997","description":"<p>Endpoints related to customers</p>\n","_postman_id":"3887e8f8-1b96-43c2-be5e-bb642c90d997"},{"name":"custom-fields","item":[{"name":"{customfieldId}","item":[{"name":"Retrieve a custom field by ID","id":"be5539e9-12d6-4451-a54f-2fa216117d3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","urlObject":{"path":["custom-fields",":customfieldId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"f760952d-7ec2-4f6a-aa94-4652525f48c8","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customfieldId"}]}},"response":[{"id":"4b074ee3-7957-4b28-ba3a-f71a920ecbad","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"099e36e1-8e0d-468f-ae72-5c42c523463f","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"18dd3131-a22f-47e9-b8eb-00189f97826c","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"d48d0798-5514-4d39-9adb-c5026521ac3a","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"be5539e9-12d6-4451-a54f-2fa216117d3b"},{"name":"Update custom field by ID","id":"67807459-e21f-46c9-9207-7d12015d8099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",// required | string | max:255\n  \"position\": 0,// numeric\n  \"permission\": \"1,2,3\",// string | max:255 | description: commaseparated string of user rules, for example 1,2,3\n  \"is_active\": true,// boolean\n  \"object\": \"customer\",// string | acceptable_values: customer,job,project,invoice,asset,job_visit,maintenance_agreement,order | description: the type of custom field\n  \"can_customer_view\": true,// boolean\n  \"field_widget_id\": 1,// integer | existing custom field widget id\n  \"settings\": {// array\n    \"field_instance_id\": 1,// required | existing custom field instance id\n    \"allowed_values\": [\"value_1\", \"value_2\"],// nullable | array\n    \"default_value\": \"value_1\"// nullable | array\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","urlObject":{"path":["custom-fields",":customfieldId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"f83ee124-0c30-4a7d-9b17-ce9da0154d81","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customfieldId"}]}},"response":[{"id":"3de518b8-a10f-4a5c-8eb9-aa7b022dd5a1","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"154f5d87-85b2-46ae-bcc1-bc4ecd70da8f","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"e175998b-0f15-43e3-8d38-a1ce4d2323e0","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"9bd43d31-e2f3-4be3-8f07-031e1da3f28c","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"6a6c23b9-84ec-4a0e-8bfb-78e6feca7110","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"67807459-e21f-46c9-9207-7d12015d8099"},{"name":"Delete custom field by ID","id":"3d71a53f-f4ef-483f-bbb7-e6952a936420","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","urlObject":{"path":["custom-fields",":customfieldId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"278ce032-13cf-4c11-8b5b-7805ac60167d","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"customfieldId"}]}},"response":[{"id":"f2effbcf-cad4-4ca2-9de2-a0449efec679","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"eda57a2d-9a27-4f69-915e-e857480da192","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"e12add82-4f1a-4909-b3a7-b3bde8a66e73","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"15b9e5a5-77da-4baf-93cf-04af53527b0c","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields/:customfieldId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields",":customfieldId"],"variable":[{"key":"customfieldId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"3d71a53f-f4ef-483f-bbb7-e6952a936420"}],"id":"bc603328-33bf-491a-aed9-4850f0e9859f","description":"<p>Endpoints related to custom field by ID (GET, PUT, DELETE)</p>\n","_postman_id":"bc603328-33bf-491a-aed9-4850f0e9859f"},{"name":"Retrieve custom fields list","id":"5a35a8a1-8ce8-4c69-8bb5-640bc0db44a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields?limit=<string>&object_type=<string>&page=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","urlObject":{"path":["custom-fields"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Allowed values: <code>customer</code>, <code>job</code>, <code>invoice</code>, <code>item</code>, <code>maintenance_agreement</code>, <code>project</code>, <code>asset</code>, <code>material_list</code>.</p>\n","type":"text/plain"},"key":"object_type","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"2ae54e7a-4b14-46eb-af19-2806838bfb3c","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields?limit=10&object_type=customer&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","custom-fields"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"object_type","value":"customer","description":"Allowed values: customer, job.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"101cc256-e3e4-4ca1-b702-5974e40afac9","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields?limit=10&object_type=customer&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"object_type","value":"customer","description":"Allowed values: customer, job.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"2ddba18f-3928-4636-a104-37f723b439e9","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields?limit=10&object_type=customer&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"object_type","value":"customer","description":"Allowed values: customer, job.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"e60fba06-bac5-498d-91d8-f491994aec0b","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields?limit=10&object_type=customer&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["custom-fields"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"object_type","value":"customer","description":"Allowed values: customer, job.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"5a35a8a1-8ce8-4c69-8bb5-640bc0db44a1"},{"name":"Create a custom field","id":"00c877ff-d5b9-4e5f-a81f-cf889e52c537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",// required | string | max:255 | unique for the user company\n  \"position\": 0,// required | numeric\n  \"permission\": \"1,2,3\",// required | string | max:255 | description: commaseparated string of user rules, for example 1,2,3\n  \"is_active\": true,// required | boolean\n  \"object\": \"customer\",// required | string | acceptable_values: customer,job,project,invoice,asset,job_visit,maintenance_agreement,order | description: the type of custom field\n  \"can_customer_view\": true,// boolean\n  \"field_widget_id\": 1,// required | integer | existing custom field widget id\n  \"settings\": {// array\n    \"field_instance_id\": 1,// required | existing custom field instance id\n    \"allowed_values\": [\"value_1\", \"value_2\"],// nullable | array\n    \"default_value\": \"value_1\"// nullable | array\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields","urlObject":{"path":["custom-fields"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"d83d209a-b515-4994-838d-4038a90533f6","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"72741a66-ddd0-4bf2-a8a9-10ca6be3f0f9","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"30b126b1-f37a-416a-b319-fe00afd31754","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"3b85e723-d432-4d28-8cf8-b487fbf3d861","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"f70fbcc4-7d81-47b8-8b8b-bebb3fee0c12","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"position\": 0,\n  \"permission\": \"1,2,3\",\n  \"is_active\": true,\n  \"object\": \"customer\",\n  \"can_customer_view\": true,\n  \"field_widget_id\": 1,\n  \"settings\": {\n    \"field_instance_id\": 1,\n    \"allowed_values\": [\"value_1\", \"value_2\"],\n    \"default_value\": \"value_1\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/custom-fields"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"00c877ff-d5b9-4e5f-a81f-cf889e52c537"}],"id":"18a338cd-5312-40c2-817f-5c407266e82c","description":"<p>Endpoints related to custom fields</p>\n","_postman_id":"18a338cd-5312-40c2-817f-5c407266e82c"},{"name":"estimates","item":[{"name":"{estimateId}","item":[{"name":"Retrieve estimate by ID","id":"6f6e56a7-4020-42b4-b97a-ab5829b43ea0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","urlObject":{"path":["estimates",":estimateId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"ba7b7ae1-fddf-475f-a24f-28160c002dbd","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"estimateId"}]}},"response":[{"id":"4db4fcf7-8fb4-410e-aa37-475aefdad526","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"f855dbfe-d29c-4ac8-8d82-4cf443179238","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"ec62d380-7e5c-4b88-a130-e0fbb42ecc5a","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"c62124e9-492a-48ab-ae4c-d8acf80ba030","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"6f6e56a7-4020-42b4-b97a-ab5829b43ea0"},{"name":"Update estimate by ID","id":"b0a27233-43b8-423b-88aa-d6b353d71277","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\"// optional | nullable | integer | required if job_id is not set and is_template is not set or false | existing customer id\n    \"job_id\"// optional | nullable | integer | required if is_template is not set or false | existing job id\n    \"status_id\"// optional | integer | existing estimate type custom status id\n    \"status_workflow_id\"// optional | integer | existing estimate type status workflow id\n    \"notes\"// optional | string | max:4000\n    \"invoiced_date\"// optional | nullable | timestamp\n    \"due_date\"// optional | nullable | timestamp\n    \"tax_rate\"// required | string | numeric | example: \"0.00\"\n    \"is_template\"// optional | boolean\n    \"title\"// optional | string | max:255\n    \"author_id\"// optional | nullable | integer | existing user id\n    \"location_id\"// optional | nullable | integer | existing location id\n    \"contract_id\"// optional | nullable | integer | existing contract id\n    \"commission_type\"// optional | integer | between:0,3\n    \"commission_percent\"// optional | integer | between:0,100\n    \"invoice_use_logo\"// optional | nullable | boolean\n    \"invoice_show_line_item_unit_price\"// optional | nullable | boolean\n    \"invoice_show_line_item_qty\"// optional | nullable | boolean\n    \"invoice_show_line_item_taxed\"// optional | nullable | boolean\n    \"invoice_show_line_item_total\"// optional | nullable | boolean\n    \"invoice_show_line_item_desc\"// optional | nullable | boolean\n    \"invoice_show_line_item_sku\"// optional | nullable | boolean\n    \"invoice_show_total_tax\"// optional | nullable | boolean\n    \"invoice_show_job_title\"// optional | nullable | boolean\n    \"invoice_show_job_location\"// optional | nullable | boolean\n    \"invoice_show_assigned_members\"// optional | nullable | boolean\n    \"invoice_show_author\"// optional | nullable | boolean\n    \"invoice_show_service_address\"// optional | nullable | boolean\n    \"invoice_contract_signature_lines\"// optional | integer | between:0,2\n    \"invoice_amount_due_display_type\"// optional | string | acceptable_values: remaining_balance,set_amount,percentage_of_total,none\n    \"invoice_amount_due_display_value\"// optional | string\n    \"invoice_pdf_title\"// optional | string | max:100\n    \"estimate_status\"// optional | integer\n    \"theme_id\"// optional | nullable | integer | existing theme id\n    \"internal_notes\"// optional | nullable | string\n    \"reference\"// optional | nullable | string\n    \"hvi\"// optional | numeric\n    \"company_profile_id\"// optional | nullable | integer | existing alternate company profile id\n    \"maintenance_agreement_id\"// optional | nullable | integer | existing maintenance agreement id\n    \"maintenance_occurrence_id\"// optional | nullable | integer | existing maintenance occurrence id\n    \"occurrence_date\"// optional | nullable | required when maintenance agreement id is set and maintenance occurrence id is empty\n    \"qbd_class_id\" // optional | nullable | integer | existing Quickbook Class id\n    \"qbd_discount_id\" // optional | nullable | integer | existing Quickbook Discount Item id\n    \"qbo_sales_tax_code_id\" //  optional | nullable | integer | existing Quickbook Tax Code id\n    \"display_settings\": {// optional | nullable | object\n        \"show_payment_button\"// required | boolean\n        \"show_signature_button\"// required | boolean\n        \"show_company_title\"// optional | boolean\n        \"is_customer_phone_visible\"// optional | boolean\n        \"is_modified_customer\"// optional | boolean\n        \"modified_customer_display_name\"// optional | string\n        \"modified_customer_display_address\"// optional | string\n    }\n    \"estimate_display_settings\": {// optional | nullable | object\n        \"show_payment_button\"// required | boolean\n        \"show_company_title\"// optional | boolean\n        \"is_customer_phone_visible\"// optional | boolean\n    }\n    \"expenses\": [// optional | nullable | array of objects\n        {\n            \"amount\"// required | string | numeric\n            \"description\"// optional | string | max:1000\n            \"title\"// required | string | min:3 | max:60\n            \"type\"// required | string | acceptable_values: service,product\n        }\n    ]\n    \"options\": [// optional | nullable | array of objects\n        {\n            \"is_selected\",// required | boolean\n            \"is_default\",// required | boolean\n            \"group_number\",// required | integer\n            \"title\",// optional | nullable | string\n            \"description\",// optional | nullable | string\n            \"photo_id\",// optional | nullable | integer | existing file id\n            \"qbd_discount_id\",// optional | nullable | integer | existing Quickbook Discount Item id\n            \"tab_title\",// optional | nullable | string\n            \"line_discount\": {  // optional | nullable | object\n                \"title\",// required | string\n                \"description\",// optional | nullable | string\n                \"type\",// required | string\n                \"amount\"// required | string | numeric | example: \"0.00\"\n            }\n        }\n    ]\n    \"add_on_options\": [// optional | nullable | array of objects\n        {\n            \"is_selected\",// required | boolean\n            \"is_default\",// required | boolean\n            \"group_number\",// required | integer\n            \"title\",// optional | nullable | string\n            \"description\",// optional | nullable | string\n            \"photo_id\",// optional | nullable | integer | existing file id\n            \"tab_title\"// optional | nullable | string\n        }\n    ]\n    \"line_items\": [ // optional | nullable | array of objects | required if company xero is enabled and not_optional_line_items is not set\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"// optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"optional_line_items\": [\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"not_optional_line_items\": [\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ],\n    \"customfields\": [ // optional | array | description: array of custom fleds\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        },\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","urlObject":{"path":["estimates",":estimateId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"estimateId"}]}},"response":[{"id":"c937769f-8e25-4f86-843b-3d4ec0a49309","name":"200 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"12650a01-1adc-4ba1-bfdf-3abe2ced6f7e","name":"400 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"530aeaf1-b6c7-4966-b266-37f6d784c5d7","name":"401 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"10966c16-dc8c-4666-a4b2-0f525024c1d4","name":"404 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"c36a06e9-48ff-473e-891d-8bbb015d6eda","name":"500 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",            \n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"b0a27233-43b8-423b-88aa-d6b353d71277"},{"name":"Delete estimate by ID","id":"880c593f-5c4c-4c27-9c1b-290214db8c66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","urlObject":{"path":["estimates",":estimateId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"415f57b8-f925-4cb6-af57-bf80c26de4e9","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"estimateId"}]}},"response":[{"id":"f98120e3-6b6d-4866-bf5d-cdc1085bd3aa","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"f6bc4762-6d0e-47f9-9b71-a63b425a21fa","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"99651d23-8266-4186-ba0f-6283b8448525","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"2b5078ed-7ec3-4f10-a6de-8189bcc76a89","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates/:estimateId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates",":estimateId"],"variable":[{"key":"estimateId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"880c593f-5c4c-4c27-9c1b-290214db8c66"}],"id":"232921b2-57bf-4d31-86fc-7037103bfdcd","description":"<p>Endpoints related to estimate by ID (GET, PUT, DELETE)</p>\n","_postman_id":"232921b2-57bf-4d31-86fc-7037103bfdcd"},{"name":"status-workflows","item":[{"name":"Retrieve estimate status workflows","id":"0069515b-0c48-4c1d-9420-8986fab40ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List job status workflows</p>\n","urlObject":{"path":["jobs","status-workflows"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"3dfc0e45-8135-42a1-a8b1-b3c9bf867e00","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"a549550a-0b95-4035-9753-9cbebd52af8b","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"629bd1ff-3a25-417f-a260-a1224cd4fc77","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"89fb2245-421a-4d15-ba49-776aef520ff1","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"0069515b-0c48-4c1d-9420-8986fab40ea2"}],"id":"07ac66fb-4960-4e3a-82ab-c6199a7f16f8","_postman_id":"07ac66fb-4960-4e3a-82ab-c6199a7f16f8","description":""},{"name":"statuses","item":[{"name":"Retrieve estimate statuses","id":"150b0fa2-a102-41ce-8bd3-96c66ff17a66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List job status workflow statuses</p>\n","urlObject":{"path":["jobs","status-workflow-statuses"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"f4f669fd-24e6-409c-8cf2-bff853d0be3d","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"3e605dfb-f5f1-4cfb-8a40-004950424178","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"cf73e56c-6911-4be1-8d90-fc69d1be8547","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"ba6ae734-651a-48fd-901e-0c2e79ed9d18","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"150b0fa2-a102-41ce-8bd3-96c66ff17a66"}],"id":"7c64d456-b985-41ac-a1b3-76d4e05392fc","_postman_id":"7c64d456-b985-41ac-a1b3-76d4e05392fc","description":""},{"name":"Retrieve estimates list","id":"5b1a37d1-73a7-40cc-a4ec-95c77d59c8da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates?limit=<string>&page=<string>&sort_by=<string>&sort_dir=<string>&search=<string>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>&calculate_count=<boolean>","urlObject":{"path":["estimates"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort_by","value":"<string>"},{"description":{"content":"<p>Allowed values: asc, desc</p>\n","type":"text/plain"},"key":"sort_dir","value":"<string>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"}],"variable":[]}},"response":[{"id":"05e65c68-a080-4d85-854b-7f7d54664bf5","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates?limit=10&sort_by=cuid&sort_dir=asc&page=1&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][class]=int&filter[0][operator]==&filter[0][value]=1&sort[0][attribute]=id&sort[0][order]=asc&rel[company]=&calculate_count=true","protocol":"https","host":["ywe3crmpll","execute-api","us-east-2","amazonaws","com"],"path":["stage","estimates"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"c0ce9b7e-7d12-48a6-b0a6-a122d928bb58","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates?limit=10&sort_by=cuid&sort_dir=asc&page=1&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][class]=int&filter[0][operator]==&filter[0][value]=1&sort[0][attribute]=id&sort[0][order]=asc&rel[company]=&calculate_count=true","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"5ddc50f0-f8a8-4fe7-9e12-8843576ddc98","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates?limit=10&sort_by=cuid&sort_dir=asc&page=1&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][class]=int&filter[0][operator]==&filter[0][value]=1&sort[0][attribute]=id&sort[0][order]=asc&rel[company]=&calculate_count=true","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"a08e2b1d-9101-4e6e-8fc2-12497a0b9fbd","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates?limit=10&sort_by=cuid&sort_dir=asc&page=1&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][class]=int&filter[0][operator]==&filter[0][value]=1&sort[0][attribute]=id&sort[0][order]=asc&rel[company]=&calculate_count=true","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["estimates"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"5b1a37d1-73a7-40cc-a4ec-95c77d59c8da"},{"name":"Create an estimate","id":"a0fffc84-0961-4964-989f-b92acc0beb63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\"// optional | nullable | integer | required if job_id is not set and is_template is not set or false | existing customer id\n    \"job_id\"// optional | nullable | integer | required if is_template is not set or false | existing job id\n    \"status_id\"// optional | integer | existing estimate type custom status id\n    \"status_workflow_id\"// optional | integer | existing estimate type status workflow id\n    \"notes\"// optional | string | max:4000\n    \"invoiced_date\"// optional | nullable | timestamp\n    \"due_date\"// optional | nullable | timestamp\n    \"tax_rate\"// required | string | numeric | example: \"0.00\"\n    \"is_template\"// optional | boolean\n    \"title\"// optional | string | max:255\n    \"author_id\"// optional | nullable | integer | existing user id\n    \"location_id\"// optional | nullable | integer | existing location id\n    \"contract_id\"// optional | nullable | integer | existing contract id\n    \"commission_type\"// optional | integer | between:0,3\n    \"commission_percent\"// optional | integer | between:0,100\n    \"invoice_use_logo\"// optional | nullable | boolean\n    \"invoice_show_line_item_unit_price\"// optional | nullable | boolean\n    \"invoice_show_line_item_qty\"// optional | nullable | boolean\n    \"invoice_show_line_item_taxed\"// optional | nullable | boolean\n    \"invoice_show_line_item_total\"// optional | nullable | boolean\n    \"invoice_show_line_item_desc\"// optional | nullable | boolean\n    \"invoice_show_line_item_sku\"// optional | nullable | boolean\n    \"invoice_show_total_tax\"// optional | nullable | boolean\n    \"invoice_show_job_title\"// optional | nullable | boolean\n    \"invoice_show_job_location\"// optional | nullable | boolean\n    \"invoice_show_assigned_members\"// optional | nullable | boolean\n    \"invoice_show_author\"// optional | nullable | boolean\n    \"invoice_show_service_address\"// optional | nullable | boolean\n    \"invoice_contract_signature_lines\"// optional | integer | between:0,2\n    \"invoice_amount_due_display_type\"// optional | string | acceptable_values: remaining_balance,set_amount,percentage_of_total,none\n    \"invoice_amount_due_display_value\"// optional | string\n    \"invoice_pdf_title\"// optional | string | max:100\n    \"estimate_status\"// optional | integer\n    \"theme_id\"// optional | nullable | integer | existing theme id\n    \"internal_notes\"// optional | nullable | string\n    \"reference\"// optional | nullable | string\n    \"hvi\"// optional | numeric\n    \"company_profile_id\"// optional | nullable | integer | existing alternate company profile id\n    \"maintenance_agreement_id\"// optional | nullable | integer | existing maintenance agreement id\n    \"maintenance_occurrence_id\"// optional | nullable | integer | existing maintenance occurrence id\n    \"occurrence_date\"// optional | nullable | required when maintenance agreement id is set and maintenance occurrence id is empty\n    \"qbd_class_id\" // optional | nullable | integer | existing Quickbook Class id\n    \"qbd_discount_id\" // optional | nullable | integer | existing Quickbook Discount Item id\n    \"qbo_sales_tax_code_id\" //  optional | nullable | integer | existing Quickbook Tax Code id\n    \"display_settings\": {// optional | nullable | object\n        \"show_payment_button\"// required | boolean\n        \"show_signature_button\"// required | boolean\n        \"show_company_title\"// optional | boolean\n        \"is_customer_phone_visible\"// optional | boolean\n        \"is_modified_customer\"// optional | boolean\n        \"modified_customer_display_name\"// optional | string\n        \"modified_customer_display_address\"// optional | string\n    }\n    \"estimate_display_settings\": {// optional | nullable | object\n        \"show_payment_button\"// required | boolean\n        \"show_company_title\"// optional | boolean\n        \"is_customer_phone_visible\"// optional | boolean\n    }\n    \"expenses\": [// optional | nullable | array of objects\n        {\n            \"amount\"// required | string | numeric\n            \"description\"// optional | string | max:1000\n            \"title\"// required | string | min:3 | max:60\n            \"type\"// required | string | acceptable_values: service,product\n        }\n    ]\n    \"options\": [// optional | nullable | array of objects\n        {\n            \"is_selected\",// required | boolean\n            \"is_default\",// required | boolean\n            \"group_number\",// required | integer\n            \"title\",// optional | nullable | string\n            \"description\",// optional | nullable | string\n            \"photo_id\",// optional | nullable | integer | existing file id\n            \"qbd_discount_id\",// optional | nullable | integer | existing Quickbook Discount Item id\n            \"tab_title\",// optional | nullable | string\n            \"line_discount\": {  // optional | nullable | object\n                \"title\",// required | string\n                \"description\",// optional | nullable | string\n                \"type\",// required | string\n                \"amount\"// required | string | numeric | example: \"0.00\"\n            }\n        }\n    ]\n    \"add_on_options\": [// optional | nullable | array of objects\n        {\n            \"is_selected\",// required | boolean\n            \"is_default\",// required | boolean\n            \"group_number\",// required | integer\n            \"title\",// optional | nullable | string\n            \"description\",// optional | nullable | string\n            \"photo_id\",// optional | nullable | integer | existing file id\n            \"tab_title\"// optional | nullable | string\n        }\n    ]\n    \"line_items\": [ // optional | nullable | array of objects | required if company xero is enabled and not_optional_line_items is not set\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"optional_line_items\": [\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"not_optional_line_items\": [\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ],\n    \"customfields\": [ // optional | array | description: array of custom fleds\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        },\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates","urlObject":{"path":["estimates"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"be3682df-fe37-4e61-831b-75abd9f39374","name":"201 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"45d659d5-9c5c-40e4-9983-6c1499b9a837","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"6adb02bf-15fe-4977-a189-cd73c8041b5a","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"5a17708a-344f-4f64-bcce-5ff026b4248c","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"3e4c2a2f-d4b7-4237-bde1-5e90d3aee574","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/estimates"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"a0fffc84-0961-4964-989f-b92acc0beb63"}],"id":"ae8f244a-72be-48a0-983e-805f9ab43b3c","description":"<p>Endpoints related to estimates</p>\n","_postman_id":"ae8f244a-72be-48a0-983e-805f9ab43b3c"},{"name":"invoices","item":[{"name":"{invoiceId}","item":[{"name":"Retrieve invoice by ID","id":"a2cb3a36-1c9f-4749-bf6e-13729cdc6505","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","description":"<p>Retrieve an invoice by ID</p>\n","urlObject":{"path":["invoices",":invoiceId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"30a1f76b-04be-4933-a531-ccc2562b232a","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"invoiceId"}]}},"response":[{"id":"4c02b315-f30a-4888-b7d5-287a42dff328","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"8daa66fa-cc1b-4ca0-9e3f-dbe16fa2d2f4","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"06132709-86e0-4f5c-991e-fcf642328852","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"e5604cc4-0e26-40cb-a02e-6f7493403c0d","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"a2cb3a36-1c9f-4749-bf6e-13729cdc6505"},{"name":"Update invoice by ID","id":"0ba7a3e2-4b18-44c4-93eb-d3a8f4e0da53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\"// optional | nullable | integer | required if job_id is not set and is_template is not set or false | existing customer id\n    \"job_id\"// optional | nullable | integer | required if is_template is not set or false | existing job id\n    \"status\"// optional | integer | acceptable_values: 2(draft),3(invoiced),4(paid),5(partialy paid),6(void)\n    \"status_id\"// optional | integer | existing invoice type custom status id\n    \"status_workflow_id\"// optional | integer | existing invoice type status workflow id\n    \"notes\"// optional | string | max:4000\n    \"invoiced_date\"// optional | nullable | timestamp\n    \"due_date\"// optional | nullable | timestamp\n    \"tax_rate\"// required | string | numeric | example: \"0.00\"\n    \"is_template\"// optional | boolean\n    \"title\"// optional | string | max:255\n    \"author_id\"// optional | nullable | integer | existing user id\n    \"location_id\"// optional | nullable | integer | existing location id\n    \"contract_id\"// optional | nullable | integer | existing contract id\n    \"commission_type\"// optional | integer | between:0,3\n    \"commission_percent\"// optional | integer | between:0,100\n    \"invoice_use_logo\"// optional | nullable | boolean\n    \"invoice_show_line_item_unit_price\"// optional | nullable | boolean\n    \"invoice_show_line_item_qty\"// optional | nullable | boolean\n    \"invoice_show_line_item_taxed\"// optional | nullable | boolean\n    \"invoice_show_line_item_total\"// optional | nullable | boolean\n    \"invoice_show_line_item_desc\"// optional | nullable | boolean\n    \"invoice_show_line_item_sku\"// optional | nullable | boolean\n    \"invoice_show_total_tax\"// optional | nullable | boolean\n    \"invoice_show_job_title\"// optional | nullable | boolean\n    \"invoice_show_job_location\"// optional | nullable | boolean\n    \"invoice_show_assigned_members\"// optional | nullable | boolean\n    \"invoice_show_author\"// optional | nullable | boolean\n    \"invoice_show_service_address\"// optional | nullable | boolean\n    \"invoice_contract_signature_lines\"// optional | integer | between:0,2\n    \"invoice_amount_due_display_type\"// optional | string | acceptable_values: remaining_balance,set_amount,percentage_of_total,none\n    \"invoice_amount_due_display_value\"// optional | string\n    \"invoice_pdf_title\"// optional | string | max:100\n    \"estimate_status\"// optional | integer\n    \"theme_id\"// optional | nullable | integer | existing theme id\n    \"internal_notes\"// optional | nullable | string\n    \"reference\"// optional | nullable | string\n    \"hvi\"// optional | numeric\n    \"company_profile_id\"// optional | nullable | integer | existing alternate company profile id\n    \"maintenance_agreement_id\"// optional | nullable | integer | existing maintenance agreement id\n    \"maintenance_occurrence_id\"// optional | nullable | integer | existing maintenance occurrence id\n    \"occurrence_date\"// optional | nullable | required when maintenance agreement id is set and maintenance occurrence id is empty\n    \"qbd_class_id\" // optional | nullable | integer | existing Quickbook Class id\n    \"qbd_discount_id\" // optional | nullable | integer | existing Quickbook Discount Item id\n    \"qbo_sales_tax_code_id\" //  optional | nullable | integer | existing Quickbook Tax Code id\n    \"display_settings\": {// optional | nullable | object\n        \"show_payment_button\"// required | boolean\n        \"show_signature_button\"// required | boolean\n        \"show_company_title\"// optional | boolean\n        \"is_customer_phone_visible\"// optional | boolean\n        \"is_modified_customer\"// optional | boolean\n        \"modified_customer_display_name\"// optional | string\n        \"modified_customer_display_address\"// optional | string\n    }\n    \"estimate_display_settings\": {// optional | nullable | object\n        \"show_payment_button\"// required | boolean\n        \"show_company_title\"// optional | boolean\n        \"is_customer_phone_visible\"// optional | boolean\n    }\n    \"expenses\": [// optional | nullable | array of objects\n        {\n            \"amount\"// required | string | numeric\n            \"description\"// optional | string | max:1000\n            \"title\"// required | string | min:3 | max:60\n            \"type\"// required | string | acceptable_values: service,product\n        }\n    ]\n    \"options\": [// optional | nullable | array of objects\n        {\n            \"is_selected\",// required | boolean\n            \"is_default\",// required | boolean\n            \"group_number\",// required | integer\n            \"title\",// optional | nullable | string\n            \"description\",// optional | nullable | string\n            \"photo_id\",// optional | nullable | integer | existing file id\n            \"qbd_discount_id\",// optional | nullable | integer | existing Quickbook Discount Item id\n            \"tab_title\",// optional | nullable | string\n            \"line_discount\": {  // optional | nullable | object\n                \"title\",// required | string\n                \"description\",// optional | nullable | string\n                \"type\",// required | string\n                \"amount\"// required | string | numeric | example: \"0.00\"\n            }\n        }\n    ]\n    \"add_on_options\": [// optional | nullable | array of objects\n        {\n            \"is_selected\",// required | boolean\n            \"is_default\",// required | boolean\n            \"group_number\",// required | integer\n            \"title\",// optional | nullable | string\n            \"description\",// optional | nullable | string\n            \"photo_id\",// optional | nullable | integer | existing file id\n            \"tab_title\"// optional | nullable | string\n        }\n    ]\n    \"line_items\": [ // optional | nullable | array of objects | required if company xero is enabled and not_optional_line_items is not set\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"optional_line_items\": [\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"not_optional_line_items\": [\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"payments\": [// optional | nullable | array of objects\n        {\n            \"invoice_id\"// required | integer | existing invoice id\n            \"payment_date\"// required | timestamp\n            \"amount\"// required | string | numeric | example: \"1.00\"\n            \"method\"// required | string | accepatable_values: cash,check,card,square,bank_transfer,other\n            \"payment_method_id\"// optional | nullable | integer | existing payment method id\n            \"qbd_discount_account_id\"// optional | nullable | integer | required if qbd_discount_amount is set | existing Quickbooks Account id\n            \"qbd_discount_amount\"// optional | nullable | string |  numeric | example: \"1.00\"\n            \"notes\"// optional | string |  max:4000\n            \"square_transaction_id\"// optional | string |  max:4000\n            \"can_sync_with_integrations\"// optional | nullable |  boolean\n        }\n    ],\n    \"customfields\": [ // optional | array | description: array of custom fleds\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        },\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","description":"<p>Update an invoice</p>\n","urlObject":{"path":["invoices",":invoiceId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"invoiceId"}]}},"response":[{"id":"1d397147-ecd4-414e-b9d4-db2992fd2fa5","name":"200 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"725a30c9-e0aa-493d-bf59-c1a29fb9d707","name":"400 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"23ab7abd-2121-40ae-ad89-3cf241ec2798","name":"401 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"f59216a0-673a-4877-a922-ecfd600eea79","name":"404 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"672574f0-fe91-429d-8015-4987ffc3487f","name":"500 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"0ba7a3e2-4b18-44c4-93eb-d3a8f4e0da53"},{"name":"Delete invoice by ID","id":"b6cdd3dd-c34c-42e4-a37a-7fc3bf051cd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","description":"<p>Delete an invoice</p>\n","urlObject":{"path":["invoices",":invoiceId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"dbe7696c-c039-4762-860c-d03c60e12bcf","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"invoiceId"}]}},"response":[{"id":"ee864873-397c-4bf8-b353-0419a22e05d0","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"7771fa4b-7235-41f1-9775-c322f4358e89","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"2793000f-660f-4ab0-9b4d-16823a202dd2","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"e6412c30-1035-442c-a53b-1b732cdcb553","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId"],"variable":[{"key":"invoiceId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"b6cdd3dd-c34c-42e4-a37a-7fc3bf051cd3"},{"name":"Update Invoice Prices","id":"59c45e95-8c04-4af8-92aa-7f23ed278286","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"line_items\": [ // required | array of invoice line items\n        {\n            \"id\": 1, // required | integer | existing line item id\n            \"line_components\": [ // required | array of items in line components\n                {\n                    \"id\": 1, // required | integer\n                    \"unit_cost\": \"10\", // optional | numeric\n                    \"unit_price\": \"10\" // optional | numeric\n                }\n            ]\n        },\n        {\n            \"id\": 2, // required | integer | existing line item id\n            \"line_components\": [ // required | array of items in line components\n                {\n                    \"id\": 2, // required | integer\n                    \"unit_cost\": \"20\", // optional | numeric\n                    \"unit_price\": \"20\" // optional | numeric\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId/price-update","urlObject":{"path":["invoices",":invoiceId","price-update"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"type":"any","value":"<integer>","key":"invoiceId"}]}},"response":[{"id":"857c85b0-3508-4aea-8f31-2bc3b6e65c7b","name":"200 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"line_items\": [\n        {\n            \"id\": 1,\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"unit_cost\": \"10\",\n                    \"unit_price\": \"10\"\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"line_components\": [\n                {\n                    \"id\": 2,\n                    \"unit_cost\": \"20\",\n                    \"unit_price\": \"20\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId/price-update","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId","price-update"],"variable":[{"key":"invoiceId","value":"<integer>"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"2fcdd26c-3252-4483-9d9a-c125d4d14020","name":"400 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"line_items\": [\n        {\n            \"id\": 1,\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"unit_cost\": \"10\",\n                    \"unit_price\": \"10\"\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"line_components\": [\n                {\n                    \"id\": 2,\n                    \"unit_cost\": \"20\",\n                    \"unit_price\": \"20\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId/price-update","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId","price-update"],"variable":[{"key":"invoiceId","value":"<integer>"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"fb9b79b0-3a32-461a-8616-3f5680a4e4f6","name":"401 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"line_items\": [\n        {\n            \"id\": 1,\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"unit_cost\": \"10\",\n                    \"unit_price\": \"10\"\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"line_components\": [\n                {\n                    \"id\": 2,\n                    \"unit_cost\": \"20\",\n                    \"unit_price\": \"20\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId/price-update","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId","price-update"],"variable":[{"key":"invoiceId","value":"<integer>"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"e5068755-9752-4687-bb8a-421b35e3665a","name":"404 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"line_items\": [\n        {\n            \"id\": 1,\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"unit_cost\": \"10\",\n                    \"unit_price\": \"10\"\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"line_components\": [\n                {\n                    \"id\": 2,\n                    \"unit_cost\": \"20\",\n                    \"unit_price\": \"20\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId/price-update","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId","price-update"],"variable":[{"key":"invoiceId","value":"<integer>"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"f2125f52-5444-4f64-866d-7edc4705ecb3","name":"500 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"line_items\": [\n        {\n            \"id\": 1,\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"unit_cost\": \"10\",\n                    \"unit_price\": \"10\"\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"line_components\": [\n                {\n                    \"id\": 2,\n                    \"unit_cost\": \"20\",\n                    \"unit_price\": \"20\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/:invoiceId/price-update","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices",":invoiceId","price-update"],"variable":[{"key":"invoiceId","value":"<integer>"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"59c45e95-8c04-4af8-92aa-7f23ed278286"}],"id":"54711f55-3c33-4947-9acf-3db45dbae654","_postman_id":"54711f55-3c33-4947-9acf-3db45dbae654","description":""},{"name":"status-workflows","item":[{"name":"Retrieve invoice status workflows","id":"83dd3564-f66c-4109-866a-ce39666a9faf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List job status workflows</p>\n","urlObject":{"path":["jobs","status-workflows"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"9ad18c6c-0c88-48dd-968f-aa7a13a87b92","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"9364a8a6-6b4a-4590-856b-71686a602223","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"b3dce53c-0d95-41d9-8ca3-514600239c85","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"12df51bf-9fc6-472f-8403-32924a0b5af8","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"83dd3564-f66c-4109-866a-ce39666a9faf"}],"id":"07c04827-1b31-4be6-9707-eb97de19f3b8","_postman_id":"07c04827-1b31-4be6-9707-eb97de19f3b8","description":""},{"name":"statuses","item":[{"name":"Retrieve invoice statuses","id":"0a7b3e9b-f37c-4a20-ba9c-9ccbf4443465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List job status workflow statuses</p>\n","urlObject":{"path":["jobs","status-workflow-statuses"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"9004bb81-516b-4b5e-8e6b-af92080a7de3","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"5d331098-1e1f-4670-91a1-20fdacf8b8ff","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"0bdf602e-56a2-4017-b267-83bfb2a3507c","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"f3f6881b-e174-41b1-819f-757e94a2a09f","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0a7b3e9b-f37c-4a20-ba9c-9ccbf4443465"}],"id":"c921916a-aabe-4cfe-9c90-73d2e9874016","_postman_id":"c921916a-aabe-4cfe-9c90-73d2e9874016","description":""},{"name":"List invoices","id":"4ea1695e-c7ad-4283-b91f-98b4a62508ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices?limit=<string>&page=<string>&sort_by=<string>&sort_dir=<string>&search=<string>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>&calculate_count=<boolean>","description":"<p>List invoices</p>\n","urlObject":{"path":["invoices"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort_by","value":"<string>"},{"description":{"content":"<p>Allowed values: asc, desc</p>\n","type":"text/plain"},"key":"sort_dir","value":"<string>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"}],"variable":[]}},"response":[{"id":"ece385e7-03de-4bbd-bc64-da768adc1be0","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices?limit=10&sort_by=cuid&sort_dir=asc&page=1&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][class]=int&filter[0][operator]==&filter[0][value]=1&sort[0][attribute]=id&sort[0][order]=asc&rel[company]=&calculate_count=true","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"3c8d3f34-b202-4256-be9f-54e23df6600f","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices?limit=10&sort_by=cuid&sort_dir=asc&page=1&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][class]=int&filter[0][operator]==&filter[0][value]=1&sort[0][attribute]=id&sort[0][order]=asc&rel[company]=&calculate_count=true","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"dd03e395-889a-4204-9214-b615f8a8f40d","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices?limit=20&sort_by=cuid&sort_dir=asc&page=1&search=some_text&filter[0][action]=where&filter[0][attribute]=cuid&filter[0][class]=int&filter[0][operator]==&filter[0][value]=123&sort[0][attribute]=id&sort[0][order]=asc&rel[customer]=limit:10&sort_by=cuid&sort_dir=asc&page=1&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][class]=int&filter[0][operator]==&filter[0][value]=1&sort[0][attribute]=id&sort[0][order]=asc&rel[company]=&calculate_count=true","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices"],"query":[{"key":"limit","value":"20","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"some_text","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"cuid","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"123","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[customer]","value":"limit:10","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"bc0d78a0-f977-41bb-8a97-907036c87ab9","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices?limit=20&sort_by=cuid&sort_dir=asc&page=1&search=some_text&filter[0][action]=where&filter[0][attribute]=cuid&filter[0][class]=int&filter[0][operator]==&filter[0][value]=123&sort[0][attribute]=id&sort[0][order]=asc&rel[customer]=limit:10&sort_by=cuid&sort_dir=asc&page=1&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][class]=int&filter[0][operator]==&filter[0][value]=1&sort[0][attribute]=id&sort[0][order]=asc&rel[company]=&calculate_count=true","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["invoices"],"query":[{"key":"limit","value":"20","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"some_text","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"cuid","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"123","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[customer]","value":"limit:10","type":"text"},{"key":"sort_by","value":"cuid","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"page","value":"1","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][order]","value":"asc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"4ea1695e-c7ad-4283-b91f-98b4a62508ac"},{"name":"Create an invoice","id":"c4afedb1-0b58-4aff-93c1-c8eb0203e313","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\"// optional | nullable | integer | required if job_id is not set and is_template is not set or false | existing customer id\n    \"job_id\"// optional | nullable | integer | required if is_template is not set or false | existing job id\n    \"status\"// optional | integer | acceptable_values: 2(draft),3(invoiced),4(paid),5(partialy paid),6(void)\n    \"status_id\"// optional | integer | existing invoice type custom status id\n    \"status_workflow_id\"// optional | integer | existing invoice type status workflow id\n    \"notes\"// optional | string | max:4000\n    \"invoiced_date\"// optional | nullable | timestamp\n    \"due_date\"// optional | nullable | timestamp\n    \"tax_rate\"// required | string | numeric | example: \"0.00\"\n    \"is_template\"// optional | boolean\n    \"title\"// optional | string | max:255\n    \"author_id\"// optional | nullable | integer | existing user id\n    \"location_id\"// optional | nullable | integer | existing location id\n    \"contract_id\"// optional | nullable | integer | existing contract id\n    \"commission_type\"// optional | integer | between:0,3\n    \"commission_percent\"// optional | integer | between:0,100\n    \"invoice_use_logo\"// optional | nullable | boolean\n    \"invoice_show_line_item_unit_price\"// optional | nullable | boolean\n    \"invoice_show_line_item_qty\"// optional | nullable | boolean\n    \"invoice_show_line_item_taxed\"// optional | nullable | boolean\n    \"invoice_show_line_item_total\"// optional | nullable | boolean\n    \"invoice_show_line_item_desc\"// optional | nullable | boolean\n    \"invoice_show_line_item_sku\"// optional | nullable | boolean\n    \"invoice_show_total_tax\"// optional | nullable | boolean\n    \"invoice_show_job_title\"// optional | nullable | boolean\n    \"invoice_show_job_location\"// optional | nullable | boolean\n    \"invoice_show_assigned_members\"// optional | nullable | boolean\n    \"invoice_show_author\"// optional | nullable | boolean\n    \"invoice_show_service_address\"// optional | nullable | boolean\n    \"invoice_contract_signature_lines\"// optional | integer | between:0,2\n    \"invoice_amount_due_display_type\"// optional | string | acceptable_values: remaining_balance,set_amount,percentage_of_total,none\n    \"invoice_amount_due_display_value\"// optional | string\n    \"invoice_pdf_title\"// optional | string | max:100\n    \"estimate_status\"// optional | integer\n    \"theme_id\"// optional | nullable | integer | existing theme id\n    \"internal_notes\"// optional | nullable | string\n    \"reference\"// optional | nullable | string\n    \"hvi\"// optional | numeric\n    \"company_profile_id\"// optional | nullable | integer | existing alternate company profile id\n    \"maintenance_agreement_id\"// optional | nullable | integer | existing maintenance agreement id\n    \"maintenance_occurrence_id\"// optional | nullable | integer | existing maintenance occurrence id\n    \"occurrence_date\"// optional | nullable | required when maintenance agreement id is set and maintenance occurrence id is empty\n    \"qbd_class_id\" // optional | nullable | integer | existing Quickbook Class id\n    \"qbd_discount_id\" // optional | nullable | integer | existing Quickbook Discount Item id\n    \"qbo_sales_tax_code_id\" //  optional | nullable | integer | existing Quickbook Tax Code id\n    \"display_settings\": {// optional | nullable | object\n        \"show_payment_button\"// required | boolean\n        \"show_signature_button\"// required | boolean\n        \"show_company_title\"// optional | boolean\n        \"is_customer_phone_visible\"// optional | boolean\n        \"is_modified_customer\"// optional | boolean\n        \"modified_customer_display_name\"// optional | string\n        \"modified_customer_display_address\"// optional | string\n    }\n    \"estimate_display_settings\": {// optional | nullable | object\n        \"show_payment_button\"// required | boolean\n        \"show_company_title\"// optional | boolean\n        \"is_customer_phone_visible\"// optional | boolean\n    }\n    \"expenses\": [// optional | nullable | array of objects\n        {\n            \"amount\"// required | string | numeric\n            \"description\"// optional | string | max:1000\n            \"title\"// required | string | min:3 | max:60\n            \"type\"// required | string | acceptable_values: service,product\n        }\n    ]\n    \"options\": [// optional | nullable | array of objects\n        {\n            \"is_selected\",// required | boolean\n            \"is_default\",// required | boolean\n            \"group_number\",// required | integer\n            \"title\",// optional | nullable | string\n            \"description\",// optional | nullable | string\n            \"photo_id\",// optional | nullable | integer | existing file id\n            \"qbd_discount_id\",// optional | nullable | integer | existing Quickbook Discount Item id\n            \"tab_title\",// optional | nullable | string\n            \"line_discount\": {  // optional | nullable | object\n                \"title\"// required | string\n                \"description\"// optional | nullable | string\n                \"type\"// required | string\n                \"amount\"// required | string | numeric | example: \"0.00\"\n            }\n        }\n    ]\n    \"add_on_options\": [// optional | nullable | array of objects\n        {\n            \"is_selected\",// required | boolean\n            \"is_default\",// required | boolean\n            \"group_number\",// required | integer\n            \"title\",// optional | nullable | string\n            \"description\",// optional | nullable | string\n            \"photo_id\",// optional | nullable | integer | existing file id\n            \"tab_title\"// optional | nullable | string\n        }\n    ]\n    \"line_items\": [ // optional | nullable | array of objects | required if company xero is enabled and not_optional_line_items is not set\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"// required | nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"optional_line_items\": [\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"//  required |nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"//  required |nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"//  required |nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"not_optional_line_items\": [\n        {\n            \"line_number\"// required | nullable | integer\n            \"line_type\"// optional | nullable | string | accepatable_values: item, group\n            \"line_title\"//  required |nullable | string\n            \"line_description\"// optional | nullable | string\n            \"line_price_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_visibility\"// required | nullable | string | accepatable_values: all, component, group\n            \"line_quantity\"// nullable | numeric\n            \"is_selected\"// nullable | boolean\n            \"is_optional\"// nullable | boolean\n            \"qbo_group_item_ref\"// optional | nullable | string\n            \"source\"// optional | nullable | integer\n            \"group_number\"// nullable | integer\n            \"commission_amount\"// nullable | string | numeric | example: \"0.00\"\n            \"hvi_amount\"// string | numeric | example: \"0.00\"\n            \"line_components\": [\n                {\n                    \"id\"// required | integer\n                    \"title\"// optional | string | \n                    \"description\"// optional | string | required if title is not set\n                    \"xero_sales_account\"// optional | nullable | string | max:1000\n                    \"xero_tax_account\"// optional | nullable | string | max:1000\n                    \"tax_rate\"// optional | string | max:1000 | example: \"0.00\"\n                    \"file_ids\"// optional | array | description: array of existing file ids\n                    \"price_update_method\"// nullable | string | accepatable_values: set_price_manually,automatic_markup,use_cmp_pricing\n                    \"automatic_markup_percentage\"// nullable | string | required, if price_update_method is automatic_markup\n                    \"line_discount\"// nullable | array\n                    \"line_surcharge\"// nullable | array\n                    \"serialized_inventory_id\"// nullable | integer\n                    \"qbo_line_item_id\"// nullable | integer\n                    \"qbo_sales_tax_code_id\"//  optional | nullable | integer | existing Quickbook Tax Code id\n                    \"unit_price\"// required | numeric\n                    \"quantity\"// required | numeric\n                    \"taxable\": // required | boolean\n                }\n            ]\n        }\n    ]\n    \"payments\": [// optional | nullable | array of objects\n        {\n            \"invoice_id\"// required | integer | existing invoice id\n            \"payment_date\"// required | timestamp\n            \"amount\"// required | string | numeric | example: \"1.00\"\n            \"method\"// required | string | accepatable_values: cash,check,card,square,bank_transfer,other\n            \"payment_method_id\"// optional | nullable | integer | existing payment method id\n            \"qbd_discount_account_id\"// optional | nullable | integer | required if qbd_discount_amount is set | existing Quickbooks Account id\n            \"qbd_discount_amount\"// optional | nullable | string |  numeric | example: \"1.00\"\n            \"notes\"// optional | string |  max:4000\n            \"square_transaction_id\"// optional | string |  max:4000\n            \"can_sync_with_integrations\"// optional | nullable |  boolean\n        }\n    ],\n    \"customfields\": [ // optional | array | description: array of custom fleds\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        },\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices","description":"<p>Create an invoice</p>\n","urlObject":{"path":["invoices"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"16a5ee49-c9d5-4a9e-8ab8-425366d834bc","name":"201 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"89812ffb-2d0a-4b8f-aeac-e43e809e793f","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"a7d08afd-62c9-4a9a-8892-a9acd233970a","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"0595310f-abd9-4b67-8a25-15238aaaf15a","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"e1ffbc1c-acad-4d47-8bf7-9c515df6da5e","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer_id\": 1,\n    \"job_id\": 1,\n    \"status\": 3,\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"notes\": \"some string\",\n    \"invoiced_date\": 1234567890,\n    \"due_date\": 1234567890,\n    \"tax_rate\": \"1.00\",\n    \"is_template\": false,\n    \"title\": \"some string\",\n    \"author_id\": 1,\n    \"location_id\": 1,\n    \"contract_id\": 1,\n    \"commission_type\": 1,\n    \"commission_percent\": 1,\n    \"invoice_use_logo\": false,\n    \"invoice_show_line_item_unit_price\": false,\n    \"invoice_show_line_item_qty\": false,\n    \"invoice_show_line_item_taxed\": false,\n    \"invoice_show_line_item_total\": false,\n    \"invoice_show_line_item_desc\": false,\n    \"invoice_show_line_item_sku\": false,\n    \"invoice_show_total_tax\": false,\n    \"invoice_show_job_title\": false,\n    \"invoice_show_job_location\": false,\n    \"invoice_show_assigned_members\": false,\n    \"invoice_show_author\": false,\n    \"invoice_show_service_address\": false,\n    \"invoice_contract_signature_lines\": 1,\n    \"invoice_amount_due_display_type\": \"none\",\n    \"invoice_amount_due_display_value\": \"some string\",\n    \"invoice_pdf_title\": \"some string\",\n    \"estimate_status\": 1,\n    \"theme_id\": 1,\n    \"internal_notes\": \"some string\",\n    \"reference\": \"some string\",\n    \"hvi\": \"123\",\n    \"company_profile_id\": 1,\n    \"maintenance_agreement_id\": 1,\n    \"maintenance_occurrence_id\": 1,\n    \"occurrence_date\": \"2025-01-01 00:00:00.000\",\n    \"qbd_class_id\": 1,\n    \"qbd_discount_id\": 1,\n    \"qbo_sales_tax_code_id\": 1,\n    \"display_settings\": {\n        \"show_payment_button\": false,\n        \"show_signature_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false,\n        \"is_modified_customer\": false,\n        \"modified_customer_display_name\": \"some string\",\n        \"modified_customer_display_address\": \"some string\"\n    },\n    \"estimate_display_settings\": {\n        \"show_payment_button\": false,\n        \"show_company_title\": false,\n        \"is_customer_phone_visible\": false\n    },\n    \"expenses\": [\n        {\n            \"amount\": \"1.00\",\n            \"description\": \"some string\",\n            \"title\": \"some string\",\n            \"type\": \"product\"\n        }\n    ],\n    \"options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1,\n            \"qbd_discount_id\": 1,\n            \"line_discount\": {\n                \"title\": \"some string\",\n                \"description\": \"some string\",\n                \"type\": \"some string\",\n                \"amount\": \"1.00\"\n            }\n        }\n    ],\n    \"add_on_options\": [\n        {\n            \"is_selected\": true,\n            \"is_default\": true,\n            \"group_number\": 1,\n            \"title\": \"some string\",\n            \"description\": \"some string\",\n            \"photo_id\": 1\n        }\n    ],\n    \"line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"not_optional_line_items\": [\n        {\n            \"line_number\": 1,\n            \"line_type\": \"item\",\n            \"line_title\": \"some string\",\n            \"line_description\": \"some string\",\n            \"line_price_visibility\": \"group\",\n            \"line_visibility\": \"group\",\n            \"line_quantity\": \"1.00\",\n            \"is_selected\": true,\n            \"is_optional\": true,\n            \"qbo_group_item_ref\": \"some string\",\n            \"source\": 1,\n            \"group_number\": 1,\n            \"commission_amount\": \"1.00\",\n            \"hvi_amount\": \"1.00\",\n            \"line_components\": [\n                {\n                    \"id\": 1,\n                    \"title\": \"some string\",\n                    \"description\": \"some string\",\n                    \"xero_sales_account\": \"some string\",\n                    \"xero_tax_account\": \"some string\",\n                    \"tax_rate\": \"1.00\",\n                    \"file_ids\": [1,2],\n                    \"price_update_method\": \"set_price_manually\",\n                    \"automatic_markup_percentage\": \"10\",\n                    \"line_discount\": null,\n                    \"line_surcharge\": null,\n                    \"serialized_inventory_id\": 1,\n                    \"qbo_line_item_id\": 1,\n                    \"qbo_sales_tax_code_id\": 1,\n                    \"unit_price\": \"10.00\",\n                    \"quantity\": \"1.00\"\n                }\n            ]\n        }\n    ],\n    \"payments\": [\n        {\n            \"invoice_id\": 1,\n            \"payment_date\": 1234567890,\n            \"amount\": \"1.00\",\n            \"method\": \"cash\",\n            \"payment_method_id\": 1,\n            \"qbd_discount_account_id\": 1,\n            \"qbd_discount_amount\": \"1.00\",\n            \"notes\": \"some string\",\n            \"square_transaction_id\": \"some string\",\n            \"can_sync_with_integrations\": false\n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"c4afedb1-0b58-4aff-93c1-c8eb0203e313"}],"id":"119636c8-2921-4c8f-a1a4-e7fa17235b3f","_postman_id":"119636c8-2921-4c8f-a1a4-e7fa17235b3f","description":""},{"name":"items","item":[{"name":"{id}","item":[{"name":"Retrieve item by ID","id":"1846a3e8-7a00-4116-809e-9ba02ed8db1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","description":"<p>Retrieve an invoice item by ID</p>\n","urlObject":{"path":["items",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"01f081dd-db4f-4b27-92f0-458843f5f9c9","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"6a7c24ed-2c2e-4de9-adcc-e73eff1d1926","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"b2091fef-41d2-4fba-b174-2ba9f7446bec","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"81922299-ab50-4714-ac2c-b5433718825d","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"1846a3e8-7a00-4116-809e-9ba02ed8db1b"},{"name":"Update by Id","id":"d6143088-2d49-4bb7-b8be-d9599ca60808","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\",// optional | max:400 | unique for the company\n  \"default_taxable\",// boolean\n  \"default_description\",// optional | string | max:5000\n  \"type\",// optional | string | acceptable_values: service,product,reece-item, \n  \"sku\",// nullable | string | max:255 | unique item sku for the company\n  \"default_unit_price\",// optional | numeric\n  \"default_unit_cost\",// optional | numeric\n  \"default_quantity\",// optional | numeric | value example 10.25\n  \"track_inventory\",// optional | boolean\n  \"is_active\",// optional | boolean\n  \"xero_sales_account\",// nullable | optional | integer\n  \"xero_tax_account\",// nullable | optional | integer\n  \"tax_rate\",// optional | string | max:255 | value example \"10\"\n  \"vendor_id\",// nullable | integer | existing vendor id\n  \"vendor_type\",// nullable | string |acceptable_values: integrated,third_party\n  \"vendor_name\",// nullable | string\n  \"supplier_item_id\",// nullable | string | required, if vendor_type is integrated\n  \"is_automatic_replenishment_by_purchase_order_enabled\",// nullable | boolean\n  \"auto_reorder_level\",// optional | integer | required, if is_automatic_replenishment_by_purchase_order_enabled is true\n  \"replenishment_level\",// nullable | required, if is_automatic_replenishment_by_purchase_order_enabled is true | description: must be greater then auto reorder level\n  \"minimum_order_quantity\",//numeric | nullable\n  \"price_update_method\",// optional | string | acceptable_values: set_price_manually,automatic_markup,use_cmp_pricing\n  \"automatic_markup_percentage\",// nullable | string | required, if price_update_method is automatic_markup\n  \"inventory_mode\",// optional | string | acceptable_values: default,serialized_inventory\n  \"qbo_sales_tax_code_id\",// nullable | optional | integer | existing Quickbooks Tax Code Id\n  \"qbo_purchase_tax_code_id\",// nullable | optional | integer | existing Quickbooks Tax Code Id\n  \"qbo_income_account_id\",// nullable | optional | integer | existing Quickbooks Account Id\n  \"qbo_expense_account_id\",// nullable | optional | integer | existing Quickbooks Account Id\n  \"qbo_asset_account_id\",// nullable | optional | integer | existing Quickbooks Account Id\n  \"qbo_id\",// nullable | optional | integer\n  \"quantity_available\",// optional | numeric\n  \"unit_measure\",// optional | string\n  \"external_id\",// nullable | optional | integer\n  \"external_type\",// nullable | optional | string\n  \"external_sync_status\",// nullable | optional | string\n  \"upc\",// nullable | optional | string\n  \"unit_cost_per_unit_measure\",// optional | numeric\n  \"unit_price_per_unit_measure\",// optional | numeric\n  \"minimum_dimensional_size\",// optional | numeric\n  \"maximum_dimensional_size\",// optional | numeric\n  \"is_round_up_to_even_dimensional_size\",// optional | boolean\n  \"is_labor_item\",// optional | boolean\n  \"inventory_hub_items\": [//nullable | array\n    {\n      \"inventory_hub_id\",// required | existing inventory hub id\n      \"is_automatic_replenishment_by_purchase_order_enabled\",// required | boolean\n      \"auto_reorder_level\",// required | integer | description: should be greater or equal to 0\n      \"replenishment_level\",// required | integer | description: should be greater or equal to 0\n      \"quantity_available\"// required | numeric\n    },\n    {\n      \"inventory_hub_id\",// required | existing inventory hub id\n      \"is_automatic_replenishment_by_purchase_order_enabled\",// required | boolean\n      \"auto_reorder_level\",// required | integer | description: should be greater or equal to 0\n      \"replenishment_level\",// required | integer | description: should be greater or equal to 0\n      \"quantity_available\"// required | numeric\n    }\n  ],\n  \"item_links\": [// optional | array\n    {\n      \"item_id\",// nullable | integer | existing item id\n      \"name\",// required | string | max:255\n      \"url\"// required | string | max:255\n    },\n    {\n      \"item_id\",// nullable | integer | existing item id\n      \"name\",// required | string | max:255\n      \"url\"// required | string | max:255\n    }\n  ],\n  \"serialized_inventories\": [// nullable | optional | array\n    {\n      \"serial_number\",// required | max:255 | unique for the comapny serialized inventories\n      \"reference_number\",// optional | string | max:255\n      \"asset_template_id\",// nullable | integer | existing asset id\n      \"invoice_id\",// required | integer | existing invoice id\n      \"hub_id\",// required | integer | existing inventory hub id\n      \"id_number\",// nullable | string\n      \"default_unit_cost\"// optional | string | max:255\n    },\n    {\n      \"serial_number\",// required | max:255 | unique for the comapny serialized inventories\n      \"reference_number\",// optional | string | max:255\n      \"asset_template_id\",// nullable | integer | existing asset id\n      \"invoice_id\",// required | integer | existing invoice id\n      \"hub_id\",// required | integer | existing inventory hub id\n      \"id_number\",// nullable | string\n      \"default_unit_cost\"// optional | string | max:255\n    }\n  ],\n  \"item_price_tiers\": [// nullable | optional | array\n    {\n      \"tier_id\",// required | integer | existing Price Tier Id\n      \"adjustment_property\",// required | string | acceptable values: unit_cost, unit_price, list_price\n      \"adjustment_value\"// optional | numeric\n    },\n    {\n      \"tier_id\",// required | integer | existing Price Tier Id\n      \"adjustment_property\",// required | string | acceptable values: unit_cost, unit_price, list_price\n      \"adjustment_value\"// optional | numeric\n    }\n  ],\n  \"customfields\": [ // nullable | optional | array | description: array of custom fleds\n    {\n        \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n        \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n        \"value\" // required | string | custom value\n    },\n    {\n        \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n        \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n        \"value\" // required | string | custom value\n    }\n  ],\n  \"tags\"// nullable | optional | array | array of tag ids\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","urlObject":{"path":["items",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"940b37a8-18f6-48dc-8151-d3e7db3a9af0","name":"200 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"bbcb8461-ca47-457f-914a-b731cc6591bc","name":"400 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"74644384-e4a0-4838-ac0f-cbe01e138b4e","name":"401 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"42f43fef-cd0a-443d-ae5f-63df5771f5c2","name":"404 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"bf0b42e5-9a51-43c0-a3c2-a8fd51a2e7eb","name":"500 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items",":id"],"variable":[{"key":"id","value":""}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"d6143088-2d49-4bb7-b8be-d9599ca60808"}],"id":"6c04a455-d704-491e-bf52-c33d817efd49","_postman_id":"6c04a455-d704-491e-bf52-c33d817efd49","description":""},{"name":"Retrieve items list","id":"221c2d2b-d7bc-4978-bd3a-8154035190e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items?limit=<string>&page=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List invoice items</p>\n","urlObject":{"path":["items"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"9785b6c6-d654-4659-865d-5442cfba1960","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed."},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1."},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"43244ecd-33e3-473b-a9d2-375e9b275890","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed."},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1."},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"d8ff1065-8913-4c63-ab9f-251c769ecbf4","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed."},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1."},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"a90cab7f-8d8e-4dc5-b218-312820991858","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["items"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed."},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1."},{"key":"calculate_count","value":"true"},{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"="},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"sort[0][attribute]","value":"id"},{"key":"sort[0][attribute]","value":"desc"},{"key":"rel[company]","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"221c2d2b-d7bc-4978-bd3a-8154035190e2"},{"name":"Create item","id":"698b4733-9418-41bd-b45e-0822fd9457d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\",// required | max:400 | unique for the company\n  \"default_taxable\",// required | boolean\n  \"default_description\",// optional | string | max:5000\n  \"type\",// required | string | acceptable_values: service,product,reece-item, \n  \"sku\",// nullable | string | max:255 | unique item sku for the company\n  \"default_unit_price\",// optional | numeric\n  \"default_unit_cost\",// optional | numeric\n  \"default_quantity\",// required | numeric | value example 10.25\n  \"track_inventory\",// optional | boolean\n  \"is_active\",// optional | boolean\n  \"xero_sales_account\",// nullable | optional | integer\n  \"xero_tax_account\",// nullable | optional | integer\n  \"tax_rate\",// optional | string | max:255 | value example \"10\"\n  \"vendor_id\",// nullable | integer | existing vendor id\n  \"vendor_type\",// nullable | string |acceptable_values: integrated,third_party\n  \"vendor_name\",// nullable | string\n  \"supplier_item_id\",// nullable | string | required, if vendor_type is integrated\n  \"is_automatic_replenishment_by_purchase_order_enabled\",// nullable | boolean\n  \"auto_reorder_level\",// optional | integer | required, if is_automatic_replenishment_by_purchase_order_enabled is true\n  \"replenishment_level\",// nullable | required, if is_automatic_replenishment_by_purchase_order_enabled is true | description: must be greater then auto reorder level\n  \"minimum_order_quantity\",//numeric | nullable\n  \"price_update_method\",// optional | string | acceptable_values: set_price_manually,automatic_markup,use_cmp_pricing\n  \"automatic_markup_percentage\",// nullable | string | required, if price_update_method is automatic_markup\n  \"inventory_mode\",// optional | string | acceptable_values: default,serialized_inventory\n  \"qbo_sales_tax_code_id\",// nullable | optional | integer | existing Quickbooks Tax Code Id\n  \"qbo_purchase_tax_code_id\",// nullable | optional | integer | existing Quickbooks Tax Code Id\n  \"qbo_income_account_id\",// nullable | optional | integer | existing Quickbooks Account Id\n  \"qbo_expense_account_id\",// nullable | optional | integer | existing Quickbooks Account Id\n  \"qbo_asset_account_id\",// nullable | optional | integer | existing Quickbooks Account Id\n  \"qbo_id\",// nullable | optional | integer\n  \"quantity_available\",// optional | numeric\n  \"unit_measure\",// optional | string\n  \"external_id\",// nullable | optional | integer\n  \"external_type\",// nullable | optional | string\n  \"external_sync_status\",// nullable | optional | string\n  \"upc\",// nullable | optional | string\n  \"unit_cost_per_unit_measure\",// optional | numeric\n  \"unit_price_per_unit_measure\",// optional | numeric\n  \"minimum_dimensional_size\",// optional | numeric\n  \"maximum_dimensional_size\",// optional | numeric\n  \"is_round_up_to_even_dimensional_size\",// optional | boolean\n  \"is_labor_item\",// optional | boolean\n  \"inventory_hub_items\": [//nullable | array\n    {\n      \"inventory_hub_id\",// required | existing inventory hub id\n      \"is_automatic_replenishment_by_purchase_order_enabled\",// required | boolean\n      \"auto_reorder_level\",// required | integer | description: should be greater or equal to 0\n      \"replenishment_level\",// required | integer | description: should be greater or equal to 0\n      \"quantity_available\"// required | numeric\n    },\n    {\n      \"inventory_hub_id\",// required | existing inventory hub id\n      \"is_automatic_replenishment_by_purchase_order_enabled\",// required | boolean\n      \"auto_reorder_level\",// required | integer | description: should be greater or equal to 0\n      \"replenishment_level\",// required | integer | description: should be greater or equal to 0\n      \"quantity_available\"// required | numeric\n    }\n  ],\n  \"item_links\": [// optional | array\n    {\n      \"item_id\",// nullable | integer | existing item id\n      \"name\",// required | string | max:255\n      \"url\"// required | string | max:255\n    },\n    {\n      \"item_id\",// nullable | integer | existing item id\n      \"name\",// required | string | max:255\n      \"url\"// required | string | max:255\n    }\n  ],\n  \"serialized_inventories\": [// nullable | optional | array\n    {\n      \"serial_number\",// required | max:255 | unique for the comapny serialized inventories\n      \"reference_number\",// optional | string | max:255\n      \"asset_template_id\",// nullable | integer | existing asset id\n      \"invoice_id\",// required | integer | existing invoice id\n      \"hub_id\",// required | integer | existing inventory hub id\n      \"id_number\",// nullable | string\n      \"default_unit_cost\"// optional | string | max:255\n    },\n    {\n      \"serial_number\",// required | max:255 | unique for the comapny serialized inventories\n      \"reference_number\",// optional | string | max:255\n      \"asset_template_id\",// nullable | integer | existing asset id\n      \"invoice_id\",// required | integer | existing invoice id\n      \"hub_id\",// required | integer | existing inventory hub id\n      \"id_number\",// nullable | string\n      \"default_unit_cost\"// optional | string | max:255\n    }\n  ],\n  \"item_price_tiers\": [// nullable | optional | array\n    {\n      \"tier_id\",// required | integer | existing Price Tier Id\n      \"adjustment_property\",// required | string | acceptable values: unit_cost, unit_price, list_price\n      \"adjustment_value\"// optional | numeric\n    },\n    {\n      \"tier_id\",// required | integer | existing Price Tier Id\n      \"adjustment_property\",// required | string | acceptable values: unit_cost, unit_price, list_price\n      \"adjustment_value\"// optional | numeric\n    }\n  ],\n  \"customfields\": [ // nullable | optional | array | description: array of custom fleds\n    {\n        \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n        \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n        \"value\" // required | string | custom value\n    },\n    {\n        \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n        \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n        \"value\" // required | string | custom value\n    }\n  ],\n  \"tags\"// nullable | optional | array | array of tag ids\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items","description":"<p>Create an invoice item</p>\n","urlObject":{"path":["items"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"64b1b938-e171-4fc4-85fe-15a02755f906","name":"201 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"f16d4a2c-2191-43be-a8c8-6583b0f8ef6e","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"2459a9ae-a40b-4760-b3d7-ed05a59aa607","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"7474df0b-027a-4220-b58f-9e2211332719","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"a68ab9b9-7d5f-4d2c-9396-d16b4867a2bf","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"some string\",\n  \"default_taxable\": false,\n  \"default_description\": \"some string\",\n  \"type\": \"product\",\n  \"sku\": \"sku123\",\n  \"default_unit_price\": \"2.00\",\n  \"default_unit_cost\": \"1.00\",\n  \"default_quantity\": \"1.00\",\n  \"track_inventory\": false,\n  \"is_active\": true,\n  \"xero_sales_account\": null,\n  \"xero_tax_account\": null,\n  \"tax_rate\": \"1.00\",\n  \"vendor_id\": null,\n  \"vendor_type\": null,\n  \"vendor_name\": null,\n  \"supplier_item_id\": null,\n  \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n  \"auto_reorder_level\": 1,\n  \"replenishment_level\": null,\n  \"minimum_order_quantity\": null,\n  \"price_update_method\": \"set_price_manually\",\n  \"automatic_markup_percentage\": null,\n  \"inventory_mode\": \"default\",\n  \"qbo_sales_tax_code_id\": null,\n  \"qbo_purchase_tax_code_id\": null,\n  \"qbo_income_account_id\": null,\n  \"qbo_expense_account_id\": null,\n  \"qbo_asset_account_id\": null,\n  \"qbo_id\": null,\n  \"quantity_available\": \"1.00\",\n  \"unit_measure\": \"sm\",\n  \"external_id\": null,\n  \"external_type\": null,\n  \"external_sync_status\": null,\n  \"upc\": null,\n  \"unit_cost_per_unit_measure\": \"0.00\",\n  \"unit_price_per_unit_measure\": \"0.00\",\n  \"minimum_dimensional_size\": \"0.00\",\n  \"maximum_dimensional_size\": \"0.00\",\n  \"is_round_up_to_even_dimensional_size\": false,\n  \"is_labor_item\": false,\n  \"inventory_hub_items\": [\n    {\n      \"inventory_hub_id\": 1,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    },\n    {\n      \"inventory_hub_id\": 2,\n      \"is_automatic_replenishment_by_purchase_order_enabled\": false,\n      \"auto_reorder_level\": 0,\n      \"replenishment_level\": 0,\n      \"quantity_available\": \"1.00\"\n    }\n  ],\n  \"item_links\": [\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    },\n    {\n      \"item_id\": null,\n      \"name\": \"some string\",\n      \"url\": \"some url\"\n    }\n  ],\n  \"serialized_inventories\": [\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    },\n    {\n      \"serial_number\": \"123\",\n      \"reference_number\": \"456\",\n      \"asset_template_id\": null,\n      \"invoice_id\": 1,\n      \"hub_id\": 1,\n      \"id_number\": null,\n      \"default_unit_cost\": \"0.00\"\n    }\n  ],\n  \"item_price_tiers\": [\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    },\n    {\n      \"tier_id\": 1,\n      \"adjustment_property\": \"unit_cost\",\n      \"adjustment_value\": \"0.00\"\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"tags\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/items"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"698b4733-9418-41bd-b45e-0822fd9457d5"}],"id":"60768fd4-7dc1-43b3-8874-78b1179bf240","_postman_id":"60768fd4-7dc1-43b3-8874-78b1179bf240","description":""},{"name":"jobs","item":[{"name":"status-workflows","item":[{"name":"Retrieve job status workflows list","id":"16562b63-f029-4ef5-b062-8e6b18945df5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List job status workflows</p>\n","urlObject":{"path":["jobs","status-workflows"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"d54bb057-b38c-42d2-ac08-7cf3df64f236","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"dbf93b8b-b69f-4cc7-ba16-33f0876be1ba","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"e88ddfc1-9090-4b4e-9a41-b9ddda522fb0","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"dbca46c2-54a8-46a4-9f23-993958e0a8fd","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflows?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflows"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"16562b63-f029-4ef5-b062-8e6b18945df5"}],"id":"dcf0e767-10ef-4e59-8c3e-0778ce44169f","_postman_id":"dcf0e767-10ef-4e59-8c3e-0778ce44169f","description":""},{"name":"status-workflow-statuses","item":[{"name":"Retrieve job status workflow statuses list","id":"727ad954-1292-4550-882c-47ff3615b030","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List job status workflow statuses</p>\n","urlObject":{"path":["jobs","status-workflow-statuses"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"c1335d1f-8fc6-430d-ad87-4faa70f726c2","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"6d885bac-c211-460f-90dc-5521f97c4057","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"0dd5e73d-d748-4d00-8a76-9ab2d68ce786","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"5945f650-b119-4539-a3c1-855d23391013","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/status-workflow-statuses?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs","status-workflow-statuses"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"727ad954-1292-4550-882c-47ff3615b030"}],"id":"618d4e76-5433-4838-aa1f-26399bf83491","_postman_id":"618d4e76-5433-4838-aa1f-26399bf83491","description":""},{"name":"{jobId}","item":[{"name":"Retrieve job by ID","id":"8d989b94-cb04-40a0-bd9b-29a8e7b3c96f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId?with_custom_fields=<bool>","description":"<p>Retrieve a job by ID</p>\n","urlObject":{"path":["jobs",":jobId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Optional. Possible values are <code>true</code> or <code>false</code>. If <code>true</code>, the response will contain custom fileds data in <code>customfields_with_related_data</code> key</p>\n","type":"text/plain"},"key":"with_custom_fields","value":"<bool>"}],"variable":[{"id":"f80d76e0-2cf5-4e59-a706-d3f103015f60","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"jobId"}]}},"response":[{"id":"604c2e66-062f-4fb6-836a-b3304d0000ef","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"1c933fe2-457e-4ce4-a4ab-2c30891c4a58","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"d54f618c-fa33-4beb-a642-5b29c1ed9025","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"7afaf796-d4e1-4e98-9b9c-a5a8d2c7f3c5","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"8d989b94-cb04-40a0-bd9b-29a8e7b3c96f"},{"name":"Update job by ID","id":"425fef82-1d61-4e78-a0ba-bca679c56bb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\",// required | integer | existing customer id\n  \"project_id\",// nullable | integer | existing project id\n  \"job_type\",// required | string | max:150\n  \"subtitle\",// optional | string | max:150\n  \"status\",// required, if status_id is not set | integer | acceptable_values: 1(new),2(in progress),3(pending),4(completed),5(canceled),6(on the way)\n  \"status_id\",// required, if status is not set | integer | existing custom status id\n  \"status_workflow_id\",// required, if status_id is set | integer | existing status workflow id\n  \"start_time\",// nullable | timestamp\n  \"end_time\",// nullable | timestamp\n  \"due_date\",// nullable | timestamp\n  \"billing\",// required | integer\n  \"notes\",// optional | string | max:7500\n  \"field_notes\",// optional | string | max:5000\n  \"location\",// optional | string | max:5000 | description: Location string like \"Street 1, City, State, Zip code\"\n  \"location_id\",// nullable | integer | existing location id\n  \"generate_invoice\",// optional | boolean\n  \"type\",// optional | string | acceptable_values: task,job\n  \"is_template\",// optional | boolean\n  \"in_progress_status_log\",// nullable | integer\n  \"template_id\",// nullable | integer | existing job template id\n  \"hazardco_swms_id\",// nullable | integer | existing swms file id\n  \"maintenance_agreement_id\",// nullable | integer | existing maintenance agreement id\n  \"maintenance_occurrence_id\",// nullable | integer | existing maintenance occurrence id\n  \"recurring_parent_id\",// nullable | integer | existing job recurring id\n  \"task_category_id\",// nullable | integer | existing task category id\n  \"customer_contact_id\",// nullable | integer | existing customer contact id\n  \"assignments\": [// optional | array\n    {\n      \"team_id\",// nullable | integer | existing team id\n      \"assigned_members\"// required | array | existing user ids\n    }\n  ],\n  \"customfields\": [ // nullable | optional | array | description: array of custom fleds\n    {\n        \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n        \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n        \"value\" // required | string | custom value\n    },\n    {\n        \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n        \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n        \"value\" // required | string | custom value\n    }\n  ],\n  \"visits\": [// nullable | array\n    {\n      \"status\",// nullable | integer | acceptable_values: 1(new),2(in progress),3(pending),4(completed),5(canceled),6(on the way)\n      \"title\",// nullable | string\n      \"subtitle\",// nullable | string\n      \"is_visible\",// optional | boolean\n      \"start_time\",// nullable | timestamp\n      \"end_time\"// nullable | timestamp\n    }\n  ],\n  \"tags\",// optional | array | description: array of tag ids\n  \"customer_arrival_window_start_time\",// nullable | timestamp\n  \"customer_arrival_window_end_time\",// nullable | timestamp\n  \"asset_ids\"// optional | array | description: array of existing assets ids\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","description":"<p>Update a job</p>\n","urlObject":{"path":["jobs",":jobId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"jobId"}]}},"response":[{"id":"05d128c4-433b-45f4-82e0-b23d10ce3c69","name":"200 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"cffb514e-a772-4e17-b105-811c3dcb0a03","name":"400 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"f4a8d750-6b9e-488f-a933-f5de114db638","name":"401 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"76dd1ee5-b56f-45fd-88a8-827c616648dc","name":"404 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"8f3f78fd-83cb-48fc-8c32-a1914919faa6","name":"500 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"425fef82-1d61-4e78-a0ba-bca679c56bb0"},{"name":"Delete job by ID","id":"ba23d5cb-1417-4a68-9bf8-7d2aad3dc672","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","description":"<p>Delete a job</p>\n","urlObject":{"path":["jobs",":jobId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"135fc7d0-7383-4aec-b3d0-4a0e79aef37d","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"jobId"}]}},"response":[{"id":"328e1708-113f-4319-875d-16544c8c2be6","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"77e6e7f6-c5c7-4a53-b649-4e40464afea6","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"1b50f808-631e-429d-8c3a-bbf27d316224","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"93b66913-6514-4107-95c1-e1d46c86ba84","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs/:jobId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs",":jobId"],"variable":[{"key":"jobId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"ba23d5cb-1417-4a68-9bf8-7d2aad3dc672"}],"id":"3cc83318-6763-40b0-8769-f44887834544","_postman_id":"3cc83318-6763-40b0-8769-f44887834544","description":""},{"name":"Retrieve jobs list","id":"9e27cefb-4b29-4b53-a9c3-00afa71dae65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"5jrRKVxd5Wa5WH2WRWRsw6XUIYTy1ABkaNoiTswE","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs?page=<string>&limit=<string>&search=<string>&sort_by=<string>&sort_dir=<string>&created_from=<string>&created_to=<string>&status_id=<string>&with_custom_fields=<bool>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&asn=<array>&asn[$index][team_id]=<string>&asn[$index][match]=<string>&asn[$index][assigned_members]=<array>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List a collection of jobs</p>\n","urlObject":{"path":["jobs"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p>Allowed values: created_at, updated_at.</p>\n","type":"text/plain"},"key":"sort_by","value":"<string>"},{"description":{"content":"<p>Allowed values: asc, desc</p>\n","type":"text/plain"},"key":"sort_dir","value":"<string>"},{"description":{"content":"<p>Job's created_at UNIX timestamp.</p>\n","type":"text/plain"},"key":"created_from","value":"<string>"},{"description":{"content":"<p>Job's created_at UNIX timestamp.</p>\n","type":"text/plain"},"key":"created_to","value":"<string>"},{"description":{"content":"<p>Comma separated custom status ids</p>\n","type":"text/plain"},"key":"status_id","value":"<string>"},{"description":{"content":"<p>Optional. Possible values are <code>true</code> or <code>false</code>. If <code>true</code>, the response will contain custom fileds data in <code>customfields_with_related_data</code> key</p>\n","type":"text/plain"},"key":"with_custom_fields","value":"<bool>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.</p>\n","type":"text/plain"},"key":"asn","value":"<array>"},{"description":{"content":"<p>Team Id to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][team_id]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][match]","value":"<string>"},{"description":{"content":"<p>Array of user id’s to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][assigned_members]","value":"<array>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"c9356f0c-5d3a-46b9-b5bc-4724fb418aae","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs?page=1&limit=10&search=abc&sort_by=created_at&sort_dir=asc&created_from=1234567890&created_to=1234567900&status_id=1&with_custom_fields=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs"],"query":[{"key":"page","value":"1","description":"Allowed values: created_at, updated_at.","type":"text"},{"key":"limit","value":"10","description":"Job's created_at UNIX timestamp.","type":"text"},{"key":"search","value":"abc","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"created_at","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"created_from","value":"1234567890","description":"Job's created_at UNIX timestamp.","type":"text"},{"key":"created_to","value":"1234567900","description":"Search string.","type":"text"},{"key":"status_id","value":"1","description":"Comma separated custom status ids","type":"text"},{"key":"with_custom_fields","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"8c140778-0478-46f9-8fd0-3ea47e409482","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs?page=1&limit=10&search=abc&sort_by=created_at&sort_dir=asc&created_from=1234567890&created_to=1234567900&status_id=1&with_custom_fields=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs"],"query":[{"key":"page","value":"1","description":"Allowed values: created_at, updated_at.","type":"text"},{"key":"limit","value":"10","description":"Job's created_at UNIX timestamp.","type":"text"},{"key":"search","value":"abc","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"created_at","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"created_from","value":"1234567890","description":"Job's created_at UNIX timestamp.","type":"text"},{"key":"created_to","value":"1234567900","description":"Search string.","type":"text"},{"key":"status_id","value":"1","description":"Comma separated custom status ids","type":"text"},{"key":"with_custom_fields","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"5a8a7615-1796-4021-8d46-16141d8e43ed","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs?page=1&limit=10&search=abc&sort_by=created_at&sort_dir=asc&created_from=1234567890&created_to=1234567900&status_id=1&with_custom_fields=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs"],"query":[{"key":"page","value":"1","description":"Allowed values: created_at, updated_at.","type":"text"},{"key":"limit","value":"10","description":"Job's created_at UNIX timestamp.","type":"text"},{"key":"search","value":"abc","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"created_at","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"created_from","value":"1234567890","description":"Job's created_at UNIX timestamp.","type":"text"},{"key":"created_to","value":"1234567900","description":"Search string.","type":"text"},{"key":"status_id","value":"1","description":"Comma separated custom status ids","type":"text"},{"key":"with_custom_fields","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"005a0acc-f9de-4d40-9445-019408035632","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs?page=1&limit=10&search=abc&sort_by=created_at&sort_dir=asc&created_from=1234567890&created_to=1234567900&status_id=1&with_custom_fields=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["jobs"],"query":[{"key":"page","value":"1","description":"Allowed values: created_at, updated_at.","type":"text"},{"key":"limit","value":"10","description":"Job's created_at UNIX timestamp.","type":"text"},{"key":"search","value":"abc","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"created_at","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"created_from","value":"1234567890","description":"Job's created_at UNIX timestamp.","type":"text"},{"key":"created_to","value":"1234567900","description":"Search string.","type":"text"},{"key":"status_id","value":"1","description":"Comma separated custom status ids","type":"text"},{"key":"with_custom_fields","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"9e27cefb-4b29-4b53-a9c3-00afa71dae65"},{"name":"Create a job","id":"631e88f0-1b02-46b3-9d21-d7b5479737a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\",// required | integer | existing customer id\n  \"project_id\",// nullable | integer | existing project id\n  \"job_type\",// required | string | max:150\n  \"subtitle\",// optional | string | max:150\n  \"status\",// required, if status_id is not set | integer | acceptable_values: 1(new),2(in progress),3(pending),4(completed),5(canceled),6(on the way)\n  \"status_id\",// required, if status is not set | integer | existing custom status id\n  \"status_workflow_id\",// required, if status_id is set | integer | existing status workflow id\n  \"start_time\",// nullable | timestamp\n  \"end_time\",// nullable | timestamp\n  \"due_date\",// nullable | timestamp\n  \"billing\",// required | integer\n  \"notes\",// optional | string | max:7500\n  \"field_notes\",// optional | string | max:5000\n  \"location\",// optional | string | max:5000 | description: Location string like \"Street 1, City, State, Zip code\"\n  \"location_id\",// nullable | integer | existing location id\n  \"generate_invoice\",// optional | boolean\n  \"type\",// optional | string | acceptable_values: task,job\n  \"is_template\",// optional | boolean\n  \"in_progress_status_log\",// nullable | integer\n  \"template_id\",// nullable | integer | existing job template id\n  \"hazardco_swms_id\",// nullable | integer | existing swms file id\n  \"maintenance_agreement_id\",// nullable | integer | existing maintenance agreement id\n  \"maintenance_occurrence_id\",// nullable | integer | existing maintenance occurrence id\n  \"recurring_parent_id\",// nullable | integer | existing job recurring id\n  \"task_category_id\",// nullable | integer | existing task category id\n  \"customer_contact_id\",// nullable | integer | existing customer contact id\n  \"assignments\": [// optional | array\n    {\n      \"team_id\",// nullable | integer | existing team id\n      \"assigned_members\"// required | array | existing user ids\n    }\n  ],\n  \"customfields\": [ // nullable | optional | array | description: array of custom fleds\n    {\n        \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n        \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n        \"value\" // required | string | custom value\n    },\n    {\n        \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n        \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n        \"value\" // required | string | custom value\n    }\n  ],\n  \"visits\": [// nullable | array\n    {\n      \"status\",// nullable | integer | acceptable_values: 1(new),2(in progress),3(pending),4(completed),5(canceled),6(on the way)\n      \"title\",// nullable | string\n      \"subtitle\",// nullable | string\n      \"is_visible\",// optional | boolean\n      \"start_time\",// nullable | timestamp\n      \"end_time\"// nullable | timestamp\n    }\n  ],\n  \"tags\",// optional | array | description: array of tag ids\n  \"customer_arrival_window_start_time\",// nullable | timestamp\n  \"customer_arrival_window_end_time\",// nullable | timestamp\n  \"asset_ids\"// optional | array | description: array of existing assets ids\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs","description":"<p>Create a job</p>\n","urlObject":{"path":["jobs"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"1639d0db-26fb-4c29-8210-a11ee8b5c358","name":"201 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"741ab3d8-1283-4447-aab5-5f033652b376","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"08b9e8f0-c51d-437c-989d-14000bbacd96","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"f42d279d-8078-4963-8df2-23ea0b76647a","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"a0963f7a-5184-4f7f-b83c-c16dd1d4fae3","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"project_id\": 1,\n  \"job_type\": \"some string\",\n  \"subtitle\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"due_date\": 1234567890,\n  \"billing\": 1,\n  \"notes\": \"some string\",\n  \"field_notes\": \"some string\",\n  \"location\": \"some string\",\n  \"location_id\": 1,\n  \"generate_invoice\": false,\n  \"type\": \"job\",\n  \"is_template\": false,\n  \"in_progress_status_log\": 1,\n  \"template_id\": 1,\n  \"hazardco_swms_id\": 1,\n  \"maintenance_agreement_id\": 1,\n  \"maintenance_occurrence_id\": 1,\n  \"recurring_parent_id\": 1,\n  \"task_category_id\": 1,\n  \"customer_contact_id\": 1,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"assigned_members\": [1,2]\n    }\n  ],\n  \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n  \"visits\": [\n    {\n      \"status\": 1,\n      \"title\": \"some string\",\n      \"subtitle\": \"some string\",\n      \"is_visible\": true,\n      \"start_time\": 1234567890,\n      \"end_time\": 1234567890\n    }\n  ],\n  \"tags\": [1],\n  \"customer_arrival_window_start_time\": 1234567890,\n  \"customer_arrival_window_end_time\": 1234567890,\n  \"asset_ids\": [1,2]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/jobs"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"631e88f0-1b02-46b3-9d21-d7b5479737a5"}],"id":"4c69d4e1-5775-4b27-93a3-c4890e5f7302","_postman_id":"4c69d4e1-5775-4b27-93a3-c4890e5f7302","description":""},{"name":"lead-source","item":[{"name":"Retrieve lead sources list","id":"6fcf272a-2eb1-4ba2-8fc1-5fd6b3f4e10b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/lead-source?limit=<string>&page=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List all lead sources</p>\n","urlObject":{"path":["lead-source"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"c1314124-d66d-4865-ad0c-73987c4ad163","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/lead-source?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["lead-source"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"fd713920-80a3-4a1b-9ce7-234464e08379","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/lead-source?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["lead-source"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"c83e2580-4c38-43b4-b2b5-25c9765cd75e","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/lead-source?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["lead-source"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"b1b0b4d7-dd91-4dc4-8dab-6b4015757a7c","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/lead-source?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["lead-source"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"6fcf272a-2eb1-4ba2-8fc1-5fd6b3f4e10b"}],"id":"72b8b677-c7e8-48b8-8f9f-8e28d38fda47","_postman_id":"72b8b677-c7e8-48b8-8f9f-8e28d38fda47","description":""},{"name":"locations","item":[{"name":"{locationId}","item":[{"name":"Retrieve location by ID","id":"18c2421d-425a-4d42-80cf-64900415e614","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","description":"<p>Retrieve a location by ID</p>\n","urlObject":{"path":["locations",":locationId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"d82447a1-7c8d-4094-b8fe-fb68ed627a38","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"locationId"}]}},"response":[{"id":"2ca224f0-046f-4af8-bc4a-7d6f3637d649","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"31192187-30ab-4f89-9455-793d9a819e87","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"0ebb6983-ebbf-4eb9-abe8-d7320949e150","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"000e5422-d2e9-41df-b4ce-bb1e0c3f82a6","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"18c2421d-425a-4d42-80cf-64900415e614"},{"name":"Update location by ID","id":"b448c39b-b750-41a8-aecd-81e89c528665","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",// required | string | description: object type which location is\n  \"object_id\": 1,// required | integer | existing object id\n  \"title\": \"some string\",// required | string | max:255\n  \"address_1\": \"some string\",// string | nullable | max:255\n  \"address_2\": \"some string\",// string | nullable | max:255\n  \"city\": \"some string\",// string | nullable | max:255\n  \"state\": \"some string\",// string | nullable | max:255\n  \"zip_code\": \"some string\",// string | nullable | max:255\n  \"notes\": \"some string\",// string | nullable | max:5000\n  \"is_main_location\": true,// optional | boolean\n  \"is_primary_location\": true,// optional | boolean\n  \"primary_customer_contact_id\": null // optional | integer | existing customer contact id\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","description":"<p>Update a location</p>\n","urlObject":{"path":["locations",":locationId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"b86729a9-9903-4d03-b01a-9fcf753599d9","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"locationId"}]}},"response":[{"id":"92c57cd2-5f33-478a-b4f1-70c5abc14e04","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"a990795a-e593-465d-85f5-02f817a672fa","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"54fe77a7-214f-4d59-b9ee-4060cced7896","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"b581a3f0-fc1b-4926-8882-262f3904ddd8","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"27c19eb2-3028-45a3-83b3-80089e241fd7","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"b448c39b-b750-41a8-aecd-81e89c528665"},{"name":"Delete location by ID","id":"04f0c4ae-de24-4214-8de8-f30504011580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","description":"<p>Delete a location</p>\n","urlObject":{"path":["locations",":locationId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"af7d956e-6838-4db0-a453-70d4f07074cd","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"locationId"}]}},"response":[{"id":"4fdbff9f-b636-401d-ad4e-85a3c4c9bffe","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"3d885ad0-ab99-4d7c-aa76-d0c640f46858","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"567739d5-d944-4645-aad8-f93ec82060df","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"90886341-6474-4a61-856a-bb16272c9db2","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations/:locationId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations",":locationId"],"variable":[{"key":"locationId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"04f0c4ae-de24-4214-8de8-f30504011580"}],"id":"01e1b0a8-06b8-4b07-b824-46d7c869d85c","_postman_id":"01e1b0a8-06b8-4b07-b824-46d7c869d85c","description":""},{"name":"Retrieve locations list","id":"4076481f-730e-4063-bbb1-cd9b098d8f0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations?limit=<string>&page=<string>&object_type=<string>&object_id=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&asn=<array>&asn[$index][team_id]=<string>&asn[$index][match]=<string>&asn[$index][assigned_members]=<array>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>","description":"<p>List locations for an object</p>\n","urlObject":{"path":["locations"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Allowed values: customer, job.</p>\n","type":"text/plain"},"key":"object_type","value":"<string>"},{"description":{"content":"<p>Object ID.</p>\n","type":"text/plain"},"key":"object_id","value":"<string>"},{"description":{"content":"<p>Optional. Values: true, false. If true, the response will contain totla_count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.\nPossible values</p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in (for array searching)</code> - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.\n<strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case insensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.\n<strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.</p>\n","type":"text/plain"},"key":"asn","value":"<array>"},{"description":{"content":"<p>Team Id to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][team_id]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][match]","value":"<string>"},{"description":{"content":"<p>Array of user id’s to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][assigned_members]","value":"<array>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"}],"variable":[]}},"response":[{"id":"6ca152e8-e955-4ac1-a977-16571e39bb1f","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations?limit=10&page=1&object_type=customer&object_id=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"object_type","value":"customer","description":"Allowed values: customer, job.","type":"text"},{"key":"object_id","value":"1","description":"Object ID.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"4bb0f44e-8ad7-4a16-b0f1-5dec077cd2be","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations?limit=10&page=1&object_type=customer&object_id=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"object_type","value":"customer","description":"Allowed values: customer, job.","type":"text"},{"key":"object_id","value":"1","description":"Object ID.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"631783b3-63b3-445e-8522-aa928b1e9e7a","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations?limit=10&page=1&object_type=customer&object_id=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"object_type","value":"customer","description":"Allowed values: customer, job.","type":"text"},{"key":"object_id","value":"1","description":"Object ID.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"7a669315-672e-489a-98e6-e84941d3282f","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations?limit=10&page=1&object_type=customer&object_id=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["locations"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"object_type","value":"customer","description":"Allowed values: customer, job.","type":"text"},{"key":"object_id","value":"1","description":"Object ID.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"4076481f-730e-4063-bbb1-cd9b098d8f0c"},{"name":"Create a location","id":"e60ce4b7-b0bd-4d27-9e50-d09c5a1c979f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",// required | string | description: object type which location is\n  \"object_id\": 1,// required | integer | existing object id\n  \"title\": \"some string\",// required | string | max:255\n  \"address_1\": \"some string\",// string | nullable | max:255\n  \"address_2\": \"some string\",// string | nullable | max:255\n  \"city\": \"some string\",// string | nullable | max:255\n  \"state\": \"some string\",// string | nullable | max:255\n  \"zip_code\": \"some string\",// string | nullable | max:255\n  \"notes\": \"some string\",// string | nullable | max:5000\n  \"is_main_location\": true,// optional | boolean\n  \"is_primary_location\": true,// optional | boolean\n  \"primary_customer_contact_id\": null // optional | integer | existing customer contact id\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations","description":"<p>Create a location</p>\n","urlObject":{"path":["locations"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"bb5f1c73-c473-42f0-93cd-aa24aded833a","name":"200 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"315679c0-89c6-4ae1-858f-add8be6487ce","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"24651c31-7f9b-4814-87b8-951b8046ea5d","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"50b439be-1e81-4d8c-8ad5-96c2a43cb0f4","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"4ec43610-4b22-44f7-b709-8fa08119a35a","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"object_type\": \"customer\",\n  \"object_id\": 1,\n  \"title\": \"some string\",\n  \"address_1\": \"some string\",\n  \"address_2\": \"some string\",\n  \"city\": \"some string\",\n  \"state\": \"some string\",\n  \"zip_code\": \"some string\",\n  \"notes\": \"some string\",\n  \"is_main_location\": true,\n  \"is_primary_location\": true,\n  \"primary_customer_contact_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/locations"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"e60ce4b7-b0bd-4d27-9e50-d09c5a1c979f"}],"id":"90bca7ab-0854-4d8f-aac9-85c32121d716","_postman_id":"90bca7ab-0854-4d8f-aac9-85c32121d716","description":""},{"name":"material-lists","item":[{"name":"{id}","item":[{"name":"connect","item":[{"name":"Connect Material List to entity","id":"abcd45ee-78f8-4fdc-9681-179caf72e1ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\", // required | string | max:255 | values: 'job', 'project', 'invoice', 'order', 'estimate'\n    \"to_entity_id\", // required | integer | existing id of entities listed for to_entity\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/connect","urlObject":{"path":["material-lists",":id","connect"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"2ebd4f22-93a4-4354-8bfe-099b1bc49ab4","name":"200 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"response\": {\n        <object>\n    }\n}"},{"id":"d2baa7a3-cf4b-43e3-bb3e-c1e68aa1a103","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": true,\n    \"errors\": [\n        \"error message\",\n        \"error message\"\n    ]\n}"},{"id":"15996fb4-20ca-4359-8ffe-99f8b118c7c3","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"56ddd427-0ca2-4fa6-8fc7-4c12f87272c1","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Request URL or object not found\"\n}"},{"id":"3dd38ac4-ef5b-4db9-b488-98a9bdfd1243","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"abcd45ee-78f8-4fdc-9681-179caf72e1ea"}],"id":"6bda695e-7841-436d-b215-f323a9b88bf1","_postman_id":"6bda695e-7841-436d-b215-f323a9b88bf1","description":""},{"name":"disconnect","item":[{"name":"Disconnect Material List from entity","id":"8d2aaead-c856-46de-bd6d-f0a14e8bbb05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from_entity\", // required | string | max:255 | values: 'job', 'project', 'invoice', 'order', 'estimate'\n    \"from_entity_id\", // required | integer | existing id of entities listed for to_entity\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/disconnect","urlObject":{"path":["material-lists",":id","disconnect"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"263dc71b-485e-4da8-9628-b48086f1e596","name":"200 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from_entity\": \"job\",\n    \"from_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/disconnect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","disconnect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"response\": {\n        <object>\n    }\n}"},{"id":"726e4949-19ca-4d89-bf82-657ef7f3675e","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from_entity\": \"job\",\n    \"from_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/disconnect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","disconnect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": true,\n    \"errors\": [\n        \"error message\",\n        \"error message\"\n    ]\n}"},{"id":"9842bf01-b3cc-4f3d-baf5-ae5e859d212d","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from_entity\": \"job\",\n    \"from_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/disconnect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","disconnect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"41308ec2-155f-4af9-aa96-1c86ea3c4f24","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from_entity\": \"job\",\n    \"from_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/disconnect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","disconnect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Request URL or object not found\"\n}"},{"id":"379238d8-fbf4-4d2a-afc1-deb780b70cb0","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"from_entity\": \"job\",\n    \"from_entity_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/disconnect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","disconnect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"8d2aaead-c856-46de-bd6d-f0a14e8bbb05"}],"id":"b6d29bf7-5da1-4123-a5f2-de67061ede95","_postman_id":"b6d29bf7-5da1-4123-a5f2-de67061ede95","description":""},{"name":"item-connect","item":[{"name":"Connect Material List item to entity","id":"11ed1566-25cf-42c1-a13d-52e7a69b37d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\", // required | string | max:255 | values: 'job', 'project', 'invoice', 'order', 'estimate'\n    \"to_entity_id\", // required | integer | existing id of entities listed for to_entity\n    \"item_ids\" // required | array of material list line item ids\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/item-connect","urlObject":{"path":["material-lists",":id","item-connect"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a16e2e77-5e68-4ac9-99f5-f6c08d1aab75","name":"200 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1,\n    \"item_ids\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/item-connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","item-connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"response\": {\n        <object>\n    }\n}"},{"id":"7feb1937-a7b4-483b-bf32-1fbc1294a21e","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1,\n    \"item_ids\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/item-connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","item-connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": true,\n    \"errors\": [\n        \"error message\",\n        \"error message\"\n    ]\n}"},{"id":"5326e649-ba09-4dfe-b4f3-3d602478d774","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1,\n    \"item_ids\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/item-connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","item-connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"6d7eaa46-9515-47a4-b744-5b8a4d274492","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1,\n    \"item_ids\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/item-connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","item-connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Request URL or object not found\"\n}"},{"id":"41e6385f-050f-4010-a69d-337dd10c533d","name":"500 response Copy","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"to_entity\": \"job\",\n    \"to_entity_id\": 1,\n    \"item_ids\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists/:id/item-connect","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists",":id","item-connect"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"11ed1566-25cf-42c1-a13d-52e7a69b37d9"}],"id":"9c7f86f8-dda9-43ec-a15a-f2e461aaea41","_postman_id":"9c7f86f8-dda9-43ec-a15a-f2e461aaea41","description":""},{"name":"Get Material List by ID","id":"5cb3eae8-ecbf-474d-99c5-d9a9191aad39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"<p>The api token</p>\n","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id?filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&asn=<array>&asn[$index][team_id]=<string>&asn[$index][match]=<string>&asn[$index][assigned_members]=<array>&rel=<array>&withCustomfieldsAndRelatedData=<boolean>&by_view=<string>&by_entity=<string>&by_entity_id=<integer>&from_job_start_time=<timestamp>&to_job_end_time=<timestamp>&unscheduled=<boolean>","urlObject":{"path":["material-list",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.</p>\n","type":"text/plain"},"key":"asn","value":"<array>"},{"description":{"content":"<p>Team Id to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][team_id]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][match]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][assigned_members]","value":"<array>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"},{"description":{"content":"<p>If true, response will contain custom fields data</p>\n","type":"text/plain"},"key":"withCustomfieldsAndRelatedData","value":"<boolean>"},{"description":{"content":"<p>Filter by view mode. Acceptable values <code>all</code>, <code>team</code>, <code>my</code></p>\n","type":"text/plain"},"key":"by_view","value":"<string>"},{"description":{"content":"<p>Filter by entity. Acceptable values <code>job</code>, <code>project</code>, <code>invoice</code>, <code>order</code>, <code>estimate</code>. Required if entity_id is provided</p>\n","type":"text/plain"},"key":"by_entity","value":"<string>"},{"description":{"content":"<p>Filter by existing entity id listed for by_entity parameter</p>\n","type":"text/plain"},"key":"by_entity_id","value":"<integer>"},{"description":{"content":"<p>Filter by job start time</p>\n","type":"text/plain"},"key":"from_job_start_time","value":"<timestamp>"},{"description":{"content":"<p>Filter by job end time</p>\n","type":"text/plain"},"key":"to_job_end_time","value":"<timestamp>"},{"description":{"content":"<p>Filter by unscheduled jobs</p>\n","type":"text/plain"},"key":"unscheduled","value":"<boolean>"}],"variable":[{"description":{"content":"<p>Id of Material List</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"395e6ea9-2119-465d-8367-ce04c5ef9ad2","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id?filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]=%3D&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&rel[company]=&withCustomfieldsAndRelatedData=false&by_view=all&by_entity=job&by_entity_id=1&from_job_start_time=1234567890&to_job_end_time=1234567900&unscheduled=false","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"query":[{"key":"filter[0][action]","value":"where"},{"key":"filter[0][attribute]","value":"company_id"},{"key":"filter[0][operator]","value":"%3D"},{"key":"filter[0][value]","value":"1"},{"key":"filter[0][class]","value":"int"},{"key":"asn[0][team_id]","value":"1"},{"key":"asn[0][match]","value":"strict"},{"key":"asn[0][assigned_members]","value":"[1,2]"},{"key":"rel[company]","value":""},{"key":"withCustomfieldsAndRelatedData","value":"false"},{"key":"by_view","value":"all"},{"key":"by_entity","value":"job"},{"key":"by_entity_id","value":"1"},{"key":"from_job_start_time","value":"1234567890"},{"key":"to_job_end_time","value":"1234567900"},{"key":"unscheduled","value":"false"}],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"4868910d-5001-4ca2-8671-123f1f8cdad6","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id?filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]=%3D&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&rel[company]=&withCustomfieldsAndRelatedData=false&by_view=all&by_entity=job&by_entity_id=1&from_job_start_time=1234567890&to_job_end_time=1234567900&unscheduled=false","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"query":[{"key":"filter[0][action]","value":"where","description":"Array of attribute, operator, and value parts."},{"key":"filter[0][attribute]","value":"company_id","description":"Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br>**Possible values**\n- `where` - Run a where query using the attribute, operator, and value specified.\n- `or` - Run an “or” query, where results must equal one or another value.\n- `in` (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.\n- `and`"},{"key":"filter[0][operator]","value":"%3D","description":"Attribute to filter by. Value can be any attribute name from the current resource."},{"key":"filter[0][value]","value":"1","description":"Operator to filter results against.<br>**Possible values**\n- `= (equal to)` - Filter results where attribute equals the value specified (case insensitive).\n- `> (greater than)` - Filter results where attribute is greater than the value specified (case insensitive).\n- `< (less than)` - Filter results where attribute is lesser than the value specified.\n- `>= (greater than or equal to)` - Filter results where attribute is greater than or equal to the value specified.\n- `<= (less than or equal to)` - Filter results where attribute is lesser than or equal to the value specified.\n- `like (regex match)` - Filter results where attribute is like (contains) the value specified (case sensitive).\n- `whereIn`\n- `all`\n- `whereJsonContains` - Filter results in json field"},{"key":"filter[0][class]","value":"int","description":"Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br>**Possible values**\n- `string` - Denotes the specified value should be cast and filtered as a string.\n- `int` - Denotes the specified value should be cast and filtered as an integer.\n- `date` - Denotes the specified value should be cast and filtered as a date.\n- `array` - Denotes the specified value should be cast and filtered as an array.\n- `null` - Denotes the specified value should be cast and filtered as an null.\n- `int_array` - Denotes the specified value should be cast and filtered as a values of integers."},{"key":"asn[0][team_id]","value":"1","description":"Value to filter results against."},{"key":"asn[0][match]","value":"strict","description":"Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both."},{"key":"asn[0][assigned_members]","value":"[1,2]","description":"Team Id to filter assignments by."},{"key":"rel[company]","value":"","description":"If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members."},{"key":"withCustomfieldsAndRelatedData","value":"false","description":"If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members."},{"key":"by_view","value":"all","description":"array consisting of indices with the desired relation to include"},{"key":"by_entity","value":"job","description":"If true, response will contain custom fields data"},{"key":"by_entity_id","value":"1","description":"Filter by view mode. Acceptable values `all`, `team`, `my`"},{"key":"from_job_start_time","value":"1234567890","description":"Filter by entity. Acceptable values `job`, `project`, `invoice`, `order`, `estimate`. Required if entity_id is provided"},{"key":"to_job_end_time","value":"1234567900","description":"Filter by existing entity id listed for by_entity parameter"},{"key":"unscheduled","value":"false","description":"Filter by job start time"}],"variable":[{"key":"id","value":"<integer>","description":"Id of Material List"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"08aea44a-43e2-4eeb-9c6b-bcc80a16e75d","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id?page=1&limit=10&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]=%3D&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&calculate_count=true&withCustomfieldsAndRelatedData=false&by_view=all&by_entity=job&by_entity_id=1&from_job_start_time=1234567890&to_job_end_time=1234567900&unscheduled=false","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"query":[{"key":"page","value":"1","description":"Array of attribute, operator, and value parts."},{"key":"limit","value":"10","description":"Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br>**Possible values**\n- `where` - Run a where query using the attribute, operator, and value specified.\n- `or` - Run an “or” query, where results must equal one or another value.\n- `in` (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.\n- `and`"},{"key":"search","value":"abc","description":"Attribute to filter by. Value can be any attribute name from the current resource."},{"key":"filter[0][action]","value":"where","description":"Operator to filter results against.<br>**Possible values**\n- `= (equal to)` - Filter results where attribute equals the value specified (case insensitive).\n- `> (greater than)` - Filter results where attribute is greater than the value specified (case insensitive).\n- `< (less than)` - Filter results where attribute is lesser than the value specified.\n- `>= (greater than or equal to)` - Filter results where attribute is greater than or equal to the value specified.\n- `<= (less than or equal to)` - Filter results where attribute is lesser than or equal to the value specified.\n- `like (regex match)` - Filter results where attribute is like (contains) the value specified (case sensitive).\n- `whereIn`\n- `all`\n- `whereJsonContains` - Filter results in json field"},{"key":"filter[0][attribute]","value":"company_id","description":"Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br>**Possible values**\n- `string` - Denotes the specified value should be cast and filtered as a string.\n- `int` - Denotes the specified value should be cast and filtered as an integer.\n- `date` - Denotes the specified value should be cast and filtered as a date.\n- `array` - Denotes the specified value should be cast and filtered as an array.\n- `null` - Denotes the specified value should be cast and filtered as an null.\n- `int_array` - Denotes the specified value should be cast and filtered as a values of integers."},{"key":"filter[0][operator]","value":"%3D","description":"Value to filter results against."},{"key":"filter[0][value]","value":"1","description":"Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both."},{"key":"filter[0][class]","value":"int","description":"Team Id to filter assignments by."},{"key":"asn[0][team_id]","value":"1","description":"If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members."},{"key":"asn[0][match]","value":"strict","description":"If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members."},{"key":"asn[0][assigned_members]","value":"[1,2]","description":"array consisting of indices with the desired relation to include"},{"key":"sort[0][attribute]","value":"id","description":"If true, response will contain custom fields data"},{"key":"sort[0][attribute]","value":"desc","description":"Filter by view mode. Acceptable values `all`, `team`, `my`"},{"key":"rel[company]","value":"","description":"Filter by entity. Acceptable values `job`, `project`, `invoice`, `order`, `estimate`. Required if entity_id is provided"},{"key":"calculate_count","value":"true","description":"Filter by existing entity id listed for by_entity parameter"},{"key":"withCustomfieldsAndRelatedData","value":"false","description":"Filter by job start time"},{"key":"by_view","value":"all","description":"Filter by job end time"},{"key":"by_entity","value":"job","description":"Filter by unscheduled jobs"},{"key":"by_entity_id","value":"1"},{"key":"from_job_start_time","value":"1234567890"},{"key":"to_job_end_time","value":"1234567900"},{"key":"unscheduled","value":"false"}],"variable":[{"key":"id","value":"<integer>","description":"Id of Material List"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"5c63a5f9-2855-4f94-9d90-768ec1d99165","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id?page=1&limit=10&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]=%3D&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&calculate_count=true&withCustomfieldsAndRelatedData=false&by_view=all&by_entity=job&by_entity_id=1&from_job_start_time=1234567890&to_job_end_time=1234567900&unscheduled=false","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"query":[{"key":"page","value":"1","description":"Array of attribute, operator, and value parts."},{"key":"limit","value":"10","description":"Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br>**Possible values**\n- `where` - Run a where query using the attribute, operator, and value specified.\n- `or` - Run an “or” query, where results must equal one or another value.\n- `in` (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.\n- `and`"},{"key":"search","value":"abc","description":"Attribute to filter by. Value can be any attribute name from the current resource."},{"key":"filter[0][action]","value":"where","description":"Operator to filter results against.<br>**Possible values**\n- `= (equal to)` - Filter results where attribute equals the value specified (case insensitive).\n- `> (greater than)` - Filter results where attribute is greater than the value specified (case insensitive).\n- `< (less than)` - Filter results where attribute is lesser than the value specified.\n- `>= (greater than or equal to)` - Filter results where attribute is greater than or equal to the value specified.\n- `<= (less than or equal to)` - Filter results where attribute is lesser than or equal to the value specified.\n- `like (regex match)` - Filter results where attribute is like (contains) the value specified (case sensitive).\n- `whereIn`\n- `all`\n- `whereJsonContains` - Filter results in json field"},{"key":"filter[0][attribute]","value":"company_id","description":"Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br>**Possible values**\n- `string` - Denotes the specified value should be cast and filtered as a string.\n- `int` - Denotes the specified value should be cast and filtered as an integer.\n- `date` - Denotes the specified value should be cast and filtered as a date.\n- `array` - Denotes the specified value should be cast and filtered as an array.\n- `null` - Denotes the specified value should be cast and filtered as an null.\n- `int_array` - Denotes the specified value should be cast and filtered as a values of integers."},{"key":"filter[0][operator]","value":"%3D","description":"Value to filter results against."},{"key":"filter[0][value]","value":"1","description":"Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both."},{"key":"filter[0][class]","value":"int","description":"Team Id to filter assignments by."},{"key":"asn[0][team_id]","value":"1","description":"If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members."},{"key":"asn[0][match]","value":"strict","description":"If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members."},{"key":"asn[0][assigned_members]","value":"[1,2]","description":"array consisting of indices with the desired relation to include"},{"key":"sort[0][attribute]","value":"id","description":"If true, response will contain custom fields data"},{"key":"sort[0][attribute]","value":"desc","description":"Filter by view mode. Acceptable values `all`, `team`, `my`"},{"key":"rel[company]","value":"","description":"Filter by entity. Acceptable values `job`, `project`, `invoice`, `order`, `estimate`. Required if entity_id is provided"},{"key":"calculate_count","value":"true","description":"Filter by existing entity id listed for by_entity parameter"},{"key":"withCustomfieldsAndRelatedData","value":"false","description":"Filter by job start time"},{"key":"by_view","value":"all","description":"Filter by job end time"},{"key":"by_entity","value":"job","description":"Filter by unscheduled jobs"},{"key":"by_entity_id","value":"1"},{"key":"from_job_start_time","value":"1234567890"},{"key":"to_job_end_time","value":"1234567900"},{"key":"unscheduled","value":"false"}],"variable":[{"key":"id","value":"<integer>","description":"Id of Material List"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"5cb3eae8-ecbf-474d-99c5-d9a9191aad39"},{"name":"Update Material List by ID","id":"bf57581d-fb6b-45ed-acf7-d1bc86c11298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<api key string>","description":"<p>The api token</p>\n","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\", // nullable | boolean\n    \"customer_id\", // nullable | required without is_template | required if is_template=false | existing customer id\n    \"author_id\", // nullable | existing user id\n    \"title\", // optional | string | max:255\n    \"notes\", // optional | string | max:10000\n    \"internal_notes\", // optional | string | max:10000\n    \"status_id\", // optional | existing custom status id\n    \"status_workflow_id\", // required with status_id | existing status workflow id\n    \"groupings\": [ // nullable | array\n        {\n            \"order_number\", // nullable | integer\n            \"title\", // optional | string | max:255\n            \"type\", // optional | string | max:255 | values: 'item', 'group'\n            \"description\", // nullable | string\n            \"component_visibility\", // required | string | values: 'all', 'group', 'component'\n            \"price_visibility\", // required | string | values: 'all', 'group', 'component'\n            \"quantity\", // optional | numeric\n            \"commission_amount\", // optional | numeric\n            \"hvi_amount\", // optional | numeric\n            \"line_items\": [ // nullable | array\n                {\n                    \"id\", // nullable | integer | existing line item id\n                    \"item_id\", // nullable | integer | existing item id\n                    \"quantity\", // optional | numeric\n                    \"unit_price\", // optional | numeric\n                    \"unit_cost\",  // optional | numeric\n                    \"taxable\", // nullable | boolean\n                    \"title\", // optional | string | max:255\n                    \"description\", // nullable | string\n                    \"type\", // nullable | string | max:255 | values: 'product', 'service'\n                    \"sku\", // nullable | string | max:255\n                    \"unit_measure\", // nullable | string | max:255\n                    \"tax_rate\", // nullable | numeric\n                    \"xero_sales_account\", // nullable | integer\n                    \"xero_tax_account\", // nullable | integer\n                    \"reece_item\", // nullable | array\n                    \"external_type\", // nullable | string | max:255\n                    \"external_id\", // nullable | string | max:255\n                    \"external_sync_status\", // nullable | string | max:255\n                    \"additional_reece_item\", // nullable | array\n                    \"qbo_income_account_id\", // nullable | integer\n                    \"qbo_sales_tax_code_id\", // nullable | integer\n                    \"qbo_expense_account_id\", // nullable | integer\n                    \"granite_group_item\", // nullable | array\n                    \"minimum_order_quantity\", // nullable | numeric\n                    \"price_update_method\", // nullable | string | max:255\n                    \"automatic_markup_percentage\", // nullable | string | max:255\n                    \"serialized_inventory_id\", // nullable | integer | existing serialized inventory id\n                    \"inventory_mode\", // nullable | string | max:255\n                    \"ces_item\" // nullable | array\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [ // nullable | optional | array | description: array of custom fleds\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        },\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        }\n    ],\n    \"assignments\": [ // nullable| array\n        {\n            \"user_id\", // required | integer | existing user id\n            \"team_id\" // nullable | integer | existing team id\n        }\n    ],\n    \"tags\" // nullable | array | existing tag ids\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","urlObject":{"path":["material-list",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>Id of Material List</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"f6d46390-3878-4be3-a1a1-3b6528398c88","name":"200 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1","description":"Id of Material List"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"response\": {\n        <object>\n    }\n}"},{"id":"e4260c2f-5a10-4fc9-aa0a-435d1c111860","name":"400 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1","description":"Id of Material List"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": true,\n    \"errors\": [\n        \"error message\",\n        \"error message\"\n    ]\n}"},{"id":"794ca0ef-3bf1-4419-9b9f-f1ad89db3424","name":"401 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1","description":"Id of Material List"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"128e947f-7015-4e48-8f3d-db2fa8627a0a","name":"404 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1","description":"Id of Material List"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Request URL or object not found\"\n}"},{"id":"08945942-456b-4d59-8df3-26f5a52900e6","name":"500 response","originalRequest":{"method":"PUT","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1","description":"Id of Material List"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"bf57581d-fb6b-45ed-acf7-d1bc86c11298"},{"name":"Delete Material List by ID","id":"859c8c3f-23f8-47db-a0a8-884d0d37e994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","urlObject":{"path":["material-list",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"b202b45f-6280-4935-a873-ff7efe6a223d","name":"200 response","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"response\": {\n        <object>\n    }\n}"},{"id":"1c8ccbe0-adb5-4cd4-9ff1-630d45d9c850","name":"401 response","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"4ba5cad0-5b1c-4657-b4a5-51e4a751eec0","name":"404 response","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Request URL or object not found\"\n}"},{"id":"db3075cd-eb85-418b-a246-8c8fbbcda777","name":"500 response","originalRequest":{"method":"DELETE","header":[{"key":"x-api-key","value":"<string>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-list",":id"],"variable":[{"key":"id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"859c8c3f-23f8-47db-a0a8-884d0d37e994"}],"id":"9904f569-e548-428f-aadd-599af6c27bc1","_postman_id":"9904f569-e548-428f-aadd-599af6c27bc1","description":""},{"name":"Get list of Material Lists","id":"2ec61d6d-3192-4a70-b938-4bf6196ba43f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"<p>The api token</p>\n","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists?page=<string>&limit=<string>&search=<string>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&asn=<array>&asn[$index][team_id]=<string>&asn[$index][match]=<string>&asn[$index][assigned_members]=<array>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>&calculate_count=<boolean>&withCustomfieldsAndRelatedData=<boolean>&by_view=<string>&by_entity=<string>&by_entity_id=<integer>&from_job_start_time=<timestamp>&to_job_end_time=<timestamp>&unscheduled=<boolean>","urlObject":{"path":["material-lists"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Defaults to 50 items per page</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.</p>\n","type":"text/plain"},"key":"asn","value":"<array>"},{"description":{"content":"<p>Team Id to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][team_id]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][match]","value":"<string>"},{"description":{"content":"<p>Array of user id’s to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][assigned_members]","value":"<array>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"},{"description":{"content":"<p>if true, response will contain total_count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>If true, response will contain custom fields data</p>\n","type":"text/plain"},"key":"withCustomfieldsAndRelatedData","value":"<boolean>"},{"description":{"content":"<p>Filter by view mode. Acceptable values <code>all</code>, <code>team</code>, <code>my</code></p>\n","type":"text/plain"},"key":"by_view","value":"<string>"},{"description":{"content":"<p>Filter by entity. Acceptable values <code>job</code>, <code>project</code>, <code>invoice</code>, <code>order</code>, <code>estimate</code>. Required if entity_id is provided</p>\n","type":"text/plain"},"key":"by_entity","value":"<string>"},{"description":{"content":"<p>Filter by existing entity id listed for by_entity parameter</p>\n","type":"text/plain"},"key":"by_entity_id","value":"<integer>"},{"description":{"content":"<p>Filter by job start time</p>\n","type":"text/plain"},"key":"from_job_start_time","value":"<timestamp>"},{"description":{"content":"<p>Filter by job end time</p>\n","type":"text/plain"},"key":"to_job_end_time","value":"<timestamp>"},{"description":{"content":"<p>Filter by unscheduled jobs</p>\n","type":"text/plain"},"key":"unscheduled","value":"<boolean>"}],"variable":[]}},"response":[{"id":"6dd92704-c63f-47d1-b819-278e70ea1068","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists?page=1&limit=10&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]=%3D&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&calculate_count=true&withCustomfieldsAndRelatedData=false&by_view=all&by_entity=job&by_entity_id=1&from_job_start_time=1234567890&to_job_end_time=1234567900&unscheduled=false","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists"],"query":[{"key":"page","value":"1","type":"text"},{"key":"limit","value":"10","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"%3D","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"withCustomfieldsAndRelatedData","value":"false","type":"text"},{"key":"by_view","value":"all","type":"text"},{"key":"by_entity","value":"job","type":"text"},{"key":"by_entity_id","value":"1","type":"text"},{"key":"from_job_start_time","value":"1234567890","type":"text"},{"key":"to_job_end_time","value":"1234567900","type":"text"},{"key":"unscheduled","value":"false","type":"text"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"f983154d-c9f7-41c3-9c1a-fd3164777afd","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists?page=1&limit=10&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]=%3D&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&calculate_count=true&withCustomfieldsAndRelatedData=false&by_view=all&by_entity=job&by_entity_id=1&from_job_start_time=1234567890&to_job_end_time=1234567900&unscheduled=false","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists"],"query":[{"key":"page","value":"1","type":"text"},{"key":"limit","value":"10","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"%3D","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"withCustomfieldsAndRelatedData","value":"false","type":"text"},{"key":"by_view","value":"all","type":"text"},{"key":"by_entity","value":"job","type":"text"},{"key":"by_entity_id","value":"1","type":"text"},{"key":"from_job_start_time","value":"1234567890","type":"text"},{"key":"to_job_end_time","value":"1234567900","type":"text"},{"key":"unscheduled","value":"false","type":"text"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"e7d72f4c-dc32-449a-abe4-66173c2802de","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists?page=1&limit=10&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]=%3D&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&calculate_count=true&withCustomfieldsAndRelatedData=false&by_view=all&by_entity=job&by_entity_id=1&from_job_start_time=1234567890&to_job_end_time=1234567900&unscheduled=false","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists"],"query":[{"key":"page","value":"1","type":"text"},{"key":"limit","value":"10","type":"text"},{"key":"search","value":"abc","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"%3D","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"withCustomfieldsAndRelatedData","value":"false","type":"text"},{"key":"by_view","value":"all","type":"text"},{"key":"by_entity","value":"job","type":"text"},{"key":"by_entity_id","value":"1","type":"text"},{"key":"from_job_start_time","value":"1234567890","type":"text"},{"key":"to_job_end_time","value":"1234567900","type":"text"},{"key":"unscheduled","value":"false","type":"text"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"d8c60b1d-ad6d-4d9b-be55-a34e33ef8708","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-lists?page=1&limit=10&search=abc&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]=%3D&filter[0][value]=1&filter[0][class]=int&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&calculate_count=true&withCustomfieldsAndRelatedData=false&by_view=all&by_entity=job&by_entity_id=1&from_job_start_time=1234567890&to_job_end_time=1234567900&unscheduled=false","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["material-lists"],"query":[{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"limit","value":"10","description":"Defaults to 50 items per page","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"filter[0][action]","value":"where","description":"Array of attribute, operator, and value parts.","type":"text"},{"key":"filter[0][attribute]","value":"company_id","description":"Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br>**Possible values**\n- `where` - Run a where query using the attribute, operator, and value specified.\n- `or` - Run an “or” query, where results must equal one or another value.\n- `in` (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.\n- `and`","type":"text"},{"key":"filter[0][operator]","value":"%3D","description":"Attribute to filter by. Value can be any attribute name from the current resource.","type":"text"},{"key":"filter[0][value]","value":"1","description":"Operator to filter results against.<br>**Possible values**\n- `= (equal to)` - Filter results where attribute equals the value specified (case insensitive).\n- `> (greater than)` - Filter results where attribute is greater than the value specified (case insensitive).\n- `< (less than)` - Filter results where attribute is lesser than the value specified.\n- `>= (greater than or equal to)` - Filter results where attribute is greater than or equal to the value specified.\n- `<= (less than or equal to)` - Filter results where attribute is lesser than or equal to the value specified.\n- `like (regex match)` - Filter results where attribute is like (contains) the value specified (case sensitive).\n- `whereIn`\n- `all`\n- `whereJsonContains` - Filter results in json field","type":"text"},{"key":"filter[0][class]","value":"int","description":"Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br>**Possible values**\n- `string` - Denotes the specified value should be cast and filtered as a string.\n- `int` - Denotes the specified value should be cast and filtered as an integer.\n- `date` - Denotes the specified value should be cast and filtered as a date.\n- `array` - Denotes the specified value should be cast and filtered as an array.\n- `null` - Denotes the specified value should be cast and filtered as an null.\n- `int_array` - Denotes the specified value should be cast and filtered as a values of integers.","type":"text"},{"key":"asn[0][team_id]","value":"1","description":"Value to filter results against.","type":"text"},{"key":"asn[0][match]","value":"strict","description":"Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","description":"Team Id to filter assignments by.","type":"text"},{"key":"sort[0][attribute]","value":"id","description":"If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.","type":"text"},{"key":"sort[0][attribute]","value":"desc","description":"Array of user id’s to filter assignments by.","type":"text"},{"key":"rel[company]","value":"","description":"Array of attribute and order values.","type":"text"},{"key":"calculate_count","value":"true","description":"Attribute to sort by. Value can be any attribute name from the current resource.","type":"text"},{"key":"withCustomfieldsAndRelatedData","value":"false","description":"Possible values are asc and desc.","type":"text"},{"key":"by_view","value":"all","description":"array consisting of indices with the desired relation to include","type":"text"},{"key":"by_entity","value":"job","description":"if true, response will contain total_count","type":"text"},{"key":"by_entity_id","value":"1","description":"If true, response will contain custom fields data","type":"text"},{"key":"from_job_start_time","value":"1234567890","description":"Filter by view mode. Acceptable values `all`, `team`, `my`","type":"text"},{"key":"to_job_end_time","value":"1234567900","description":"Filter by entity. Acceptable values `job`, `project`, `invoice`, `order`, `estimate`. Required if entity_id is provided","type":"text"},{"key":"unscheduled","value":"false","description":"Filter by existing entity id listed for by_entity parameter","type":"text"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"2ec61d6d-3192-4a70-b938-4bf6196ba43f"},{"name":"Create Material List","id":"d0dec7e2-dde9-4b1e-ac15-e8785c72c9e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","description":"<p>The api token</p>\n","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\", // nullable | boolean\n    \"customer_id\", // nullable | required without is_template | required if is_template=false | existing customer id\n    \"author_id\", // nullable | existing user id\n    \"title\", // required | string | max:255\n    \"notes\", // optional | string | max:10000\n    \"internal_notes\", // optional | string | max:10000\n    \"status_id\", // optional | existing custom status id\n    \"status_workflow_id\", // required with status_id | existing status workflow id\n    \"groupings\": [ // nullable | array\n        {\n            \"order_number\", // nullable | integer\n            \"title\", // required | string | max:255\n            \"type\", // required | string | max:255 | values: 'item', 'group'\n            \"description\", // nullable | string\n            \"component_visibility\", // required | string | values: 'all', 'group', 'component'\n            \"price_visibility\", // required | string | values: 'all', 'group', 'component'\n            \"quantity\", // optional | numeric\n            \"commission_amount\", // optional | numeric\n            \"hvi_amount\", // optional | numeric\n            \"line_items\": [ // nullable | array\n                {\n                    \"id\", // nullable | integer | existing line item id\n                    \"item_id\", // nullable | integer | existing item id\n                    \"quantity\", // required | numeric\n                    \"unit_price\", // required | numeric\n                    \"unit_cost\",  // required | numeric\n                    \"taxable\", // nullable | boolean\n                    \"title\", // required | string | max:255\n                    \"description\", // nullable | string\n                    \"type\", // nullable | string | max:255 | values: 'product', 'service'\n                    \"sku\", // nullable | string | max:255\n                    \"unit_measure\", // nullable | string | max:255\n                    \"tax_rate\", // nullable | numeric\n                    \"xero_sales_account\", // nullable | integer\n                    \"xero_tax_account\", // nullable | integer\n                    \"reece_item\", // nullable | array\n                    \"external_type\", // nullable | string | max:255\n                    \"external_id\", // nullable | string | max:255\n                    \"external_sync_status\", // nullable | string | max:255\n                    \"additional_reece_item\", // nullable | array\n                    \"qbo_income_account_id\", // nullable | integer\n                    \"qbo_sales_tax_code_id\", // nullable | integer\n                    \"qbo_expense_account_id\", // nullable | integer\n                    \"granite_group_item\", // nullable | array\n                    \"minimum_order_quantity\", // nullable | numeric\n                    \"price_update_method\", // nullable | string | max:255\n                    \"automatic_markup_percentage\", // nullable | string | max:255\n                    \"serialized_inventory_id\", // nullable | integer | existing serialized inventory id\n                    \"inventory_mode\", // nullable | string | max:255\n                    \"ces_item\" // nullable | array\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [ // nullable | optional | array | description: array of custom fleds\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        },\n        {\n            \"id\", // optional | nullable | required if field_instance_id is not set | integer | custom field id\n            \"field_instance_id\", // optional | nullable | required if id is not set | integer | custom field instance id\n            \"value\" // required | string | custom value\n        }\n    ],\n    \"assignments\": [ // nullable| array\n        {\n            \"user_id\", // required | integer | existing user id\n            \"team_id\" // nullable | integer | existing team id\n        }\n    ],\n    \"tags\" // nullable | array | existing tag ids\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list","urlObject":{"path":["material-list"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"f10f5352-0dbb-47a1-a81b-d07f8a65ff9f","name":"201 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"224909ba-df30-49eb-8de9-1ef3cc032fb9","name":"400 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"4841d35b-f4df-40ff-b531-1a5617978812","name":"401 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"0e16c8ee-5270-4dfd-9674-1d15e82d01f5","name":"404 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"ebf13a4f-b5a3-4f28-b6f7-7f41caf45fbc","name":"500 response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<api key string>","description":"The api token","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_template\": false,\n    \"customer_id\": 1,\n    \"author_id\": 1,\n    \"title\": \"Title\",\n    \"notes\": \"note\",\n    \"internal_notes\": \"note\",\n    \"status_id\": 1,\n    \"status_workflow_id\": 1,\n    \"groupings\": [\n        {\n            \"order_number\": 0,\n            \"title\": \"Title\",\n            \"type\": \"item\",\n            \"description\": \"description\",\n            \"component_visibility\": \"all\",\n            \"price_visibility\": \"all\",\n            \"quantity\": \"1\",\n            \"commission_amount\": \"0\",\n            \"hvi_amount\": \"0\",\n            \"line_items\": [\n                {\n                    \"item_id\": 1,\n                    \"quantity\": \"1\",\n                    \"unit_price\": \"1.00\",\n                    \"unit_cost\": \"1.00\",\n                    \"taxable\": false,\n                    \"title\": \"Title\",\n                    \"description\": null,\n                    \"type\": \"product\",\n                    \"sku\": null,\n                    \"unit_measure\": null,\n                    \"tax_rate\": \"0\",\n                    \"xero_sales_account\": null,\n                    \"xero_tax_account\": null,\n                    \"reece_item\": null,\n                    \"external_type\": null,\n                    \"external_id\": null,\n                    \"external_sync_status\": null,\n                    \"additional_reece_item\": null,\n                    \"qbo_income_account_id\": null,\n                    \"qbo_sales_tax_code_id\": null,\n                    \"qbo_expense_account_id\": null,\n                    \"granite_group_item\": null,\n                    \"minimum_order_quantity\": null,\n                    \"price_update_method\": null,\n                    \"automatic_markup_percentage\": null,\n                    \"serialized_inventory_id\": null,\n                    \"inventory_mode\": null,\n                    \"ces_item\": null\n                }\n            ]            \n        }\n    ],\n    \"customfields\": [\n        {\n            \"id\": null,\n            \"field_instance_id\": 1,\n            \"value\": \"value 1\"\n        },\n        {\n            \"id\": 2,\n            \"field_instance_id\": null,\n            \"value\": \"value 2\"\n        }\n    ],\n    \"assignments\": [\n        {\n            \"user_id\": 1,\n            \"team_id\": 1\n        },\n        {\n            \"user_id\": 2,\n            \"team_id\": 1\n        }\n    ],\n    \"tags\": [1,2]\n}","options":{"raw":{"language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/material-list"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"d0dec7e2-dde9-4b1e-ac15-e8785c72c9e9"}],"id":"399a64e4-b8cb-40a9-a3a4-7e0f2341ad2f","_postman_id":"399a64e4-b8cb-40a9-a3a4-7e0f2341ad2f","description":""},{"name":"payments","item":[{"name":"{id}","item":[{"name":"Retrieve payment by ID","id":"8d03d64a-713f-49df-a64f-6bf603c25c7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","description":"<p>Retrieve a payment by ID</p>\n","urlObject":{"path":["payments",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"59764d7c-3331-4272-818b-6a9d596daca8","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"428b6672-3e3a-4c29-821b-d41263da3427","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"7e68f6fb-ab39-4d05-8cd1-88df813d63cc","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"be210ae8-8182-495c-a3d0-058332bd7259","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"7ca6f16d-11e9-4960-8668-8b94036a3596","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"8d03d64a-713f-49df-a64f-6bf603c25c7f"},{"name":"Update payment by ID","id":"529de7e0-168d-4c76-b9ea-5f8d7b43b501","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,// optional | integer | existing invoice id\n  \"payment_date\": 1234567890,// optional | timestamp\n  \"amount\": \"1.1\",// optional | string | numeric\n  \"method \": \"cash\",// required | string | acceptable_values: cash,check,card,square,bank_transfer,other\n  \"payment_method_id\": 1,// nullable | integer | existing payment method id\n  \"notes\": \"some string\",// optional | string | max:4000\n  \"square_transaction_id\": \"some string\"// optional | string | max:255\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","description":"<p>Update a payment</p>\n","urlObject":{"path":["payments",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"306e12eb-ff82-4caf-892d-8a6be35a68af","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"e3e1f6ae-6a3f-498e-a9ac-c5ef840108c5","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"8ff0c3f9-8e97-475d-a0c6-cb21e2a4dab6","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"71ab43e6-68a6-479f-9f5b-5309126b24a9","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"db50809e-753a-466a-b135-1c599c0bcd57","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"df3f56ce-4e34-4e49-97ba-696d79823a54","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"529de7e0-168d-4c76-b9ea-5f8d7b43b501"},{"name":"Delete payment by ID","id":"9087576b-0f50-4707-9416-a77d1d360875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","description":"<p>Delete a payment</p>\n","urlObject":{"path":["payments",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"a46c481b-54b5-4637-a996-af354e062be6","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"bc0dcbbf-0a58-4a1d-b4aa-2b233d146f1d","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"d55bb968-3c2d-41dd-916a-54f6ef7f3b97","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"d1e7bad0-4de5-4327-b011-3e7d1e930e83","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"d41417ae-317a-498a-afd4-267fc8cf7376","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"9087576b-0f50-4707-9416-a77d1d360875"}],"id":"c3d65e7d-8acf-48a0-a570-3df84a1f633f","_postman_id":"c3d65e7d-8acf-48a0-a570-3df84a1f633f","description":""},{"name":"Retrieve payments list","id":"9b5820bc-b8e8-40cc-bce4-d1d16c3e9647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments?limit=<string>&page=<string>&sort_by=<string>&sort_dir=<string>&search=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List payments</p>\n","urlObject":{"path":["payments"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Allowed values: <code>cuid</code>, <code>method</code>,<code>amount</code>,<code>payment_date</code></p>\n","type":"text/plain"},"key":"sort_by","value":"<string>"},{"description":{"content":"<p>Allowed values: asc, desc</p>\n","type":"text/plain"},"key":"sort_dir","value":"<string>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"key":"calculate_count","value":"<boolean>"},{"key":"filter","value":"<array>"},{"key":"filter[$index][action]","value":"<string>"},{"key":"filter[$index][attribute]","value":"<string>"},{"key":"filter[$index][operator]","value":"<string>"},{"key":"filter[$index][class]","value":"<string>"},{"key":"filter[$index][value]","value":"<any>"},{"key":"sort","value":"<array>"},{"key":"sort[$index][attribute]","value":"<string>"},{"key":"sort[$index][order]","value":"<string>"},{"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"96cf46d2-a7ed-4b2c-be08-e3ffe9d34395","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments?limit=10&page=1&sort_by=cuid&sort_dir=asc&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"cuid","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"03ae5d33-6bbf-4d90-807f-6f468af6b233","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments?limit=10&page=1&sort_by=cuid&sort_dir=asc&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"cuid","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"7d24f8d2-e85e-4df6-801d-d8346a938b6d","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments?limit=10&page=1&sort_by=cuid&sort_dir=asc&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"cuid","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"4d030bb5-9619-430a-bc20-fe0db324118b","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments?limit=10&page=1&sort_by=cuid&sort_dir=asc&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["payments"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"cuid","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"9b5820bc-b8e8-40cc-bce4-d1d16c3e9647"},{"name":"Create a payment","id":"9048a4a1-5500-4429-af63-b175fcb86906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,// required | integer | existing invoice id\n  \"payment_date\": 1234567890,// required | timestamp\n  \"amount\": \"1.1\",// required | string | numeric\n  \"method \": \"cash\",// required | string | acceptable_values: cash,check,card,square,bank_transfer,other\n  \"payment_method_id\": 1,// nullable | integer | existing payment method id\n  \"notes\": \"some string\",// optional | string | max:4000\n  \"square_transaction_id\": \"some string\"// optional | string | max:255\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments","description":"<p>Create a payment</p>\n","urlObject":{"path":["payments"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"b7de8ded-26e2-4fb0-8029-08ea5d889e3b","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"df73c8fb-be59-4d0f-886b-fdd659d08471","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"343be2c1-2f05-4457-b9a8-424761c6a3b3","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"qbd_discount_account_id\": 1,\n  \"qbd_discount_amount\": \"1.1\",\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"50ade960-ed22-481f-b963-90402033c69f","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"qbd_discount_account_id\": 1,\n  \"qbd_discount_amount\": \"1.1\",\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"affd9965-aed3-4c3b-a0e8-aa43b71ff24e","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"invoice_id\": 1,\n  \"payment_date\": 1234567890,\n  \"amount\": \"1.1\",\n  \"method \": \"cash\",\n  \"payment_method_id\": 1,\n  \"qbd_discount_account_id\": 1,\n  \"qbd_discount_amount\": \"1.1\",\n  \"notes\": \"some string\",\n  \"square_transaction_id\": \"some string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/payments"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"9048a4a1-5500-4429-af63-b175fcb86906"}],"id":"7f27da19-1527-463d-aa76-7b47eaffbf39","_postman_id":"7f27da19-1527-463d-aa76-7b47eaffbf39","description":""},{"name":"pipeline-status","item":[{"name":"Retrieve pipeline statuses list","id":"e6f34872-c221-4679-bc43-5acc449e91aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/pipeline-status?limit=<string>&page=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List all pipeline statuses</p>\n","urlObject":{"path":["pipeline-status"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"11ad9f93-d6ee-4211-9bba-0e6c3e0b6ce2","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/pipeline-status?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["pipeline-status"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"5b40c2b8-966c-42ed-99dc-c415dbc800ef","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/pipeline-status?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["pipeline-status"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"6ef97e46-ffa9-47fe-81ec-f51dac8edf38","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/pipeline-status?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["pipeline-status"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"319355c6-40a0-4046-b893-08797b870b41","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/pipeline-status?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["pipeline-status"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"e6f34872-c221-4679-bc43-5acc449e91aa"}],"id":"9d61417d-f0e1-4919-9f37-6f80a994cfe9","_postman_id":"9d61417d-f0e1-4919-9f37-6f80a994cfe9","description":""},{"name":"projects","item":[{"name":"{projectId}","item":[{"name":"Retrieve project by ID","id":"df68d0c3-921d-4b9c-a80a-f7b4f7c49727","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","description":"<p>Retrieve a project by ID</p>\n","urlObject":{"path":["projects",":projectId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"5a95445b-7a13-44bd-b16d-53e4478fc6c4","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"projectId"}]}},"response":[{"id":"555c00a8-ff59-4650-97e3-601ee7280f38","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"5d5db62b-b87e-4561-b364-2cc81a00dfc0","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"132594cd-d824-41db-8a13-4bb4a5c27836","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"8f32bb37-b380-4342-8408-b2101f8a816a","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"df68d0c3-921d-4b9c-a80a-f7b4f7c49727"},{"name":"Update project by ID","id":"3961105b-6139-420b-bea3-4a32217ee5c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,// nullable | integer | existing customer id\n  \"name\": \"some string\",// optional | string | max:255\n  \"description\": \"some string\",// optional | string | max:1000\n  \"status\": 1,// optional | integer | acceptable_values: 1(opportunity),2(accepted),3(planning),4(in progress),5(pending),6(completed),7(canceled)\n  \"status_id\": 1,// optional | integer | existing custom status id\n  \"status_workflow_id\": 1,// optional | integer | existing status workflow id\n  \"location_id\": 1,// optional | integer | existing location id\n  \"location\": \"some string\",// optional | string | max:5000 | description: Location string like \"Street 1, City, State, Zip code\"\n  \"start_time\": 1234567890,// optional | timestamp\n  \"end_time\": 1234567890,// optional | timestamp\n  \"notes\": \"some string\",// optional | string | max:7500\n  \"job_notes\": \"some string\",// nullable | string | max:1000\n  \"completion_percentage\": \"1\"// optional | string | digits_between:0,100\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","description":"<p>Update a project</p>\n","urlObject":{"path":["projects",":projectId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"76426524-607b-4b4a-9c00-eeccfc1ef6ed","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"projectId"}]}},"response":[{"id":"e519a8ea-9a35-4704-8290-98e406af29bb","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"ce63e83b-aba5-4d2e-8212-c2400a4422d6","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"d6c650cc-a7e9-4f06-87c5-b180043aaa46","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"6bc62822-be3e-4930-bb95-c6fadb0d96aa","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"c281b780-eb61-40cb-96ab-294db804b68e","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"3961105b-6139-420b-bea3-4a32217ee5c7"},{"name":"Delete project by ID","id":"d3709105-a5f8-4b3c-a5cf-96581b38122a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","description":"<p>Delete a project</p>\n","urlObject":{"path":["projects",":projectId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"2b19b9e7-b167-4c23-8208-4eabf7c73e93","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"projectId"}]}},"response":[{"id":"5bb57d43-c916-4abc-896e-06022e91d453","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"83d28a2b-d5cb-465e-8066-87533b6e5c28","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"d6a2eeb2-21b7-4c7a-ab74-6afcfde93486","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"e0bb7553-2b8e-4742-afdc-822885b2f0d7","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects/:projectId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects",":projectId"],"variable":[{"key":"projectId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"d3709105-a5f8-4b3c-a5cf-96581b38122a"}],"id":"adc558c7-b61a-46b6-ad96-81faa3df563c","_postman_id":"adc558c7-b61a-46b6-ad96-81faa3df563c","description":""},{"name":"Retrieve projects list","id":"30e8e7db-e8d1-4ff6-87ac-f29c69a8fcbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects?limit=<string>&sort_by=<string>&sort_dir=<string>&page=<string>&search=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>&asn=<array>&asn[$index][team_id]=<string>&asn[$index][match]=<string>&asn[$index][assigned_members]=<array>","description":"<p>List projects</p>\n","urlObject":{"path":["projects"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Allowed values: <code>cuid</code>, <code>name</code>,<code>status_id</code>,<code>completion_percentage</code></p>\n","type":"text/plain"},"key":"sort_by","value":"<string>"},{"description":{"content":"<p>Allowed values: asc, desc</p>\n","type":"text/plain"},"key":"sort_dir","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"},{"description":{"content":"<p>Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.</p>\n","type":"text/plain"},"key":"asn","value":"<array>"},{"description":{"content":"<p>Team Id to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][team_id]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][match]","value":"<string>"},{"description":{"content":"<p>Array of user id’s to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][assigned_members]","value":"<array>"}],"variable":[]}},"response":[{"id":"fd7a2c60-972c-4fe3-9c66-73bb42f8108d","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects?limit=10&page=1&sort_by=cuid&sort_dir=asc&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"cuid","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"7dcaa23d-1819-4871-a9b0-b2425104126d","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects?limit=10&page=1&sort_by=cuid&sort_dir=asc&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"cuid","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"a3f0046f-aa13-4e45-8185-21ffec629a4c","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects?limit=10&page=1&sort_by=cuid&sort_dir=asc&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"cuid","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"09e0621e-c38f-49ad-93e1-a43ba39b1945","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects?limit=10&page=1&sort_by=cuid&sort_dir=asc&search=abc&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["projects"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"cuid","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"30e8e7db-e8d1-4ff6-87ac-f29c69a8fcbf"},{"name":"Create a project","id":"88865d74-16d8-4aa7-b31a-dc155d6af948","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,// required | integer | existing customer id\n  \"name\": \"some string\",// required | string | max:255\n  \"description\": \"some string\",// optional | string | max:1000\n  \"status\": 1,// required, if status_id is not set | integer | acceptable_values: 1(opportunity),2(accepted),3(planning),4(in progress),5(pending),6(completed),7(canceled)\n  \"status_id\": 1,// required, if status is not set | integer | existing custom status id\n  \"status_workflow_id\": 1,// required, if status_id is set | integer | existing status workflow id\n  \"location_id\": 1,// optional | integer | existing location id\n  \"location\": \"some string\",// optional | string | max:5000 | description: Location string like \"Street 1, City, State, Zip code\"\n  \"start_time\": 1234567890,// optional | timestamp\n  \"end_time\": 1234567890,// optional | timestamp\n  \"notes\": \"some string\",// optional | string | max:7500\n  \"job_notes\": \"some string\",// nullable | string | max:1000\n  \"completion_percentage\": \"1\"// required | string | digits_between:0,100\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects","description":"<p>Create a project</p>\n","urlObject":{"path":["projects"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"f8423e7c-ff06-4af5-b289-9da06207e169","name":"200 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"53abbaf3-04e4-4af4-83ec-876c2297e865","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"9a67fefd-a73c-45e4-8841-72b7b3da87bc","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"834b2fe4-9f4b-443b-8d11-695b4e2ab307","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"a171c7e2-228d-4fc5-9cf2-e1420bebdde8","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"customer_id\": 1,\n  \"name\": \"some string\",\n  \"description\": \"some string\",\n  \"status\": 1,\n  \"status_id\": 1,\n  \"status_workflow_id\": 1,\n  \"location_id\": 1,\n  \"location\": \"some string\",\n  \"start_time\": 1234567890,\n  \"end_time\": 1234567890,\n  \"notes\": \"some string\",\n  \"job_notes\": \"some string\",\n  \"completion_percentage\": \"1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/projects"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"88865d74-16d8-4aa7-b31a-dc155d6af948"}],"id":"75fb790f-caca-45ed-8712-099177253983","_postman_id":"75fb790f-caca-45ed-8712-099177253983","description":""},{"name":"purchase-orders","item":[{"name":"{id}","item":[{"name":"Retrieve purchase order by ID","id":"e3161557-b4a6-4389-89a6-7dc1d4ed7c3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","description":"<p>Retrieve a purchase order by ID</p>\n","urlObject":{"path":["purchase-orders",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"a2a952f5-bb5f-4781-b00c-48700dc79356","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"9da5700b-bfd4-443c-a9a5-db8bcac4fb8c","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"82f87723-a387-436d-a0c5-aea57dae7704","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"d54cf78f-65f8-4aca-96b2-2159395b68fe","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"a755868a-2d2f-4be3-b612-8838f0dd4cd8","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"e3161557-b4a6-4389-89a6-7dc1d4ed7c3b"},{"name":"Update puchase order by ID","id":"556c2ea4-1963-4a02-a828-59ad4a9a0a4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",// optional | string | acceptable_values: third_party,integrated\n  \"vendor_id\": 1,// nullable | required, if vendor_type is third_party | existing vendor id \n  \"vendor_name\": \"some string\",// required if vendor_type is integrated | string | acceptable_values: reece\n  \"tax_rate \": \"some string\",// optional | string\n  \"title\": \"some string\",// required | string | max:255\n  \"status\": \"draft\",// optional | string | acceptable_values: compose,draft,ordered,pending,route,ready_for_pickup,partially_received,received,completed,canceled,issue\n  \"payment_status\": \"unpaid\",// optional | string | acceptable_values: unpaid,partially_paid,paid\n  \"comment\": \"some string\",// optional | string | max:5000\n  \"order_at\": 12345678,// optional | timestamp\n  \"expected_delivery_at\": 12345678,// optional | timestamp\n  \"received_at\": 12345678,// optional | timestamp\n  \"customer_id\": 1,// nullable | integer | existing customer id\n  \"job_id\": 1,// nullable | integer | existing job id\n  \"project_id\": 1,// nullable | integer | existing project id\n  \"invoice_id\": 1,// nullable | integer | existing invoice id\n  \"assigned_id\": 1,// nullable | integer | existing user id\n  \"order_email\": \"email@email.com\",// optional | email | max:255\n  \"delivery_method\": \"delivery\",// optional | string | acceptable_values: delivery,pickup\n  \"delivery_address\": \"some string\",// string | required, if vendor_type is integrated,vendor_name is reece,delivery_method is delivery\n  \"delivery_flat\": \"some string\",// optional | string\n  \"delivery_city\": \"some string\",// string | required, if vendor_type is integrated,vendor_name is reece,delivery_method is delivery\n  \"delivery_state\": \"some string\",// string | required, if vendor_type is integrated,vendor_name is reece,delivery_method is delivery\n  \"delivery_postcode\": \"some string\",// string | required, if vendor_type is integrated,vendor_name is reece,delivery_method is delivery\n  \"delivery_instruction\": \"some string\",// optional | string\n  \"pickup_branch_id\": \"some string\",// required, if vendor_type is integrated,vendor_name is reece,delivery_method is pickup\n  \"order_number\": \"O123\",// required, if vendor_type is integrated,vendor_name is reece,delivery_method is pickup | string | max:255\n  \"order_phone\": \"+123456789\",// optional | string | description: valid phone number\n  \"items\": [// optional | array\n    {\n      \"id\": 1,// required | integer\n      \"type\": \"fieldpulse\",// required | string | acceptable_values: reece,fieldpulse\n      \"unit_measure\": \"cm\",// required, if type is reece | string | max:10\n      \"unit_cost\": \"1.0\",// required | string | max:10\n      \"is_taxed\": false,// optional | boolean\n      \"tax_rate\": \"1\",// optional | string\n      \"quantity\": \"1\",// required | string | max:10\n      \"payment_status\": \"unpaid\"// required | string | acceptable_values: unpaid,paid\n    },\n    {\n      \"id\": 2,// required | integer\n      \"type\": \"fieldpulse\",// required | string | acceptable_values: reece,fieldpulse\n      \"unit_measure\": \"cm\",// required, if type is reece | string | max:10\n      \"unit_cost\": \"1.0\",// required | string | max:10\n      \"is_taxed\": false,// optional | boolean\n      \"tax_rate\": \"1\",// optional | string\n      \"quantity\": \"1\",// required | string | max:10\n      \"payment_status\": \"unpaid\"// required | string | acceptable_values: unpaid,paid\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","description":"<p>Update a puchase order</p>\n","urlObject":{"path":["purchase-orders",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"21c18dce-3aeb-4fab-b157-ff9c05ff4dc0","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"bc164507-b419-4fc1-9773-b9147d323cab","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"9afcb4b1-5712-43ea-a0e1-27123a6c88a2","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"c725aa89-aa45-430e-90e2-f8eef9d42e47","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"25545563-dbd6-4aa4-b498-935f987216e0","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"7c7a5300-cd06-4192-ac0f-a5217bb17fd6","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"556c2ea4-1963-4a02-a828-59ad4a9a0a4e"},{"name":"Delete purchase order by ID","id":"818e7c53-146d-4694-af42-6e2ff8348f9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","description":"<p>Delete a purchase order</p>\n","urlObject":{"path":["purchase-orders",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"5b0a5255-0297-41f1-9837-7b87abacf485","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"1555b140-fc3e-42c6-a891-74b3b95de7d6","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"88b857a9-3f44-456f-bb70-12fbdee64b5f","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"75f91eb4-adcd-4621-af1f-853ff2e46045","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"16ec6036-655d-4e8a-964e-aa2a2a99af03","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"818e7c53-146d-4694-af42-6e2ff8348f9c"}],"id":"7409cc88-1b61-45d8-94a9-372a333a0769","_postman_id":"7409cc88-1b61-45d8-94a9-372a333a0769","description":""},{"name":"Retrieve purchase orders list","id":"529bd220-be0f-49c0-8dc5-4648b4f7064a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders?limit=<string>&page=<string>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>&calculate_count=<boolean>","description":"<p>List purchase orders</p>\n","urlObject":{"path":["purchase-orders"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"}],"variable":[]}},"response":[{"id":"d3a9044e-6095-492b-bddd-fc08308c4c8e","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"491091dc-4974-4626-8ca7-6118ffd8d2ab","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"361e120a-a37b-4c22-a39b-b4a3659f979e","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"85ddfc90-e542-4cbd-8bf7-f93fa338b24c","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["purchase-orders"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"529bd220-be0f-49c0-8dc5-4648b4f7064a"},{"name":"Create a puchase order","id":"31b3e79b-9ae9-4e7b-b184-a0a591c171df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",// required | string | acceptable_values: third_party,integrated\n  \"vendor_id\": 1,// nullable | required, if vendor_type is third_party | existing vendor id \n  \"vendor_name\": \"some string\",// required if vendor_type is integrated | string | acceptable_values: reece\n  \"tax_rate \": \"some string\",// optional | string\n  \"title\": \"some string\",// required | string | max:255\n  \"status\": \"draft\",// optional | string | acceptable_values: compose,draft,ordered,pending,route,ready_for_pickup,partially_received,received,completed,canceled,issue\n  \"payment_status\": \"unpaid\",// optional | string | acceptable_values: unpaid,partially_paid,paid\n  \"comment\": \"some string\",// optional | string | max:5000\n  \"order_at\": 12345678,// required | timestamp\n  \"expected_delivery_at\": 12345678,// required | timestamp\n  \"received_at\": 12345678,// optional | timestamp\n  \"customer_id\": 1,// nullable | integer | existing customer id\n  \"job_id\": 1,// nullable | integer | existing job id\n  \"project_id\": 1,// nullable | integer | existing project id\n  \"invoice_id\": 1,// nullable | integer | existing invoice id\n  \"assigned_id\": 1,// required | integer | existing user id\n  \"order_email\": \"email@email.com\",// required | email | max:255\n  \"delivery_method\": \"delivery\",// required | string | acceptable_values: delivery,pickup\n  \"delivery_address\": \"some string\",// string | required, if vendor_type is integrated,vendor_name is reece,delivery_method is delivery\n  \"delivery_flat\": \"some string\",// optional | string\n  \"delivery_city\": \"some string\",// string | required, if vendor_type is integrated,vendor_name is reece,delivery_method is delivery\n  \"delivery_state\": \"some string\",// string | required, if vendor_type is integrated,vendor_name is reece,delivery_method is delivery\n  \"delivery_postcode\": \"some string\",// string | required, if vendor_type is integrated,vendor_name is reece,delivery_method is delivery\n  \"delivery_instruction\": \"some string\",// optional | string\n  \"pickup_branch_id\": \"some string\",// required, if vendor_type is integrated,vendor_name is reece,delivery_method is pickup\n  \"order_number\": \"O123\",// required, if vendor_type is integrated,vendor_name is reece,delivery_method is pickup | string | max:255\n  \"order_phone\": \"+123456789\",// optional | string | description: valid phone number\n  \"items\": [// optional | array\n    {\n      \"id\": 1,// required | integer\n      \"type\": \"fieldpulse\",// required | string | acceptable_values: reece,fieldpulse\n      \"unit_measure\": \"cm\",// required, if type is reece | string | max:10\n      \"unit_cost\": \"1.0\",// required | string | max:10\n      \"is_taxed\": false,// optional | boolean\n      \"tax_rate\": \"1\",// optional | string\n      \"quantity\": \"1\",// required | string | max:10\n      \"payment_status\": \"unpaid\"// required | string | acceptable_values: unpaid,paid\n    },\n    {\n      \"id\": 2,// required | integer\n      \"type\": \"fieldpulse\",// required | string | acceptable_values: reece,fieldpulse\n      \"unit_measure\": \"cm\",// required, if type is reece | string | max:10\n      \"unit_cost\": \"1.0\",// required | string | max:10\n      \"is_taxed\": false,// optional | boolean\n      \"tax_rate\": \"1\",// optional | string\n      \"quantity\": \"1\",// required | string | max:10\n      \"payment_status\": \"unpaid\"// required | string | acceptable_values: unpaid,paid\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders","description":"<p>Create a puchase order</p>\n","urlObject":{"path":["purchase-orders"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"b2a2eb03-f74d-45f6-bf3c-6e2dd8f19f11","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"f34de9b2-ce93-4085-b984-d703d7ecdf06","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"a23078e0-4c12-456c-a4fa-8937384541fd","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"d7e0f576-dabe-4fa8-827f-d7120fc1d3df","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"28eb3592-e251-40ec-b8cc-032603cf7896","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"vendor_type\": \"integrated\",\n  \"vendor_id\": 1,\n  \"vendor_name\": \"some string\",\n  \"tax_rate \": \"some string\",\n  \"title\": \"some string\",\n  \"status\": \"draft\",\n  \"payment_status\": \"unpaid\",\n  \"comment\": \"some string\",\n  \"order_at\": 12345678,\n  \"expected_delivery_at\": 12345678,\n  \"received_at\": 12345678,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"invoice_id\": 1,\n  \"assigned_id\": 1,\n  \"order_email\": \"email@email.com\",\n  \"delivery_method\": \"delivery\",\n  \"delivery_address\": \"some string\",\n  \"delivery_flat\": \"some string\",\n  \"delivery_city\": \"some string\",\n  \"delivery_state\": \"some string\",\n  \"delivery_postcode\": \"some string\",\n  \"delivery_instruction\": \"some string\",\n  \"pickup_branch_id\": \"some string\",\n  \"order_number\": \"O123\",\n  \"order_phone\": \"+123456789\",\n  \"items\": [\n    {\n      \"id\": 1,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    },\n    {\n      \"id\": 2,\n      \"type\": \"fieldpulse\",\n      \"unit_measure\": \"cm\",\n      \"unit_cost\": \"1.0\",\n      \"is_taxed\": false,\n      \"tax_rate\": \"1\",\n      \"quantity\": \"1\",\n      \"payment_status\": \"unpaid\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/purchase-orders"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"31b3e79b-9ae9-4e7b-b184-a0a591c171df"}],"id":"2c1f347b-51de-45ff-93e4-35cd74452e39","_postman_id":"2c1f347b-51de-45ff-93e4-35cd74452e39","description":""},{"name":"subtasks","item":[{"name":"{id}","item":[{"name":"Retrieve subtask by ID","id":"ce836f94-42aa-45f6-bb68-4d800d202c7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","description":"<p>Retrieve a subtask by ID</p>\n","urlObject":{"path":["subtasks",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"87e0f6fa-3f55-4ef9-9e01-b8ed3a72d986","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"fcc7168c-3259-4cc8-9759-da23d0e4451a","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"fefbe92b-5a0f-44ea-88b7-d2ef79c1ff9e","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"b943b8c8-66f5-4a32-930b-f5c68e7168d4","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"272f6d4d-0e16-4b22-81e9-2a5395686cec","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"ce836f94-42aa-45f6-bb68-4d800d202c7c"},{"name":"Update subtask by ID","id":"20dfc9ba-1eec-47c3-8d84-41c6eadfd009","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",// optional | string | max:1000\n  \"status\": 1,// optional | integer | acceptable_values: 1,2,3,4,5\n  \"due_date\": 1234567890,// optional | timestamp\n  \"customer_id\": 1,// optional | integer | existing customer id\n  \"job_id\": 1,// optional | integer | existing job id\n  \"project_id\": 1,// optional | integer | existing project id\n  \"recurring_job_id\": 1,// optional | integer | existing recurring job id\n  \"description\": \"some string\",// optional | string | max:5000\n  \"is_template\": false,// optional | boolean\n  \"is_required_for_job\": false,// optional | boolean\n  \"assignments\": [// optional | array\n    {\n      \"team_id\": 1,// required | integer | existing team id\n      \"user_id\": 1// required | integer | existing user id\n    },\n    {\n      \"team_id\": 1,// required | integer | existing team id\n      \"user_id\": 2// required | integer | existing user id\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","description":"<p>Update a subtask</p>\n","urlObject":{"path":["subtasks",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"254d6894-92d0-4297-97e1-622f7a828e8b","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"9f91f983-0174-4416-ae69-a16f26d1ab71","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"b04268ea-0851-49f4-bf3c-e40ecc2d298e","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"9e686626-7efc-4779-bed7-23e2c658f925","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"7414c9d5-7880-41eb-b5c8-45cb3f371a14","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"899a8cf9-dd02-4471-a63a-33d17ab4518f","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"20dfc9ba-1eec-47c3-8d84-41c6eadfd009"},{"name":"Delete subtask by ID","id":"021bc978-9946-4113-9625-fbee0a3baafc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","description":"<p>Delete a subtask</p>\n","urlObject":{"path":["subtasks",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"a28280e7-a0c7-4121-bfee-1d077ce723b9","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"32117e14-b630-4568-ba73-be7514f51f91","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"534eeb65-d288-4352-be0e-298e5d691377","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"7b5398a6-9dd9-49e4-b6ae-dac44d47daff","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"85293816-c9ce-4605-b624-0acfaacf7c38","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"021bc978-9946-4113-9625-fbee0a3baafc"}],"id":"cb053a61-8e18-4203-9c33-06808d984b9b","_postman_id":"cb053a61-8e18-4203-9c33-06808d984b9b","description":""},{"name":"Retrieve subtasks list","id":"cf0bae26-9a4f-40ce-b54b-ae757caea150","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks?limit=<string>&page=<string>&sort_by=<string>&sort_dir=<string>&assigned_user_id=<string>&status=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>&asn=<array>&asn[$index][team_id]=<string>&asn[$index][match]=<string>&asn[$index][assigned_members]=<array>","description":"<p>List subtasks</p>\n","urlObject":{"path":["subtasks"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Allowed values: <code>due_date</code>, <code>status</code>, <code>title</code></p>\n","type":"text/plain"},"key":"sort_by","value":"<string>"},{"description":{"content":"<p>Allowed values: asc, desc</p>\n","type":"text/plain"},"key":"sort_dir","value":"<string>"},{"description":{"content":"<p>Filter for assigned user id</p>\n","type":"text/plain"},"key":"assigned_user_id","value":"<string>"},{"description":{"content":"<p>Filter by status. Allowed values - <code>open</code>, <code>close</code></p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"},{"description":{"content":"<p>Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both.</p>\n","type":"text/plain"},"key":"asn","value":"<array>"},{"description":{"content":"<p>Team Id to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][team_id]","value":"<string>"},{"description":{"content":"<p>If set to “strict”, results must include all assigned_members. Otherwise (default behavior), results will include objects with any of the assigned_members.</p>\n","type":"text/plain"},"key":"asn[$index][match]","value":"<string>"},{"description":{"content":"<p>Array of user id’s to filter assignments by.</p>\n","type":"text/plain"},"key":"asn[$index][assigned_members]","value":"<array>"}],"variable":[]}},"response":[{"id":"d4edfd79-ceb4-4b51-8972-865623447a4f","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks?limit=10&page=1&sort_by=due_date&sort_dir=asc&assigned_user_id=1&status=open&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"due_date","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"assigned_user_id","value":"1","type":"text"},{"key":"status","value":"open","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"42c2c10c-2e2f-40c4-b265-7d79d0410a87","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks?limit=10&page=1&sort_by=due_date&sort_dir=asc&assigned_user_id=1&status=open&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"due_date","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"assigned_user_id","value":"1","type":"text"},{"key":"status","value":"open","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"44065c97-383a-487d-af73-506723cce75d","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks?limit=10&page=1&sort_by=due_date&sort_dir=asc&assigned_user_id=1&status=open&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"due_date","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"assigned_user_id","value":"1","type":"text"},{"key":"status","value":"open","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"3727fd6d-1f77-4f6a-aa46-5dcf12a8c045","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks?limit=10&page=1&sort_by=due_date&sort_dir=asc&assigned_user_id=1&status=open&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=&asn[0][team_id]=1&asn[0][match]=strict&asn[0][assigned_members]=[1,2]","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["subtasks"],"query":[{"key":"limit","value":"10","type":"text"},{"key":"page","value":"1","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"sort_by","value":"due_date","description":"Allowed values: asc, desc","type":"text"},{"key":"sort_dir","value":"asc","type":"text"},{"key":"assigned_user_id","value":"1","type":"text"},{"key":"status","value":"open","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"},{"key":"asn[0][team_id]","value":"1","type":"text"},{"key":"asn[0][match]","value":"strict","type":"text"},{"key":"asn[0][assigned_members]","value":"[1,2]","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"cf0bae26-9a4f-40ce-b54b-ae757caea150"},{"name":"Create a subtask","id":"89e7ab09-f2e8-41fe-99e9-e41a05930c74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",// required | string | max:1000\n  \"status\": 1,// required | integer | acceptable_values: 1,2,3,4,5\n  \"due_date\": 1234567890,// required | timestamp\n  \"customer_id\": 1,// optional | integer | existing customer id\n  \"job_id\": 1,// optional | integer | existing job id\n  \"project_id\": 1,// optional | integer | existing project id\n  \"recurring_job_id\": 1,// optional | integer | existing recurring job id\n  \"description\": \"some string\",// optional | string | max:5000\n  \"is_template\": false,// optional | boolean\n  \"is_required_for_job\": false,// optional | boolean\n  \"assignments\": [// optional | array\n    {\n      \"team_id\": 1,// required | integer | existing team id\n      \"user_id\": 1// required | integer | existing user id\n    },\n    {\n      \"team_id\": 1,// required | integer | existing team id\n      \"user_id\": 2// required | integer | existing user id\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks","description":"<p>Create a subtask</p>\n","urlObject":{"path":["subtasks"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"ee33e1d7-3712-424b-bd5d-c512eafb8aa5","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"1c61a2d3-8684-47cf-9145-d79d45ebe191","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"1ad664ae-78ed-4f01-9f8c-dfb4a3ef60f0","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"cb57e782-6f03-4e0a-bc76-c2df3d2df989","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"ea7884bc-5835-41f4-a068-e829f1908442","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"some string\",\n  \"status\": 1,\n  \"due_date\": 1234567890,\n  \"customer_id\": 1,\n  \"job_id\": 1,\n  \"project_id\": 1,\n  \"recurring_job_id\": 1,\n  \"description\": \"some string\",\n  \"is_template\": false,\n  \"is_required_for_job\": false,\n  \"assignments\": [\n    {\n      \"team_id\": 1,\n      \"user_id\": 1\n    },\n    {\n      \"team_id\": 1,\n      \"user_id\": 2\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"89e7ab09-f2e8-41fe-99e9-e41a05930c74"}],"id":"4f7c634d-fb42-467f-8d3d-b92fff7e9bb9","_postman_id":"4f7c634d-fb42-467f-8d3d-b92fff7e9bb9","description":""},{"name":"tags","item":[{"name":"{tagId}","item":[{"name":"Retrieve tag by ID","id":"1a4559f7-3bd0-434b-93cc-cfdde6d714b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","description":"<p>Retrieve a tag by ID</p>\n","urlObject":{"path":["tags",":tagId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"bb8cac42-8c65-413c-81a5-96a1b407f628","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"e9cd435b-4c69-49fb-b189-1f4ed653f7e8","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"03df2759-cc11-4320-9de1-449f06e6fbb1","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"c029388e-ddd6-4216-8b49-4662f11600cc","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"11a4aa73-b0a8-4e06-ad18-cebe0904553d","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"1a4559f7-3bd0-434b-93cc-cfdde6d714b9"},{"name":"Update tag by ID","id":"2b53954c-9902-42b7-9c12-6e9ba5860744","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",// required | string | acceptable_values: customer,job,subtask,invoice,item,flatrate_job,user,timesheet,project,order\n  \"title\": \"some string\",// required | string | unique for company and tag type\n  \"color\": \"#000000\"// required, if type is job | string | descriotion: color hex value\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","description":"<p>Update a tag</p>\n","urlObject":{"path":["tags",":tagId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"53af3943-37c4-4ea4-8bdc-99982c8d7c36","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"b6ed0bda-199f-45ca-97f6-d48719173e0d","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"e134e85b-0b68-4f79-afee-b195cc833c90","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"0e9d070c-77d4-4afb-936b-6d99e9bf9d9a","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"248201e7-50d6-4334-af1b-b97ea027b664","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"beb1b7d8-b112-4b00-973d-88e6572fe796","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"2b53954c-9902-42b7-9c12-6e9ba5860744"},{"name":"Delete tag by ID","id":"a6b2d59e-769f-4e57-a79a-4fb5d8255188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","description":"<p>Delete a tag</p>\n","urlObject":{"path":["tags",":tagId"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"81744797-a968-46c8-9ce0-5308dd0b7e46","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"tagId"}]}},"response":[{"id":"b70e8837-bc97-4b8e-be6b-b98387d2f917","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"6db739e8-9ac2-4699-a587-5a9d88f2f73c","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"5a6e47fe-a339-4f79-af58-efe7ad24e14e","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"c9fe1d67-9b72-47ef-995d-53eefbe13ec3","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags/:tagId","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags",":tagId"],"variable":[{"key":"tagId"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"a6b2d59e-769f-4e57-a79a-4fb5d8255188"}],"id":"adedde7b-70e4-425a-923b-32eaaf8e73f0","_postman_id":"adedde7b-70e4-425a-923b-32eaaf8e73f0","description":""},{"name":"Retrieve tags list","id":"6df770b9-4b00-4cec-86d6-a8b4b733052b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags?limit=<string>&page=<string>&object_type=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List tags</p>\n","urlObject":{"path":["tags"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p>Allowed values: <code>customer</code>, <code>job</code>.</p>\n","type":"text/plain"},"key":"object_type","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"b3592761-52fa-49f2-b4f5-394f2c5a8f24","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags?limit=10&page=1&object_type=customer&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Allowed values: customer, job.","type":"text"},{"key":"object_type","value":"customer","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"1c175229-6e85-478b-9eef-5a550c9b04ad","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags?limit=10&page=1&object_type=customer&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Allowed values: customer, job.","type":"text"},{"key":"object_type","value":"customer","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"b4f64cdd-ed46-4299-89c8-1dda4ca0ca91","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags?limit=10&page=1&object_type=customer&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Allowed values: customer, job.","type":"text"},{"key":"object_type","value":"customer","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"a6b664a5-1ad6-4261-86d7-de7f0fba2294","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags?limit=10&page=1&object_type=customer&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["tags"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Allowed values: customer, job.","type":"text"},{"key":"object_type","value":"customer","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"6df770b9-4b00-4cec-86d6-a8b4b733052b"},{"name":"Create a tag","id":"f1daf426-2f53-4bb8-b3de-59d12a27d0c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",// required | string | acceptable_values: customer,job,subtask,invoice,item,flatrate_job,user,timesheet,project,order\n  \"title\": \"some string\",// required | string | unique for company and tag type\n  \"color\": \"#000000\"// required, if type is job | string | descriotion: color hex value\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags","description":"<p>Create a tag</p>\n","urlObject":{"path":["tags"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"e2f2440b-ca6f-4b7f-bfc7-9ed7a4659701","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"0a686dc0-7d55-4060-8968-836b5877c300","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"14d18e76-0955-47a8-b302-025f18f69492","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"695aadad-f89b-48cb-8633-d44b018c8a77","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"d45c0bcc-8604-43a5-86de-19610c09c625","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"customer\",\n  \"title\": \"some string\",\n  \"color\": \"#000000\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/tags"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"f1daf426-2f53-4bb8-b3de-59d12a27d0c3"}],"id":"007c1a21-826d-474c-9fb9-eefe0fab5ffb","_postman_id":"007c1a21-826d-474c-9fb9-eefe0fab5ffb","description":""},{"name":"teams","item":[{"name":"Retrieve company teams list","id":"380cb371-6488-4c76-a34f-3723f7e4a926","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/teams?limit=<string>&page=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List company teams</p>\n","urlObject":{"path":["teams"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Page number. Starts from 1, defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"aac3ad01-0ed7-4a6c-9cf1-8acaae5cd738","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/teams?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["teams"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"5bff48f8-1a2f-4c37-87b6-d4f7aea03ace","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/teams?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["teams"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"cd757beb-3f20-49d3-b058-73b2bb5d0d04","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/teams?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["teams"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"deb8c9f8-5f4a-41e0-bf97-591229dc56c5","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/teams?limit=10&page=1&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["teams"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"page","value":"1","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"380cb371-6488-4c76-a34f-3723f7e4a926"}],"id":"e2dca856-81c7-416a-bfbe-f76e6e994f1e","_postman_id":"e2dca856-81c7-416a-bfbe-f76e6e994f1e","description":""},{"name":"timesheets","item":[{"name":"{id}","item":[{"name":"Retrieve timesheet by ID","id":"ddc1496a-108b-4627-97eb-50eef340663a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","description":"<p>Retrieve a timesheet by ID</p>\n","urlObject":{"path":["timesheets",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"d5beac3c-b69d-44e8-8227-710ae3409ebb","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"faad222c-7216-4c61-92e0-0a826d8b7c27","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"f142313c-0449-4012-a889-bf2973e3e78f","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"de415201-8a1e-4587-a20e-03a24b9ec77b","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"04c32d9f-f0c8-4cd7-80ac-b9d7bd515529","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"ddc1496a-108b-4627-97eb-50eef340663a"},{"name":"Update timesheet by ID","id":"fdafb3d6-9041-40a8-82cf-55cac1b350bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\",// required | integer | existing user id\n  \"clock_in_title\",// required | string | max:255\n  \"clock_out_title\",// nullable | string | max:255\n  \"clock_in_method\",// required | string | acceptable_values: automatic,manual\n  \"clock_out_method\",// nullable | string | acceptable_values: automatic,manual\n  \"clock_in_time\",// required | timestamp\n  \"clock_out_time\",// nullable | timestamp\n  \"clock_in_notes\",// nullable | string | max:255\n  \"clock_out_notes\",// nullable | string | max:255\n  \"clock_in_location\",// optional | string\n  \"clock_out_location\",// optional | string\n  \"job_id\",// nullable | integer | existing job id\n  \"subtask_id\",// nullable | integer | existing subtask id\n  \"type\",// nullable | string | acceptable_values: general,job\n  \"is_historical\"// nullable | boolean\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","description":"<p>Update a timesheet</p>\n","urlObject":{"path":["timesheets",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"a7ead1f2-67b1-4cd5-b328-823f0e7370a9","name":"200 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <updated_object>\n  }\n}"},{"id":"28d3484a-3461-43c5-bb3f-62e0a8933b6f","name":"400 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"e60ce892-0503-45fa-9b0b-6164447b7ec2","name":"401 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"2415974f-2bf2-43e6-aae3-73dad8c11a7a","name":"404 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"fdb820d8-b404-4d46-bd48-0e94d3d302d7","name":"500 response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"fdafb3d6-9041-40a8-82cf-55cac1b350bd"},{"name":"Delete timesheet by ID","id":"7961eae8-611b-4e47-9751-63d1353033f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","description":"<p>Delete a timesheet</p>\n","urlObject":{"path":["timesheets",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"6434aa49-12b3-40b5-b570-8fb8a29b26b2","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"97661b3d-1d56-4abf-85bf-a70867e7adad","name":"200 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <deleted_object>\n  }\n}"},{"id":"c7f9468f-37f6-4f84-8f32-b450e671cf9e","name":"401 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"7c812188-7b1c-4d01-9c82-badd4623710c","name":"404 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"3851888d-8868-4540-bc83-f89705587ab4","name":"500 response","originalRequest":{"method":"DELETE","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"7961eae8-611b-4e47-9751-63d1353033f0"}],"id":"f6ea2524-0697-493c-b22d-1b511e3b6a5b","_postman_id":"f6ea2524-0697-493c-b22d-1b511e3b6a5b","description":""},{"name":"Retrieve timesheets list","id":"35f35f61-1afa-4289-a1a8-59cee1d504e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets?limit=<string>&user_id=<string>&in_time=<string>&out_time=<string>&type=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List timesheets</p>\n","urlObject":{"path":["timesheets"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p>Filter by user id</p>\n","type":"text/plain"},"key":"user_id","value":"<string>"},{"description":{"content":"<p>Clock in time UNIX timestamp.</p>\n","type":"text/plain"},"key":"in_time","value":"<string>"},{"description":{"content":"<p>Clock out time UNIX timestamp</p>\n","type":"text/plain"},"key":"out_time","value":"<string>"},{"description":{"content":"<p>Filter by type. Example - <code>job</code></p>\n","type":"text/plain"},"key":"type","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"75e32c0d-6f7f-417e-bc9f-6550d0f43444","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets?user_id=1&in_time=1234567890&out_time=1234567900&type=job&limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets"],"query":[{"key":"user_id","value":"1","type":"text"},{"key":"in_time","value":"1234567890","type":"text"},{"key":"out_time","value":"1234567900","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"type","value":"job","type":"text"},{"key":"limit","value":"10","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"572b18ff-afc8-4336-92d3-8b3b9456eea8","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets?user_id=<string>&in_time=<string>&limit=<string>&out_time=<string>&type=<string>user_id:1&in_time=1234567890&out_time=1234567900&type=job&limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets"],"query":[{"key":"user_id","value":"<string>","type":"text"},{"key":"in_time","value":"<string>","type":"text"},{"key":"limit","value":"<string>","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"out_time","value":"<string>","type":"text"},{"key":"type","value":"<string>user_id:1","type":"text"},{"key":"in_time","value":"1234567890","type":"text"},{"key":"out_time","value":"1234567900","type":"text"},{"key":"type","value":"job","type":"text"},{"key":"limit","value":"10","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"dd895b50-99b1-4a8f-9c2c-594fa5dbaa90","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets?user_id=1&in_time=1234567890&out_time=1234567900&type=job&limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets"],"query":[{"key":"user_id","value":"1","type":"text"},{"key":"in_time","value":"1234567890","type":"text"},{"key":"out_time","value":"1234567900","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"type","value":"job","type":"text"},{"key":"limit","value":"10","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"2e284dfa-cc32-4bf0-95c7-ae01f66125cd","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets?user_id=1&in_time=1234567890&out_time=1234567900&type=job&limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["timesheets"],"query":[{"key":"user_id","value":"1","type":"text"},{"key":"in_time","value":"1234567890","type":"text"},{"key":"out_time","value":"1234567900","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"type","value":"job","type":"text"},{"key":"limit","value":"10","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"35f35f61-1afa-4289-a1a8-59cee1d504e3"},{"name":"Create a timesheet","id":"40f32412-552a-47f1-9b5a-05671b55d599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"oCeNHCmcKe25FN9TDPfLF45U8MaLl0Xz8bx0BqSr","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\",// required | integer | existing user id\n  \"clock_in_title\",// required | string | max:255\n  \"clock_out_title\",// nullable | string | max:255\n  \"clock_in_method\",// required | string | acceptable_values: automatic,manual\n  \"clock_out_method\",// nullable | string | acceptable_values: automatic,manual\n  \"clock_in_time\",// required | timestamp\n  \"clock_out_time\",// nullable | timestamp\n  \"clock_in_notes\",// nullable | string | max:255\n  \"clock_out_notes\",// nullable | string | max:255\n  \"clock_in_location\",// optional | string\n  \"clock_out_location\",// optional | string\n  \"job_id\",// nullable | integer | existing job id\n  \"subtask_id\",// nullable | integer | existing subtask id\n  \"type\",// nullable | string | acceptable_values: general,job\n  \"is_historical\"// nullable | boolean\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets","description":"<p>Create a timesheet</p>\n","urlObject":{"path":["timesheets"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"2adca45a-3c92-406a-be4d-5c06fceaa0ae","name":"201 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <new_object>\n  }\n}"},{"id":"775ddb69-2f89-4a25-a10a-d68c98920b5b","name":"400 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": true,\n  \"errors\": [\n    \"error message\",\n    \"error message\"\n    ...\n  ]\n}"},{"id":"21235583-18c6-4f66-8874-303bb9315870","name":"401 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"4222ea7f-5bef-4c4b-9486-4dc06d119918","name":"404 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"514bace2-041e-405b-9012-5a6399f891ba","name":"500 response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 1,\n  \"clock_in_title\": \"some string\",\n  \"clock_out_title\": \"some string\",\n  \"clock_in_method\": \"manual\",\n  \"clock_out_method\": \"manual\",\n  \"clock_in_time\": 1234567890,\n  \"clock_out_time\": 1234567890,\n  \"clock_in_notes\": \"some string\",\n  \"clock_out_notes\": \"some string\",\n  \"clock_in_location\": \"some string\",\n  \"clock_out_location\": \"some string\",\n  \"job_id\": 1,\n  \"subtask_id\": 1,\n  \"type\": \"job\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/timesheets"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"40f32412-552a-47f1-9b5a-05671b55d599"}],"id":"f84d844e-8b15-49ac-becd-ca046892b9b7","_postman_id":"f84d844e-8b15-49ac-becd-ca046892b9b7","description":""},{"name":"users","item":[{"name":"Retrieve users list","id":"c0cc88ce-9a31-4d53-80fa-d71614cbe7bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users?limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List company users</p>\n","urlObject":{"path":["users"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"8c61918a-c78c-48fc-bf13-bb40d8d07a3e","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["users"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"3fbb79c7-2306-42dd-b281-91fef1ea5274","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["users"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"d6460342-55d2-4624-bbd7-36240a88e283","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["users"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"a8126879-047f-4cc2-ade9-40d9762110df","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/users?limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["users"],"query":[{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","description":"Page number. Starts from 1, defaults to 1.","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"c0cc88ce-9a31-4d53-80fa-d71614cbe7bf"}],"id":"5c130b95-e6f6-403b-ad87-1880e5b49470","_postman_id":"5c130b95-e6f6-403b-ad87-1880e5b49470","description":""},{"name":"vendors","item":[{"name":"{id}","item":[{"name":"Retrieve vendor by ID","id":"96ca24a0-ca08-438a-a153-0c0036b32c42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors/:id","description":"<p>Retrieve a vendor by ID</p>\n","urlObject":{"path":["vendors",":id"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[{"id":"50b5c23d-6066-42a7-812e-466795790a24","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"55159fe5-929d-47d4-a5ee-aaf5101cfa78","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["vendors",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"response\": {\n    <object>\n  }\n}"},{"id":"d7799871-9785-4b42-b237-48c430925545","name":"401 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["vendors",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"1913234a-b9d1-4bad-8c5d-bfa232ae5de9","name":"404 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["vendors",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL or object not found\"\n}"},{"id":"4e89d4aa-c0a2-4929-8ff6-1a4555254fc9","name":"500 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors/:id","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["vendors",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"96ca24a0-ca08-438a-a153-0c0036b32c42"}],"id":"e10e1167-abd3-4e51-8a0a-6ec6cb87a6b3","_postman_id":"e10e1167-abd3-4e51-8a0a-6ec6cb87a6b3","description":""},{"name":"Retrieve vendors list","id":"90bb6ad1-a223-440e-b465-64c717d1190e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors?search=<string>&limit=<string>&calculate_count=<boolean>&filter=<array>&filter[$index][action]=<string>&filter[$index][attribute]=<string>&filter[$index][operator]=<string>&filter[$index][class]=<string>&filter[$index][value]=<any>&sort=<array>&sort[$index][attribute]=<string>&sort[$index][order]=<string>&rel=<array>","description":"<p>List vendors</p>\n","urlObject":{"path":["vendors"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[{"description":{"content":"<p>Search string.</p>\n","type":"text/plain"},"key":"search","value":"<string>"},{"description":{"content":"<p>Defaults to 20 items per page, maximum 100 items allowed.</p>\n","type":"text/plain"},"key":"limit","value":"<string>"},{"description":{"content":"<p><code>true</code> or <code>false</code>. If <code>true</code>, in response will be included also total count</p>\n","type":"text/plain"},"key":"calculate_count","value":"<boolean>"},{"description":{"content":"<p>Array of attribute, operator, and value parts.</p>\n","type":"text/plain"},"key":"filter","value":"<array>"},{"description":{"content":"<p>Action to perorm comparison with. By default, this attribute is set to “where” and performs a basic “where” query.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>where</code> - Run a where query using the attribute, operator, and value specified.</li>\n<li><code>or</code> - Run an “or” query, where results must equal one or another value.</li>\n<li><code>in</code> (for array searching) - Run a “whereIn” query, comparing results against a supplied array of values.</li>\n<li><code>and</code></li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][action]","value":"<string>"},{"description":{"content":"<p>Attribute to filter by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"filter[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Operator to filter results against.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>= (equal to)</code> - Filter results where attribute equals the value specified (case insensitive).</li>\n<li><code>&gt; (greater than)</code> - Filter results where attribute is greater than the value specified (case insensitive).</li>\n<li><code>&lt; (less than)</code> - Filter results where attribute is lesser than the value specified.</li>\n<li><code>&gt;= (greater than or equal to)</code> - Filter results where attribute is greater than or equal to the value specified.</li>\n<li><code>&lt;= (less than or equal to)</code> - Filter results where attribute is lesser than or equal to the value specified.</li>\n<li><code>like (regex match)</code> - Filter results where attribute is like (contains) the value specified (case sensitive).</li>\n<li><code>whereIn</code></li>\n<li><code>all</code></li>\n<li><code>whereJsonContains</code> - Filter results in json field</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][operator]","value":"<string>"},{"description":{"content":"<p>Cast type of the value. If not specified, the API will try to deduce the proper type to be cast.<br /><strong>Possible values</strong></p>\n<ul>\n<li><code>string</code> - Denotes the specified value should be cast and filtered as a string.</li>\n<li><code>int</code> - Denotes the specified value should be cast and filtered as an integer.</li>\n<li><code>date</code> - Denotes the specified value should be cast and filtered as a date.</li>\n<li><code>array</code> - Denotes the specified value should be cast and filtered as an array.</li>\n<li><code>null</code> - Denotes the specified value should be cast and filtered as an null.</li>\n<li><code>int_array</code> - Denotes the specified value should be cast and filtered as a values of integers.</li>\n</ul>\n","type":"text/plain"},"key":"filter[$index][class]","value":"<string>"},{"description":{"content":"<p>Value to filter results against.</p>\n","type":"text/plain"},"key":"filter[$index][value]","value":"<any>"},{"description":{"content":"<p>Array of attribute and order values.</p>\n","type":"text/plain"},"key":"sort","value":"<array>"},{"description":{"content":"<p>Attribute to sort by. Value can be any attribute name from the current resource.</p>\n","type":"text/plain"},"key":"sort[$index][attribute]","value":"<string>"},{"description":{"content":"<p>Possible values are asc and desc.</p>\n","type":"text/plain"},"key":"sort[$index][order]","value":"<string>"},{"description":{"content":"<p>array consisting of indices with the desired relation to include</p>\n","type":"text/plain"},"key":"rel","value":"<array>"}],"variable":[]}},"response":[{"id":"fd44966c-9669-4b89-bf2d-9b5680715857","name":"200 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors?search=abc&limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["vendors"],"query":[{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": false,\n  \"total_count\": 10,\n  \"response\": [\n    {<object>},\n    {<object>}\n    ...\n  ]\n}"},{"id":"a99a4879-e42a-4461-b19b-ed140032c337","name":"401 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors?search=abc&limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["vendors"],"query":[{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"},{"id":"d61fc9f6-73e6-4190-969f-53b01a6ad6e1","name":"404 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors?search=abc&limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["vendors"],"query":[{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Request URL not found\"\n}"},{"id":"7ecb81ae-71f4-4ac4-9f7d-aae346a91262","name":"500 response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/vendors?search=abc&limit=10&calculate_count=true&filter[0][action]=where&filter[0][attribute]=company_id&filter[0][operator]==&filter[0][value]=1&filter[0][class]=int&sort[0][attribute]=id&sort[0][attribute]=desc&rel[company]=","host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"path":["vendors"],"query":[{"key":"search","value":"abc","description":"Search string.","type":"text"},{"key":"limit","value":"10","description":"Defaults to 20 items per page, maximum 100 items allowed.","type":"text"},{"key":"calculate_count","value":"true","type":"text"},{"key":"filter[0][action]","value":"where","type":"text"},{"key":"filter[0][attribute]","value":"company_id","type":"text"},{"key":"filter[0][operator]","value":"=","type":"text"},{"key":"filter[0][value]","value":"1","type":"text"},{"key":"filter[0][class]","value":"int","type":"text"},{"key":"sort[0][attribute]","value":"id","type":"text"},{"key":"sort[0][attribute]","value":"desc","type":"text"},{"key":"rel[company]","value":"","type":"text"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Internal Server Error\"\n}"}],"_postman_id":"90bb6ad1-a223-440e-b465-64c717d1190e"}],"id":"f45b8ddb-93f5-489f-bf92-f98f9bd86711","_postman_id":"f45b8ddb-93f5-489f-bf92-f98f9bd86711","description":""},{"name":"version","item":[{"name":"Get version","id":"c3f3ef8e-f98c-4852-8dd7-552d4e2a6f00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/version","urlObject":{"path":["version"],"host":["https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"],"query":[],"variable":[]}},"response":[{"id":"fc14f643-a456-49a8-9662-e9009ba1f2b6","name":"200 response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/version"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"reported\": \"2.5\",\n  \"latest\": \"2.0\",\"deprecated\": false}"}],"_postman_id":"c3f3ef8e-f98c-4852-8dd7-552d4e2a6f00"}],"id":"ef132aab-7d80-440a-8cff-11295b5d02a5","_postman_id":"ef132aab-7d80-440a-8cff-11295b5d02a5","description":""}],"variable":[{"key":"basePath","value":"stage"},{"key":"baseUrl","value":"https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage"}]}