{"info":{"_postman_id":"9296aa9c-edce-479a-bf08-207c1f398d43","name":"Gera Services Catalog","description":"<html><head></head><body><p>In this portal we will detail all available integration forms with the Let platform. </p>\n<p> Integrations can be through APIRest, WebService (SOAP), among other less used formats. </p>\n<p> Most services provided require authentication. For APIs, the first step should be <a href=\"#6a607ff4-bcdc-482b-b10b-f63ec7a460f2\">register an application</a> and give the necessary access, with this it is possible to <a href=\"\">get a token</a> for calling APIRest services. </p>\n<p> All services are divided into modules to facilitate understanding, that is, if you need to know about registration services, we have a topic in the Menu called \"Registration\" where we centralize the services available for registration within the platform. </p>\n<p> Another important point is that all documentation has the service route and 2 return examples, 1 with an explanation of each returned field and the other with an example of the returned values.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11077760","collectionId":"9296aa9c-edce-479a-bf08-207c1f398d43","publishedId":"UUy7bjZW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-10-08T18:19:27.000Z"},"item":[{"name":"Glossary","item":[{"name":"Registration","item":[{"name":"Individual / Legal Entity Functions","item":[],"id":"9d9b82e4-e52e-4975-80ab-1c5cf2a591fc","description":"<p>The roles in Gera let are assigned depending on the activity that the person will perform in the system</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Function</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Dealer</td>\n<td>Person who makes a profit by reselling products</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Contributor</td>\n<td>Person who maintains a labor relationship with the company</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Sales Force</td>\n<td>Responsible Person of one or more commercial structures</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Final Consumer</td>\n<td>Person who obtains or uses a product or service in the position of final recipient, direct consumption</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Company</td>\n<td>People</td>\n</tr>\n<tr>\n<td>100</td>\n<td>Distributor</td>\n<td>Representative person, responsible for the distribution center</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"fe1add64-22d8-4883-8111-02148a8587a4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3b0eebd2-b4ee-49e3-be46-9f3935ce577f"}}],"_postman_id":"9d9b82e4-e52e-4975-80ab-1c5cf2a591fc"},{"name":"Types of Legal Entity","item":[],"id":"c5d85f07-6469-4207-b7df-dd204a1b08d1","description":"<p>The following are the types of Legal Entities, available for registration at the let. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Legal Person</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Warehouse/Industrial</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Bank</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Distribution Channel</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Distributor</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Manufacturer</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Representative</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Conveyor</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Retailer</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Franchise</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Support Center</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Customer</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Supplier</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5a74a4db-c1bb-4f18-a963-a3b2744c6576"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"96d110c6-0176-4489-9047-07ebffde8c79"}}],"_postman_id":"c5d85f07-6469-4207-b7df-dd204a1b08d1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Phone Types","item":[],"id":"337d266d-ebff-4d94-88a4-f67a42078942","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Phone</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Residential</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Message</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Commercial</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Alternative commercial</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Professional Reference</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Residential External System</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Cell Phone External System</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d5117618-f0bb-4f25-87d2-111d81b66003"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5c6b8765-aa61-4e29-90c7-88013598cf1e"}}],"_postman_id":"337d266d-ebff-4d94-88a4-f67a42078942","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Email Types","item":[],"id":"163bf6c5-9b38-4af9-8208-e596c03f776b","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Email</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Staff</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Alternative</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Commercial</td>\n</tr>\n<tr>\n<td>2</td>\n<td>External System Email</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a0cc9c82-2197-456a-9f36-d5c737dc0d5f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d63831c1-53a4-4c8b-bee3-3eb0f2cd935c"}}],"_postman_id":"163bf6c5-9b38-4af9-8208-e596c03f776b","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Documents","item":[],"id":"8a677ef0-02a9-4324-b3c5-68d3b08dedbf","description":"<p>Documents vary depending on the type of installation, for example:</p>\n<p> In Brazil</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Document</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>RG</td>\n</tr>\n<tr>\n<td>2</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Voter's Title</td>\n</tr>\n<tr>\n<td>4</td>\n<td>CNH</td>\n</tr>\n<tr>\n<td>5</td>\n<td>CNPJ</td>\n</tr>\n<tr>\n<td>6</td>\n<td>State Registration</td>\n</tr>\n<tr>\n<td>10</td>\n<td>PIS</td>\n</tr>\n</tbody>\n</table>\n</div><p> Out of Brazil</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Document</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>7</td>\n<td>RUT</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Citizenship Certificate</td>\n</tr>\n<tr>\n<td>9</td>\n<td>NIT</td>\n</tr>\n<tr>\n<td>11</td>\n<td>DNI</td>\n</tr>\n<tr>\n<td>12</td>\n<td>CUIT</td>\n</tr>\n<tr>\n<td>13</td>\n<td>CUIT(PF)</td>\n</tr>\n<tr>\n<td>14</td>\n<td>LC</td>\n</tr>\n<tr>\n<td>15</td>\n<td>CI</td>\n</tr>\n<tr>\n<td>16</td>\n<td>LE</td>\n</tr>\n<tr>\n<td>17</td>\n<td>DNI</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Foreign Portfolio</td>\n</tr>\n<tr>\n<td>19</td>\n<td>RUC</td>\n</tr>\n<tr>\n<td>19</td>\n<td>RUC (PF)</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e62b8ba2-d736-4bfe-9f8e-6c3d0ae63479"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"f870c801-0145-49cf-a17d-1e545b854fe4"}}],"_postman_id":"8a677ef0-02a9-4324-b3c5-68d3b08dedbf","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Addresses","item":[],"id":"d675c534-1000-4bf9-afe3-4740dab551f9","description":"<p>When registering a person, there is the option to register more than one address; That makes it easy\n delivery of orders. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Address</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Home Address</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Business Address</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Delivery Address</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Alternate address</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Billing address</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Bill Address</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Alternative address 2</td>\n</tr>\n<tr>\n<td>8</td>\n<td>External System Address</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e9a79007-b2ff-4721-84fd-c287ed2296c6"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d9e4ac00-7a62-4b73-82fe-46fe78edf8e6"}}],"_postman_id":"d675c534-1000-4bf9-afe3-4740dab551f9","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Registration Sources","item":[],"id":"44e9b56b-46a9-487a-9560-59aea08f386e","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Source Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Sales force</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Spontaneous</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Virtual store</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Order Online Store</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Imported from Legacy</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Imported via cargo</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Site</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Sending screen</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Resale Intent Registration</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Registration Request</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b2fcd591-3c80-4bf5-8e8c-a6f4a833c2b2"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"0356d21a-52c3-47f1-8308-344061971598"}}],"_postman_id":"44e9b56b-46a9-487a-9560-59aea08f386e","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Gender of the Person","item":[],"id":"c3403bcb-101d-4e2f-ba0b-4410cb92cbd4","description":"<p>Following are the Gender types, available to be filled in during the person's registration. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Genre</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Female</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Male</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"50ecb66d-1009-4a16-8c6c-3c288265bad7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a908d1e5-257f-400f-abf4-74da01bbbb11"}}],"_postman_id":"c3403bcb-101d-4e2f-ba0b-4410cb92cbd4","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Alias Types","item":[],"id":"2bae2a85-50e7-4cf1-822f-5cfdc8c2c862","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Alias Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Webstore Alias</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Business Center Custom Name</td>\n</tr>\n</tbody>\n</table>\n</div><p> <strong>Note</strong>: For Alias of type <code>1 - WebStore</code>, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"929b4b8c-be3b-44fb-b42e-46ca5c5604fa"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6063fccc-845c-42d7-9121-d193b0817be0"}}],"_postman_id":"2bae2a85-50e7-4cf1-822f-5cfdc8c2c862","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Bank Accounts","item":[],"id":"0fdd9f4b-a9f6-4471-bbfe-3728c6f967af","description":"<p>In the bank account registration process, use the following link to obtain the bank codes <a href=\"#c3ca5c4d-db07-4080-8477-3dfa868f8309\">see bank codes</a></p>\n<p> Here are the accountTypes used in the account registration. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Account</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Current</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Savings</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ae6f686e-ae79-4ac7-bca3-36b4288a4303"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9060d994-ea3d-41e5-87a0-09b9adca946a"}}],"_postman_id":"0fdd9f4b-a9f6-4471-bbfe-3728c6f967af","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Image Types","item":[],"id":"63f3ca69-dd70-4b1c-8700-37f4a8544a1a","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Image Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Avatar</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"63f3ca69-dd70-4b1c-8700-37f4a8544a1a","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Registration Situations","item":[],"id":"0086f5de-a132-48ac-82c5-afdf0f054cda","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Registration Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>OK</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Not OK</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"0086f5de-a132-48ac-82c5-afdf0f054cda","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Business Situations of the Person","item":[],"id":"6be12a9a-6b08-48f4-9a41-1265864a553f","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Business Situation</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Registered</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Active</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Inactive</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Disabled</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Resale Intent</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"6be12a9a-6b08-48f4-9a41-1265864a553f","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Role Situations","item":[],"id":"548c54be-c452-42db-910f-7aaf2a004423","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Function Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Registration OK</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Registration not OK</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Inactive Registration</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"548c54be-c452-42db-910f-7aaf2a004423","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Functions","item":[],"id":"06dff7a1-f3fb-40eb-b574-07927f1edb54","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Function Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Registration</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Access</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"06dff7a1-f3fb-40eb-b574-07927f1edb54","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of People","item":[],"id":"062273e2-7364-47ea-9508-0157a385d64d","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Type of Person</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Individual</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Legal person</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"062273e2-7364-47ea-9508-0157a385d64d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Variable Field Value Types","item":[],"id":"05de02ce-6204-495e-9574-46963a16a8fb","description":"<p>Variable Field Value Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Domain</td>\n</tr>\n<tr>\n<td>3</td>\n<td>CheckBox</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Date</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Long text</td>\n</tr>\n<tr>\n<td>7</td>\n<td>List</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Decimal</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Currency</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Percentage</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"05de02ce-6204-495e-9574-46963a16a8fb","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Alias Types","item":[],"id":"6e76574a-7270-4889-908b-05f2b3e129bf","description":"<p>Alias Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Webstore Alias</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Business Center Custom Name</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"6e76574a-7270-4889-908b-05f2b3e129bf","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Extra Information","item":[],"id":"9b8b3a4b-ac96-4e43-b292-20efb6565ef9","description":"<p>Types of Extra Information from Documents</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Issuing Agency RG</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Issuance Date RG</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"9b8b3a4b-ac96-4e43-b292-20efb6565ef9","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Variable Field Value Types","item":[],"id":"75951ada-e6fe-46c4-be52-287bb6b9c7e3","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Variable Field Value Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Domain</td>\n</tr>\n<tr>\n<td>3</td>\n<td>CheckBox</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Date</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Long text</td>\n</tr>\n<tr>\n<td>7</td>\n<td>List</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Decimal</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Currency</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Percentage</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"75951ada-e6fe-46c4-be52-287bb6b9c7e3","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Training Situations","item":[],"id":"875721e3-4bbd-47bd-8100-a7b2a94ef995","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Training Situation</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Training OK</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Training not OK</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"875721e3-4bbd-47bd-8100-a7b2a94ef995","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Neighbor Delivery Authorization","item":[],"id":"94b35ab5-d228-4b61-ad9a-04ade22f2cfa","description":"<p>Neighbor Delivery Authorization</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>I do not authorize delivery</td>\n</tr>\n<tr>\n<td>2</td>\n<td>I authorize delivery to the right</td>\n</tr>\n<tr>\n<td>3</td>\n<td>I authorize delivery to the left</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"94b35ab5-d228-4b61-ad9a-04ade22f2cfa","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Commercial Segment Situations","item":[],"id":"17333991-07e9-426e-b226-d6b0ab653637","description":"<p>Commercial Segment Situations</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Active</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Cancelled</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"17333991-07e9-426e-b226-d6b0ab653637","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Business Segments","item":[],"id":"cf59790b-949b-4053-b1ba-f8ace6e80898","description":"<p>Types of Business Segments</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Automatic</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Manual</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"cf59790b-949b-4053-b1ba-f8ace6e80898","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Relationships","item":[],"id":"02679cc1-9302-4565-b3a0-3d1f935baf2d","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Relationship Type</th>\n<th>Environment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Second Holder</td>\n<td>Multilevel</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Legal Entity</td>\n<td>Multilevel</td>\n</tr>\n<tr>\n<td>3</td>\n<td>End Consumer x Dealer</td>\n<td>Monolevel</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Leader</td>\n<td>Monolevel</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Sale</td>\n<td>Monolevel</td>\n</tr>\n</tbody>\n</table>\n</div><p> <strong>Observation</strong></p>\n<p> Values are available in different environments.</p>\n","_postman_id":"02679cc1-9302-4565-b3a0-3d1f935baf2d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Role Situations","item":[],"id":"8731f244-7b36-4947-88c1-52d0a534a283","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Paper Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Active</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Inactive</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"8731f244-7b36-4947-88c1-52d0a534a283","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"NewsLetter Authorization","item":[],"id":"1453926f-42d9-4c65-bae4-a3254548f8ea","description":"<p>Indicates if you accept to receive newsletter in the email. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>No</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Yes, personal and alternate email</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Yes, only personal email</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Yes, alternative email only</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Yes, business email</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"1453926f-42d9-4c65-bae4-a3254548f8ea","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Origins of Geographical Structure","item":[],"id":"d408342f-ad8b-4a74-a89f-c4eea04d0ae5","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Structure Origin</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><strong>Let</strong></td>\n</tr>\n<tr>\n<td>2</td>\n<td>DNE</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d408342f-ad8b-4a74-a89f-c4eea04d0ae5","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Reasons for the Voucher Status","item":[],"id":"0ed78fea-a87d-437b-bf70-fe28222be19d","description":"<p><em>Reasons for the Voucher Status</em>*</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Reason</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Unreadable Data</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Minor</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Unreadable Signature</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Unreadable photo</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Invalid - Fraud</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Unreadable</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Pending SPC</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Pending Regularization</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Different Name</td>\n</tr>\n<tr>\n<td>10</td>\n<td>No date</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Invalid</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Divergent</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Over 3 months old</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Not Accepted</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Without Consultant Signature</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Without Signature of the Responsible for Estr. Commercial</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Declaration not completed</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Different Signature</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Strikethrough</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Without Consultant's Documents</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Without signature of witnesses</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"0ed78fea-a87d-437b-bf70-fe28222be19d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Vouchers","item":[],"id":"d2fdb337-7553-4ff0-a276-f64c7607ec44","description":"<p>Types of Vouchers</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>RG</td>\n</tr>\n<tr>\n<td>2</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Residential</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Delivery</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Alternative Delivery</td>\n</tr>\n<tr>\n<td>6</td>\n<td>CPF Checking</td>\n</tr>\n<tr>\n<td>7</td>\n<td>CNPJ</td>\n</tr>\n<tr>\n<td>8</td>\n<td>CNPJ Checking</td>\n</tr>\n<tr>\n<td>9</td>\n<td>State Registration</td>\n</tr>\n<tr>\n<td>10</td>\n<td>State Application Check</td>\n</tr>\n<tr>\n<td>11</td>\n<td>SUFRAMA</td>\n</tr>\n<tr>\n<td>12</td>\n<td>SUFRAMA check</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Tax</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Collection</td>\n</tr>\n<tr>\n<td>15</td>\n<td>SPC</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Serasa</td>\n</tr>\n<tr>\n<td>17</td>\n<td>BC</td>\n</tr>\n<tr>\n<td>18</td>\n<td>CommercialAssociation</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Protests</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Credit Protection (Others)</td>\n</tr>\n<tr>\n<td>21</td>\n<td>RUT</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Contract</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Incorporation form</td>\n</tr>\n<tr>\n<td>24</td>\n<td>DICOM</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Original documentation form</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Citizenship Certificate</td>\n</tr>\n<tr>\n<td>27</td>\n<td>Copy of utility receipt</td>\n</tr>\n<tr>\n<td>28</td>\n<td>Request for incorporation</td>\n</tr>\n<tr>\n<td>29</td>\n<td>Pagaré</td>\n</tr>\n<tr>\n<td>30</td>\n<td>DNI</td>\n</tr>\n<tr>\n<td>31</td>\n<td>Postal Service</td>\n</tr>\n<tr>\n<td>32</td>\n<td>Receipt</td>\n</tr>\n<tr>\n<td>33</td>\n<td>Majority</td>\n</tr>\n<tr>\n<td>34</td>\n<td>DNI/Foreigner's Card</td>\n</tr>\n<tr>\n<td>35</td>\n<td>RUC</td>\n</tr>\n<tr>\n<td>36</td>\n<td>Risk Center Report</td>\n</tr>\n<tr>\n<td>37</td>\n<td>Service Receipt</td>\n</tr>\n<tr>\n<td>38</td>\n<td>Option for Tax Document</td>\n</tr>\n<tr>\n<td>39</td>\n<td>External Inquiries (CPF)</td>\n</tr>\n<tr>\n<td>40</td>\n<td>External Inquiries (Credit Restriction)</td>\n</tr>\n<tr>\n<td>41</td>\n<td>External Queries (Score)</td>\n</tr>\n<tr>\n<td>42</td>\n<td>Filled Registration Form</td>\n</tr>\n<tr>\n<td>43</td>\n<td>Signed Registration Form</td>\n</tr>\n<tr>\n<td>44</td>\n<td>Registration Form</td>\n</tr>\n<tr>\n<td>45</td>\n<td>Contract signed by CNE</td>\n</tr>\n<tr>\n<td>46</td>\n<td>Proof of residence MN</td>\n</tr>\n<tr>\n<td>47</td>\n<td>Farm figure document</td>\n</tr>\n<tr>\n<td>48</td>\n<td>Farm Figure Document 2</td>\n</tr>\n<tr>\n<td>49</td>\n<td>CNO contract</td>\n</tr>\n<tr>\n<td>50</td>\n<td>Proof Direction Invoicing</td>\n</tr>\n<tr>\n<td>51</td>\n<td>Delivery Address Certificate</td>\n</tr>\n<tr>\n<td>52</td>\n<td>Alternative Driving Voucher</td>\n</tr>\n<tr>\n<td>53</td>\n<td>Phone Verification</td>\n</tr>\n<tr>\n<td>54</td>\n<td>Proof. of Identity (Front)</td>\n</tr>\n<tr>\n<td>55</td>\n<td>Proof. of Identity (Verse)</td>\n</tr>\n<tr>\n<td>56</td>\n<td>Credit Verification</td>\n</tr>\n<tr>\n<td>57</td>\n<td>Privacy Notice</td>\n</tr>\n<tr>\n<td>58</td>\n<td>Commercial Contract</td>\n</tr>\n<tr>\n<td>59</td>\n<td>Circle Inquiry Authorization</td>\n</tr>\n<tr>\n<td>62</td>\n<td>Contract signed by FN1</td>\n</tr>\n<tr>\n<td>63</td>\n<td>Contract signed by FN2</td>\n</tr>\n<tr>\n<td>64</td>\n<td>Contract signed for TN1</td>\n</tr>\n<tr>\n<td>65</td>\n<td>Contract signed for TN2</td>\n</tr>\n<tr>\n<td>66</td>\n<td>Contract signed by IN</td>\n</tr>\n<tr>\n<td>67</td>\n<td>Agreement signed by AN</td>\n</tr>\n<tr>\n<td>68</td>\n<td>CURP</td>\n</tr>\n<tr>\n<td>69</td>\n<td>Interbank club</td>\n</tr>\n<tr>\n<td>70</td>\n<td>Consultation with the credit office</td>\n</tr>\n<tr>\n<td>71</td>\n<td>Proof of residence (light or other receipt)</td>\n</tr>\n<tr>\n<td>72</td>\n<td>Agreement to access credit</td>\n</tr>\n<tr>\n<td>73</td>\n<td>Proof of personal reference</td>\n</tr>\n<tr>\n<td>74</td>\n<td>Address sketches and (address verification)</td>\n</tr>\n<tr>\n<td>75</td>\n<td>Checking payment behavior</td>\n</tr>\n<tr>\n<td>76</td>\n<td>Address information and delivery data</td>\n</tr>\n<tr>\n<td>83</td>\n<td>AFIP Voucher as Enrolled Responsible</td>\n</tr>\n<tr>\n<td>84</td>\n<td>AFIP Voucher as Responsible for the Enrollee</td>\n</tr>\n<tr>\n<td>85</td>\n<td>AFIP Proof as Responsible Monotributo</td>\n</tr>\n<tr>\n<td>86</td>\n<td>PIS Card</td>\n</tr>\n<tr>\n<td>87</td>\n<td>Personal documents of the company's legal representative(s)</td>\n</tr>\n<tr>\n<td>88</td>\n<td>Business address</td>\n</tr>\n<tr>\n<td>89</td>\n<td>Identity Document</td>\n</tr>\n<tr>\n<td>90</td>\n<td>Request for incorporation of Sales Directors</td>\n</tr>\n<tr>\n<td>91</td>\n<td>Proof of Enrollment in AFIP</td>\n</tr>\n<tr>\n<td>92</td>\n<td>Notification of Credits and Charges</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d2fdb337-7553-4ff0-a276-f64c7607ec44","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Voucher Registration Status","item":[],"id":"dc5a464f-a9fd-455f-a205-759dd3b400d5","description":"<p>Voucher Registration Status</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Pending</td>\n</tr>\n<tr>\n<td>2</td>\n<td>OK</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Not OK</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"dc5a464f-a9fd-455f-a205-759dd3b400d5","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Pending Registration","item":[],"id":"0a06afd1-2fb8-40fd-87da-f08c67461c72","description":"<p>Types of Pending Registration</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Basic data</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Professional data</td>\n</tr>\n<tr>\n<td>3</td>\n<td>References</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Delivery addresses</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Resale profile</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Document status</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Employee information</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Login</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Email activation</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"0a06afd1-2fb8-40fd-87da-f08c67461c72","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Validation Types","item":[],"id":"2f259b9d-97d2-4016-8ef1-c1325703427c","description":"<p>Validation Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Equal value</td>\n</tr>\n<tr>\n<td>2</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>3</td>\n<td>CNPJ</td>\n</tr>\n<tr>\n<td>4</td>\n<td>RUT</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Maximum Size</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Minimum Size</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Letters only</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Digits Only</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Only Letters and Digits</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Block Repeats</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Block Sequentials</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Over 18</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Fixed Size</td>\n</tr>\n<tr>\n<td>14</td>\n<td>PIS</td>\n</tr>\n<tr>\n<td>15</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Latitude</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Longitude</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"2f259b9d-97d2-4016-8ef1-c1325703427c","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Registration","item":[],"id":"1ec95d7e-4dd3-4dff-8cce-24bfb5646470","description":"<p>Types of Registration</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Basic data</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Professional data</td>\n</tr>\n<tr>\n<td>3</td>\n<td>References</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Delivery addresses</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Resale profile</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Document status</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Employee information</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Login</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Email activation</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"1ec95d7e-4dd3-4dff-8cce-24bfb5646470","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Address Levels","item":[],"id":"3ea6879a-6186-46cd-b18c-104fd485ae44","description":"<p>Depending on the type of <strong>Let</strong> installation, the levels that make up the geographic structure of the address can change. </p>\n<h2 id=\"brazil\">Brazil</h2>\n<p> The geographic structure of the address contains a 4-level hierarchy; The same one that is related to the CEP structure. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Geographic Structure</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>UF</td>\n</tr>\n<tr>\n<td>2</td>\n<td>City</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Neighborhood</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Place</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"other-countries\">Other countries</h2>\n<p> Below is the composition for Argentina. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Geographic Structure</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Province</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Party</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Location</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Barrio</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Calle</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"3ea6879a-6186-46cd-b18c-104fd485ae44","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"94bc5bbe-f398-43f6-b3ae-96f0252c26d3","_postman_id":"94bc5bbe-f398-43f6-b3ae-96f0252c26d3","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Payment","item":[{"name":"Payment Methods - Payment Plan","item":[],"id":"3b532a81-8e34-46cc-ae04-b4b220285425","description":"<p>These are the payment methods for payment plans. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Payment Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>None</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Bill</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Check</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Deposit</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Duplicate</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Complaint</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Card</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Initial Adjustment</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Combining</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Other</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Credit Card</td>\n</tr>\n<tr>\n<td>11</td>\n<td>In Kind</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Unidentified Deposit</td>\n</tr>\n<tr>\n<td>13</td>\n<td>To be Combined at Withdrawal</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Multiple Payment Methods</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Residual Current Account</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"592441b4-3d62-44a3-b17e-b22aad0566f2"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"052ccf40-9a6a-4077-b64d-a83b4a5ca85d"}}],"_postman_id":"3b532a81-8e34-46cc-ae04-b4b220285425","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Credit Treatments","item":[],"id":"6503f3d9-7759-4c68-ae3c-e956b082f367","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Credit Treatment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Check credit</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Ignore credit - consumes credit</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Ignore credit - does not consume credit</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"529024c0-21da-4fda-ae1f-594fe008c9e9"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"df4b09bf-8283-4df4-8834-c4eb9f9ab391"}}],"_postman_id":"6503f3d9-7759-4c68-ae3c-e956b082f367","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Credit Consumption Data Settings","item":[],"id":"a002f3ed-f42f-4bd1-b889-67e32f350161","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Displays Credit Consumption Data?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>No</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1df2db79-adb9-4c3c-ab87-00dada06a100"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d89c89e9-00a4-4b57-bf2a-787a31ed7059"}}],"_postman_id":"a002f3ed-f42f-4bd1-b889-67e32f350161","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Payment Plan Types","item":[],"id":"7a0fd81b-f3ff-4fbb-a615-3798cfdc7106","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Payment Plan Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Prepaid</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Postpaid</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"7a0fd81b-f3ff-4fbb-a615-3798cfdc7106","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"External Payment Means","item":[],"id":"abb77f81-24be-4a72-aa9b-2f9ff42eb216","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>External Payment Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>No</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Digital Payment</td>\n</tr>\n<tr>\n<td>2</td>\n<td>e-SiTef</td>\n</tr>\n<tr>\n<td>3</td>\n<td>POS/POS</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Cielo</td>\n</tr>\n<tr>\n<td>6</td>\n<td>PaidOnLine</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Moip</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Network</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Paid Market</td>\n</tr>\n<tr>\n<td>10</td>\n<td>PayPal</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Modular Sitef Client</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Cielo API</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Braspag - Split Payment</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Paid Market Web Checkout</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Paid Species Market</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Effecty</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"abb77f81-24be-4a72-aa9b-2f9ff42eb216","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Card Flags","item":[],"id":"bb573cb9-9397-47c0-9c00-4927f4c71126","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Flag</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>VISA</td>\n</tr>\n<tr>\n<td>2</td>\n<td>MasterCard</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Amex</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Diners</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Hypercard</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Marisa Card</td>\n</tr>\n<tr>\n<td>7</td>\n<td>ELO</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Aura</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Discover</td>\n</tr>\n<tr>\n<td>10</td>\n<td>JCB</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Sollo</td>\n</tr>\n<tr>\n<td>12</td>\n<td>MaxiCred</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Others</td>\n</tr>\n<tr>\n<td>14</td>\n<td>CrediShop</td>\n</tr>\n<tr>\n<td>15</td>\n<td>ValleyCard</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Carrefour</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Tecban</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Sorocred</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Redeshop</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Electronic Check</td>\n</tr>\n<tr>\n<td>21</td>\n<td>BaneseCard</td>\n</tr>\n<tr>\n<td>22</td>\n<td>UsaCard</td>\n</tr>\n<tr>\n<td>23</td>\n<td>BanriShopping</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Polycard</td>\n</tr>\n<tr>\n<td>25</td>\n<td>BuyFracil</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Med Network</td>\n</tr>\n<tr>\n<td>27</td>\n<td>BigCard</td>\n</tr>\n<tr>\n<td>28</td>\n<td>Senff</td>\n</tr>\n<tr>\n<td>29</td>\n<td>BrasilCard</td>\n</tr>\n<tr>\n<td>30</td>\n<td>GlobalCard</td>\n</tr>\n<tr>\n<td>31</td>\n<td>GoodCard</td>\n</tr>\n<tr>\n<td>32</td>\n<td>CredSystem</td>\n</tr>\n<tr>\n<td>33</td>\n<td>BanCredCard</td>\n</tr>\n<tr>\n<td>34</td>\n<td>BanesCard</td>\n</tr>\n<tr>\n<td>35</td>\n<td>From the house</td>\n</tr>\n<tr>\n<td>36</td>\n<td>FullCard</td>\n</tr>\n<tr>\n<td>37</td>\n<td>Cabal</td>\n</tr>\n<tr>\n<td>38</td>\n<td>EcxCard</td>\n</tr>\n<tr>\n<td>39</td>\n<td>I want to</td>\n</tr>\n<tr>\n<td>40</td>\n<td>GetNetCredit</td>\n</tr>\n<tr>\n<td>41</td>\n<td>OiPaggo</td>\n</tr>\n<tr>\n<td>42</td>\n<td>ChequeLine</td>\n</tr>\n<tr>\n<td>43</td>\n<td>CalCard</td>\n</tr>\n<tr>\n<td>44</td>\n<td>Sicredi</td>\n</tr>\n<tr>\n<td>45</td>\n<td>GreenCardMeal</td>\n</tr>\n<tr>\n<td>46</td>\n<td>PlanVale Meal</td>\n</tr>\n<tr>\n<td>47</td>\n<td>PlanValeAlimentacao</td>\n</tr>\n<tr>\n<td>48</td>\n<td>Coopercred</td>\n</tr>\n<tr>\n<td>49</td>\n<td>BrazilConvenios</td>\n</tr>\n<tr>\n<td>50</td>\n<td>Yamada</td>\n</tr>\n<tr>\n<td>51</td>\n<td>PersonalCard</td>\n</tr>\n<tr>\n<td>52</td>\n<td>LagoaCred</td>\n</tr>\n<tr>\n<td>53</td>\n<td>Banquet</td>\n</tr>\n<tr>\n<td>54</td>\n<td>BuyCard</td>\n</tr>\n<tr>\n<td>55</td>\n<td>GrandCard</td>\n</tr>\n<tr>\n<td>56</td>\n<td>FortBrasil</td>\n</tr>\n<tr>\n<td>57</td>\n<td>Sincard</td>\n</tr>\n<tr>\n<td>58</td>\n<td>Agiplan</td>\n</tr>\n<tr>\n<td>59</td>\n<td>Banese Point</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"40d4b95f-15c6-45fa-9f30-33138059e48c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"e4a2f223-8905-4b2f-a0fc-cf420a13b22c"}}],"_postman_id":"bb573cb9-9397-47c0-9c00-4927f4c71126","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Payment Methods - Brand","item":[],"id":"3ad4dca9-88dc-4bb6-99d9-3e2b3bf4898d","description":"<p>These are the payment methods for card brands. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Payment Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>6</td>\n<td>Debit</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Credit</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"3ad4dca9-88dc-4bb6-99d9-3e2b3bf4898d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"8ddd1418-b4f0-4c19-9232-36ea6d6da136","_postman_id":"8ddd1418-b4f0-4c19-9232-36ea6d6da136","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Promotion","item":[{"name":"Promotion Destinations","item":[],"id":"2345fd47-3e83-47c5-a821-4c66ba17dd23","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Destination</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Reseller</td>\n</tr>\n<tr>\n<td>2</td>\n<td>End Consumer</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Sending Support Material</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"2345fd47-3e83-47c5-a821-4c66ba17dd23","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Promotion Prize Types","item":[],"id":"11d19017-fcaf-4fca-acdb-a2da4a286030","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Promotion Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2</td>\n<td>Products</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Range of Values</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Request Removed in Support Center</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Payment Plan</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"deb33fdb-598b-4837-ae89-d12ca3c69a78"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9c033454-a4ba-4569-90b4-e3ce4093c5a6"}}],"_postman_id":"11d19017-fcaf-4fca-acdb-a2da4a286030","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Awards","item":[],"id":"caa1d91a-bdd3-4b5b-a859-f7665b3a447e","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Award Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Guaranteed Gift</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Toast</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Promotional Discount</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Absolute Discount</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Miles</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Percentage Shipping</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Absolute Shipping</td>\n</tr>\n<tr>\n<td>8</td>\n<td>End Value Discount</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"70ad6620-2818-406a-baad-137e45fd3a01"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c53e15fe-12ed-4c5d-9c43-c37589fc265a"}}],"_postman_id":"caa1d91a-bdd3-4b5b-a859-f7665b3a447e","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Logical Operators","item":[],"id":"3398ed8b-7287-4c19-94ee-c7097fc217d5","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Logical Operator</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>E</td>\n</tr>\n<tr>\n<td>2</td>\n<td>OR</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"518e61e5-38c8-47b3-9e2d-8f152701a904"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a4c35946-d576-4ebe-8c66-a87d3b052f7e"}}],"_postman_id":"3398ed8b-7287-4c19-94ee-c7097fc217d5","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Values","item":[],"id":"9ec1b643-3bf8-4480-82e0-9ac967df84f9","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Value Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Items</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Points</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Price</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"02fe3af3-acbc-4d47-96db-d02d4e0d11fb"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9f379586-f2c7-4c2c-ae24-ffb6e452c36c"}}],"_postman_id":"9ec1b643-3bf8-4480-82e0-9ac967df84f9","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Gift Values","item":[],"id":"5c930ee6-3c82-4db4-bd9b-bf8751b161e8","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Gift Value Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Items</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Points</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Price</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"197f8b0c-92fd-4283-be41-ca9dcc099c6f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"dc79b681-d216-4193-a3d4-e0992a08d85c"}}],"_postman_id":"5c930ee6-3c82-4db4-bd9b-bf8751b161e8","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Discount Target Types","item":[],"id":"f0705ed1-3dfd-4e13-bcae-d4cdaeaa54e9","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Discount Target Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Product</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Requirements</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Order shipping</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Order</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ef69a04f-0e7e-479b-8808-33bf893a8e31"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a3aefe92-c6ec-4157-a332-bfb07eb45dae"}}],"_postman_id":"f0705ed1-3dfd-4e13-bcae-d4cdaeaa54e9","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Discounts","item":[],"id":"6f7e0910-6524-4b10-8e49-b92c605dcfde","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Discount Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Requirement</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Toast</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Percentage discount</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Absolute discount</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Item not participating in promotion</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"6f7e0910-6524-4b10-8e49-b92c605dcfde","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"abe94382-f4b6-4618-bc1d-36c343a00914","_postman_id":"abe94382-f4b6-4618-bc1d-36c343a00914","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Item/Product","item":[{"name":"Product Cutting Reasons","item":[],"id":"256877cf-7624-444a-84c3-94e739257a59","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Reason</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>The product is not available for this business model</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Price not registered</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Material not registered</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Quota exhausted</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Insufficient stock</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Suspended sale</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Credit limit exceeded</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Discontinued product</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Separation Stock</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Quota per person sold out</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Incomplete product registration</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Insufficient physical stock</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Donation not allowed</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Stock separation adjustment</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Stock separation adjustment built-in</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Stock picking replacement adjustment</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Conditional Sale Limit</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Insufficient physical stock</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Product cut because it does not belong to the seller's portfolio</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"87dc6ffa-e520-4007-bb26-33fe3b1d9e00"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"15e3f422-1a9b-49c1-8468-f138ceaede06"}}],"_postman_id":"256877cf-7624-444a-84c3-94e739257a59","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Product Value Negotiation Status","item":[],"id":"ed61cb33-f00c-481c-84ff-ea1ef85b02d3","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Not traded</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Pre-negotiated below or same price</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Pre-negotiated above price</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Negotiated (confirmed)</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6b386a25-6cea-4b71-a571-90459ac1ebc4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6f6479a5-6ed9-4814-bbb6-88eaf065e0b7"}}],"_postman_id":"ed61cb33-f00c-481c-84ff-ea1ef85b02d3","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Product Origin","item":[],"id":"ca6dc3cd-9b15-44ee-a6c0-791154ea259d","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Source</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Sale</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Donation</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"ca6dc3cd-9b15-44ee-a6c0-791154ea259d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Units of Measure for Product","item":[],"id":"9c6c6f7d-3b39-48e9-b2a1-1379d57b3f5e","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Unit of Measure</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>un</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Box</td>\n</tr>\n<tr>\n<td>3</td>\n<td>g</td>\n</tr>\n<tr>\n<td>4</td>\n<td>mg</td>\n</tr>\n<tr>\n<td>5</td>\n<td>ml</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Tray</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Set</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Card</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Display</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Dozen</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Burden</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Thousand</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Package</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Pot</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"9c6c6f7d-3b39-48e9-b2a1-1379d57b3f5e","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Incorporated Item Origins","item":[],"id":"b4b57d83-5d55-4d20-8949-11fd38478180","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Source</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Notification</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Commercial Campaign</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Home Kit</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Initial Purchase Suggestion</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Cut Son Kit</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Selling Guarantees</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Guaranteed Requirement</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Guaranteed Gift</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Redeem Points Campaign</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Manual</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Separation Cut</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Replacement with Donation</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Replacement with Call Option</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"9b278f95-3041-4883-a39b-423665b6fc43"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"1416ad24-382f-488e-b10d-240cc6e06202"}}],"_postman_id":"b4b57d83-5d55-4d20-8949-11fd38478180","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Cut Item","item":[],"id":"3de0591c-eff9-4c3d-9025-d74a58f20b93","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Item Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Sale</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Toast</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Built-in</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"3de0591c-eff9-4c3d-9025-d74a58f20b93","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Product Relationship Types","item":[],"id":"962816b7-b768-4eb1-b071-7faed32c58cd","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Product Relationship Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Regular Product</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Model Product</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Associated Product</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"important-concepts\">Important Concepts</h3>\n<p> When a product has variations (blue shirt, red shirt, white shirt, etc.) a grouping is used. This grouping is called <em>Model Product</em> (wear shirt). In this case, product variations are called <em>Associated Products</em> (blue dress shirt, red dress shirt, white dress shirt, etc.). When a product does not follow this concept, existing by itself (blue pen), it is called <em>Regular Product</em>.</p>\n","_postman_id":"962816b7-b768-4eb1-b071-7faed32c58cd","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"b8c52693-ecd2-40de-b883-1125e429da86","_postman_id":"b8c52693-ecd2-40de-b883-1125e429da86","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Request","item":[{"name":"Accepted Identification Types","item":[],"id":"abdf6df4-8179-4788-996f-003185f4d195","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Accepted Identification Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Code, CPF or e-Mail</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Code</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Code, CPF, RG or e-Mail</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7f78acdd-f92e-48cc-b505-96d3f0de1b3d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"03806798-d598-4030-a57a-805316bf7ab6"}}],"_postman_id":"abdf6df4-8179-4788-996f-003185f4d195","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Order Business Situations","item":[],"id":"29f0649f-d1a6-4857-acd7-ba837d24b4f5","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Capture</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Cancelled</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Separation</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Pending</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Transportation</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Delivered</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Reserved</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Approved</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"be387e69-1342-492b-a6b1-b292f56f21ac"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3ad09fc2-c01b-42fc-91df-3b4acd4f34b2"}}],"_postman_id":"29f0649f-d1a6-4857-acd7-ba837d24b4f5","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Origin Systems","item":[],"id":"3f21874f-fc8f-42a2-a721-27e7f30670da","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Source System</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Let</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Let Light</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Online Store</td>\n</tr>\n<tr>\n<td>4</td>\n<td>External System</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Let SAC</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Consolidated Order</td>\n</tr>\n<tr>\n<td>7</td>\n<td>API</td>\n</tr>\n<tr>\n<td>8</td>\n<td>POS - API</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5a709506-28ab-4bb3-9351-0b64d5583893"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"4a0d8d8b-2300-44de-bfc4-275fbedda982"}}],"_postman_id":"3f21874f-fc8f-42a2-a721-27e7f30670da","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Funding Means","item":[],"id":"a84dd4c4-64b3-42a6-93fb-394b3aeea0d4","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Capture Means</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Let - Auto</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Let - Call Center</td>\n</tr>\n<tr>\n<td>3</td>\n<td>SAC</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Reorder</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Online Store</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Let - Import</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Re-invoicing</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Let - FV</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Let - SV</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Import. Legacy</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Transfer Distribution</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Scheduled Purchase</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Let - Service Center</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Let - Physical Store</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Consolidated Order</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Let light - Auto</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Let light - Call Center</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Let light - SV</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Let light - FV</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Let light - Physical Store</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Let light - Service Center</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Let light mobile - Self-Service</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Let light mobile - Call Center</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Let light mobile - SV</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Let light mobile - FV</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Let light mobile - Physical Store</td>\n</tr>\n<tr>\n<td>27</td>\n<td>Let light mobile - Service Center</td>\n</tr>\n<tr>\n<td>28</td>\n<td>Reseller Site</td>\n</tr>\n<tr>\n<td>29</td>\n<td>External System Request</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Let API</td>\n</tr>\n<tr>\n<td>31</td>\n<td>POS - API</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5303a8b5-335e-4ae6-b6af-b89a4193844a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5ddf33ca-2556-4de7-ac5f-1511c4897830"}}],"_postman_id":"a84dd4c4-64b3-42a6-93fb-394b3aeea0d4","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Purchase Suggestion Types","item":[],"id":"bee8b957-fa6e-4589-abc5-52ec3259dd6d","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Purchase Suggestion Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Stock Break</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Corporate</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Abandoned Purchase</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Reserved Order</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Cut Products</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Custom</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Request Budget</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d89a58d8-6954-4e66-b82f-75f6df9b1340"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"11d4b76d-f021-46b2-8343-b9d7b6ffd7ae"}}],"_postman_id":"bee8b957-fa6e-4589-abc5-52ec3259dd6d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Control Centers","item":[],"id":"8ded6e52-8c11-45cd-8856-5850706ba6e8","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Control Center Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Cost Center</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Profit Center</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Project</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e1e8f4b3-eefa-4a37-b433-4c6306e7c392"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c9606e29-6671-4d3d-ace5-73e6d9d8b685"}}],"_postman_id":"8ded6e52-8c11-45cd-8856-5850706ba6e8","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Scheduled Delivery Periods","item":[],"id":"4b07a4de-6542-4e20-a5b5-b437f686bf91","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Scheduled Delivery Period</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Morning</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Afternoon</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Night</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Any Period</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b141b1ae-d670-4831-9d10-5618de45006f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a7e8a454-c36c-4f0a-97ce-10dd852d062a"}}],"_postman_id":"4b07a4de-6542-4e20-a5b5-b437f686bf91","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Delivery Types","item":[],"id":"7c402287-c072-451d-8505-27a4ce0738b1","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Delivery Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Remove in the Distribution Channel</td>\n</tr>\n<tr>\n<td>3</td>\n<td>At the delivery address</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Delivery to support center</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"7c402287-c072-451d-8505-27a4ce0738b1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Support Center Situations","item":[],"id":"535edc66-dd59-4d6d-9669-c37f791f0f00","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Support Center Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Active</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Inactive</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"535edc66-dd59-4d6d-9669-c37f791f0f00","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Conditional Sale","item":[],"id":"69c16efe-27ec-44a4-9f27-40c3a991e603","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Type of Conditional Sale</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Total value of the products in the order</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Total point value on order</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Specific product in order</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Products of a product structure</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Value in a product structure</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Points in a product structure</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"69c16efe-27ec-44a4-9f27-40c3a991e603","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Scheduled Delivery Types","item":[],"id":"bde3ee51-0945-4bc7-8655-3867732c736c","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Scheduled Delivery Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Normal</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Express</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Scheduled</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"bde3ee51-0945-4bc7-8655-3867732c736c","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Capture Systems","item":[],"id":"14c4474c-af4b-44a6-896e-71eb8353a546","description":"<p>Capture Systems</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Let</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Let Light</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Store</td>\n</tr>\n<tr>\n<td>4</td>\n<td>POS - API</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"14c4474c-af4b-44a6-896e-71eb8353a546","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"External Integration Situations","item":[],"id":"ff9542c2-6abb-4de6-8e77-eebb05cc9e4a","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>External Integration Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Not Sent</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Sent</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"ff9542c2-6abb-4de6-8e77-eebb05cc9e4a","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Order Types","item":[],"id":"8e0bd87a-d88f-4342-943b-1c4870d36a66","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Order Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Sale</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Delivery</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"8e0bd87a-d88f-4342-943b-1c4870d36a66","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Tax Status of the Order","item":[],"id":"5a4a94fa-9158-4c7a-8704-7eed6cbaeb20","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Tax Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Not Billed</td>\n</tr>\n<tr>\n<td>2</td>\n<td>NF Issued</td>\n</tr>\n<tr>\n<td>3</td>\n<td>NF Canceled</td>\n</tr>\n<tr>\n<td>4</td>\n<td>NF Returned</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Disp. Billing</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Donation Document Issued</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Transfer Request</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"5a4a94fa-9158-4c7a-8704-7eed6cbaeb20","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Order Billing Situations","item":[],"id":"e6429ffc-fa5d-4240-9f3b-9b8f436044ae","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Order Billing Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><code>AwaitingIssuance</code> - The order is not canceled and has no linked titles</td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>EmDia</code> - The order is not cancelled, it has open titles and none of them is expired</td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>Overdue</code> - The order is not cancelled, it has open titles and at least one of them is expired</td>\n</tr>\n<tr>\n<td>4</td>\n<td><code>Settled</code> - The order is not cancelled, it has titles and none of them have an outstanding balance</td>\n</tr>\n<tr>\n<td>5</td>\n<td><code>Canceled</code> - The order is canceled</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e6429ffc-fa5d-4240-9f3b-9b8f436044ae","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Security Payment Situations","item":[],"id":"1b59748a-a006-4cde-aa67-7601a199f832","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Security Payment Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Open</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Settled</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Renegotiated</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Cancelled</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"1b59748a-a006-4cde-aa67-7601a199f832","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"9398f219-53c2-467d-90c1-7d0b6c5fcfef","_postman_id":"9398f219-53c2-467d-90c1-7d0b6c5fcfef","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Application Registration","item":[{"name":"Captcha Types","item":[],"id":"03be8289-d89c-470d-9513-6d72fb6e1aa4","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Captcha Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Internal</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Google</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"03be8289-d89c-470d-9513-6d72fb6e1aa4","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"External Application Parameter Types","item":[],"id":"e5436121-a518-48cf-9c48-8ceb94e4ab88","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Parameter Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Fixed</td>\n</tr>\n<tr>\n<td>2</td>\n<td>System parameter</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Domain</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e5436121-a518-48cf-9c48-8ceb94e4ab88","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"17a6d237-11c4-4d04-9461-d9fa22e74a61","_postman_id":"17a6d237-11c4-4d04-9461-d9fa22e74a61","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Marketing","item":[{"name":"Scope Types","item":[],"id":"244fcb10-aad7-41b9-948e-7c2d934a1eb6","description":"<p>Coverage Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Promotion</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Price</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Sale x Material Ratio</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Quota</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Peak Periods / Seasonality Indicator</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Commercial Campaign</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Buying Suggestions</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Payment Plan</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Mileage Program</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Minimum Score</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Credit</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Conciliation entity</td>\n</tr>\n<tr>\n<td>13</td>\n<td>External billing entity</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Marketing Message</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Rule Kit</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Product Disclosure</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Taxes</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Order Submission</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Product Purchase Restriction</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Distribution Channel Coverage</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Sending E-mail</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Anti-Fraud Analysis</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Condition of Sale</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Commercial Exception</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Related Product</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Support Center Retreat</td>\n</tr>\n<tr>\n<td>27</td>\n<td>Multilevel Model</td>\n</tr>\n<tr>\n<td>28</td>\n<td>Multilevel Remuneration</td>\n</tr>\n<tr>\n<td>29</td>\n<td>Showcase - Easy Buy</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Showcase - Stamps</td>\n</tr>\n<tr>\n<td>31</td>\n<td>Price Flexibility</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"244fcb10-aad7-41b9-948e-7c2d934a1eb6","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"applications","item":[],"id":"d4f5f4ca-7e2a-4d3a-a0e0-e0abe547f500","description":"<p>Fundraising Applications</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Let</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Online Store</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Showcase</td>\n</tr>\n<tr>\n<td>4</td>\n<td>POS - API</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Reseller Office</td>\n</tr>\n<tr>\n<td>6</td>\n<td>EV Force Sales</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d4f5f4ca-7e2a-4d3a-a0e0-e0abe547f500","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Accounting Movements","item":[],"id":"967926a9-26f3-45ad-b779-96ca42ffe338","description":"<p>Types of Accounting Movements</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Exit for Sale</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Exit for Promotion</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Exit for Donation</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Output Training Material</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Rewards per Recommendation</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Reseller Awards/Incentives</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Exit by SAC</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Entry by Inventory Adjustment</td>\n</tr>\n<tr>\n<td>31</td>\n<td>Entry by Local Purchase</td>\n</tr>\n<tr>\n<td>32</td>\n<td>Entry by Import</td>\n</tr>\n<tr>\n<td>33</td>\n<td>Output for Incineration</td>\n</tr>\n<tr>\n<td>34</td>\n<td>Output by Inventory Adjustment</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"967926a9-26f3-45ad-b779-96ca42ffe338","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Table Value Consideration for Minimum Order","item":[],"id":"b6ccb612-d34c-4837-b6b2-3ab78be645f4","description":"<p>Table Value Consideration for Minimum Order</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Net value</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Table Value</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Value practiced</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Points</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b6ccb612-d34c-4837-b6b2-3ab78be645f4","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Business Model Usage Locations","item":[],"id":"e178cabd-9cae-4a4b-a173-255a75908ed4","description":"<p>Business Model Usage Locations</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Order Capture</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Promotion Registration</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Campaign Registration</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Material Handling</td>\n</tr>\n<tr>\n<td>5</td>\n<td>SAC</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Financial Movement</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Price Flexibility</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e178cabd-9cae-4a4b-a173-255a75908ed4","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Control Center Membership Types","item":[],"id":"eaf2acc4-32b5-4c98-a5d7-ead947c0b61e","description":"<p>Control Center Membership Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Not applicable</td>\n</tr>\n<tr>\n<td>2</td>\n<td>By Order</td>\n</tr>\n<tr>\n<td>3</td>\n<td>By Product</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"eaf2acc4-32b5-4c98-a5d7-ead947c0b61e","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Classification Type","item":[],"id":"e57c3466-a82a-4179-8cd8-b7fa611a5635","description":"<p>Classification Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Product</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Promotion</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e57c3466-a82a-4179-8cd8-b7fa611a5635","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Marketing Message Types","item":[],"id":"eca4e031-d54b-424d-a333-d4c5b3ad0b65","description":"<p>Marketing Message Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Order Capture</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Reports</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Registration</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Login</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Registration request</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Product Inquiry</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Renegotiation</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Redeem Points</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"eca4e031-d54b-424d-a333-d4c5b3ad0b65","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Marketing Message Event Types","item":[],"id":"af202cd4-922e-4914-90c2-953cd6def5d9","description":"<p>Marketing Message Event Types</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Start Order</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Choose Payment Plan</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Order Statement</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Reseller Registration without Commercial Coverage</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Order Statement - Coupons</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Promotion achievement</td>\n</tr>\n<tr>\n<td>7</td>\n<td>When logging in</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Residual current account credit notice</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Residual current account debit notice</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Edit registration request</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Forward registration request for approval</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Product cut by stock</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Renegotiation</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Inform Card Data</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Points available for redemption</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"af202cd4-922e-4914-90c2-953cd6def5d9","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Marketing Message Display","item":[],"id":"fa3487b2-4edd-4b43-b844-a18eb1b8df1d","description":"<p>Marketing Message Display</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Alert</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Top Screen</td>\n</tr>\n<tr>\n<td>3</td>\n<td>On screen in order confirmation and summary</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Renegotiation screen footer</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"fa3487b2-4edd-4b43-b844-a18eb1b8df1d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"032fac9f-6838-47ee-933b-967132d390b7","_postman_id":"032fac9f-6838-47ee-933b-967132d390b7","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Sales Administration","item":[{"name":"Campaign Image Types","item":[],"id":"b1fa0fa1-0bb2-42fe-b490-7f516bd06e34","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Campaign Image Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Header</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Smartphones</td>\n</tr>\n<tr>\n<td>3</td>\n<td>PC/Desktop</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b1fa0fa1-0bb2-42fe-b490-7f516bd06e34","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Credit Change","item":[],"id":"820953a3-58d4-4db4-a7fe-b59236423d08","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Credit Change Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Limit</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Tolerance</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"820953a3-58d4-4db4-a7fe-b59236423d08","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Validity Types","item":[{"name":"Credit Limit Validity Types","item":[],"id":"fbcd523b-504f-458b-ae48-5c89040d396a","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Credit Limit Validity Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Until the next reclassification</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Until a specific date</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Indefinitely</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Up to a specific cycle</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"fbcd523b-504f-458b-ae48-5c89040d396a","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Credit Tolerance Validity","item":[],"id":"4b76f3a0-9dc7-4f07-a1e3-fa3d025cfe36","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Credit Tolerance Validity Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Until the next reclassification</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Until a specific date</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Indefinitely</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Up to a specific cycle</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"4b76f3a0-9dc7-4f07-a1e3-fa3d025cfe36","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"a7e6ea77-25c5-4183-a733-528f5dc2e04f","description":"<p>There are two categories of credit validity:</p>\n<ul>\n<li><p>Credit limit;</p>\n</li>\n<li><p>Credit tolerance.</p>\n</li>\n</ul>\n<p> The chosen category is defined by the domain <a href=\"#652870ee-4fcd-44ab-928b-4ef0f8b886e5\">Credit Change Types</a>.</p>\n","_postman_id":"a7e6ea77-25c5-4183-a733-528f5dc2e04f","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Credit Situations at the End of Term","item":[],"id":"3d4ad52f-ded4-464a-9eaa-992dff3d7d61","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Credit Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Stay on current credit</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Return to credit policy credit</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"3d4ad52f-ded4-464a-9eaa-992dff3d7d61","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Reasons for Credit Changes","item":[{"name":"Reasons for Changing the Credit Limit","item":[],"id":"bb1e6e18-bde1-4540-beee-950d46e00e30","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Reason for Credit Limit Change</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Consultant Request</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Team Leader Request</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Corporate Restriction</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Others</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"bb1e6e18-bde1-4540-beee-950d46e00e30","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Reasons for Changing Credit Tolerance","item":[],"id":"8774b46f-601e-4a34-91d3-22dd0f71e1cc","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Reason for Changing Credit Tolerance</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Consultant Request</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Team Leader Request</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Corporate Restriction</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Initial Framing</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Others</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"8774b46f-601e-4a34-91d3-22dd0f71e1cc","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"0e471e15-4997-4f11-bec6-20e79b7e5866","description":"<p>There are two categories of credit change reasons:</p>\n<ul>\n<li><p>Credit limit;</p>\n</li>\n<li><p>Credit tolerance.</p>\n</li>\n</ul>\n<p> The chosen category is defined by the domain <a href=\"#652870ee-4fcd-44ab-928b-4ef0f8b886e5\">Credit Change Types</a>.</p>\n","_postman_id":"0e471e15-4997-4f11-bec6-20e79b7e5866","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"2c16c7db-7973-4c19-90eb-d063f3b9bc58","_postman_id":"2c16c7db-7973-4c19-90eb-d063f3b9bc58","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"SAC","item":[{"name":"Notification Channels","item":[],"id":"51c5ed8b-c37c-407f-9d59-f1192e93ee6d","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Notification Channel</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Call Center</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Online Store</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"51c5ed8b-c37c-407f-9d59-f1192e93ee6d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Notification Sources","item":[],"id":"f5c130ba-47a3-4848-8298-7d2ee4ffe056","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Source of Notification</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Customer</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Internal</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Site</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"f5c130ba-47a3-4848-8298-7d2ee4ffe056","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Response Types","item":[],"id":"61601afe-9608-418f-849b-f524352eba4a","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Response Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Domain</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Range</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Table</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Date</td>\n</tr>\n<tr>\n<td>7</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Email</td>\n</tr>\n<tr>\n<td>9</td>\n<td>ZIP</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Bandtable</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Undefined Table</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Decimal</td>\n</tr>\n<tr>\n<td>15</td>\n<td>TableList</td>\n</tr>\n<tr>\n<td>16</td>\n<td>MultiDomain</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Informational</td>\n</tr>\n<tr>\n<td>18</td>\n<td>ComboBox</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"61601afe-9608-418f-849b-f524352eba4a","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Types of Response Information","item":[],"id":"cbd5b468-dd7f-49e9-a709-8a7c454861aa","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Reply Modal Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><code>modalPerson</code> - Person selection</td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>modalOrder</code> - Order selection</td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>modalProduct</code> - Product selection</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"cbd5b468-dd7f-49e9-a709-8a7c454861aa","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Notification Classifications","item":[],"id":"fe6c13cb-da86-419b-bac9-21918cfe611f","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Notification Classification</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Consumer</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Reseller</td>\n</tr>\n<tr>\n<td>3</td>\n<td>External Consumer System</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"fe6c13cb-da86-419b-bac9-21918cfe611f","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Expected Response Types","item":[],"id":"64c090f8-bdba-4e9e-88ed-79c55d7b289e","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Expected Response Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><code>uniqueValue</code> - Unique value</td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>tableValue</code> - Table of values</td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>noExpectedAnswer</code> - No response expected</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"64c090f8-bdba-4e9e-88ed-79c55d7b289e","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Column Data Types","item":[],"id":"096ef0c5-e7fb-419d-8a76-1f74e1e09e72","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Data Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Integer</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Decimal</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Date</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Integer(64)</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"096ef0c5-e7fb-419d-8a76-1f74e1e09e72","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}},{"name":"Additional Information Types","item":[],"id":"e7e55c66-e478-44a1-96f4-c08825077121","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Type of Additional Information</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><code>decimalPlaces</code> - Decimal places</td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>maximumLengthText</code> - Maximum text length</td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>infoText</code> - Information text</td>\n</tr>\n<tr>\n<td>4</td>\n<td><code>minimumRangeValue</code> - Minimum range value</td>\n</tr>\n<tr>\n<td>5</td>\n<td><code>maximumRangeValue</code> - Maximum range value</td>\n</tr>\n<tr>\n<td>6</td>\n<td><code>acceptsPagination</code> - Accepts pagination</td>\n</tr>\n<tr>\n<td>7</td>\n<td><code>limitsSelection</code> - Selection limit</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e7e55c66-e478-44a1-96f4-c08825077121","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"34dbb845-7404-448e-b6c9-a2502b339bd3","_postman_id":"34dbb845-7404-448e-b6c9-a2502b339bd3","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","name":"Glossary","type":"folder"}}}],"id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ed57fd64-c4a6-4c82-be87-b1cc801d588c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"558c77ed-535e-46af-88b3-81953bd02c49"}}],"_postman_id":"297005cb-5e6e-4bff-b4f3-6d84ec81f8a4","description":""},{"name":"Authentication","item":[{"name":"Basic concepts","item":[],"id":"d8075d81-6312-47d4-8c48-ef2325f3169f","description":"<p><strong>Client application</strong>: A client application is the representation of the client application that will make use of the APIs. It is this entity that defines and controls the integration premises between the partners, which are:</p>\n<ul>\n<li><p><strong>API Access Permissions</strong>: API access control is defined by client application, that is, access is restricted and must be requested from the environment administration. The administration will generate the identifier and <em>token</em> for accessing the APIs. These keys are used by the application and are confidential - they must not be shared;</p>\n</li>\n<li><p>Definition of <strong>Refresh Token</strong> settings, such as: <em>refresh token</em> expiry time;</p>\n</li>\n<li><p>Internal or external visibility to <strong>Let</strong>: If the application is internal (specific page) or external (mobile application) to <strong>Let</strong>. This concept is important for the management of this application and unified access control in <strong>Let</strong>.</p>\n</li>\n</ul>\n<p> <strong>Secret</strong>: This is a unique key generated during application registration in <strong>Let</strong>. This secret is unique per application and must not be shared. </p>\n<p> <strong>Credentials</strong>: Username and password of people with access to <strong>Let</strong>. </p>\n<p> <strong>Token</strong>: This is the key generated for a valid authentication, which consists of a valid client application and valid user credentials. </p>\n<p> <strong>Refresh Token</strong>: When a client application uses the <em>refresh token</em> mechanism, this unique key that identifies the user's credentials used is generated, so that it is not necessary to request his credentials again. </p>\n<h2 id=\"authentication-architecture\">Authentication Architecture</h2>\n<p> The authentication architecture is composed of 3 main modules:</p>\n<ul>\n<li><p><strong>Client</strong>: Internal or external application that is being developed and that is querying <strong>Let</strong>information through the set of existing APIs;</p>\n</li>\n<li><p><strong>Let WebAPI</strong>: Server resource for APIs that are available to be consumed by applications and users with permission;</p>\n</li>\n<li><p><strong>Let WebAuth</strong>: Server responsible for providing the necessary authentication for each application and credentials provided, such as which APIs can be accessed by a specific user or a set of defined functions.</p>\n</li>\n</ul>\n<h2 id=\"authentication-and-authorization-flow\">Authentication and Authorization Flow</h2>\n<p> The authentication flow consists of 3 steps:</p>\n<ol>\n<li><p>Authentication: Process where the authorization of credentials sent by the client application is performed, represented by items (A) (B) of the architecture diagram. It is responsible for generating an access <em>token</em>for API calls and a<em>refresh token</em> if the client application supports this functionality. These two keys are confidential, so they must not be shared or public;</p>\n</li>\n<li><p>API call: Each API call requires the authentication <em>token</em> generated above to be passed. During execution, the authorization control of this <em>token</em>(credentials passed in the previous process) is done, where two scenarios are possible:</p>\n<ul>\n<li><p>Success: Process represented by items (C) (D) of the architecture diagram, where access to the requested resource is allowed and the result of the API execution will be returned;</p>\n</li>\n<li><p>Failure: Process represented by items (E) (F) of the architecture diagram, where the credentials used in step 1 are not allowed to execute the resource requested by the client application, or the<em>token</em> being used is not valid.</p>\n</li>\n</ul>\n</li>\n<li><p>Refresh Token: Process represented by items (G) (H) of the architecture diagram, which represents the renewal of the credentials generated in step 1. The process is carried out in case of expiration or the need to revalidate user/application permissions client used. It is very important for mobile apps that have the concept of single sign-on - which prompts the user to login every time the app is started.</p>\n</li>\n</ol>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"4f535245-fc5e-45b7-ae36-27af1120de6f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"49f9f9bd-90c0-4ae4-8851-f483bbb7c228"}}],"_postman_id":"d8075d81-6312-47d4-8c48-ef2325f3169f"},{"name":"Main Return Codes","item":[],"id":"7f84cd83-33e0-4a10-ad0b-2c8204c00c4d","description":"<ul>\n<li><p><code>400 Bad Request</code>: Any error message corresponding to a mandatory parameter or business rule that blocks the operation will return a <code>400</code> exception;</p>\n</li>\n<li><p><code>404 Not Found</code>: Whenever an API has no information, a <code>404</code> error will be returned;</p>\n</li>\n<li><p><code>204 No Content</code>: Similar to the <code>404</code> error, whenever an API response is empty, this error will be returned;</p>\n</li>\n<li><p><code>200 OK</code>: When a <code>POST</code>, <code>PUT</code> or <code>DELETE</code> call does not return an object, this code will be returned to show that the process was successful;</p>\n</li>\n<li><p><code>500 Internal Server Error</code>: When an unexpected error occurs, error <code>500</code> will be returned along with<em>stackTrace</em>;</p>\n</li>\n<li><p><code>205 Reset Content</code>: If a token expires, or a request is modified in some way, this error will be returned. To solve this situation, the application must perform the authentication again or restart the process in progress;</p>\n</li>\n<li><p><code>403 Forbidden</code>: This error will be returned when a person is not authorized to access the API in question.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d6762742-7c56-44f0-a437-2fc9e7e36cce"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"16b7188d-5c35-4081-888c-9fbe581c5467"}}],"_postman_id":"7f84cd83-33e0-4a10-ad0b-2c8204c00c4d"},{"name":"Public Token","item":[{"name":"Generate public access token","event":[{"listen":"test","script":{"exec":["var success = tests[\"Status code is 200\"] = responseCode.code === 200;\r","postman.setEnvironmentVariable(\"public_access_token\", \"\");\r","postman.setEnvironmentVariable(\"refresh_token\", \"\");\r","\r","if(success)\r","{\r","    // Set the new public token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var token = data.access_token;\r","    postman.setEnvironmentVariable(\"public_access_token\", token);\r","    \r","    // Set the new refresh token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var refresh_token = data.refresh_token;\r","    postman.setEnvironmentVariable(\"refresh_token\", refresh_token);\r","}"],"type":"text/javascript","id":"b8c5901b-4e19-4ccf-a50c-2e213335ad34"}}],"id":"c284fa3f-fdbd-4f52-8477-87168e7089a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"<p>Type of key accepted.</p>\n","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"<p>Application identifier.</p>\n","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Application secret.</p>\n","type":"text"},{"key":"username","value":"public","description":"<p>User.</p>\n","type":"text"}]},"url":"{{authUrl}}/api/token","description":"<p>This call is used to generate a public token, without the need for credentials.</p>\n","urlObject":{"path":["api","token"],"host":["{{authUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e450aa72-af8e-4cd1-a693-aae83214287b","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Application secret.","type":"text"},{"key":"username","value":"public","description":"User.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Thu, 21 Jan 2021 16:58:06 GMT"},{"key":"Content-Length","value":"897"}],"cookie":[],"responseTime":null,"body":"{\n \"access_token\": \"Access token\",\n \"token_type\": \"Token type\",\n \"expires_in\": \"Access token duration, in seconds (24 hours duration)\",\n \"refresh_token\": \"Token used to extend the session\",\n \"user_id\": \"User identifier\",\n \"user_name\": \"Username\",\n \"client_id\": \"Application identifier\",\n \"expired_password\": \"Indicates if the password has expired\",\n \"refreshToken_expires\": \"Refresh token expiration date\",\n \".issued\": \"Token generation date\", // In the time pattern of the country in which the application is installed\n \".expires\": \"Token expiration date\" // In the time pattern of the country in which the application is installed\n }"},{"id":"69e5da59-2804-477c-b40b-3ea5ed84fb55","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Application secret.","type":"text"},{"key":"username","value":"public","description":"User.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Thu, 21 Jan 2021 16:58:06 GMT"},{"key":"Content-Length","value":"897"}],"cookie":[],"responseTime":null,"body":"{\n \"Access_token\": \"hRRtgAmJwBjDGMdFiZSsSrPmtyZpfOyPRFu6yv8s_gJHDyVVU1QQQBkOjo0aYGpnXtEtB_RgvV4RbeYbDbzvn8Kck21O5q2eQaR1K1RtIKmMl4vqAFZ2mnx4fr-Fht0aLtLXxMcCcjE4i_fDbHiPVqCK07Va2G3i9Equj7IwivilZi-ZTtuAf3JnmMGdC7wiJQBP2VTQOtlTqnJ-nXHi3eE8_9V5Q8SdN7YDVrgMkaDwVi6e_eerSn8AcOUnCzdMWTPUf8Of2iuhadrg7nLiycL4BXWgMxGntOnpJMiUUlR39S3Bk8PczRZaLuCKgT3D4usSyoSCXnn7AxFCgQzifr4edmPhjE0ICncrKHRoNi-vMWd8krM-rVII1eCwv9dnogDxLu_paaCzgdrhxDaz1x0RKzsaGzLYZDeJxo4eFGIh7iQtTRoOtaJgiRd-U_Ns5SC_v46gQjH7zSegMSLrxuAQght\"\n \"token_type\": \"bearer\",\n \"expires_in\": 86399,\n \"refresh_token\": \"dfgh876e9dd4f3db5289229ac31d3f6\",\n \"user_id\": \"123\",\n \"user_name\": \"public\",\n \"client_id\": \"GeraApp\",\n \"expired_password\": \"False\",\n \"refreshToken_expires\": \"2021-01-28T16:58:06.8444700+00:00\",\n \".issued\": \"2021-01-21T16:58:06.0000000+00:00\",\n \".expires\": \"2021-01-22T16:58:06.0000000+00:00\"\n }"}],"_postman_id":"c284fa3f-fdbd-4f52-8477-87168e7089a4"}],"id":"212ada33-4a02-4040-a101-5ad5c7c0ecd8","description":"<p>A public token is used to grant access to APIs without the need for credentials.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"47683a1d-f115-47f1-9571-89384456b1af"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"fa980753-b30d-49ff-ab0c-f61c9dceb74a"}}],"_postman_id":"212ada33-4a02-4040-a101-5ad5c7c0ecd8"},{"name":"Private Token","item":[{"name":"single sign on","item":[{"name":"Generate access token via SSO","event":[{"listen":"test","script":{"exec":["var success = tests[\"Status code is 200\"] = responseCode.code === 200;\r","postman.setEnvironmentVariable(\"access_token\", \"\");\r","postman.setEnvironmentVariable(\"refresh_token\", \"\");\r","postman.setEnvironmentVariable(\"usuarioLogado\", \"\");\r","\r","if(success)\r","{\r","    // Set the new private token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var token = data.access_token;\r","    postman.setEnvironmentVariable(\"access_token\", token);\r","\r","    // Set the new refresh token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var refresh_token = data.refresh_token;\r","    postman.setEnvironmentVariable(\"refresh_token\", refresh_token);\r","\r","    // Set the new user_id to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var usuarioLogado = data.user_id;\r","    postman.setEnvironmentVariable(\"usuarioLogado\", usuarioLogado);\r","}"],"type":"text/javascript","id":"039b2264-dbe4-407e-a306-44962d9bd081"}}],"id":"c7f9ff4e-22b0-4175-8d04-1704315e3758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"access_key","description":"<p>Type of key accepted.</p>\n","type":"text"},{"key":"client_id","value":"{{client_id_SSO}}","description":"<p>Application identifier.</p>\n","type":"text"},{"key":"client_secret","value":"{{client_secret_SSO}}","description":"<p>Application secret.</p>\n","type":"text"},{"key":"user_code","value":"{{username}}","description":"<p>User.</p>\n","type":"text"},{"key":"access_key","value":"{{access_key}}","description":"<p>Access key.</p>\n","type":"text"}]},"url":"{{authUrl}}/api/token","description":"<p>This call is used to generate a private access token using an <em>access key</em>.</p>\n","urlObject":{"path":["api","token"],"host":["{{authUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0e18bbce-4f6f-40db-8952-801556b5757f","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"access_key","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{new_client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{new_client_secret}}","description":"Application secret.","type":"text"},{"key":"user_code","value":"{{username}}","description":"User.","type":"text"},{"key":"access_key","value":"{{access_key}}","description":"Access key.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Wed, 20 Jan 2021 20:02:00 GMT"},{"key":"Content-Length","value":"820"}],"cookie":[],"responseTime":null,"body":"{\n \"Access_token\": \"hRRtgAmJwBjDGMdFiZSsSrPmtyZpfOyPRFu6yv8s_gJHDyVVU1QQQBkOjo0aYGpnXtEtB_RgvV4RbeYbDbzvn8Kck21O5q2eQaR1K1RtIKmMl4vqAFZ2mnx4fr-Fht0aLtLXxMcCcjE4i_fDbHiPVqCK07Va2G3i9Equj7IwivilZi-ZTtuAf3JnmMGdC7wiJQBP2VTQOtlTqnJ-nXHi3eE8_9V5Q8SdN7YDVrgMkaDwVi6e_eerSn8AcOUnCzdMWTPUf8Of2iuhadrg7nLiycL4BXWgMxGntOnpJMiUUlR39S3Bk8PczRZaLuCKgT3D4usSyoSCXnn7AxFCgQzifr4edmPhjE0ICncrKHRoNi-vMWd8krM-rVII1eCwv9dnogDxLu_paaCzgdrhxDaz1x0RKzsaGzLYZDeJxo4eFGIh7iQtTRoOtaJgiRd-U_Ns5SC_v46gQjH7zSegMSLrxuAQght\"\n \"token_type\": \"bearer\",\n \"expires_in\": 86399,\n \"refresh_token\": \"dfgh876e9dd4f3db5289229ac31d3f6\",\n \"user_id\": \"123\",\n \"user_name\": \"123\",\n \"client_id\": \"GeraApp\",\n \"expired_password\": \"False\",\n \"refreshToken_expires\": \"2021-01-27T16:38:41.4553329+00:00\",\n \".issued\": \"2021-01-20T16:38:41.0000000+00:00\",\n \".expires\": \"2021-01-21T16:38:41.0000000+00:00\"\n }"},{"id":"1dc2ac2b-7003-464f-a9ef-63fc2942c196","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"access_key","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{new_client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{new_client_secret}}","description":"Application secret.","type":"text"},{"key":"user_code","value":"{{username}}","description":"User.","type":"text"},{"key":"access_key","value":"{{access_key}}","description":"Access key.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Wed, 20 Jan 2021 20:02:00 GMT"},{"key":"Content-Length","value":"820"}],"cookie":[],"responseTime":null,"body":"{\n \"access_token\": \"Access token\",\n \"token_type\": \"Token type\",\n \"expires_in\": \"Access token duration, in seconds (24 hours duration)\",\n \"refresh_token\": \"Token used to extend the session\",\n \"user_id\": \"User identifier\",\n \"user_name\": \"Username\",\n \"client_id\": \"Application identifier\",\n \"expired_password\": \"Indicates if the password has expired\",\n \"refreshToken_expires\": \"Refresh token expiration date\",\n \".issued\": \"Token generation date\", // In the time pattern of the country in which the application is installed\n \".expires\": \"Token expiration date\" // In the time pattern of the country in which the application is installed\n }"}],"_postman_id":"c7f9ff4e-22b0-4175-8d04-1704315e3758"},{"name":"Generate access key","event":[{"listen":"test","script":{"exec":["var success = tests[\"Status code is 200\"] = responseCode.code === 200;\r","postman.setEnvironmentVariable(\"access_key\", \"\");\r","\r","if(success)\r","{\r","    // Set the new private token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var accessKey = data.accessKey;\r","    postman.setEnvironmentVariable(\"access_key\", accessKey);\r","}"],"type":"text/javascript","id":"abcb7f6c-812f-4a85-9d26-3b954aa29a30"}}],"id":"2935ea6e-a646-4d84-89da-e7af1df6b7da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{baseUrl}}/api/AccessKey","description":"<p>This call is used to generate an access key, which is used in the Single Sign On functionality of <strong>Let</strong>.</p>\n","urlObject":{"path":["api","AccessKey"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"a089585a-4155-4f54-ba9b-c2b0d05f86a0","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"url":"{{baseUrl}}/api/AccessKey"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"accessKey\": \"Access Key\",\n \"validUntil\": \"Access key expiration date\"\n }"},{"id":"1c801eca-c403-4228-a68c-01342d0fc135","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{baseUrl}}/api/AccessKey"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Wed, 20 Jan 2021 16:38:45 GMT"},{"key":"Content-Length","value":"110"}],"cookie":[],"responseTime":null,"body":"{\n \"accessKey\": \"3aef8c46-2rf4-4798-a764-350184ee6173\",\n \"validUntil\": \"2021-01-20T14:08:45.6675611Z\"\n }"}],"_postman_id":"2935ea6e-a646-4d84-89da-e7af1df6b7da"}],"id":"3a9f7cfd-ebfb-4cc9-bd76-d0f0359cb61c","description":"<p>The Single Sign On functionality is used to keep a user logged in during an application transfer, without the new application having to request a new login from the user. </p>\n<p> When a user is logged into the Virtual Office and is transferred to the Cart, the following flow is followed:</p>\n<ol>\n<li><p>The Virtual Office application <a href=\"#0920d998-67ee-4c4c-9a9a-ff294aabbec9\">generates an access key</a>;</p>\n</li>\n<li><p>The Cart application <a href=\"#f3c5eb2b-db24-4a9f-98d8-7cb381908113\">generates an access token</a>, using as a key, the access key obtained in the previous step.</p>\n</li>\n</ol>\n<p> This is done by the applications involved, without the need for the user to log in again.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"f2dfde9d-b255-4380-82ae-015a53241ac1"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9993802c-9334-4756-8318-6c87e5d55e87"}}],"_postman_id":"3a9f7cfd-ebfb-4cc9-bd76-d0f0359cb61c","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8b8899de-8115-43f0-aabf-c86985da7867","id":"8b8899de-8115-43f0-aabf-c86985da7867","name":"Authentication","type":"folder"}}},{"name":"Token via Facebook","item":[{"name":"Generate access token via Facebook","event":[{"listen":"test","script":{"exec":["var success = tests[\"Status code is 200\"] = responseCode.code === 200;\r","postman.setEnvironmentVariable(\"access_token\", \"\");\r","postman.setEnvironmentVariable(\"refresh_token\", \"\");\r","postman.setEnvironmentVariable(\"usuarioLogado\", \"\");\r","\r","if(success)\r","{\r","    // Set the new private token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var token = data.access_token;\r","    postman.setEnvironmentVariable(\"access_token\", token);\r","\r","    // Set the new refresh token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var refresh_token = data.refresh_token;\r","    postman.setEnvironmentVariable(\"refresh_token\", refresh_token);\r","\r","    // Set the new user_id to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var usuarioLogado = data.user_id;\r","    postman.setEnvironmentVariable(\"usuarioLogado\", usuarioLogado);\r","}"],"type":"text/javascript","id":"10449905-d42f-43be-8e59-f845feab9007"}}],"id":"aaf36ba4-c3b5-4486-874b-b2a03530de54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"facebook_access_key","description":"<p>Type of key accepted.</p>\n","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"<p>Application identifier.</p>\n","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Application secret.</p>\n","type":"text"},{"key":"username","value":"{{username}}","description":"<p>User.</p>\n","type":"text"},{"key":"facebook_access_key","value":"{{facebook_access_key}}","description":"<p>Access key generated via Facebook.</p>\n","type":"text"}]},"url":"{{authUrl}}/api/token","description":"<p>This call is used to generate a private access token using a <em>Facebook access key</em>.</p>\n","urlObject":{"path":["api","token"],"host":["{{authUrl}}"],"query":[],"variable":[]}},"response":[{"id":"70495888-1d93-4fef-8c31-4b1462c16b62","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Application secret.","type":"text"},{"key":"username","value":"{{username}}","description":"User.","type":"text"},{"key":"password","value":"{{password}}","description":"Password.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Wed, 20 Jan 2021 16:38:41 GMT"},{"key":"Content-Length","value":"820"}],"cookie":[],"responseTime":null,"body":"{\n \"access_token\": \"Access token\",\n \"token_type\": \"Token type\",\n \"expires_in\": \"Access token duration, in seconds (24 hours duration)\",\n \"refresh_token\": \"Token used to extend the session\",\n \"user_id\": \"User identifier\",\n \"user_name\": \"Username\",\n \"client_id\": \"Application identifier\",\n \"expired_password\": \"Indicates if the password has expired\",\n \"refreshToken_expires\": \"Refresh token expiration date\",\n \".issued\": \"Token generation date\", // In the time pattern of the country in which the application is installed\n \".expires\": \"Token expiration date\" // In the time pattern of the country in which the application is installed\n }"},{"id":"8dab354e-af89-4313-a013-7c53e890d942","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Application secret.","type":"text"},{"key":"username","value":"{{username}}","description":"User.","type":"text"},{"key":"password","value":"{{password}}","description":"Password.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Wed, 20 Jan 2021 16:38:41 GMT"},{"key":"Content-Length","value":"820"}],"cookie":[],"responseTime":null,"body":"{\n \"Access_token\": \"hRRtgAmJwBjDGMdFiZSsSrPmtyZpfOyPRFu6yv8s_gJHDyVVU1QQQBkOjo0aYGpnXtEtB_RgvV4RbeYbDbzvn8Kck21O5q2eQaR1K1RtIKmMl4vqAFZ2mnx4fr-Fht0aLtLXxMcCcjE4i_fDbHiPVqCK07Va2G3i9Equj7IwivilZi-ZTtuAf3JnmMGdC7wiJQBP2VTQOtlTqnJ-nXHi3eE8_9V5Q8SdN7YDVrgMkaDwVi6e_eerSn8AcOUnCzdMWTPUf8Of2iuhadrg7nLiycL4BXWgMxGntOnpJMiUUlR39S3Bk8PczRZaLuCKgT3D4usSyoSCXnn7AxFCgQzifr4edmPhjE0ICncrKHRoNi-vMWd8krM-rVII1eCwv9dnogDxLu_paaCzgdrhxDaz1x0RKzsaGzLYZDeJxo4eFGIh7iQtTRoOtaJgiRd-U_Ns5SC_v46gQjH7zSegMSLrxuAQght\"\n \"token_type\": \"bearer\",\n \"expires_in\": 86399,\n \"refresh_token\": \"dfgh876e9dd4f3db5289229ac31d3f6\",\n \"user_id\": \"123\",\n \"user_name\": \"123\",\n \"client_id\": \"GeraApp\",\n \"expired_password\": \"False\",\n \"refreshToken_expires\": \"2021-01-27T16:38:41.4553329+00:00\",\n \".issued\": \"2021-01-20T16:38:41.0000000+00:00\",\n \".expires\": \"2021-01-21T16:38:41.0000000+00:00\"\n }"}],"_postman_id":"aaf36ba4-c3b5-4486-874b-b2a03530de54"}],"id":"fd3db997-2a43-4e5b-a9f6-a0ad392119cc","description":"<p>There is also the option of logging in a user through a token generated via Facebook. </p>\n<p> For this functionality to be used, it is necessary to enable it in a general (<strong>Let</strong>) and specific (Application) scope. Within the scope of <strong>Let</strong>, the value of the system parameter <code>PermitLoginFacebook</code> must be <code>true</code>. The application must be configured in the application manager to use Facebook for login.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d6f54cf8-022c-413d-bcd2-5942a44c35fb"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"222872b3-e502-404c-9caa-4376eabb12bf"}}],"_postman_id":"fd3db997-2a43-4e5b-a9f6-a0ad392119cc","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8b8899de-8115-43f0-aabf-c86985da7867","id":"8b8899de-8115-43f0-aabf-c86985da7867","name":"Authentication","type":"folder"}}},{"name":"Captcha Validation","item":[{"name":"Validate captcha","id":"81c3aa21-909e-4759-a04f-545ca1ea05ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/public/captcha","description":"<p>This endpoint is used for Captcha validation, when it is enabled.</p>\n","urlObject":{"path":["api","public","captcha"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"979ecd69-0514-4677-9292-05e7c3534071","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/public/captcha"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"image\": \"Image generated in captcha control of built-in type for validation\",\n \"expire\": \"Internal type captcha image expiration date\",\n \"requiredDefault\": \"Defines whether it is necessary to generate a captcha before authentication. Otherwise, when a certain number of failed password authentications is reached, a captcha is generated\",\n \"accessKey\": \"When the captcha is of the Google type, an access key is required for integration with the Google captcha application\",\n \"text\": \"Text that was used to generate the internal captcha\",\n \"captchaType\": { // Captcha Type - Possible Glossary Values (Captcha Types)\n \"id\": \"Captcha type code\",\n \"description\": \"Captcha type description\"\n }\n }"}],"_postman_id":"81c3aa21-909e-4759-a04f-545ca1ea05ed"}],"id":"f358a3f7-7359-40dd-a13a-f6f23ee70150","description":"<p>There are two types of Captcha in <strong>Let</strong>:</p>\n<ul>\n<li><p>Internal Captcha: This Captcha belongs to the system;</p>\n</li>\n<li><p>Google Captacha: This Captcha is external and maintained by Google.</p>\n</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1f3cac1a-98c6-4092-a419-f25acb64d07c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"21ebd9a6-128d-4502-b0bf-b458cf262c2a"}}],"_postman_id":"f358a3f7-7359-40dd-a13a-f6f23ee70150","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8b8899de-8115-43f0-aabf-c86985da7867","id":"8b8899de-8115-43f0-aabf-c86985da7867","name":"Authentication","type":"folder"}}},{"name":"Generate private access token","event":[{"listen":"test","script":{"exec":["var success = tests[\"Status code is 200\"] = responseCode.code === 200;\r","postman.setEnvironmentVariable(\"access_token\", \"\");\r","postman.setEnvironmentVariable(\"refresh_token\", \"\");\r","postman.setEnvironmentVariable(\"usuarioLogado\", \"\");\r","\r","if(success)\r","{\r","    // Set the new private token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var token = data.access_token;\r","    postman.setEnvironmentVariable(\"access_token\", token);\r","\r","    // Set the new refresh token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var refresh_token = data.refresh_token;\r","    postman.setEnvironmentVariable(\"refresh_token\", refresh_token);\r","\r","    // Set the new user_id to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var usuarioLogado = data.user_id;\r","    postman.setEnvironmentVariable(\"usuarioLogado\", usuarioLogado);\r","}"],"type":"text/javascript","id":"88f0fd24-c304-4332-82f8-cf9aa6487542"}}],"id":"327629f8-7a51-40d5-a3be-0edb60a0156b","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"<p>Type of key accepted.</p>\n","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"<p>Application identifier.</p>\n","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Application secret.</p>\n","type":"text"},{"key":"username","value":"{{username}}","description":"<p>User.</p>\n","type":"text"},{"key":"password","value":"{{password}}","description":"<p>Password.</p>\n","type":"text"}]},"url":"{{authUrl}}/api/token","description":"<p>This call is used to generate a private access token, using a <em>user</em>and<em>password</em>. </p>\n<p> <strong>Heads up</strong></p>\n<p> It is important to always send a Header with the name <code>Content-Type</code> and value <code>application/x-www-form-urlencoded; charset=UTF-8</code>, to prevent special characters in some input parameter from causing errors in the request.</p>\n","urlObject":{"path":["api","token"],"host":["{{authUrl}}"],"query":[],"variable":[]}},"response":[{"id":"bc8eb6f6-05ab-49b1-b788-73ce4daf8be8","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Application secret.","type":"text"},{"key":"username","value":"{{username}}","description":"User.","type":"text"},{"key":"password","value":"{{password}}","description":"Password.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Wed, 20 Jan 2021 16:38:41 GMT"},{"key":"Content-Length","value":"820"}],"cookie":[],"responseTime":null,"body":"{\n \"access_token\": \"Access token\",\n \"token_type\": \"Token type\",\n \"expires_in\": \"Access token duration, in seconds (24 hours duration)\",\n \"refresh_token\": \"Token used to extend the session\",\n \"user_id\": \"User identifier\",\n \"user_name\": \"Username\",\n \"client_id\": \"Application identifier\",\n \"expired_password\": \"Indicates if the password has expired\",\n \"refreshToken_expires\": \"Refresh token expiration date\",\n \".issued\": \"Token generation date\", // In the time pattern of the country in which the application is installed\n \".expires\": \"Token expiration date\" // In the time pattern of the country in which the application is installed\n }"},{"id":"ae697604-3359-42b9-a116-14ae5eea8799","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Application secret.","type":"text"},{"key":"username","value":"{{username}}","description":"User.","type":"text"},{"key":"password","value":"{{password}}","description":"Password.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Wed, 20 Jan 2021 16:38:41 GMT"},{"key":"Content-Length","value":"820"}],"cookie":[],"responseTime":null,"body":"{\n \"Access_token\": \"hRRtgAmJwBjDGMdFiZSsSrPmtyZpfOyPRFu6yv8s_gJHDyVVU1QQQBkOjo0aYGpnXtEtB_RgvV4RbeYbDbzvn8Kck21O5q2eQaR1K1RtIKmMl4vqAFZ2mnx4fr-Fht0aLtLXxMcCcjE4i_fDbHiPVqCK07Va2G3i9Equj7IwivilZi-ZTtuAf3JnmMGdC7wiJQBP2VTQOtlTqnJ-nXHi3eE8_9V5Q8SdN7YDVrgMkaDwVi6e_eerSn8AcOUnCzdMWTPUf8Of2iuhadrg7nLiycL4BXWgMxGntOnpJMiUUlR39S3Bk8PczRZaLuCKgT3D4usSyoSCXnn7AxFCgQzifr4edmPhjE0ICncrKHRoNi-vMWd8krM-rVII1eCwv9dnogDxLu_paaCzgdrhxDaz1x0RKzsaGzLYZDeJxo4eFGIh7iQtTRoOtaJgiRd-U_Ns5SC_v46gQjH7zSegMSLrxuAQght\"\n \"token_type\": \"bearer\",\n \"expires_in\": 86399,\n \"refresh_token\": \"dfgh876e9dd4f3db5289229ac31d3f6\",\n \"user_id\": \"123\",\n \"user_name\": \"123\",\n \"client_id\": \"GeraApp\",\n \"expired_password\": \"False\",\n \"refreshToken_expires\": \"2021-01-27T16:38:41.4553329+00:00\",\n \".issued\": \"2021-01-20T16:38:41.0000000+00:00\",\n \".expires\": \"2021-01-21T16:38:41.0000000+00:00\"\n }"}],"_postman_id":"327629f8-7a51-40d5-a3be-0edb60a0156b"},{"name":"Generate refresh token","event":[{"listen":"test","script":{"exec":["var success = tests[\"Status code is 200\"] = responseCode.code === 200;\r","postman.setEnvironmentVariable(\"access_token\", \"\");\r","postman.setEnvironmentVariable(\"refresh_token\", \"\");\r","postman.setEnvironmentVariable(\"usuarioLogado\", \"\");\r","\r","if(success)\r","{\r","    // Set the new private token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var token = data.access_token;\r","    postman.setEnvironmentVariable(\"access_token\", token);\r","\r","    // Set the new refresh token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var refresh_token = data.refresh_token;\r","    postman.setEnvironmentVariable(\"refresh_token\", refresh_token);\r","\r","    // Set the new user_id to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var usuarioLogado = data.user_id;\r","    postman.setEnvironmentVariable(\"usuarioLogado\", usuarioLogado);\r","}"],"type":"text/javascript","id":"378b98ba-30e0-40db-be3c-aece60e42cff"}}],"id":"83fcc23b-846a-479a-bf98-bba0051f5254","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"refresh_token","description":"<p>Type of key accepted.</p>\n","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"<p>Application identifier.</p>\n","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Application secret.</p>\n","type":"text"},{"key":"username","value":"{{username}}","description":"<p>User.</p>\n","type":"text"},{"key":"refresh_token","value":"{{refresh_token}}","description":"<p>Refresh token obtained along with access token.</p>\n","type":"text"}]},"url":"{{authUrl}}/api/token","description":"<p>This call is used to extend the validity of a token, using a <em>refresh token</em>.</p>\n","urlObject":{"path":["api","token"],"host":["{{authUrl}}"],"query":[],"variable":[]}},"response":[{"id":"bbf69b15-d298-4c13-b441-2c66be728299","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"refresh_token","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Application secret.","type":"text"},{"key":"username","value":"{{username}}","description":"User.","type":"text"},{"key":"refresh_token","value":"{{refresh_token}}","description":"Refresh token obtained along with access token.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Thu, 21 Jan 2021 21:25:48 GMT"},{"key":"Content-Length","value":"893"}],"cookie":[],"responseTime":null,"body":"{\n \"access_token\": \"Access token\",\n \"token_type\": \"Token type\",\n \"expires_in\": \"Access token duration, in seconds (24 hours duration)\",\n \"refresh_token\": \"Token used to extend the session\",\n \"user_id\": \"User identifier\",\n \"user_name\": \"Username\",\n \"client_id\": \"Application identifier\",\n \"expired_password\": \"Indicates if the password has expired\",\n \"refreshToken_expires\": \"Refresh token expiration date\",\n \".issued\": \"Token generation date\", // In the time pattern of the country in which the application is installed\n \".expires\": \"Token expiration date\" // In the time pattern of the country in which the application is installed\n }"},{"id":"97877e33-90c7-465c-bfb0-78bccc72a47f","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"refresh_token","description":"Type of key accepted.","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Application identifier.","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Application secret.","type":"text"},{"key":"username","value":"{{username}}","description":"User.","type":"text"},{"key":"refresh_token","value":"{{refresh_token}}","description":"Refresh token obtained along with access token.","type":"text"}]},"url":"{{authUrl}}/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Gives you","value":"Thu, 21 Jan 2021 21:25:48 GMT"},{"key":"Content-Length","value":"893"}],"cookie":[],"responseTime":null,"body":"{\n \"Access_token\": \"hRRtgAmJwBjDGMdFiZSsSrPmtyZpfOyPRFu6yv8s_gJHDyVVU1QQQBkOjo0aYGpnXtEtB_RgvV4RbeYbDbzvn8Kck21O5q2eQaR1K1RtIKmMl4vqAFZ2mnx4fr-Fht0aLtLXxMcCcjE4i_fDbHiPVqCK07Va2G3i9Equj7IwivilZi-ZTtuAf3JnmMGdC7wiJQBP2VTQOtlTqnJ-nXHi3eE8_9V5Q8SdN7YDVrgMkaDwVi6e_eerSn8AcOUnCzdMWTPUf8Of2iuhadrg7nLiycL4BXWgMxGntOnpJMiUUlR39S3Bk8PczRZaLuCKgT3D4usSyoSCXnn7AxFCgQzifr4edmPhjE0ICncrKHRoNi-vMWd8krM-rVII1eCwv9dnogDxLu_paaCzgdrhxDaz1x0RKzsaGzLYZDeJxo4eFGIh7iQtTRoOtaJgiRd-U_Ns5SC_v46gQjH7zSegMSLrxuAQght\"\n \"token_type\": \"bearer\",\n \"expires_in\": 86399,\n \"refresh_token\": \"dfgh876e9dd4f3db5289229ac31d3f6\",\n \"user_id\": \"123\",\n \"user_name\": \"123\",\n \"client_id\": \"GeraApp\",\n \"expired_password\": \"False\",\n \"refreshToken_expires\": \"2021-01-27T16:38:41.4553329+00:00\",\n \".issued\": \"2021-01-20T16:38:41.0000000+00:00\",\n \".expires\": \"2021-01-21T16:38:41.0000000+00:00\"\n }"}],"_postman_id":"83fcc23b-846a-479a-bf98-bba0051f5254"}],"id":"d1c6776e-b531-4114-9503-cbacf2224dcb","description":"<p>A private token is used to grant access to APIs only to the people and applications you want.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2b54565c-a387-414b-b8fb-b8799062a303"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2ba12e3b-8417-41e8-8e1d-ef16cb1981cb"}}],"_postman_id":"d1c6776e-b531-4114-9503-cbacf2224dcb","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8b8899de-8115-43f0-aabf-c86985da7867","id":"8b8899de-8115-43f0-aabf-c86985da7867","name":"Authentication","type":"folder"}}},{"name":"Application Registration","item":[{"name":"Consult internal parameters","id":"3729e4af-684c-4de7-90a7-0dac20157cab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/public/applicationClientParameter?key=<string>&codeCountry=<integer>&matchCountry=<integer>&version=<integer>","description":"<p>This call is used to query internal parameters of a client application.</p>\n","urlObject":{"path":["api","public","applicationClientParameter"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Key.</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Country code.</p>\n","type":"text/plain"},"key":"codeCountry","value":"<integer>"},{"description":{"content":"<p>Country search mode. Contains the following options:</p>\n<ul>\n<li><p>1: Equal (brings parameters configured for the searched country);</p>\n</li>\n<li><p>2: Not equal (brings parameters configured for countries other than the searched one);</p>\n</li>\n<li><p>3: Null (brings configured parameters without country).</p>\n</li>\n</ul>\n","type":"text/plain"},"key":"matchCountry","value":"<integer>"},{"description":{"content":"<p>Current version of the application.</p>\n","type":"text/plain"},"key":"version","value":"<integer>"}],"variable":[]}},"response":[{"id":"3b69bceb-fe6d-4d64-87b0-b85c43da8ae8","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/applicationClientParameter?key=<string>&codeCountry=<integer>&matchCountry=<integer>&version=<integer>","host":["{{baseUrl}}"],"path":["api","public","applicationClientParameter"],"query":[{"key":"key","value":"<string>","description":"Key."},{"key":"codeCountry","value":"<integer>","description":"Country code."},{"key":"matchCountry","value":"<integer>","description":"Country search mode. Contains the following options:\n * 1: Equal (brings parameters configured for the searched country);\n\n * 2: Not equal (brings parameters configured for countries other than the searched one);\n\n * 3: Null (brings configured parameters without country)."},{"key":"version","value":"<integer>","description":"Current version of the application."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"key\": \"Parameter key\",\n \"applicationClient\": \"Client application\",\n \"value\": \"Parameter value\",\n \"descriptionValue\": \"Parameter value description\",\n \"typeValueParameterClient\": \"Parameter value type\", // Possible values in the glossary (External Application Parameter Types)\n \"country\": \"Country code\",\n \"countryDescription\": \"Country description\"\n }\n ]"},{"id":"0a1d1325-3a6d-4781-afe1-ae81583c7bca","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/applicationClientParameter?key=<string>&codeCountry=<integer>&matchCountry=<integer>&version=<integer>","host":["{{baseUrl}}"],"path":["api","public","applicationClientParameter"],"query":[{"key":"key","value":"<string>","description":"Key."},{"key":"codeCountry","value":"<integer>","description":"Country code."},{"key":"matchCountry","value":"<integer>","description":"Country search mode. Contains the following options:\n * 1: Equal (brings parameters configured for the searched country);\n\n * 2: Not equal (brings parameters configured for countries other than the searched one);\n\n * 3: Null (brings configured parameters without country)."},{"key":"version","value":"<integer>","description":"Current version of the application."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Tue, 19 Jan 2021 18:41:38 GMT"},{"key":"Content-Length","value":"1742"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"key\": \"API_AUTH_POST_TOKEN\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapiauth.geravd.com.br/api/token\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ACCESSKEY_POST_ACCESSKEY\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/AccessKey\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_BUSINESSROLES_GET_BUSINESSROLES\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_CALENDARS_GET_CALENDARS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_CYCLES_GET_CYCLES\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_CYCLES_GET_CYCLES_LASTACTIVECYCLE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ENTRIES_GET_ENTRIES\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br//api/Entries\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_INSTALLMENTS_GET_INSTALLMENTS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Installments\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_INSTALLMENTS_PUT_INSTALLMENTS_ID_UPDATEDREPORT\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Installments/{id}/updatedReport\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_INSTALLMENTS_GET_INSTALLMENTS_OPENBILLETSUMMARY\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Installments/openBilletSummary\",\n \"typeValueParameterClient\": 1,\n \"country\": 7, \n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_INSTALLMENTS_GET_INSTALLMENTS_ID_SIMULATEDVALUE\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/installments/{id}/simulatedValue\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERBUSINESSSTATUS_GET_ORDERBUSINESSSTATUS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/OrderBusinessStatus\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n }, \n {\n \"key\": \"API_ORDERS_GET_ORDERS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_ID\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_ID_ASSETS\",\n \"applicationClient\": 41, \n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/assets\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_ID_CUTITEMS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/cutitems\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_POST_ORDERS_ID_EMAILEXTRACT\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/emailExtract\", \n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_ID_GIFTS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/gifts\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_ID_HISTORICAL\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/historical\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_ID_ITEMS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/items\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_POST_ORDERS_ID_MAIL\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/mail\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_ID_PAYMENTPLANSDISTRIBUITION\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/paymentPlansDistribuition\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_ID_PAYMENTTRACKING\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/{id}/paymentTracking\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ORDERS_GET_ORDERS_SUMMARY\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/orders/summary\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PARAMETERS_GET_PARAMETERS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Parameters\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_PATCH_PEOPLE\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE_ID\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n }, \n {\n \"key\": \"API_PEOPLE_PUT_PEOPLE_ID\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_DELETE_PEOPLE_ID\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_PATCH_PEOPLE_ID_ALIAS\",\n \"applicationClient\": 41, \n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/alias\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_PUT_PEOPLE_ID_CONFIG_KEY\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/config/{key}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE_ID_CONFIG_KEY\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/config/{key}\", \n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_DELETE_PEOPLE_ID_CONNECTEDPEOPLE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE_ID_CONNECTEDPEOPLE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n { \n \"key\": \"API_PEOPLE_POST_PEOPLE_ID_CONNECTEDPEOPLE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE_ID_DOCUMENTRECORD\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/documentRecord\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_PUT_PEOPLE_ID_DOCUMENTRECORD_DOCUMENTID_IMAGE\",\n \"applicationClient\": 41, \n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/documentRecord/{documentId}/image\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE_ID_FUNCTIONS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/functions\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_POST_PEOPLE_ID_LINKEDACCOUNT\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/linkedaccount\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_DELETE_PEOPLE_ID_LINKEDACCOUNT\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/linkedaccount\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE_ID_PERMISSIONS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/{id}/permissions\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE_ID_PHOTO\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_GET_PEOPLE_PENDING\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/people/pending\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n { \n \"key\": \"API_PEOPLE_GET_PEOPLE_PHOTO\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PEOPLE_PUT_PEOPLE_PHOTO\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PERSONALKPIS_GET_PERSONALKPIS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_GET_PUBLIC_BANKS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/public/banks\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_GET_PUBLIC_COUNTRIESINOPERATION\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_GET_PUBLIC_GEOGRAPHICALSTRUCTURES\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Public/GeographicalStructures\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_GET_PUBLIC_GEOGRAPHICALSTRUCTURES_ID\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Public/GeographicalStructures/{id}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_POST_PUBLIC_PASSWORD\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Public/Password\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_GET_PUBLIC_PEOPLE_CHECKALIAS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/public/people/checkAlias\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_POST_PUBLIC_SELLERCOMPANY\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/public/sellerCompany\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_POST_PUBLIC_SELLERCOMPANY_GLOBAL\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_POST_PUBLIC_SELLERS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\" \n },\n {\n \"key\": \"API_PUBLIC_GET_PUBLIC_SELLERS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PUBLIC_POST_PUBLIC_SELLERS_GLOBAL\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PRODUCTS_GET_PRODUCTS_ID\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Products/{id}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PRODUCTS_GET_PRODUCTS_ID_STOCK\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Products/{id}/stock\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ROLES_GET_ROLES\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_ROLES_GET_ROLES_ID_EXTERNALMENUS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SALESINTENTION_POST_SALESINTENTION_ID_AUTOMATICALLOCATE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERCOMPANY_PUT_SELLERCOMPANY_ID\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/SellerCompany/{id}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_GET_SELLERS\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Sellers\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_GET_SELLERS_ID\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Sellers/{id}\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_PATCH_SELLERS_ID_AUTOREACTIVATE\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/sellers/{id}/autoReactivate\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_GET_SELLERS_ID_BUSINESSMODELS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_GET_SELLERS_ID_KPIS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_GET_SELLERS_ID_LEADERS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_GET_SELLERS_ID_MULTILEVELREMUNERATION\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_GET_SELLERS_ID_RESIDUALBANKACCOUNT\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_POST_SELLERS_ID_RESIDUALBANKACCOUNT\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n { \n \"key\": \"API_SELLERS_GET_SELLERS_ID_BUSINESSMODELS_BUSINESSMODELSID_DELIVERYMODE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_SELLERS_GET_SELLERS_BUSINESSROLES\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_PERSONATE_GET_PERSONATE\",\n \"applicationClient\": 41,\n \"value\": \"http://inovadevapisgi.geravd.com.br/api/Personate\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_GRAPH_GROUPDISTRIBUTION\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_GRAPH_LEVELDISTRIBUTION\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_KPISSIMULATED\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_PROCESSSIMULATED\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REMUNERATION\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REMUNERATIONCF\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REMUNERATIONDETAILS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REMUNERATIONSIMULATED\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REMUNERATIONSIMULATEDDETAILS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REPORTS_RANKING\", \n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REPORTS_STATEDISTRIBUTION\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REPORTS_UNILEVELBYLEVEL\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_REPORTS_UNILEVELBYLINE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_ROLEDASHBOARD\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_ID_SPILLOVER\", \n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_PATCH_MULTILEVEL_ID_SPILLOVER\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_PUT_MULTILEVEL_BINARY_ID\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_BINARY_ID_KPIS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_BINARY_ID_KPISDETAILS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_BINARY_ID_ORDERSPERPERIOD\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVELPOST_MULTILEVEL_BINARYSTRUCTURE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_UNILEVEL_ID\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_PATCH_MULTILEVEL_UNILEVEL_ID_SPONSOREDALLOCATEPOSITION\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_MULTILEVEL_GET_MULTILEVEL_UNILEVEL_ID_SPONSOREDNOTALLOCATED\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"CLIENT_SECRET\",\n \"applicationClient\": 41, \n \"value\": \"CLIENT_SECRET_MLM_BOLIVIA\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"URL_CART\",\n \"applicationClient\": 41,\n \"value\": \"https://hmlcarrinhoinovadev.geravd.com.br/External/Login.ashx\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_EXPORTS_POST_EXPORTS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_EXPORTS_GET_EXPORTS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_EXPORTS_GET_EXPORTS_ID_STATUS\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_EXPORTS_PATCH_EXPORTS_ACKNOWLEDGE\",\n \"applicationClient\": 41,\n \"value\": \"-\", \n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_EXPORTS_PATCH_EXPORTS_ID_ACKNOWLEDGE\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n {\n \"key\": \"API_EXPORTS_GET_EXPORTS_ID_DATA\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n },\n { \n \"key\": \"API_EXPORTS_DELETE_EXPORTS_ID\",\n \"applicationClient\": 41,\n \"value\": \"-\",\n \"typeValueParameterClient\": 1,\n \"country\": 7,\n \"countryDescription\": \"Bolivia\"\n }\n ]"}],"_postman_id":"3729e4af-684c-4de7-90a7-0dac20157cab"},{"name":"Consult external menus","id":"bd5d3902-621a-411b-a4a9-69b774e6fc83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/roles/:id/externalMenus","description":"<p>This API is used to manage access to menus from external applications. For each menu, it is possible to define which roles can have access to which menus, through this API. </p>\n<p> The API returns the configured menus for a registered application, according to the role of the person accessing the application. </p>\n<p> To configure the menus, it is necessary to contact Gera, so that the script for each screen is produced and associated with the indicated roles.</p>\n","urlObject":{"path":["api","roles",":id","externalMenus"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"115da54b-9168-4b73-b26c-a404dd535836","description":{"content":"<p><strong>(Required)</strong> Authenticated Person Role Code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a4a24bd7-3c6e-47b2-814c-ff08bf953e7c","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/roles/:id/externalMenus","host":["{{baseUrl}}"],"path":["api","roles",":id","externalMenus"],"variable":[{"key":"id","value":"<integer>","description":"**(Required)** Authenticated Person Role Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"codeMenu\": \"Menu code\",\n \"menuDescription\": \"Menu description\",\n \"codeApplication\": \"Application code\"\n }\n ]"},{"id":"6dc10b97-e5be-4f09-9aa7-8e75c2c6b232","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/roles/:id/externalMenus","host":["{{baseUrl}}"],"path":["api","roles",":id","externalMenus"],"variable":[{"key":"id","value":"<integer>","description":"**(Required)** Authenticated Person Role Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 18 Jan 2021 19:30:41 GMT"},{"key":"Content-Length","value":"223"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"codeMenu\": 6272,\n \"menuDescription\": \"makeFVOrder\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6273,\n \"menuDescription\": \"consultaFVStock\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6274,\n \"menuDescription\": \"FV indicators\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6275,\n \"menuDescription\": \"sacFV\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6276,\n \"menuDescription\": \"FV news\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6277,\n \"menuDescription\": \"consultaFVTeam\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6278,\n \"menuDescription\": \"FVRequestslist\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6279,\n \"menuDescription\": \"indicateFVConsultor\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6280,\n \"menuDescription\": \"relatoriosDinamicosFV\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6281, \n \"menuDescription\": \"myFVRegistrationData\",\n \"codeApplication\": 42\n },\n {\n \"codeMenu\": 6282,\n \"menuDescription\": \"downloadsFV\",\n \"codeApplication\": 42\n }\n ]"}],"_postman_id":"bd5d3902-621a-411b-a4a9-69b774e6fc83"}],"id":"4f95a27f-d1c7-4032-93dc-d884fc38e197","description":"<p>To register an application in <strong>Let</strong>, it is necessary to use the Application Manager. </p>\n<p> The application manager is an API of <strong>Let</strong> responsible for managing third party applications that are added to the system. </p>\n<p> To add an application, a schedule must be made, which can be for immediate execution of the deploy or for a desired date. It is also necessary a <code>.zip</code> file, containing a folder with the files referring to the application and also the <code>manifesto.xml</code> file, because this compressed file will be selected at the time of scheduling to deploy the application in **Let **. </p>\n<p> The following types of files are allowed for using the application:</p>\n<ul>\n<li>Style: <code>css</code>;</li>\n<li>Script: <code>js</code>;</li>\n<li>Pages: html;</li>\n<li>Images: <code>gif</code>, <code>png</code>, <code>jpg</code>, <code>svg</code>;</li>\n<li>Fonts: <code>fnt</code>, <code>fon</code>, <code>ttc</code>, <code>ttf</code>.</li>\n</ul>\n<p> In the Application Manager it is possible to view a historical screen of the deploys that were made referring to a particular application. In it, information is available such as:</p>\n<ul>\n<li>Deployment execution date;</li>\n<li>Version;</li>\n<li>Deployment status;</li>\n<li>User who requested the deploy;</li>\n<li>File size.</li>\n</ul>\n<p> It is also possible to view the <code>manifesto.xml</code> file, download the application's <code>.zip</code> file, view errors - if any occur during deployment - and restore application versions. </p>\n<p> There is also a scheduling screen, where similar information - referring to an application's deployment schedules - can be consulted and file downloads (<code>manifesto.xml</code>) can be made. In addition, in the appointments screen it is also possible to edit or cancel an appointment.</p>\n<p> Finally, it is possible to exclude a specific application if it is no longer used. </p>\n<h2 id=\"manifest-file\">Manifest File:</h2>\n<p> It is mandatory that the package contains at its root a file called <code>manifesto.xml</code>. This file must contain basic information about the application, which will allow its configuration, and must be in accordance with the following layout:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;sgiapp manifestVersion=\"1.0\"&gt;\n&lt;appIdentity name=\"appName\" version=\"1.0.0\" vendor=\"VendorName\" /&gt;\n&lt;appDetails type=\"appType\" basepath=\"path/basefile.fil\"&gt;\n&lt;secret&gt;appsecret&lt;/secret&gt;\n&lt;apiUsage&gt;\n&lt;controller name=\"apiControllerName\" method=\"method\" /&gt;\n&lt;/apiUsage&gt;\n&lt;appParameters&gt;\n&lt;parameter name=\"appParameterName\" value=\"value\" /&gt;\n&lt;/appParameters&gt;\n&lt;refreshTokenLifeTime&gt;refreshTokenLifeTime&lt;/refreshTokenLifeTime&gt;\n&lt;accessConfiguration&gt;\n&lt;functions&gt;\n&lt;function code=\"functionCode\" /&gt;\n&lt;/functions&gt;\n&lt;/accessConfiguration&gt;\n&lt;/appDetails&gt;\n&lt;/sgiapp&gt;\n</code></pre>\n<p> The highlighted items must be filled in according to the desired configuration for the application:</p>\n<ul>\n<li><p><em>appName</em>: application name;</p>\n</li>\n<li><p><em>VendorName</em>: name of the person responsible for the application;</p>\n</li>\n<li><p><em>appType</em>: indicates how the application should be loaded, and can assume the following values (The type of application (<em>internal</em>/<em>external</em>) must be consistent with the type of application indicated below: <em>internal</em>applications can be of type<em>fragment</em>, <em>full</em>or<em>frame</em>and<em>external</em>applications can only be<em>externalApp</em>.):</p>\n</li>\n<li><p><em>fragment</em>: fragment of page loaded in space destined to pages in <strong>Let</strong>;</p>\n</li>\n<li><p><em>full</em>: page with full layout (using the entire window);</p>\n</li>\n<li><p><em>internalFrame</em>: page with layout loaded and referenced to an internal link in <strong>Let</strong>. Allows references to be relative to the application's base path;</p>\n</li>\n<li><p><em>externalFrame</em>: page with full layout loaded in a frame in the space reserved for <strong>Let</strong>pages;</p>\n</li>\n<li><p><em>externalApp</em>: external application to <strong>Let</strong>. </p>\n</li>\n<li><p><em>path/basefile.fil</em>: path to the file or application home page, starting from the package root (<code>.zip</code>);</p>\n</li>\n<li><p><em>appSecret</em>: character string to be used by <strong>Let</strong> to control access to the application. The secret is created automatically in the application creation operation; its filling in the manifest is optional: if it is informed, there will be a validation if the informed secret is valid;</p>\n</li>\n<li><p><em>apiControllerName</em>and<em>method</em>: there must be a \"controller\" tag for each <strong>Let</strong>API control that the application uses together with the control name, the method that the application will use must also be informed ( <code>GET</code>/<code>POST</code>/<code>PATCH</code>);</p>\n</li>\n<li><p><em>appParameterName</em>and<em>value</em>: there must be a \"parameter\" tag for each parameter that must be passed from the application to <strong>Let</strong>. Must not contain the character “&amp;�? in the name and not in the value of the parameter. It can only be used in <em>fragment</em>and<em>full</em>application types;</p>\n</li>\n<li><p><em>refreshTokenLifeTime</em>: application token refresh time information;</p>\n</li>\n<li><p><em>functionCode</em>: there must be a \"function\" tag for each function that will be used to access the <strong>Let</strong> API.</p>\n</li>\n</ul>\n<h2 id=\"register-application\">Register Application</h2>\n<p> Access the Application Manager screen through the Processes menu -&gt; Application Manager -&gt; Application Registration</p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_path.png\" alt=\"Application Manager - Registration - Path\" /></p>\n<p> On the search screen, click on \"Search\"</p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_pesquisar.png\" alt=\"Application Manager - Registration - Search\" /></p>\n<p> On the results screen, click on \"+ Application\"</p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_resultadoDaBusca.png\" alt=\"Application Manager - Registration - Search Results\" /></p>\n<p> On the application registration screen, fill in the fields:</p>\n<ul>\n<li><p>Name: Application name;</p>\n</li>\n<li><p>Nickname: Friendly name for the application. It will be used in the contract registration, to display the list of systems that can have a linked contract;</p>\n</li>\n<li><p>Type: choose between options:</p>\n</li>\n<li><p>Internal – Version published within Let's menu;</p>\n</li>\n<li><p>External – Application to be called from outside Let, which will have access to Let's apis. </p>\n</li>\n<li><p>Situation: choose between the options:</p>\n</li>\n<li><p>Inactive;</p>\n</li>\n<li><p>Activates;</p>\n</li>\n<li><p>Secret: auto-filled when saving functionality;</p>\n</li>\n<li><p>Authentication method: Authentication method to be used by the application (In the case of internal applications and external applications already registered, this option is locked in the \"Authentication API\" type). If the chosen authentication method is \"GeraAD\", two new fields will appear:</p>\n</li>\n<li><p>Authentication flow: determines the authentication flow to be used by GeraAD;</p>\n</li>\n<li><p>Use Facebook: Indicates if Facebook is used to login. </p>\n</li>\n<li><p>Use contract: Indicates if the application is enabled to use the contracts module. The Default option is <code>No</code>;</p>\n</li>\n</ul>\n<p> *Temporary login lock: After a number of password errors, system locks;</p>\n<ul>\n<li>Force expired password: when the password expires, it will be necessary to change the password;</li>\n</ul>\n<p> *Permission name: name of the permission that will need to be assigned to users so that they can access the application;</p>\n<p> In case of internal application:</p>\n<ul>\n<li>Menu option – Level 1: choose which level 1 menu where the application menu will be available;</li>\n</ul>\n<p> *Menu option – Level 2: choose which level 2 menu where the application menu will be available;</p>\n<ul>\n<li><p>Menu option name – Portuguese: text that will be displayed in the application menu when <strong>Let</strong>language is Portuguese;</p>\n</li>\n<li><p>Menu option name – Spanish: text that will be displayed in the application menu when <strong>Let</strong> language is Spanish;</p>\n</li>\n</ul>\n<p> <em>Menu option name – English: text that will be displayed in the application menu when*<em>Let</em></em> language is English;</p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_cadastro_autenticacao_API.png\" alt=\"Application Manager - Registration - Authentication\" /></p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_cadastro_autenticacao_geraAD.png\" alt=\"Application Manager - Registration - Authentication\" /></p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_cadastro_aplicacao.png\" alt=\"Application Manager - Registration - Application\" /></p>\n<p> After filling in the fields and clicking on the “Save” button, the “Secret” field will be automatically filled. When you return to the search page and perform a new search, the new application will appear in the list. </p>\n<h2 id=\"edit-application\">Edit Application</h2>\n<p> When clicking on “Edit application”, the registration screen will open, but with the “Type” and “Secret” fields blocked for alteration. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_editarAplicacao.png\" alt=\"Application Manager - Edition\" /></p>\n<h2 id=\"schedule-deploy\">Schedule Deploy</h2>\n<p> In the context menu referring to the desired functionality, click on the option “Schedule Deploy”. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_agendarDeploy.png\" alt=\"Application Manager - Schedule Deploy\" /></p>\n<p> On the scheduling screen, select whether the deployment will be on a scheduled or immediate date. </p>\n<ul>\n<li><p>Scheduled Date: select the desired date and time in the “Deploy date” and “Time” fields, respectively;</p>\n</li>\n<li><p>Immediate: system fills the fields Deploy date and Time, with the current date and time.</p>\n</li>\n</ul>\n<p> Click on the “Choose file” button, so you can select the <code>.zip</code> file that contains the application files and the <code>manifesto.xml</code> file. </p>\n<p><img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_agendarDeploy_agendamento.png\" alt=\"Application Manager - Schedule Deploy - Scheduling\" /></p>\n<h3 id=\"example-manifestoxml-file\">Example <code>manifesto.xml</code> File</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-xml\">&lt;sgiapp manifestVersion=\"1.0\"&gt;\n&lt;appIdentity name=\"TesteInterna\" version=\"1.0.0\" vendor=\"RodrigoRosales\" /&gt;\n&lt;appDetails type=\"fragment\" basepath=\"TesteInterna/teste.xml\"&gt;\n&lt;secret&gt;HX4UONOSISLSVRRXPWK3AEWBTBOIAX4I7MXWMNTW&lt;/secret&gt;\n&lt;apiUsage&gt;\n&lt;controller name=\"Orders\" method=\"GET\" /&gt;\n&lt;/apiUsage&gt;\n&lt;appParameters&gt;\n&lt;parameter name=\"ParametroTeste\" value=\"teste\" /&gt;\n&lt;/appParameters&gt;\n&lt;refreshTokenLifeTime&gt;24:00:00&lt;/refreshTokenLifeTime&gt;\n&lt;accessConfiguration&gt;\n&lt;functions&gt;\n&lt;function code=\"1\" /&gt;\n&lt;/functions&gt;\n&lt;/accessConfiguration&gt;\n&lt;/appDetails&gt;\n&lt;/sgiapp&gt;\n</code></pre>\n<p> In the <em>appIdentity</em> tag, the <code>name</code> attribute must be the same name as the registered functionality and must not contain special characters. </p>\n<p> The <code>vendor</code> attribute must not contain special characters. </p>\n<p> The <em>secret</em> tag must include the data generated in the Secret field, on the functionality registration screen. </p>\n<p> <strong>Observation</strong></p>\n<p> Every 15 minutes, batches are automatically run to validate the schedules made and to deploy the applications that have the schedule status as “Validated”, which has already arrived on the scheduled date. </p>\n<h2 id=\"view-schedules\">View Schedules</h2>\n<p> In the context menu referring to the desired functionality, click on the option “View Schedules”. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_visualizarAgendamentos.png\" alt=\"Application Manager - View Schedules\" /></p>\n<p> On the scheduled deploys screen, the following information can be viewed:</p>\n<ul>\n<li><p>Date: date for which the deployment was scheduled;</p>\n</li>\n<li><p>Deploy situation: 3 situations can be presented:</p>\n</li>\n<li><p>Created;</p>\n</li>\n<li><p>Validated;</p>\n</li>\n<li><p>Mistake. </p>\n</li>\n<li><p>Requester: user who made the appointment;</p>\n</li>\n<li><p>File Size: file size selected at the time of scheduling;</p>\n</li>\n</ul>\n<p> The following actions can be performed:</p>\n<ul>\n<li><p>View Manifest: view the application's manifesto.xml file;</p>\n</li>\n<li><p>Download: download the .zip file that was selected at the time of booking;</p>\n</li>\n<li><p>View Errors: View errors that occurred during the validation of the schedule.</p>\n</li>\n</ul>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_visualizarAgendamentos_deploysAgendados.png\" alt=\"Application Manager - View Schedules - Scheduled Deploys\" /></p>\n<p> Screen that shows processing errors, if any occur in the validation of the deployment schedule. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_visualizarAgendamentos_erros.png\" alt=\"Application Manager - View Schedules - Errors\" /></p>\n<p> In the context menu of the appointments, 2 options are displayed:</p>\n<ul>\n<li><p>Edit: edit the desired schedule;</p>\n</li>\n<li><p>Cancel schedule: cancel the desired schedule.</p>\n</li>\n</ul>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_visualizarAgendamentos_editarOuCancelar.png\" alt=\"Application Manager - View Schedules - Edit or Cancel\" /></p>\n<h2 id=\"view-update-history\">View Update History</h2>\n<p> In the context menu referring to the desired functionality, click on the option “See update history”. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_historicoAtualizacoes.png\" alt=\"Application Manager - Update History\" /></p>\n<p> The history screen will only show information regarding the application's deployment execution; while the application is not deployed, no information will be shown. In the history screen, the information can be viewed:</p>\n<ul>\n<li><p>Date: date on which the deployment process was executed;</p>\n</li>\n<li><p>Version: application version number that was indicated in the manifest.xml file;</p>\n</li>\n<li><p>Deploy situation: 2 situations can be presented:</p>\n</li>\n<li><p>Processed;</p>\n</li>\n<li><p>Mistake. </p>\n</li>\n<li><p>Change: user who requested the deploy;</p>\n</li>\n<li><p>File Size: size of the file selected at the time of scheduling;</p>\n</li>\n</ul>\n<p> The following actions can be performed:</p>\n<ul>\n<li><p>View Manifest: view the application's manifesto.xml file;</p>\n</li>\n<li><p>Download: download the .zip file that was selected at the time of booking;</p>\n</li>\n<li><p>View Errors: view the errors that occurred during the validation of the schedule and the execution of the deploy.</p>\n</li>\n</ul>\n<p> When more than one deployment has already been made for the same application, the context menu is enabled with the option \"Restore\" (in the lines of versions that are not marked as current in the column \"Version\"), which allows restoring the application to a version previous. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_restaurar.png\" alt=\"Application Manager - Restore\" /></p>\n<h2 id=\"view-application\">View Application</h2>\n<p> When the deploy is successfully executed, the application's menu is created in <strong>Let</strong>, in the path selected in the application's registration. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_visualizarAplicacao_path.png\" alt=\"Application Manager - View Application - Path\" /></p>\n<p> By clicking on the menu, the application is opened as configured (fragment, full, frame or external). </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_visualizarAplicacao_aplicacao.png\" alt=\"Application Manager - View Application - Application\" /></p>\n<h2 id=\"delete-application\">Delete Application</h2>\n<p> In the context menu, click on \"Delete application\"</p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_excluirAplicacao.png\" alt=\"Application Manager - Delete Application\" /></p>\n<p> A message will appear asking you to confirm the deletion. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_confirmacaoExclusao.png\" alt=\"Application Manager - Delete Application - Confirmation\" /></p>\n<p> When confirming the deletion, a message will appear stating that the functionality was successfully deleted. The application will no longer be displayed. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetManagerApps_registroExcluido.png\" alt=\"Application Manager -Delete Application- Deleted Registration\" /></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"eac5a9d8-05e0-4371-ba4c-540ada16df52"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3b9d14dd-3275-4a3d-9771-df471a3f19c8"}}],"_postman_id":"4f95a27f-d1c7-4032-93dc-d884fc38e197","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"8b8899de-8115-43f0-aabf-c86985da7867","id":"8b8899de-8115-43f0-aabf-c86985da7867","name":"Authentication","type":"folder"}}}],"id":"8b8899de-8115-43f0-aabf-c86985da7867","description":"<p>For all access to APIs and other integrations available through the <strong>Let</strong> platform, an authentication is required. </p>\n<p> For such access, it is necessary to register your application and approve the requested access. The concept and standard authentication functionality of the <strong>Let</strong> APIs are described below.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"94f8583c-28f0-482b-87db-280cf76a4d23"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a78a712d-9f3b-479b-8a7d-c7c5dd0d3789"}}],"_postman_id":"8b8899de-8115-43f0-aabf-c86985da7867"},{"name":"Integrations","item":[{"name":"Standard Integration","item":[{"name":"import data","id":"03f70ecb-a696-45f9-8057-e2dfb5275647","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>IN interface load content</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[{"id":"5b2c684a-5084-4f77-9276-f81a08f006e7","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>IN interface load content</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ImportacaoResponse xmlns=\"http://www.geravd.com.br/\">\r \n<IntegracaoResult>\r \n<DataHora>Processing date (YYYY-MM-DDThh:mm:ss)</DataHora>\r \n<Erros>\r \n<DescricaoErro>Description of the error found, if any</DescricaoErro>\r \n</Erros>\r \n</IntegracaoResult>\r \n</ImportacaoResponse>\r \n</soap:Body>\r \n</soap:Envelope>"},{"id":"c2277339-5ca0-4d48-800a-8dadb8d1ee43","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>IN interface load content</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n<soap:Body>\n<ImportacaoResponse xmlns=\"http://www.geravd.com.br/\">\n<IntegracaoResult>\n<DataHora>20019-09-18T20:10:35</DataHora>\n<Erros>\n<DescricaoErro></DescricaoErro>\n</Erros>\n</IntegracaoResult>\n</ImportacaoResponse>\n</soap:Body>\n</soap:Envelope>"}],"_postman_id":"03f70ecb-a696-45f9-8057-e2dfb5275647"},{"name":"export data","id":"58cf0ed2-77ec-4751-bb5b-f94ed0ed8660","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ExportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosExportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>OUT interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n</ParametrosExportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[{"id":"70999f65-2390-4442-958a-4708c0bc1d65","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ExportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosExportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>OUT interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n</ParametrosExportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ExportacaoResponse xmlns=\"http://www.geravd.com.br/\">\r \n<IntegracaoResult>\r \n<DataHora>Processing date (YYYY-MM-DDThh:mm:ss)</DataHora>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>OUT interface load content</Ticket>\r \n<CheckSum>Encrypted ticket content</CheckSum>\r \n<Erros>\r \n<DescricaoErro>Description of the error found, if any</DescricaoErro>\r \n</Erros>\r \n</IntegracaoResult>\r \n</ExportacaoResponse>\r \n</soap:Body>\r \n</soap:Envelope>"},{"id":"1149339c-08f2-4037-aedd-ae6c6fdc9067","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ExportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosExportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>OUT interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n</ParametrosExportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ExportacaoResponse xmlns=\"http://www.geravd.com.br/\">\r \n<IntegracaoResult>\r \n<DataHora>20019-09-18T20:10:35</DataHora>\r \n<CodigoTicket>1234</CodigoTicket>\r \n<Ticket>OUT interface load content</Ticket>\r \n<CheckSum></CheckSum>\r \n<Erros>\r \n<DescricaoErro></DescricaoErro>\r \n</Erros>\r \n</IntegracaoResult>\r \n</ExportacaoResponse>\r \n</soap:Body>\r \n</soap:Envelope>"}],"_postman_id":"58cf0ed2-77ec-4751-bb5b-f94ed0ed8660"},{"name":"Add confirmation ticket","id":"a3e7c542-24df-48d3-a42a-4d343dfb54ad","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/AdicionaConfirmacao\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosConfirmacaoTicket xmlns=\"http://www.geravd.com.br/\">\r \n<TokenAutenticacao>Authentication token configured</TokenAutenticacao>\r \n<InterfaceIntegracao>interface name</InterfaceIntegracao>\r \n<Versao>Interface version</Versao>\r \n<CodigoTicket>Unique call identification (same ticket code as previously sent)</CodigoTicket>\r \n<Documentos>\r \n<Documento>\r \n<CodigoDocumento>Document identifier code</CodigoDocumento>\r \n<Situacao>Document Status Code</Situacao>\r \n<CodigoErro>error code</CodigoErro>\r \n<MensagemErro>Error message</MensagemErro>\r \n</Documento>\r \n</Documentos>\r \n</ParametrosConfirmacaoTicket>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This service is used to confirm the processing of data sent by <strong>Let</strong>to<strong>ERP</strong>. </p>\n<p> It is essential that it is executed after each data record sent by <strong>Let</strong>. Otherwise, <strong>Let</strong> will send exactly the same information. </p>\n<p> This confirmation must always contain:</p>\n<ul>\n<li><p>The <code>Document Codes</code> that were sent via an <code>Out</code> interface;</p>\n</li>\n<li><p>The same <code>Ticket Code</code> that was previously sent.</p>\n</li>\n</ul>\n","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[{"id":"50602031-1e9d-4e7a-b408-e57aa81dd019","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/AdicionaConfirmacao\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosConfirmacaoTicket xmlns=\"http://www.geravd.com.br/\">\r \n<TokenAutenticacao>Authentication token configured</TokenAutenticacao>\r \n<InterfaceIntegracao>interface name</InterfaceIntegracao>\r \n<Versao>Interface version</Versao>\r \n<CodigoTicket>Unique call identification (same ticket code as previously sent)</CodigoTicket>\r \n<Documentos>\r \n<Documento>\r \n<CodigoDocumento>Document identifier code</CodigoDocumento>\r \n<Situacao>Document Status Code</Situacao>\r \n<CodigoErro>error code</CodigoErro>\r \n<MensagemErro>Error message</MensagemErro>\r \n</Documento>\r \n</Documentos>\r \n</ParametrosConfirmacaoTicket>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ConfirmacaoTicketResponse xmlns=\"http://www.geravd.com.br/\">\r \n<ProcessamentoOK>Indicates whether information processing was successful</ProcessamentoOK>\r \n<DataHora>Processing date (YYYY-MM-DDThh:mm:ss)</DataHora>\r \n<Erros>\r \n<DescricaoErro>Description of the error found, if any</DescricaoErro>\r \n</Erros>\r \n</ConfirmacaoTicketResponse>\r \n</soap:Body>\r \n</soap:Envelope>"},{"id":"8a9f1753-9a92-43aa-9cd8-1c294b4b4ca9","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/AdicionaConfirmacao\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosConfirmacaoTicket xmlns=\"http://www.geravd.com.br/\">\r \n<TokenAutenticacao>Authentication token configured</TokenAutenticacao>\r \n<InterfaceIntegracao>interface name</InterfaceIntegracao>\r \n<Versao>Interface version</Versao>\r \n<CodigoTicket>Unique call identification (same ticket code as previously sent)</CodigoTicket>\r \n<Documentos>\r \n<Documento>\r \n<CodigoDocumento>Document identifier code</CodigoDocumento>\r \n<Situacao>Document Status Code</Situacao>\r \n<CodigoErro>error code</CodigoErro>\r \n<MensagemErro>Error message</MensagemErro>\r \n</Documento>\r \n</Documentos>\r \n</ParametrosConfirmacaoTicket>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ConfirmacaoTicketResponse xmlns=\"http://www.geravd.com.br/\">\r \n<ProcessamentoOK>true</ProcessamentoOK>\r \n<DataHora>20019-09-18T20:10:35</DataHora>\r \n<Erros>\r \n<DescricaoErro></DescricaoErro>\r \n</Erros>\r \n</ConfirmacaoTicketResponse>\r \n</soap:Body>\r \n</soap:Envelope>"}],"_postman_id":"a3e7c542-24df-48d3-a42a-4d343dfb54ad"}],"id":"8706368b-8e25-4dde-887f-3c58b79b2c8e","_postman_id":"8706368b-8e25-4dde-887f-3c58b79b2c8e","description":""},{"name":"Input Interfaces","item":[{"name":"Material Product","item":[{"name":"material product v1.0","id":"acebb4a7-636c-4144-9c67-f1f3b2760320","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket><![CDATA[<?xml version=\"1.0\"?>\r\n <ArrayOfProductMaterialStandardProductERPIn_v1>\r\n <ProductMaterialStandardProductERPIn_v1>\r\n <Register>\r\n <ProductCod>123</ProductCod >\r\n <EANProduct>str1234</EANProduct>\r\n <Name>str1234</Name>\r\n <MultiploPra>123</MultiploPra>\r\n < ProductPurchaseType>1</ProductPurchaseType>\r\n <QtyUnitsClosed Cashier>123</QtyUnitsClosed Cashier>\r\n <QtyUnitsSuggestClosed Cashier>123</QtyUnitsSuggestClosed Cashier>\r\n <Closed CashCode>\r i>\n <Kit>1</Kit>\r\n <NotConsumeCredit>1</NotConsumeCredit>\r\n <DisregardReorder>1</DisregardReorder>\r\n <DisregardProdProntMinima>1</DisregardProdProntMinima>\r\n <Summary Description>str1234</Summary Description>\r\n <Description>str1234</Description>\r\n <Technical File>str1234</Technical File> \r\n <TargetPublic>str1234</TargetPublic>\r\n <Launch Cycle>123</Launch Cycle>\r\n <Discontinuation Cycle>123</Discontinuation Cycle>\r\n <CampaignLimitReorder >123</CampaignReorderLimit>\r\n <Keyword>str1234</Keyword>\r\n <AllowsUseOrderPlan>1</AllowsUseOrderPlan>\r\n <Product ReleaseMessage>str1234</Product ReleaseMessage><i >\n <ProductDisclosureCodCoverage>123</ProductDisclosureCodCoverage>\r\n <Materials>\r\n <Material>\r\n <CodMaterial>123</CodMaterial>\r\n <SKUCode>str1234</SKUCode>\r\n <EANCode>str1234</EANCode>\r\n <Name>str1234</Name> \r\n <Type>1</Type>\r\n <Category>1</Category>\r\n <Volume>123.00</Volume>\r\n <Weight >123.00</Weight>\r\n <Weight Precision Control>1</Weight Precision Control>\r\n <Measure Unit>1</Measure Unit>\r\n <Box Unit>1234</Box Unit><i >\n <SuspendedSale>1</SuspendedSale>\r\n <Situation>1</Situation>\r\n <Quality Control>1</Quality Control>\r\n <Origin>1 </Origin>\r\n <CountryOrigin>1234</CountryOrigin>\r\n <ClassificacaoFiscal>1234</ClassificacaoFiscal>\r\n <ClassificacaoContabil>1</ClassificacaoContabil>\r\n <LoteDeFabricacaoControleLote>1</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDeFabricacaoControleLote>123</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDiasAlertaVencimento>123</LoteDe \r\n <LoteDeFabricacaoDiasUsoLote>123</LoteDeFabricacaoDiasUsoLote>\r\n <LoteDeFabricacaoDiasRecusaLote>123</LoteDeFabricacaoDiasRecusaLote>\r\n <NumeroFCI>str1234</NumeroFCI>< >123.00</PercentualFCI>\r\n <Priority>1</Priority>\r\n <CodAbrangencia>123</CodAbrangencia>\r\n <Quantity>123</Quantity><i >\n <PartDoItem>123.00</PartDoItem>\r\n <CutOption>1</CutOption>\r\n <UnavailabilityOption>1</UnavailabilityOption>\r\n <SubstituteCod>123</SubstituteCod>\r\n <ABCClassification>str1234</ABCClassification>\r\n <Costs>\r<br > <StandardCost>123.00</StandardCost>\r\n <AverageCost>123.00</AverageCost>\r\n <LastReplacementCost>123.00</LastReplacementCost>\r\n </Cost>\r \n <InitialStockCodeStockCode>str1234</InitialStockCodeStockCode>\r\n <InitialStockQuantity>123</InitialStockQuantity>\r\n </Material>\r\n </Materials>\r<br > <Structures>\r\n <Structure>\r\n <CodStructure>123</CodStructure>\r\n </Structure>\r\n </Structures>\r \n <Types \r\n <Type>\r\n <ProductType>1</ProductType>\r\n <StartCycle>123</StartCycle>\r\n </Type>\r\n </Types >\r\n <Related>\r\n <Related>\r\n <RelationshipType>1</RelationshipType>\r\n <RelatedProductCod>1</RelatedProductCod>\r \n <CodProductRelated>123</CodProductRelated>\r\n <Scope>123</Scope>\r\n <AutoRelationship>1</AutoRelationship>\r\n </Relationship>< i>\n </Relationships>\r\n <ClassificationValue>\r\n <ClassificationValue>\r\n <ClassificationCod>123</ClassificationCod>\r\n <ClassificationCod> 123</ClassificationCod>\r\n </ClassificationValue>\r\n </ClassificationsValue>\r\n <RestrictionsVendaAbrangencia>\r\n <RestrictionVendaAbrangencia>\r\n <CodAbrangencia>123</CodAbrangencia>\r< </RestrictionsSaleAverage>\r\n </RestrictionsSaleAverage>\r\n <ReasonsBlocks>\r\n <ReasonBlocks>\r\n <Language>1</Language><i >\n <Summary Blocking Reason>str1234</Summary Blocking Reason>\r\n <Full Blocking Reason>str1234</Full Blocking Reason>\r\n </Blocking Reason>\r\n </Blocking Reasons>\r< br> <PaymentPlans>\r\n <PaymentPlanStandard>\r\n <PaymentPlanCod>123</PaymentPlanCod>\r\n <PermitJoinPlots>1</PermitJoinPlots>\r\n </PlanoPagamentoPadrao>\r\n </PlanosPagamentos>\r\n </Registration>\r\n </ProdutoMaterialProdutoPadraoERPIn_v1><i >\n </ArrayOfProdutoMaterialProdutoStandardERPIn_v1>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This interface is used to import the records of a product material into <strong>Let</strong>. </p>\n<ul>\n<li><p>Interface name: <code>ProdutoMaterialPadraoERP</code>;</p>\n</li>\n<li><p>Interface version: <code>1.0</code>.</p>\n</li>\n</ul>\n<h2 id=\"product\">Product</h2>\n<p> A maximum of 25 <code>Products</code> are allowed</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product Code</td>\n</tr>\n<tr>\n<td><code>EANProduct</code></td>\n<td>Integer</td>\n<td>14</td>\n<td>No</td>\n<td>EAN Product Code</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Product Name</td>\n</tr>\n<tr>\n<td><code>Purchase Multiple</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Purchase Multiple</td>\n</tr>\n<tr>\n<td><code>ProductPurchaseType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td><strong>Default</strong> - <code>0</code><table><tbody><tr><td>0</td><td>fractioned</td></tr><tr><td>1</td><td>Closed box</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>QtyClosedBoxUnits</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Indicates the quantity of the product that completes an entire box</td>\n</tr>\n<tr>\n<td><code>QtyUnitsSuggestClosedBox</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>If filled in, it indicates the missing amount needed for a suggestion to complete the box to be triggered. This parameter can only be used when the quantity per box is provided</td>\n</tr>\n<tr>\n<td><code>ClosedBoxProductCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Field to optionally indicate a different product code that represents the closed-box product. If completed and the unopened box is completed, the item will be inserted into the order with this product code</td>\n</tr>\n<tr>\n<td><code>Kit</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Indicates if the product is a KIT<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>NotConsumeCredit</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Indicates whether the product will consume credits<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>DisregardReorder</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Does not allow the product to use Reorder<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>DisregardProdProntMinima</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Indicates that the product will be considered in the capture for the calculation of the minimum score<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Summary Description</code></td>\n<td>String</td>\n<td>2000</td>\n<td>No</td>\n<td>Summary Product Description</td>\n</tr>\n<tr>\n<td><code>Description</code></td>\n<td>String</td>\n<td>8000</td>\n<td>No</td>\n<td>Product description</td>\n</tr>\n<tr>\n<td><code>Technical Data</code></td>\n<td>String</td>\n<td>8000</td>\n<td>No</td>\n<td>Product Datasheet</td>\n</tr>\n<tr>\n<td><code>Target Publish</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Publish product target</td>\n</tr>\n<tr>\n<td><code>Launch Cycle</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Cycle in which the product will be launched(202013) . It must be a cycle previously registered in the system</td>\n</tr>\n<tr>\n<td><code>Discontinuation Cycle</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Last cycle in which the product will be available for capture(202014) . It must be a cycle previously registered in the system</td>\n</tr>\n<tr>\n<td><code>ReorderLimit Campaign</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Campaign limit for incorporating the product into the order</td>\n</tr>\n<tr>\n<td><code>Keyword</code></td>\n<td>String</td>\n<td>2000</td>\n<td>No</td>\n<td>List of keywords, separated by comma (<code>,</code>)</td>\n</tr>\n<tr>\n<td><code>AllowsUsePlanOrder</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td><table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Product DisclosureMessage</code></td>\n<td>String</td>\n<td>2000</td>\n<td>No</td>\n<td>Product disclosure message. When the parameter <code>DivulgacaoDoProdutoCodAbrangencia</code> is sent, it becomes mandatory</td>\n</tr>\n<tr>\n<td><code>Product Disclosure Code Coverage</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Product disclosure coverage code. It must be of the <code>Product Disclosure</code> type and be previously registered in <strong>Let</strong>. When the parameter <code>DivulgacaoDoProdutoMensagem</code> is sent, it becomes mandatory</td>\n</tr>\n<tr>\n<td><code>Materials</code></td>\n<td>List of Objects of type <code>Material</code></td>\n<td></td>\n<td>Yes</td>\n<td>Each product can have <code>n</code> associated materials</td>\n</tr>\n<tr>\n<td><code>Structures</code></td>\n<td>List of Objects of type <code>Structure</code></td>\n<td></td>\n<td>No</td>\n<td>Product Structures</td>\n</tr>\n<tr>\n<td><code>Types</code></td>\n<td>List of Objects of type <code>Type</code></td>\n<td></td>\n<td>No</td>\n<td>Product Type</td>\n</tr>\n<tr>\n<td><code>Related</code></td>\n<td>List of Objects of type <code>Related</code></td>\n<td></td>\n<td>No</td>\n<td>Related Products (Substitutes or Complementary)</td>\n</tr>\n<tr>\n<td><code>ValueRatings</code></td>\n<td>List of Objects of type <code>ValueRating</code></td>\n<td></td>\n<td>No</td>\n<td>Rating Groups</td>\n</tr>\n<tr>\n<td><code>SaleScopeRestrictions</code></td>\n<td>List of objects of the type <code>SaleScopeRestriction</code></td>\n<td></td>\n<td>No</td>\n<td>Sale restriction scopes</td>\n</tr>\n<tr>\n<td><code>Locking Reasons</code></td>\n<td>List of Objects of type <code>Locking Reason</code></td>\n<td></td>\n<td>No</td>\n<td>Clocking Reasons</td>\n</tr>\n<tr>\n<td><code>Payment Plans</code></td>\n<td>List of Objects of type <code>Standard Payment Plan</code></td>\n<td></td>\n<td>No</td>\n<td>Payment Plans</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"material\">Material</h6>\n<ul>\n<li><code>Material</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>CodMaterial</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Material code (SKU)</td>\n</tr>\n<tr>\n<td><code>SKU Code</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td>Material SKU Code (Material Key)</td>\n</tr>\n<tr>\n<td><code>EAN Code</code></td>\n<td>String</td>\n<td>14</td>\n<td>No</td>\n<td>Material EAN Code</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Material name</td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code indicating the type of material <strong>Default</strong> - <code>1</code><table><tbody><tr><td>1</td><td>Finished product</td></tr><tr><td>2</td><td>Semi-finished product</td></tr><tr><td>3</td><td>Feedstock</td></tr><tr><td>4</td><td>Packaging</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Category</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates the category of the material.<table><tbody><tr><td>1</td><td>Cosmetic</td></tr><tr><td>2</td><td>non-cosmetic</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Volume</code></td>\n<td>Decimal</td>\n<td>(10, 2)</td>\n<td>Yes</td>\n<td>Volume in <em>milliliters</em></td>\n</tr>\n<tr>\n<td><code>Weight</code></td>\n<td>Decimal</td>\n<td>(10, 2)</td>\n<td>Yes</td>\n<td>Weight in <em>grams</em></td>\n</tr>\n<tr>\n<td><code>Weight PrecisionControl</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates whether the material has weight precision control. <strong>Default</strong> - <code>0</code><table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Unit of Measure</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the unit of measure of the material.<table><tbody><tr><td>1</td><td>Unit</td></tr><tr><td>2</td><td>Box</td></tr><tr><td>3</td><td>Grams</td></tr><tr><td>4</td><td>milligrams</td></tr><tr><td>5</td><td>milliliters</td></tr><tr><td>6</td><td>Tray</td></tr><tr><td>7</td><td>Set</td></tr><tr><td>8</td><td>card</td></tr><tr><td>9</td><td>Display</td></tr><tr><td>10</td><td>Dozen</td></tr><tr><td>11</td><td>Burden</td></tr><tr><td>12</td><td>thousand</td></tr><tr><td>13</td><td>Package</td></tr><tr><td>14</td><td>Bowl</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Box Unit</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>N/A</td>\n<td>Information that indicates how many units of material are included in each box. This parameter becomes mandatory when the value of the parameter <code>Unit of Measure</code> is <code>2</code></td>\n</tr>\n<tr>\n<td><code>Suspended Sale</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates if the sale of this material is suspended. <strong>Default</strong> - <code>0</code><table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Situation</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the status of the material. <strong>Default</strong> - <code>1</code><table><tbody><tr><td>1</td><td>Active</td></tr><tr><td>2</td><td>Called off</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Quality Control</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates whether the material has quality control. <strong>Default</strong> - <code>0</code><table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Origin</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the origin of the material. <strong>Default</strong> - <code>0</code>.<table><tbody><tr><td>0</td><td>National</td></tr><tr><td>1</td><td>Foreign - Direct import, except as indicated in code <code>7</code></td></tr><tr><td>2</td><td>Foreign - Purchased in the domestic market, except as indicated in code <code>7</code></td></tr><tr><td>3</td><td>National, merchandise or good with Import Content greater than 40% and less than or equal to 70%</td></tr><tr><td>4</td><td>National, whose production has been made in accordance with the basic production processes dealt with in the legislation mentioned in the Adjustments</td></tr><tr><td>5</td><td>National, merchandise or good with Import Content less than or equal to 40%</td></tr><tr><td>6</td><td>Foreign - Direct import, without national similar, listed on CAMEX</td></tr><tr><td>7</td><td>Foreign - Acquired in the domestic market, with no national similar on the CAMEX list</td></tr><tr><td>8</td><td>National, merchandise or good with Import Content greater than 70% (Adjustment Sinief 15/2013 vig.01/08/2013)</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>CountryOrigin</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates the country of origin of the material.<table><tbody><tr><td>1</td><td>Brazil</td></tr><tr><td>2</td><td>Chile</td></tr><tr><td>3</td><td>Argentina</td></tr><tr><td>4</td><td>Peru</td></tr><tr><td>5</td><td>Mexico</td></tr><tr><td>6</td><td>Venezuela</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Fiscal Classification</code></td>\n<td>Integer</td>\n<td>9 - (XXXX.XX.XX)</td>\n<td>Yes</td>\n<td>Tax classification of the material</td>\n</tr>\n<tr>\n<td><code>Account Classification</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Indicates which account classification the material fits into.<table><tbody><tr><td>1</td><td>Regular Products</td></tr><tr><td>2</td><td>Samples</td></tr><tr><td>3</td><td>Accessories</td></tr><tr><td>4</td><td>Support Materials</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>ABC Rating</code></td>\n<td>String</td>\n<td>2</td>\n<td>No</td>\n<td>ABC rating indicator of the material. Possible values: <code>A</code>, <code>B</code>, <code>C</code></td>\n</tr>\n<tr>\n<td><code>LoteDeFabricacaoControleLote</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates whether there will be control of the material's manufacturing lot. If so, what will be the method of batch consumption. <strong>Default</strong> - <code>0</code>.<table><tbody><tr><td>0</td><td>There will be no batch control</td></tr><tr><td>1</td><td>FEFO</td></tr><tr><td>2</td><td>FIFO</td></tr><tr><td>3</td><td>LEFO</td></tr><tr><td>4</td><td>LIFO</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>FabricacaoBatchDaysExpiration Alert</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>N/A</td>\n<td>Days for batch expiration alert. It is mandatory if the <code>Batch Control</code> information is different from <code>0</code></td>\n</tr>\n<tr>\n<td><code>LoteDeFabricacaoDiasUsoLote</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>N/A</td>\n<td>Days for batch expiration alert. It is mandatory if the <code>Batch Control</code> information is different from <code>0</code></td>\n</tr>\n<tr>\n<td><code>LoteDeFabricacaoDiasRecusaLote</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>N/A</td>\n<td>Expiration days for batch rejection. It is mandatory if the <code>Batch Control</code> information is different from <code>0</code></td>\n</tr>\n<tr>\n<td><code>FCINumber</code></td>\n<td>String</td>\n<td>36</td>\n<td>No</td>\n<td>This information requires a specific format that must be validated. Used in operations in Brazil where imported materials are sold</td>\n</tr>\n<tr>\n<td><code>FCI Percent</code></td>\n<td>Decimal</td>\n<td>(8, 5)</td>\n<td>No</td>\n<td>FCI import content percentage. Used in operations in Brazil where imported materials are sold</td>\n</tr>\n<tr>\n<td><code>Priority</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Material priority</td>\n</tr>\n<tr>\n<td><code>CodScope</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Scope code (It must be of the <code>Sales x Material Relation</code> type and be registered in <strong>Let</strong></td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Amount of material</td>\n</tr>\n<tr>\n<td><code>PartDoItem</code></td>\n<td>Integer</td>\n<td>8.5</td>\n<td>Yes</td>\n<td>Participation percentage of the item in the total value of the Kit. E.g.: <code>100</code> for 100%</td>\n</tr>\n<tr>\n<td><code>CropOption</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Mandatory clipping option for <code>Priority</code> other than <code>1</code>.<table><tbody><tr><td>1</td><td>Incorporate item as donation</td></tr><tr><td>2</td><td>Incorporate item as a purchase option</td></tr><tr><td>3</td><td>Do not embed item</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>UnavailabilityOption</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Option in case of material unavailability.<table><tbody><tr><td>1</td><td>Cut Kit</td></tr><tr><td>2</td><td>Ignore and discount value</td></tr><tr><td>3</td><td>Incorporate sale and discount value</td></tr><tr><td>4</td><td>Incorporate donation and collect value</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Substitute Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Substitute material code</td>\n</tr>\n<tr>\n<td><code>StandardCost</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Standard cost of material</td>\n</tr>\n<tr>\n<td><code>Average Cost</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Average material cost</td>\n</tr>\n<tr>\n<td><code>Last Replacement Cost</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Last Replacement Cost of Material</td>\n</tr>\n<tr>\n<td><code>Initial StockStockCode</code></td>\n<td>String</td>\n<td>30</td>\n<td>No</td>\n<td>Stock code, registered in <strong>Let</strong> as <code>External Code</code> of the <code>Stock Center</code>. This parameter is the <strong>key</strong> of the <code>Stock Center</code></td>\n</tr>\n<tr>\n<td><code>Initial StockQuantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Amount of material in stock. Only used for new materials; in case of updates, this value will be ignored</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"structure\">Structure</h6>\n<ul>\n<li><code>Structure</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>StructureCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Product structure code [leaf level]. It must be from a product structure, previously registered in the system</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"product-type\">Product Type</h6>\n<ul>\n<li><code>Type</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Product type code.<table><tbody><tr><td>1</td><td>Regular - Cosmetics</td></tr><tr><td>2</td><td>Support material</td></tr><tr><td>3</td><td>Special discount</td></tr><tr><td>4</td><td>Gift</td></tr><tr><td>5</td><td>Bazaar</td></tr><tr><td>6</td><td>Pre launch</td></tr><tr><td>7</td><td>no defined type</td></tr><tr><td>8</td><td>Packaging</td></tr><tr><td>9</td><td>Regular - Non-Cosmetic</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Start Cycle</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product Classification Group start cycle. It must be a cycle previously registered in the system</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"related-product\">Related Product</h6>\n<ul>\n<li><code>Related</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RelationshipType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Type of relationship.<table><tbody><tr><td>1</td><td>Complementary</td></tr><tr><td>2</td><td>Substitute</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>RelatedProductCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Related product code. It must be a product code previously registered in <strong>Let</strong></td>\n</tr>\n<tr>\n<td><code>Scope</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Scope of the relationship. It must be a scope of the <code>Related Product</code> type, previously registered in the system</td>\n</tr>\n<tr>\n<td><code>Self-Relationship</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Self-relationship product.<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"rating-group\">Rating Group</h6>\n<ul>\n<li><code>Value Classification</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ClassificationGroupCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Classification group code</td>\n</tr>\n<tr>\n<td><code>Classification Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Classification code</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"sales-restriction\">Sales Restriction</h6>\n<ul>\n<li><code>Sale Scope Restriction</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ScopeCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Sell restriction scope code. It must be a scope of the <code>Product Purchase Restriction</code> type previously registered in the system</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"reason-for-blocking\">Reason for Blocking</h6>\n<ul>\n<li><code>Reason for Blocking</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Language</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Language of the text.<table><tbody><tr><td>1</td><td>Portuguese</td></tr><tr><td>2</td><td>Spanish</td></tr><tr><td>3</td><td>English</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Summary Blocking Reason</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td>Short description of the reason for blocking the sale of the material. E.g.: In person, recipe</td>\n</tr>\n<tr>\n<td><code>Full Blocking Reason</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td>Description of the reason for blocking the sale of the material. E.g.: Only in person, for presentation of medical prescription</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"product-payment-plan\">Product Payment Plan</h6>\n<ul>\n<li><code>Standard Payment Plan</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PaymentPlanCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product Payment Plan Code. It must be a payment plan previously registered in <strong>Let</strong></td>\n</tr>\n<tr>\n<td><code>AllowsJoinPlots</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Indicates if the product can join the installments<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[{"id":"6916457a-0158-47dc-bca5-b9e46b481e7f","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket><![CDATA[<?xml version=\"1.0\"?>\r\n <ArrayOfProductMaterialStandardProductERPIn_v1>\r\n <ProductMaterialStandardProductERPIn_v1>\r\n <Register>\r\n <ProductCod>123</ProductCod >\r\n <EANProduct>str1234</EANProduct>\r\n <Name>str1234</Name>\r\n <MultiploPra>123</MultiploPra>\r\n < ProductPurchaseType>1</ProductPurchaseType>\r\n <QtyUnitsClosed Cashier>123</QtyUnitsClosed Cashier>\r\n <QtyUnitsSuggestClosed Cashier>123</QtyUnitsSuggestClosed Cashier>\r\n <Closed CashCode>\r i>\n <Kit>1</Kit>\r\n <NotConsumeCredit>1</NotConsumeCredit>\r\n <DisregardReorder>1</DisregardReorder>\r\n <DisregardProdProntMinima>1</DisregardProdProntMinima>\r\n <Summary Description>str1234</Summary Description>\r\n <Description>str1234</Description>\r\n <Technical File>str1234</Technical File> \r\n <TargetPublic>str1234</TargetPublic>\r\n <Launch Cycle>123</Launch Cycle>\r\n <Discontinuation Cycle>123</Discontinuation Cycle>\r\n <CampaignLimitReorder >123</CampaignReorderLimit>\r\n <Keyword>str1234</Keyword>\r\n <AllowsUseOrderPlan>1</AllowsUseOrderPlan>\r\n <Product ReleaseMessage>str1234</Product ReleaseMessage><i >\n <ProductDisclosureCodCoverage>123</ProductDisclosureCodCoverage>\r\n <Materials>\r\n <Material>\r\n <CodMaterial>123</CodMaterial>\r\n <SKUCode>str1234</SKUCode>\r\n <EANCode>str1234</EANCode>\r\n <Name>str1234</Name> \r\n <Type>1</Type>\r\n <Category>1</Category>\r\n <Volume>123.00</Volume>\r\n <Weight >123.00</Weight>\r\n <Weight Precision Control>1</Weight Precision Control>\r\n <Measure Unit>1</Measure Unit>\r\n <Box Unit>1234</Box Unit><i >\n <SuspendedSale>1</SuspendedSale>\r\n <Situation>1</Situation>\r\n <Quality Control>1</Quality Control>\r\n <Origin>1 </Origin>\r\n <CountryOrigin>1234</CountryOrigin>\r\n <ClassificacaoFiscal>1234</ClassificacaoFiscal>\r\n <ClassificacaoContabil>1</ClassificacaoContabil>\r\n <LoteDeFabricacaoControleLote>1</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDeFabricacaoControleLote>123</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDiasAlertaVencimento>123</LoteDe \r\n <LoteDeFabricacaoDiasUsoLote>123</LoteDeFabricacaoDiasUsoLote>\r\n <LoteDeFabricacaoDiasRecusaLote>123</LoteDeFabricacaoDiasRecusaLote>\r\n <NumeroFCI>str1234</NumeroFCI>< >123.00</PercentualFCI>\r\n <Priority>1</Priority>\r\n <CodAbrangencia>123</CodAbrangencia>\r\n <Quantity>123</Quantity><i >\n <PartDoItem>123.00</PartDoItem>\r\n <CutOption>1</CutOption>\r\n <UnavailabilityOption>1</UnavailabilityOption>\r\n <SubstituteCod>123</SubstituteCod>\r\n <ABCClassification>str1234</ABCClassification>\r\n <Costs>\r<br > <StandardCost>123.00</StandardCost>\r\n <AverageCost>123.00</AverageCost>\r\n <LastReplacementCost>123.00</LastReplacementCost>\r\n </Cost>\r \n <InitialStockCodeStockCode>str1234</InitialStockCodeStockCode>\r\n <InitialStockQuantity>123</InitialStockQuantity>\r\n </Material>\r\n </Materials>\r<br > <Structures>\r\n <Structure>\r\n <CodStructure>123</CodStructure>\r\n </Structure>\r\n </Structures>\r \n <Types \r\n <Type>\r\n <ProductType>1</ProductType>\r\n <StartCycle>123</StartCycle>\r\n </Type>\r\n </Types >\r\n <Related>\r\n <Related>\r\n <RelationshipType>1</RelationshipType>\r\n <RelatedProductCod>1</RelatedProductCod>\r \n <CodProductRelated>123</CodProductRelated>\r\n <Scope>123</Scope>\r\n <AutoRelationship>1</AutoRelationship>\r\n </Relationship>< i>\n </Relationships>\r\n <ClassificationValue>\r\n <ClassificationValue>\r\n <ClassificationCod>123</ClassificationCod>\r\n <ClassificationCod> 123</ClassificationCod>\r\n </ClassificationValue>\r\n </ClassificationsValue>\r\n <RestrictionsVendaAbrangencia>\r\n <RestrictionVendaAbrangencia>\r\n <CodAbrangencia>123</CodAbrangencia>\r< </RestrictionsSaleAverage>\r\n </RestrictionsSaleAverage>\r\n <ReasonsBlocks>\r\n <ReasonBlocks>\r\n <Language>1</Language><i >\n <Summary Blocking Reason>str1234</Summary Blocking Reason>\r\n <Full Blocking Reason>str1234</Full Blocking Reason>\r\n </Blocking Reason>\r\n </Blocking Reasons>\r< br> <PaymentPlans>\r\n <PaymentPlanStandard>\r\n <PaymentPlanCod>123</PaymentPlanCod>\r\n <PermitJoinPlots>1</PermitJoinPlots>\r\n </PlanoPagamentoPadrao>\r\n </PlanosPagamentos>\r\n </Registration>\r\n </ProdutoMaterialProdutoPadraoERPIn_v1><i >\n </ArrayOfProdutoMaterialProdutoStandardERPIn_v1>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ImportacaoResponse xmlns=\"http://www.geravd.com.br/\">\r \n<IntegracaoResult>\r \n<DataHora>Processing date (YYYY-MM-DDThh:mm:ss)</DataHora>\r \n<Erros>\r \n<DescricaoErro>Description of the error found, if any</DescricaoErro>\r \n</Erros>\r \n</IntegracaoResult>\r \n</ImportacaoResponse>\r \n</soap:Body>\r \n</soap:Envelope>"},{"id":"d2c54796-f1a4-4434-aa6b-78f8c4c6414d","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket><![CDATA[<?xml version=\"1.0\"?>\r\n <ArrayOfProductMaterialStandardProductERPIn_v1>\r\n <ProductMaterialStandardProductERPIn_v1>\r\n <Register>\r\n <ProductCod>123</ProductCod >\r\n <EANProduct>str1234</EANProduct>\r\n <Name>str1234</Name>\r\n <MultiploPra>123</MultiploPra>\r\n < ProductPurchaseType>1</ProductPurchaseType>\r\n <QtyUnitsClosed Cashier>123</QtyUnitsClosed Cashier>\r\n <QtyUnitsSuggestClosed Cashier>123</QtyUnitsSuggestClosed Cashier>\r\n <Closed CashCode>\r i>\n <Kit>1</Kit>\r\n <NotConsumeCredit>1</NotConsumeCredit>\r\n <DisregardReorder>1</DisregardReorder>\r\n <DisregardProdProntMinima>1</DisregardProdProntMinima>\r\n <Summary Description>str1234</Summary Description>\r\n <Description>str1234</Description>\r\n <Technical File>str1234</Technical File> \r\n <TargetPublic>str1234</TargetPublic>\r\n <Launch Cycle>123</Launch Cycle>\r\n <Discontinuation Cycle>123</Discontinuation Cycle>\r\n <CampaignLimitReorder >123</CampaignReorderLimit>\r\n <Keyword>str1234</Keyword>\r\n <AllowsUseOrderPlan>1</AllowsUseOrderPlan>\r\n <Product ReleaseMessage>str1234</Product ReleaseMessage><i >\n <ProductDisclosureCodCoverage>123</ProductDisclosureCodCoverage>\r\n <Materials>\r\n <Material>\r\n <CodMaterial>123</CodMaterial>\r\n <SKUCode>str1234</SKUCode>\r\n <EANCode>str1234</EANCode>\r\n <Name>str1234</Name> \r\n <Type>1</Type>\r\n <Category>1</Category>\r\n <Volume>123.00</Volume>\r\n <Weight >123.00</Weight>\r\n <Weight Precision Control>1</Weight Precision Control>\r\n <Measure Unit>1</Measure Unit>\r\n <Box Unit>1234</Box Unit><i >\n <SuspendedSale>1</SuspendedSale>\r\n <Situation>1</Situation>\r\n <Quality Control>1</Quality Control>\r\n <Origin>1 </Origin>\r\n <CountryOrigin>1234</CountryOrigin>\r\n <ClassificacaoFiscal>1234</ClassificacaoFiscal>\r\n <ClassificacaoContabil>1</ClassificacaoContabil>\r\n <LoteDeFabricacaoControleLote>1</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDeFabricacaoControleLote>123</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDiasAlertaVencimento>123</LoteDe \r\n <LoteDeFabricacaoDiasUsoLote>123</LoteDeFabricacaoDiasUsoLote>\r\n <LoteDeFabricacaoDiasRecusaLote>123</LoteDeFabricacaoDiasRecusaLote>\r\n <NumeroFCI>str1234</NumeroFCI>< >123.00</PercentualFCI>\r\n <Priority>1</Priority>\r\n <CodAbrangencia>123</CodAbrangencia>\r\n <Quantity>123</Quantity><i >\n <PartDoItem>123.00</PartDoItem>\r\n <CutOption>1</CutOption>\r\n <UnavailabilityOption>1</UnavailabilityOption>\r\n <SubstituteCod>123</SubstituteCod>\r\n <ABCClassification>str1234</ABCClassification>\r\n <Costs>\r<br > <StandardCost>123.00</StandardCost>\r\n <AverageCost>123.00</AverageCost>\r\n <LastReplacementCost>123.00</LastReplacementCost>\r\n </Cost>\r \n <InitialStockCodeStockCode>str1234</InitialStockCodeStockCode>\r\n <InitialStockQuantity>123</InitialStockQuantity>\r\n </Material>\r\n </Materials>\r<br > <Structures>\r\n <Structure>\r\n <CodStructure>123</CodStructure>\r\n </Structure>\r\n </Structures>\r \n <Types \r\n <Type>\r\n <ProductType>1</ProductType>\r\n <StartCycle>123</StartCycle>\r\n </Type>\r\n </Types >\r\n <Related>\r\n <Related>\r\n <RelationshipType>1</RelationshipType>\r\n <RelatedProductCod>1</RelatedProductCod>\r \n <CodProductRelated>123</CodProductRelated>\r\n <Scope>123</Scope>\r\n <AutoRelationship>1</AutoRelationship>\r\n </Relationship>< i>\n </Relationships>\r\n <ClassificationValue>\r\n <ClassificationValue>\r\n <ClassificationCod>123</ClassificationCod>\r\n <ClassificationCod> 123</ClassificationCod>\r\n </ClassificationValue>\r\n </ClassificationsValue>\r\n <RestrictionsVendaAbrangencia>\r\n <RestrictionVendaAbrangencia>\r\n <CodAbrangencia>123</CodAbrangencia>\r< </RestrictionsSaleAverage>\r\n </RestrictionsSaleAverage>\r\n <ReasonsBlocks>\r\n <ReasonBlocks>\r\n <Language>1</Language><i >\n <Summary Blocking Reason>str1234</Summary Blocking Reason>\r\n <Full Blocking Reason>str1234</Full Blocking Reason>\r\n </Blocking Reason>\r\n </Blocking Reasons>\r< br> <PaymentPlans>\r\n <PaymentPlanStandard>\r\n <PaymentPlanCod>123</PaymentPlanCod>\r\n <PermitJoinPlots>1</PermitJoinPlots>\r\n </PlanoPagamentoPadrao>\r\n </PlanosPagamentos>\r\n </Registration>\r\n </ProdutoMaterialProdutoPadraoERPIn_v1><i >\n </ArrayOfProdutoMaterialProdutoStandardERPIn_v1>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n<soap:Body>\n<ImportacaoResponse xmlns=\"http://www.geravd.com.br/\">\n<IntegracaoResult>\n<DataHora>2021-07-29T13:07:48.8600801</DataHora>\n<Erros />\n</IntegracaoResult>\n</ImportacaoResponse>\n</soap:Body>\n</soap:Envelope>"}],"_postman_id":"acebb4a7-636c-4144-9c67-f1f3b2760320"},{"name":"material product v2.0","id":"c1ac8407-9e61-42cf-825d-22a6ef33bfe5","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>\r \n<![CDATA[<?xml version=\"1.0\"?>\r\n <ArrayOfProductMaterialStandardProductERPIn_v2>\r\n <ProductMaterialStandardProductERPIn_v2>\r\n <Record>\r\n <ProductCod>123</ProductCod >\r\n <EANProduct>str1234</EANProduct>\r\n <Name>str1234</Name>\r\n <MultiploPra>123</MultiploPra>\r\n < ProductPurchaseType>1</ProductPurchaseType>\r\n <QtyUnitsClosed Cashier>123</QtyUnitsClosed Cashier>\r\n <QtyUnitsSuggestClosed Cashier>123</QtyUnitsSuggestClosed Cashier>\r\n <Closed CashCode>\r i>\n <Kit>1</Kit>\r\n <NotConsumeCredit>1</NotConsumeCredit>\r\n <DisregardReorder>1</DisregardReorder>\r\n <DisregardProdProntMinima>1</DisregardProdProntMinima>\r\n <Summary Description>str1234</Summary Description>\r\n <Description>str1234</Description>\r\n <Technical File>str1234</Technical File> \r\n <TargetPublic>str1234</TargetPublic>\r\n <Launch Cycle>123</Launch Cycle>\r\n <Discontinuation Cycle>123</Discontinuation Cycle>\r\n <CampaignLimitReorder >123</CampaignReorderLimit>\r\n <Keyword>str1234</Keyword>\r\n <AllowsUseOrderPlan>1</AllowsUseOrderPlan>\r\n <Product ReleaseMessage>str1234</Product ReleaseMessage><i >\n <ProductDisclosureCodCoverage>123</ProductDisclosureCodCoverage>\r\n <Materials>\r\n <Material>\r\n <CodMaterial>123</CodMaterial>\r\n <SKUCode>str1234</SKUCode>\r\n <EANCode>str1234</EANCode>\r\n <Name>str1234</Name> \r\n <Type>1</Type>\r\n <Category>1</Category>\r\n <Volume>123.00</Volume>\r\n <Weight >123.00</Weight>\r\n <Weight Precision Control>1</Weight Precision Control>\r\n <Measure Unit>1</Measure Unit>\r\n <Box Unit>1234</Box Unit><i >\n <SuspendedSale>1</SuspendedSale>\r\n <Situation>1</Situation>\r\n <Quality Control>1</Quality Control>\r\n <Origin>1 </Origin>\r\n <CountryOrigin>1234</CountryOrigin>\r\n <ClassificacaoFiscal>1234</ClassificacaoFiscal>\r\n <ClassificacaoContabil>1</ClassificacaoContabil>\r\n <LoteDeFabricacaoControleLote>1</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDeFabricacaoControleLote>123</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDiasAlertaVencimento>123</LoteDe \r\n <LoteDeFabricacaoDiasUsoLote>123</LoteDeFabricacaoDiasUsoLote>\r\n <LoteDeFabricacaoDiasRecusaLote>123</LoteDeFabricacaoDiasRecusaLote>\r\n <NumeroFCI>str1234</NumeroFCI>< >123.00</PercentualFCI>\r\n <Priority>1</Priority>\r\n <CodAbrangencia>123</CodAbrangencia>\r\n <Quantity>123</Quantity><i >\n <PartDoItem>123.00</PartDoItem>\r\n <CutOption>1</CutOption>\r\n <UnavailabilityOption>1</UnavailabilityOption>\r\n <SubstituteCod>123</SubstituteCod>\r\n <ABCClassification>str1234</ABCClassification>\r\n <Costs>\r<br > <DistributionChannel Costs>\r\n <DistributionChannel>123</DistributionChannel>\r\n <StandardCost>123.00</StandardCost>\r\n <AverageCost>123.00</AverageCost>\r\n br> <LastReplacementCost>123.00</LastReplacementCost>\r\n </DistributionChannelCost>\r\n </Costs>\r\n <Initial StockStockCode>str1234</Initial StockStockCode>\r\n <InitialStockQuantity>123</InitialStockQuantity>\r\n </Material>\r\n </Materials>\r\n <Structures>\r\n <Structure>\r< br> <StructureCod>123</StructureCod>\r\n </Structure>\r\n </Structures>\r\n <Types>\r\n <Type>\r< br> <ProductType>1</ProductType>\r\n <StartCycle>123</StartCycle>\r\n </Type>\r\n </Types>\r\n <Related>\r\n <Related>\r\n <RelationshipType>1</RelationshipType>\r\n <RelatedProductCod>1</RelatedProductCod>\r\n <Scope>123 </Scope>\r\n <AutoRelationship>1</AutoRelationship>\r\n </Relationship>\r\n </Relationship>\r\n <ClassificationsValue>\r \n <ClassificacaoValue>\r\n <CodGrupoClassificacao>123</CodGrupoClassificacao>\r\n <ClassificationCod>123</ClassificationCod>\r\n </ClassificationValue>\r\n </ClassificationsValue>\r\n <RestricoesVendaAbrangencia>\r\n <RestricoesVendaAbrangencia>\r< br> <CodAbrangencia>123</CodAbrangencia>\r\n </RestrictionVendaAbrangencia>\r\n </RestrictionsVendaAbrangencia>\r\n <ReasonalsBlocks>\r\n <ReasonalBlock><i > \r\n </ReasonsBlocks>\r\n <Payment Plans>\r\n <Payment Plan Standard>\r\n <CodPlanoPagamento>123</CodPlanoPagamento>\r\n <AllowsJoinParcels>1</AllowsJoinParcels>\r\n </PagamentoPagamentoPagamento>\r\n </PagamentoPlans>\r\n <Distributors >\r\n <Distributor>\r\n <DistributorCode>123</DistributorCode>\r\n </Distributor>\r\n </Distributor>\r\n </Registration>\r\n </ProdutoMaterialProdutoStandardERPIn_v2>\r\n </ArrayOfProdutoMaterialProdutoStandardERPIn_v2>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This interface is used to import the records of a product material into <strong>Let</strong>. </p>\n<ul>\n<li><p>Interface name: <code>ProdutoMaterialPadraoERP</code>;</p>\n</li>\n<li><p>Interface version: <code>2.0</code>.</p>\n</li>\n</ul>\n<h2 id=\"product\">Product</h2>\n<p> A maximum of 25 <code>Products</code> are allowed</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product Code</td>\n</tr>\n<tr>\n<td><code>EANProduct</code></td>\n<td>Integer</td>\n<td>14</td>\n<td>No</td>\n<td>EAN Product Code</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Product Name</td>\n</tr>\n<tr>\n<td><code>Purchase Multiple</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Purchase Multiple</td>\n</tr>\n<tr>\n<td><code>ProductPurchaseType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td><strong>Default</strong> - <code>0</code><table><tbody><tr><td>0</td><td>fractioned</td></tr><tr><td>1</td><td>Closed box</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>QtyClosedBoxUnits</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Indicates the quantity of the product that completes an entire box</td>\n</tr>\n<tr>\n<td><code>QtyUnitsSuggestClosedBox</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>If filled in, it indicates the missing amount needed for a suggestion to complete the box to be triggered. This parameter can only be used when the quantity per box is provided</td>\n</tr>\n<tr>\n<td><code>ClosedBoxProductCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Field to optionally indicate a different product code that represents the closed-box product. If completed and the unopened box is completed, the item will be inserted into the order with this product code</td>\n</tr>\n<tr>\n<td><code>Kit</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Indicates if the product is a KIT<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>NotConsumeCredit</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Indicates whether the product will consume credits<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>DisregardReorder</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Does not allow the product to use Reorder<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>DisregardProdProntMinima</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Indicates that the product will be considered in the capture for the calculation of the minimum score<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Summary Description</code></td>\n<td>String</td>\n<td>2000</td>\n<td>No</td>\n<td>Summary Product Description</td>\n</tr>\n<tr>\n<td><code>Description</code></td>\n<td>String</td>\n<td>8000</td>\n<td>No</td>\n<td>Product description</td>\n</tr>\n<tr>\n<td><code>Technical Data</code></td>\n<td>String</td>\n<td>8000</td>\n<td>No</td>\n<td>Product Datasheet</td>\n</tr>\n<tr>\n<td><code>Target Publish</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Publish product target</td>\n</tr>\n<tr>\n<td><code>Launch Cycle</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Cycle in which the product will be launched(202013) . It must be a cycle previously registered in the system</td>\n</tr>\n<tr>\n<td><code>Discontinuation Cycle</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Last cycle in which the product will be available for capture(202014) . It must be a cycle previously registered in the system</td>\n</tr>\n<tr>\n<td><code>ReorderLimit Campaign</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Campaign limit for incorporating the product into the order</td>\n</tr>\n<tr>\n<td><code>Keyword</code></td>\n<td>String</td>\n<td>2000</td>\n<td>No</td>\n<td>List of keywords, separated by comma (<code>,</code>)</td>\n</tr>\n<tr>\n<td><code>AllowsUsePlanOrder</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td><table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Product DisclosureMessage</code></td>\n<td>String</td>\n<td>2000</td>\n<td>No</td>\n<td>Product disclosure message. When the parameter <code>DivulgacaoDoProdutoCodAbrangencia</code> is sent, it becomes mandatory</td>\n</tr>\n<tr>\n<td><code>Product Disclosure Code Coverage</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Product disclosure coverage code. It must be of the <code>Product Disclosure</code> type and be previously registered in <strong>Let</strong>. When the parameter <code>DivulgacaoDoProdutoMensagem</code> is sent, it becomes mandatory</td>\n</tr>\n<tr>\n<td><code>Materials</code></td>\n<td>List of Objects of type <code>Material</code></td>\n<td></td>\n<td>Yes</td>\n<td>Each product can have <code>n</code> associated materials</td>\n</tr>\n<tr>\n<td><code>Structures</code></td>\n<td>List of Objects of type <code>Structure</code></td>\n<td></td>\n<td>No</td>\n<td>Product Structures</td>\n</tr>\n<tr>\n<td><code>Types</code></td>\n<td>List of Objects of type <code>Type</code></td>\n<td></td>\n<td>No</td>\n<td>Product Type</td>\n</tr>\n<tr>\n<td><code>Related</code></td>\n<td>List of Objects of type <code>Related</code></td>\n<td></td>\n<td>No</td>\n<td>Related Products (Substitutes or Complementary)</td>\n</tr>\n<tr>\n<td><code>ValueRatings</code></td>\n<td>List of Objects of type <code>ValueRating</code></td>\n<td></td>\n<td>No</td>\n<td>Rating Groups</td>\n</tr>\n<tr>\n<td><code>SaleScopeRestrictions</code></td>\n<td>List of objects of the type <code>SaleScopeRestriction</code></td>\n<td></td>\n<td>No</td>\n<td>Sale restriction scopes</td>\n</tr>\n<tr>\n<td><code>Locking Reasons</code></td>\n<td>List of Objects of type <code>Locking Reason</code></td>\n<td></td>\n<td>No</td>\n<td>Clocking Reasons</td>\n</tr>\n<tr>\n<td><code>Payment Plans</code></td>\n<td>List of Objects of type <code>Standard Payment Plan</code></td>\n<td></td>\n<td>No</td>\n<td>Payment Plans</td>\n</tr>\n<tr>\n<td><code>Distributors</code></td>\n<td>List of Objects of type <code>Distributor</code></td>\n<td></td>\n<td>No</td>\n<td>Distributors</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"material\">Material</h6>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>CodMaterial</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Material code (SKU)</td>\n</tr>\n<tr>\n<td><code>SKU Code</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td>Material SKU Code (Material Key)</td>\n</tr>\n<tr>\n<td><code>EAN Code</code></td>\n<td>String</td>\n<td>14</td>\n<td>No</td>\n<td>Material EAN Code</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Material name</td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code indicating the type of material <strong>Default</strong> - <code>1</code><table><tbody><tr><td>1</td><td>Finished product</td></tr><tr><td>2</td><td>Semi-finished product</td></tr><tr><td>3</td><td>Feedstock</td></tr><tr><td>4</td><td>Packaging</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Category</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates the category of the material.<table><tbody><tr><td>1</td><td>Cosmetic</td></tr><tr><td>2</td><td>non-cosmetic</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Volume</code></td>\n<td>Decimal</td>\n<td>(10, 2)</td>\n<td>Yes</td>\n<td>Volume in <em>milliliters</em></td>\n</tr>\n<tr>\n<td><code>Weight</code></td>\n<td>Decimal</td>\n<td>(10, 2)</td>\n<td>Yes</td>\n<td>Weight in <em>grams</em></td>\n</tr>\n<tr>\n<td><code>Weight PrecisionControl</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates whether the material has weight precision control. <strong>Default</strong> - <code>0</code><table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Unit of Measure</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the unit of measure of the material.<table><tbody><tr><td>1</td><td>Unit</td></tr><tr><td>2</td><td>Box</td></tr><tr><td>3</td><td>Grams</td></tr><tr><td>4</td><td>milligrams</td></tr><tr><td>5</td><td>milliliters</td></tr><tr><td>6</td><td>Tray</td></tr><tr><td>7</td><td>Set</td></tr><tr><td>8</td><td>card</td></tr><tr><td>9</td><td>Display</td></tr><tr><td>10</td><td>Dozen</td></tr><tr><td>11</td><td>Burden</td></tr><tr><td>12</td><td>thousand</td></tr><tr><td>13</td><td>Package</td></tr><tr><td>14</td><td>Bowl</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Box Unit</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>N/A</td>\n<td>Information that indicates how many units of material are included in each box. This parameter becomes mandatory when the value of the parameter <code>Unit of Measure</code> is <code>2</code></td>\n</tr>\n<tr>\n<td><code>Suspended Sale</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates if the sale of this material is suspended. <strong>Default</strong> - <code>0</code><table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Situation</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the status of the material. <strong>Default</strong> - <code>1</code><table><tbody><tr><td>1</td><td>Active</td></tr><tr><td>2</td><td>Called off</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Quality Control</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates whether the material has quality control. <strong>Default</strong> - <code>0</code><table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Origin</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the origin of the material. <strong>Default</strong> - <code>0</code>.<table><tbody><tr><td>0</td><td>National</td></tr><tr><td>1</td><td>Foreign - Direct import, except as indicated in code <code>7</code></td></tr><tr><td>2</td><td>Foreign - Purchased in the domestic market, except as indicated in code <code>7</code></td></tr><tr><td>3</td><td>National, merchandise or good with Import Content greater than 40% and less than or equal to 70%</td></tr><tr><td>4</td><td>National, whose production has been made in accordance with the basic production processes dealt with in the legislation mentioned in the Adjustments</td></tr><tr><td>5</td><td>National, merchandise or good with Import Content less than or equal to 40%</td></tr><tr><td>6</td><td>Foreign - Direct import, without national similar, listed on CAMEX</td></tr><tr><td>7</td><td>Foreign - Acquired in the domestic market, with no national similar on the CAMEX list</td></tr><tr><td>8</td><td>National, merchandise or good with Import Content greater than 70% (Adjustment Sinief 15/2013 vig.01/08/2013)</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>CountryOrigin</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates the country of origin of the material.<table><tbody><tr><td>1</td><td>Brazil</td></tr><tr><td>2</td><td>Chile</td></tr><tr><td>3</td><td>Argentina</td></tr><tr><td>4</td><td>Peru</td></tr><tr><td>5</td><td>Mexico</td></tr><tr><td>6</td><td>Venezuela</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Fiscal Classification</code></td>\n<td>Integer</td>\n<td>9 - (XXXX.XX.XX)</td>\n<td>Yes</td>\n<td>Tax classification of the material</td>\n</tr>\n<tr>\n<td><code>Account Classification</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Indicates which account classification the material fits into.<table><tbody><tr><td>1</td><td>Regular Products</td></tr><tr><td>2</td><td>Samples</td></tr><tr><td>3</td><td>Accessories</td></tr><tr><td>4</td><td>Support Materials</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>ABC Rating</code></td>\n<td>String</td>\n<td>2</td>\n<td>No</td>\n<td>ABC rating indicator of the material. Possible values: <code>A</code>, <code>B</code>, <code>C</code></td>\n</tr>\n<tr>\n<td><code>LoteDeFabricacaoControleLote</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates whether there will be control of the material's manufacturing lot. If so, what will be the method of batch consumption. <strong>Default</strong> - <code>0</code>.<table><tbody><tr><td>0</td><td>There will be no batch control</td></tr><tr><td>1</td><td>FEFO</td></tr><tr><td>2</td><td>FIFO</td></tr><tr><td>3</td><td>LEFO</td></tr><tr><td>4</td><td>LIFO</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>FabricacaoBatchDaysExpiration Alert</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>N/A</td>\n<td>Days for batch expiration alert. It is mandatory if the <code>Batch Control</code> information is different from <code>0</code></td>\n</tr>\n<tr>\n<td><code>LoteDeFabricacaoDiasUsoLote</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>N/A</td>\n<td>Days for batch expiration alert. It is mandatory if the <code>Batch Control</code> information is different from <code>0</code></td>\n</tr>\n<tr>\n<td><code>LoteDeFabricacaoDiasRecusaLote</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>N/A</td>\n<td>Expiration days for batch rejection. It is mandatory if the <code>Batch Control</code> information is different from <code>0</code></td>\n</tr>\n<tr>\n<td><code>FCINumber</code></td>\n<td>String</td>\n<td>36</td>\n<td>No</td>\n<td>This information requires a specific format that must be validated. Used in operations in Brazil where imported materials are sold</td>\n</tr>\n<tr>\n<td><code>FCI Percent</code></td>\n<td>Decimal</td>\n<td>(8, 5)</td>\n<td>No</td>\n<td>FCI import content percentage. Used in operations in Brazil where imported materials are sold</td>\n</tr>\n<tr>\n<td><code>Priority</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Material priority</td>\n</tr>\n<tr>\n<td><code>CodScope</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Scope code (It must be of the <code>Sales x Material Relation</code> type and be registered in <strong>Let</strong></td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Amount of material</td>\n</tr>\n<tr>\n<td><code>PartDoItem</code></td>\n<td>Integer</td>\n<td>8.5</td>\n<td>Yes</td>\n<td>Participation percentage of the item in the total value of the Kit. E.g.: <code>100</code> for 100%</td>\n</tr>\n<tr>\n<td><code>CropOption</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Mandatory clipping option for <code>Priority</code> other than <code>1</code>.<table><tbody><tr><td>1</td><td>Incorporate item as donation</td></tr><tr><td>2</td><td>Incorporate item as a purchase option</td></tr><tr><td>3</td><td>Do not embed item</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>UnavailabilityOption</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Option in case of material unavailability.<table><tbody><tr><td>1</td><td>Cut Kit</td></tr><tr><td>2</td><td>Ignore and discount value</td></tr><tr><td>3</td><td>Incorporate sale and discount value</td></tr><tr><td>4</td><td>Incorporate donation and collect value</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Substitute Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Substitute material code</td>\n</tr>\n<tr>\n<td><code>Distribution Channel</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Distribution channel code</td>\n</tr>\n<tr>\n<td><code>StandardCost</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Standard cost of material</td>\n</tr>\n<tr>\n<td><code>Average Cost</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Average material cost</td>\n</tr>\n<tr>\n<td><code>Last Replacement Cost</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Last Replacement Cost of Material</td>\n</tr>\n<tr>\n<td><code>Initial StockStockCode</code></td>\n<td>String</td>\n<td>30</td>\n<td>No</td>\n<td>Stock code, registered in <strong>Let</strong> as <code>External Code</code> of the <code>Stock Center</code>. This parameter is the <strong>key</strong> of the <code>Stock Center</code></td>\n</tr>\n<tr>\n<td><code>Initial StockQuantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Amount of material in stock. Only used for new materials; in case of updates, this value will be ignored</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"structure\">Structure</h6>\n<ul>\n<li><code>Structure</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>StructureCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>Product structure code [leaf level]. It must be from a product structure, previously registered in the system</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"product-type\">Product Type</h6>\n<ul>\n<li><code>Type</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Product type code.<table><tbody><tr><td>1</td><td>Regular - Cosmetics</td></tr><tr><td>2</td><td>Support material</td></tr><tr><td>3</td><td>Special discount</td></tr><tr><td>4</td><td>Gift</td></tr><tr><td>5</td><td>Bazaar</td></tr><tr><td>6</td><td>Pre launch</td></tr><tr><td>7</td><td>no defined type</td></tr><tr><td>8</td><td>Packaging</td></tr><tr><td>9</td><td>Regular - Non-Cosmetic</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Start Cycle</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product Classification Group start cycle. It must be a cycle previously registered in the system</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"related-product\">Related Product</h6>\n<ul>\n<li><code>Related</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RelationshipType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Type of relationship.<table><tbody><tr><td>1</td><td>Complementary</td></tr><tr><td>2</td><td>Substitute</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>RelatedProductCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Related product code. It must be a product code previously registered in <strong>Let</strong></td>\n</tr>\n<tr>\n<td><code>Scope</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Scope of the relationship. It must be a scope of the <code>Related Product</code> type, previously registered in the system</td>\n</tr>\n<tr>\n<td><code>Self-Relationship</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Self-relationship product.<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"rating-group\">Rating Group</h6>\n<ul>\n<li><code>Value Classification</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ClassificationGroupCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Classification group code</td>\n</tr>\n<tr>\n<td><code>Classification Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Classification code</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"sales-restriction\">Sales Restriction</h6>\n<ul>\n<li><code>Sale Scope Restriction</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ScopeCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Sell restriction scope code. It must be a scope of the <code>Product Purchase Restriction</code> type previously registered in the system</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"reason-for-blocking\">Reason for Blocking</h6>\n<ul>\n<li><code>Reason for Blocking</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Language</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Language of the text.<table><tbody><tr><td>1</td><td>Portuguese</td></tr><tr><td>2</td><td>Spanish</td></tr><tr><td>3</td><td>English</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Summary Blocking Reason</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td>Short description of the reason for blocking the sale of the material. E.g.: In person, recipe</td>\n</tr>\n<tr>\n<td><code>Full Blocking Reason</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td>Description of the reason for blocking the sale of the material. E.g.: Only in person, for presentation of medical prescription</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"product-payment-plan\">Product Payment Plan</h6>\n<ul>\n<li><code>Standard Payment Plan</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PaymentPlanCod</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product Payment Plan Code. It must be a payment plan previously registered in <strong>Let</strong></td>\n</tr>\n<tr>\n<td><code>AllowsJoinPlots</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Indicates if the product can join the installments<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"distributor\">Distributor</h6>\n<ul>\n<li><code>Distributor</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Distributor Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Code of the legal entity registered in <strong>Let</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[{"id":"041d3af1-56fc-4943-b29e-5e9b649ae534","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>\r \n<![CDATA[<?xml version=\"1.0\"?>\r\n <ArrayOfProductMaterialStandardProductERPIn_v2>\r\n <ProductMaterialStandardProductERPIn_v2>\r\n <Record>\r\n <ProductCod>123</ProductCod >\r\n <EANProduct>str1234</EANProduct>\r\n <Name>str1234</Name>\r\n <MultiploPra>123</MultiploPra>\r\n < ProductPurchaseType>1</ProductPurchaseType>\r\n <QtyUnitsClosed Cashier>123</QtyUnitsClosed Cashier>\r\n <QtyUnitsSuggestClosed Cashier>123</QtyUnitsSuggestClosed Cashier>\r\n <Closed CashCode>\r i>\n <Kit>1</Kit>\r\n <NotConsumeCredit>1</NotConsumeCredit>\r\n <DisregardReorder>1</DisregardReorder>\r\n <DisregardProdProntMinima>1</DisregardProdProntMinima>\r\n <Summary Description>str1234</Summary Description>\r\n <Description>str1234</Description>\r\n <Technical File>str1234</Technical File> \r\n <TargetPublic>str1234</TargetPublic>\r\n <Launch Cycle>123</Launch Cycle>\r\n <Discontinuation Cycle>123</Discontinuation Cycle>\r\n <CampaignLimitReorder >123</CampaignReorderLimit>\r\n <Keyword>str1234</Keyword>\r\n <AllowsUseOrderPlan>1</AllowsUseOrderPlan>\r\n <Product ReleaseMessage>str1234</Product ReleaseMessage><i >\n <ProductDisclosureCodCoverage>123</ProductDisclosureCodCoverage>\r\n <Materials>\r\n <Material>\r\n <CodMaterial>123</CodMaterial>\r\n <SKUCode>str1234</SKUCode>\r\n <EANCode>str1234</EANCode>\r\n <Name>str1234</Name> \r\n <Type>1</Type>\r\n <Category>1</Category>\r\n <Volume>123.00</Volume>\r\n <Weight >123.00</Weight>\r\n <Weight Precision Control>1</Weight Precision Control>\r\n <Measure Unit>1</Measure Unit>\r\n <Box Unit>1234</Box Unit><i >\n <SuspendedSale>1</SuspendedSale>\r\n <Situation>1</Situation>\r\n <Quality Control>1</Quality Control>\r\n <Origin>1 </Origin>\r\n <CountryOrigin>1234</CountryOrigin>\r\n <ClassificacaoFiscal>1234</ClassificacaoFiscal>\r\n <ClassificacaoContabil>1</ClassificacaoContabil>\r\n <LoteDeFabricacaoControleLote>1</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDeFabricacaoControleLote>123</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDiasAlertaVencimento>123</LoteDe \r\n <LoteDeFabricacaoDiasUsoLote>123</LoteDeFabricacaoDiasUsoLote>\r\n <LoteDeFabricacaoDiasRecusaLote>123</LoteDeFabricacaoDiasRecusaLote>\r\n <NumeroFCI>str1234</NumeroFCI>< >123.00</PercentualFCI>\r\n <Priority>1</Priority>\r\n <CodAbrangencia>123</CodAbrangencia>\r\n <Quantity>123</Quantity><i >\n <PartDoItem>123.00</PartDoItem>\r\n <CutOption>1</CutOption>\r\n <UnavailabilityOption>1</UnavailabilityOption>\r\n <SubstituteCod>123</SubstituteCod>\r\n <ABCClassification>str1234</ABCClassification>\r\n <Costs>\r<br > <DistributionChannel Costs>\r\n <DistributionChannel>123</DistributionChannel>\r\n <StandardCost>123.00</StandardCost>\r\n <AverageCost>123.00</AverageCost>\r\n br> <LastReplacementCost>123.00</LastReplacementCost>\r\n </DistributionChannelCost>\r\n </Costs>\r\n <Initial StockStockCode>str1234</Initial StockStockCode>\r\n <InitialStockQuantity>123</InitialStockQuantity>\r\n </Material>\r\n </Materials>\r\n <Structures>\r\n <Structure>\r< br> <StructureCod>123</StructureCod>\r\n </Structure>\r\n </Structures>\r\n <Types>\r\n <Type>\r< br> <ProductType>1</ProductType>\r\n <StartCycle>123</StartCycle>\r\n </Type>\r\n </Types>\r\n <Related>\r\n <Related>\r\n <RelationshipType>1</RelationshipType>\r\n <RelatedProductCod>1</RelatedProductCod>\r\n <Scope>123 </Scope>\r\n <AutoRelationship>1</AutoRelationship>\r\n </Relationship>\r\n </Relationship>\r\n <ClassificationsValue>\r \n <ClassificacaoValue>\r\n <CodGrupoClassificacao>123</CodGrupoClassificacao>\r\n <ClassificationCod>123</ClassificationCod>\r\n </ClassificationValue>\r\n </ClassificationsValue>\r\n <RestricoesVendaAbrangencia>\r\n <RestricoesVendaAbrangencia>\r< br> <CodAbrangencia>123</CodAbrangencia>\r\n </RestrictionVendaAbrangencia>\r\n </RestrictionsVendaAbrangencia>\r\n <ReasonalsBlocks>\r\n <ReasonalBlock><i > \r\n </ReasonsBlocks>\r\n <Payment Plans>\r\n <Payment Plan Standard>\r\n <CodPlanoPagamento>123</CodPlanoPagamento>\r\n <AllowsJoinParcels>1</AllowsJoinParcels>\r\n </PagamentoPagamentoPagamento>\r\n </PagamentoPlans>\r\n <Distributors >\r\n <Distributor>\r\n <DistributorCode>123</DistributorCode>\r\n </Distributor>\r\n </Distributor>\r\n </Registration>\r\n </ProdutoMaterialProdutoStandardERPIn_v2>\r\n </ArrayOfProdutoMaterialProdutoStandardERPIn_v2>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n<soap:Body>\n<ImportacaoResponse xmlns=\"http://www.geravd.com.br/\">\n<IntegracaoResult>\n<DataHora>Processing date (YYYY-MM-DDThh:mm:ss)</DataHora>\n<Erros>\n<DescricaoErro>Description of the error found, if any</DescricaoErro>\n</Erros>\n</IntegracaoResult>\n</ImportacaoResponse>\n</soap:Body>\n</soap:Envelope>"},{"id":"95d72815-aa15-4821-84d5-60dd6b2e685e","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>\r \n<![CDATA[<?xml version=\"1.0\"?>\r\n <ArrayOfProductMaterialStandardProductERPIn_v2>\r\n <ProductMaterialStandardProductERPIn_v2>\r\n <Record>\r\n <ProductCod>123</ProductCod >\r\n <EANProduct>str1234</EANProduct>\r\n <Name>str1234</Name>\r\n <MultiploPra>123</MultiploPra>\r\n < ProductPurchaseType>1</ProductPurchaseType>\r\n <QtyUnitsClosed Cashier>123</QtyUnitsClosed Cashier>\r\n <QtyUnitsSuggestClosed Cashier>123</QtyUnitsSuggestClosed Cashier>\r\n <Closed CashCode>\r i>\n <Kit>1</Kit>\r\n <NotConsumeCredit>1</NotConsumeCredit>\r\n <DisregardReorder>1</DisregardReorder>\r\n <DisregardProdProntMinima>1</DisregardProdProntMinima>\r\n <Summary Description>str1234</Summary Description>\r\n <Description>str1234</Description>\r\n <Technical File>str1234</Technical File> \r\n <TargetPublic>str1234</TargetPublic>\r\n <Launch Cycle>123</Launch Cycle>\r\n <Discontinuation Cycle>123</Discontinuation Cycle>\r\n <CampaignLimitReorder >123</CampaignReorderLimit>\r\n <Keyword>str1234</Keyword>\r\n <AllowsUseOrderPlan>1</AllowsUseOrderPlan>\r\n <Product ReleaseMessage>str1234</Product ReleaseMessage><i >\n <ProductDisclosureCodCoverage>123</ProductDisclosureCodCoverage>\r\n <Materials>\r\n <Material>\r\n <CodMaterial>123</CodMaterial>\r\n <SKUCode>str1234</SKUCode>\r\n <EANCode>str1234</EANCode>\r\n <Name>str1234</Name> \r\n <Type>1</Type>\r\n <Category>1</Category>\r\n <Volume>123.00</Volume>\r\n <Weight >123.00</Weight>\r\n <Weight Precision Control>1</Weight Precision Control>\r\n <Measure Unit>1</Measure Unit>\r\n <Box Unit>1234</Box Unit><i >\n <SuspendedSale>1</SuspendedSale>\r\n <Situation>1</Situation>\r\n <Quality Control>1</Quality Control>\r\n <Origin>1 </Origin>\r\n <CountryOrigin>1234</CountryOrigin>\r\n <ClassificacaoFiscal>1234</ClassificacaoFiscal>\r\n <ClassificacaoContabil>1</ClassificacaoContabil>\r\n <LoteDeFabricacaoControleLote>1</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDeFabricacaoControleLote>123</LoteDeFabricacaoControleLote>\r\n <LoteDeFabricacaoDiasAlertaVencimento>123</LoteDiasAlertaVencimento>123</LoteDe \r\n <LoteDeFabricacaoDiasUsoLote>123</LoteDeFabricacaoDiasUsoLote>\r\n <LoteDeFabricacaoDiasRecusaLote>123</LoteDeFabricacaoDiasRecusaLote>\r\n <NumeroFCI>str1234</NumeroFCI>< >123.00</PercentualFCI>\r\n <Priority>1</Priority>\r\n <CodAbrangencia>123</CodAbrangencia>\r\n <Quantity>123</Quantity><i >\n <PartDoItem>123.00</PartDoItem>\r\n <CutOption>1</CutOption>\r\n <UnavailabilityOption>1</UnavailabilityOption>\r\n <SubstituteCod>123</SubstituteCod>\r\n <ABCClassification>str1234</ABCClassification>\r\n <Costs>\r<br > <DistributionChannel Costs>\r\n <DistributionChannel>123</DistributionChannel>\r\n <StandardCost>123.00</StandardCost>\r\n <AverageCost>123.00</AverageCost>\r\n br> <LastReplacementCost>123.00</LastReplacementCost>\r\n </DistributionChannelCost>\r\n </Costs>\r\n <Initial StockStockCode>str1234</Initial StockStockCode>\r\n <InitialStockQuantity>123</InitialStockQuantity>\r\n </Material>\r\n </Materials>\r\n <Structures>\r\n <Structure>\r< br> <StructureCod>123</StructureCod>\r\n </Structure>\r\n </Structures>\r\n <Types>\r\n <Type>\r< br> <ProductType>1</ProductType>\r\n <StartCycle>123</StartCycle>\r\n </Type>\r\n </Types>\r\n <Related>\r\n <Related>\r\n <RelationshipType>1</RelationshipType>\r\n <RelatedProductCod>1</RelatedProductCod>\r\n <Scope>123 </Scope>\r\n <AutoRelationship>1</AutoRelationship>\r\n </Relationship>\r\n </Relationship>\r\n <ClassificationsValue>\r \n <ClassificacaoValue>\r\n <CodGrupoClassificacao>123</CodGrupoClassificacao>\r\n <ClassificationCod>123</ClassificationCod>\r\n </ClassificationValue>\r\n </ClassificationsValue>\r\n <RestricoesVendaAbrangencia>\r\n <RestricoesVendaAbrangencia>\r< br> <CodAbrangencia>123</CodAbrangencia>\r\n </RestrictionVendaAbrangencia>\r\n </RestrictionsVendaAbrangencia>\r\n <ReasonalsBlocks>\r\n <ReasonalBlock><i > \r\n </ReasonsBlocks>\r\n <Payment Plans>\r\n <Payment Plan Standard>\r\n <CodPlanoPagamento>123</CodPlanoPagamento>\r\n <AllowsJoinParcels>1</AllowsJoinParcels>\r\n </PagamentoPagamentoPagamento>\r\n </PagamentoPlans>\r\n <Distributors >\r\n <Distributor>\r\n <DistributorCode>123</DistributorCode>\r\n </Distributor>\r\n </Distributor>\r\n </Registration>\r\n </ProdutoMaterialProdutoStandardERPIn_v2>\r\n </ArrayOfProdutoMaterialProdutoStandardERPIn_v2>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n<soap:Body>\n<ImportacaoResponse xmlns=\"http://www.geravd.com.br/\">\n<IntegracaoResult>\n<DataHora>2021-07-29T13:07:48.8600801</DataHora>\n<Erros />\n</IntegracaoResult>\n</ImportacaoResponse>\n</soap:Body>\n</soap:Envelope>"}],"_postman_id":"c1ac8407-9e61-42cf-825d-22a6ef33bfe5"}],"id":"1793b289-e991-47bf-9a6e-4dcbe68e9158","_postman_id":"1793b289-e991-47bf-9a6e-4dcbe68e9158","description":""},{"name":"Product Structure","item":[{"name":"v1.0 product structure","id":"9869a8e3-d928-48c4-80e8-19e710173980","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>\r \n<![CDATA[<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n <StructuresProduct_v1 xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd= \"http://www.w3.org/2001/XMLSchema\">\r\n <Vision>\r\n <Registration>\r\n <StructureCode>123</StructureCode><i >\n <Name>str1234</Name>\r\n <AvailableVirtualStore>1</AvailableVirtualStore>\r\n <Situation>1</Situation>\r\n <Concept>str1234 </Concept>\r\n <TypeAssociacaoProdutosVisao>1</TipoAssociacaoProdutosVisao>\r\n <EstruturaPai></EstruturaPai>\r\n <NumeroLevels></NumeroLevels>\r\n <DescriptionLevels>\r\n <DescriptionLevel1></DescriptionLevel1>\r\n <DescriptionLevel2></DescriptionLevel2>\r\n <DescriptionLevel3></DescriptionLevel3>\r\n <DescriptionLevel4></DescriptionLevel4>\r\n <DescriptionLevel5></DescriptionLevel5>\r\n <DescriptionLevel6></DescriptionLevel6>\r< br> <DescricaoLevel7></DescricaoLevel7>\r\n <DescricaoLevel8></DescricaoLevel8>\r\n <DescricaoLevel9></DescricaoLevel9>\r\n </DescricaoLevels>\r<br > </Registration>\r\n </Vision>\r\n <Structure>\r\n <Register>\r\n <StructureCode>123</StructureCode>\r \n <Name>str1234</Name>\r\n <AvailableVirtualStore>1</AvailableVirtualStore>\r\n <Situation>1</Situation>\r\n <Concept>str1234< /Concept>\r\n <TipoAssociacaoProdutosVisao>1</TipoAssociacaoProdutosVisao>\r\n <EstruturaPai>123</EstruturaPai>\r\n <NumeroLevels>123</NumeroLevels>\r\n <DescriptionLevels>\r<br > <DescriptionLevel1>str1234</DescriptionLevel1>\r\n <DescriptionLevel2>str1234</DescriptionLevel2>\r\n <DescriptionLevel3>str1234</DescriptionLevel3>\r\n <DescriptionLevel4>str1234</DescriptionLevel4 >\r\n <DescriptionLevel5>str1234</DescriptionLevel5>\r\n <DescriptionLevel6>str1234</DescriptionLevel6>\r\n <DescriptionLevel7>str1234</DescriptionLevel7>\r\n < DescriptionLevel8>str1234</DescriptionLevel8>\r\n <DescriptionLevel9>str1234</DescriptionLevel9>\r\n </DescriptionLevels>\r\n </Registration>\r\n </Structure>\r\n </StructuresProduct_v1>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This interface is used to import the records of a product structure into <strong>Let</strong>. </p>\n<ul>\n<li><p>Interface name: <code>EstruturaProdutoPadraoInERP</code>;</p>\n</li>\n<li><p>Interface version: <code>1.0</code>.</p>\n</li>\n</ul>\n<h2 id=\"product-structure\">Product Structure</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>View</code></td>\n<td>List of Objects of type <code>Structure</code></td>\n<td></td>\n<td>Yes</td>\n<td>It is used to register or upload a structure of the highest level</td>\n</tr>\n<tr>\n<td><code>Structure</code></td>\n<td>List of Objects of type <code>Structure</code></td>\n<td></td>\n<td>Yes</td>\n<td>It is used to register a structure below a view</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"structure\">Structure</h6>\n<ul>\n<li><code>Structure</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>StructureCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Structure Code</td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Structure name</td>\n</tr>\n<tr>\n<td><code>Available Virtual Store</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates whether the structure is available in the <code>Virtual Store</code>.<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Situation</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Structure status code.<table><tbody><tr><td>0</td><td>Inactive</td></tr><tr><td>1</td><td>Active</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Concept</code></td>\n<td>String</td>\n<td>200</td>\n<td>Yes</td>\n<td>Structure description</td>\n</tr>\n<tr>\n<td><code>TypeAssociacaoProdutosVisao</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td><table><tbody><tr><td>1</td><td>single structure</td></tr><tr><td>2</td><td>Multiple Structures</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Parent Structure</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Parent structure code. <strong>Must not be filled when the structure in question is a <code>View</code></strong></td>\n</tr>\n<tr>\n<td><code>NumberLevels</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Number of hierarchy levels related to the structure in question. <strong>Must not be filled when the structure in question is a <code>View</code></strong></td>\n</tr>\n<tr>\n<td><code>DescriptionLevels</code></td>\n<td>Object of type <code>DescriptionLevels</code></td>\n<td>N/A</td>\n<td>Yes</td>\n<td>Description of each hierarchy level. <strong>Must not be filled when the structure in question is a <code>View</code></strong></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"description-of-levels\">Description of Levels</h6>\n<ul>\n<li><code>Description Levels</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DescriptionLevel1</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the first level of the structure</td>\n</tr>\n<tr>\n<td><code>DescriptionLevel2</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the second level of the structure</td>\n</tr>\n<tr>\n<td><code>DescriptionLevel3</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the third level of the structure</td>\n</tr>\n<tr>\n<td><code>DescriptionLevel4</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the fourth level of the structure</td>\n</tr>\n<tr>\n<td><code>DescriptionLevel5</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the fifth level of the structure</td>\n</tr>\n<tr>\n<td><code>DescriptionLevel6</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the sixth level of structure</td>\n</tr>\n<tr>\n<td><code>DescriptionLevel7</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the seventh level of the structure</td>\n</tr>\n<tr>\n<td><code>DescriptionLevel8</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the eighth level of the structure</td>\n</tr>\n<tr>\n<td><code>DescriptionLevel9</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Description of the ninth level of the structure</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[{"id":"1ac6d359-f3f4-435e-b2a4-77ed066663e1","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>\r \n<![CDATA[<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n <StructuresProduct_v1 xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd= \"http://www.w3.org/2001/XMLSchema\">\r\n <Vision>\r\n <Registration>\r\n <StructureCode>123</StructureCode><i >\n <Name>str1234</Name>\r\n <AvailableVirtualStore>1</AvailableVirtualStore>\r\n <Situation>1</Situation>\r\n <Concept>str1234 </Concept>\r\n <TypeAssociacaoProdutosVisao>1</TipoAssociacaoProdutosVisao>\r\n <EstruturaPai></EstruturaPai>\r\n <NumeroLevels></NumeroLevels>\r\n <DescriptionLevels>\r\n <DescriptionLevel1></DescriptionLevel1>\r\n <DescriptionLevel2></DescriptionLevel2>\r\n <DescriptionLevel3></DescriptionLevel3>\r\n <DescriptionLevel4></DescriptionLevel4>\r\n <DescriptionLevel5></DescriptionLevel5>\r\n <DescriptionLevel6></DescriptionLevel6>\r< br> <DescricaoLevel7></DescricaoLevel7>\r\n <DescricaoLevel8></DescricaoLevel8>\r\n <DescricaoLevel9></DescricaoLevel9>\r\n </DescricaoLevels>\r<br > </Registration>\r\n </Vision>\r\n <Structure>\r\n <Register>\r\n <StructureCode>123</StructureCode>\r \n <Name>str1234</Name>\r\n <AvailableVirtualStore>1</AvailableVirtualStore>\r\n <Situation>1</Situation>\r\n <Concept>str1234< /Concept>\r\n <TipoAssociacaoProdutosVisao>1</TipoAssociacaoProdutosVisao>\r\n <EstruturaPai>123</EstruturaPai>\r\n <NumeroLevels>123</NumeroLevels>\r\n <DescriptionLevels>\r<br > <DescriptionLevel1>str1234</DescriptionLevel1>\r\n <DescriptionLevel2>str1234</DescriptionLevel2>\r\n <DescriptionLevel3>str1234</DescriptionLevel3>\r\n <DescriptionLevel4>str1234</DescriptionLevel4 >\r\n <DescriptionLevel5>str1234</DescriptionLevel5>\r\n <DescriptionLevel6>str1234</DescriptionLevel6>\r\n <DescriptionLevel7>str1234</DescriptionLevel7>\r\n < DescriptionLevel8>str1234</DescriptionLevel8>\r\n <DescriptionLevel9>str1234</DescriptionLevel9>\r\n </DescriptionLevels>\r\n </Registration>\r\n </Structure>\r\n </StructuresProduct_v1>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ImportacaoResponse xmlns=\"http://www.geravd.com.br/\">\r \n<IntegracaoResult>\r \n<DataHora>Processing date (YYYY-MM-DDThh:mm:ss)</DataHora>\r \n<Erros>\r \n<DescricaoErro>Description of the error found, if any</DescricaoErro>\r \n</Erros>\r \n</IntegracaoResult>\r \n</ImportacaoResponse>\r \n</soap:Body>\r \n</soap:Envelope>"},{"id":"e59d7a0f-fd7d-494b-825c-9aac516b2987","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ImportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosImportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n<CodigoTicket>Unique caller ID</CodigoTicket>\r \n<Ticket>\r \n<![CDATA[<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n <StructuresProduct_v1 xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd= \"http://www.w3.org/2001/XMLSchema\">\r\n <Vision>\r\n <Registration>\r\n <StructureCode>123</StructureCode><i >\n <Name>str1234</Name>\r\n <AvailableVirtualStore>1</AvailableVirtualStore>\r\n <Situation>1</Situation>\r\n <Concept>str1234 </Concept>\r\n <TypeAssociacaoProdutosVisao>1</TipoAssociacaoProdutosVisao>\r\n <EstruturaPai></EstruturaPai>\r\n <NumeroLevels></NumeroLevels>\r\n <DescriptionLevels>\r\n <DescriptionLevel1></DescriptionLevel1>\r\n <DescriptionLevel2></DescriptionLevel2>\r\n <DescriptionLevel3></DescriptionLevel3>\r\n <DescriptionLevel4></DescriptionLevel4>\r\n <DescriptionLevel5></DescriptionLevel5>\r\n <DescriptionLevel6></DescriptionLevel6>\r< br> <DescricaoLevel7></DescricaoLevel7>\r\n <DescricaoLevel8></DescricaoLevel8>\r\n <DescricaoLevel9></DescricaoLevel9>\r\n </DescricaoLevels>\r<br > </Registration>\r\n </Vision>\r\n <Structure>\r\n <Register>\r\n <StructureCode>123</StructureCode>\r \n <Name>str1234</Name>\r\n <AvailableVirtualStore>1</AvailableVirtualStore>\r\n <Situation>1</Situation>\r\n <Concept>str1234< /Concept>\r\n <TipoAssociacaoProdutosVisao>1</TipoAssociacaoProdutosVisao>\r\n <EstruturaPai>123</EstruturaPai>\r\n <NumeroLevels>123</NumeroLevels>\r\n <DescriptionLevels>\r<br > <DescriptionLevel1>str1234</DescriptionLevel1>\r\n <DescriptionLevel2>str1234</DescriptionLevel2>\r\n <DescriptionLevel3>str1234</DescriptionLevel3>\r\n <DescriptionLevel4>str1234</DescriptionLevel4 >\r\n <DescriptionLevel5>str1234</DescriptionLevel5>\r\n <DescriptionLevel6>str1234</DescriptionLevel6>\r\n <DescriptionLevel7>str1234</DescriptionLevel7>\r\n < DescriptionLevel8>str1234</DescriptionLevel8>\r\n <DescriptionLevel9>str1234</DescriptionLevel9>\r\n </DescriptionLevels>\r\n </Registration>\r\n </Structure>\r\n </StructuresProduct_v1>]]>\r \n</Ticket>\r \n</ParametrosImportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n<soap:Body>\n<ImportacaoResponse xmlns=\"http://www.geravd.com.br/\">\n<IntegracaoResult>\n<DataHora>2021-07-29T13:07:48.8600801</DataHora>\n<Erros />\n</IntegracaoResult>\n</ImportacaoResponse>\n</soap:Body>\n</soap:Envelope>"}],"_postman_id":"9869a8e3-d928-48c4-80e8-19e710173980"}],"id":"cb30e52e-47fb-4449-84e3-fbb428c87fd0","_postman_id":"cb30e52e-47fb-4449-84e3-fbb428c87fd0","description":""}],"id":"c32698bb-5c9c-46ef-b97b-af526cd0d90d","_postman_id":"c32698bb-5c9c-46ef-b97b-af526cd0d90d","description":""},{"name":"Output Interfaces","item":[{"name":"Request","item":[{"name":"Order v2.1","id":"4de133e2-eaea-41e9-b238-f455549b9097","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ExportarDados\"","type":"text"},{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosExportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>OUT interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n</ParametrosExportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This interface is used to export the records of a <strong>Let</strong> order. </p>\n<ul>\n<li><p>Interface name: <code>RequestPatternERPOut</code>;</p>\n</li>\n<li><p>Interface version: <code>2.1</code>.</p>\n</li>\n</ul>\n<h2 id=\"request\">Request</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td>Yes</td>\n<td>Entity export control document code - in this case, the order</td>\n</tr>\n<tr>\n<td><code>OrderCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Order code. This field is the <strong>key</strong> of the order</td>\n</tr>\n<tr>\n<td><code>CommercialSituation</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the commercial status of the order.<table><tbody><tr><td>1</td><td>fundraising</td></tr><tr><td>2</td><td>Called off</td></tr><tr><td>3</td><td>In separation</td></tr><tr><td>4</td><td>Pending</td></tr><tr><td>5</td><td>On carriage</td></tr><tr><td>6</td><td>Delivered</td></tr><tr><td>7</td><td>Reserved</td></tr><tr><td>8</td><td>Approved</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Fiscal Status</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the tax status of the order.<table><tbody><tr><td>1</td><td>Not Billed</td></tr><tr><td>2</td><td>Invoice Issued</td></tr><tr><td>3</td><td>Canceled Invoice</td></tr><tr><td>4</td><td>Returned Invoice</td></tr><tr><td>5</td><td>Available for Billing</td></tr><tr><td>6</td><td>Donation Document Issued</td></tr><tr><td>7</td><td>Transference request</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Campaign</code></td>\n<td>Integer</td>\n<td>AAAACC</td>\n<td>Yes</td>\n<td>Order creation campaign. E.g.: 201403</td>\n</tr>\n<tr>\n<td><code>Marketing Campaign</code></td>\n<td>Integer</td>\n<td>AAAACC</td>\n<td>Yes</td>\n<td>Order marketing campaign. E.g.: 201402</td>\n</tr>\n<tr>\n<td><code>Indicator Campaign</code></td>\n<td>Integer</td>\n<td>AAAACC</td>\n<td>No</td>\n<td>Order \"indicator\" campaign - campaign in which it is considered for indicators (Billing). E.g.: 201404</td>\n</tr>\n<tr>\n<td><code>Function</code></td>\n<td>String</td>\n<td>50</td>\n<td>Yes</td>\n<td>Name of the <code>Function</code> considered to capture the order</td>\n</tr>\n<tr>\n<td><code>Paper</code></td>\n<td>String</td>\n<td>50</td>\n<td>Yes</td>\n<td>Name of the <code>Paper</code> considered for capturing the order</td>\n</tr>\n<tr>\n<td><code>Distribution Center</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>External code defined in the registration of the <code>Distribution Center</code>. If not filled in, the Distribution Center Name will be used</td>\n</tr>\n<tr>\n<td><code>DistributionCenterType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the type of <code>Distribution Center</code>.<table><tbody><tr><td>1</td><td>CD/PA</td></tr><tr><td>2</td><td>Physical Store/Service Center</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Invoicing Distribution Center</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>External code defined in the registration of the <code>Distribution Center</code> and considered in the billing. If not filled in, the Distribution Center Name will be used</td>\n</tr>\n<tr>\n<td><code>Order DateTime</code></td>\n<td>dateTime</td>\n<td>YYYY-mm-DDTHH:MM:ss</td>\n<td>Yes</td>\n<td>Order date</td>\n</tr>\n<tr>\n<td><code>Approval DateTime</code></td>\n<td>dateTime</td>\n<td>YYYY-mm-DDTHH:MM:ss</td>\n<td>Yes</td>\n<td>Order approval date</td>\n</tr>\n<tr>\n<td><code>Account Account</code></td>\n<td>Object of type <code>AccountAccount</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section that contains the data of the ledger account used in the order capture</td>\n</tr>\n<tr>\n<td><code>Medium Capture</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the means of capturing the order.<table><tbody><tr><td>1</td><td>Let Self Service</td></tr><tr><td>2</td><td>Let Call Center</td></tr><tr><td>3</td><td>Customer Service Request</td></tr><tr><td>4</td><td>OrderReorder</td></tr><tr><td>5</td><td>Virtual store</td></tr><tr><td>6</td><td>Request EDI</td></tr><tr><td>7</td><td>Refilling</td></tr><tr><td>8</td><td>FV</td></tr><tr><td>9</td><td>SV</td></tr><tr><td>11</td><td>TransferDistributor</td></tr><tr><td>12</td><td>Scheduled Purchase</td></tr><tr><td>13</td><td>Service Center</td></tr><tr><td>14</td><td>Physical store</td></tr><tr><td>15</td><td>Consolidated Order</td></tr><tr><td>16</td><td>LetLightAutoService</td></tr><tr><td>17</td><td>LetLightCallCenter</td></tr><tr><td>18</td><td>LetLightSV</td></tr><tr><td>19</td><td>LetLightFV</td></tr><tr><td>20</td><td>LetLight Physical Store</td></tr><tr><td>21</td><td>LetLightCenterService</td></tr><tr><td>22</td><td>LetLightMobileAutoService</td></tr><tr><td>23</td><td>LetLightMobileCallCenter</td></tr><tr><td>24</td><td>LetLightMobileSV</td></tr><tr><td>25</td><td>LetLightMobileFV</td></tr><tr><td>26</td><td>LetLightMobileLojaPhysica</td></tr><tr><td>27</td><td>LetLightMobileCenterService</td></tr><tr><td>28</td><td>SiteReseller</td></tr><tr><td>29</td><td>External System</td></tr><tr><td>30</td><td>LetAPI</td></tr><tr><td>31</td><td>PDVAPI</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Origin System</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the system of origin of the order.<table><tbody><tr><td>1</td><td>let</td></tr><tr><td>2</td><td>LetLight</td></tr><tr><td>3</td><td>Virtual store</td></tr><tr><td>4</td><td>External System</td></tr><tr><td>5</td><td>LetSAC</td></tr><tr><td>6</td><td>Consolidated Order</td></tr><tr><td>7</td><td>API</td></tr><tr><td>8</td><td>PDVAPI</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>BusinessModelCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>BusinessModel Code. This field is the <strong>key</strong>of the business model</td>\n</tr>\n<tr>\n<td><code>CommercialModel</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Business model used and which defines the order capture rules</td>\n</tr>\n<tr>\n<td><code>Volume</code></td>\n<td>Decimal</td>\n<td>(10, 2)</td>\n<td>Yes</td>\n<td>Volume in** milliliters**</td>\n</tr>\n<tr>\n<td><code>Weight</code></td>\n<td>Decimal</td>\n<td>(10, 2)</td>\n<td>Yes</td>\n<td>Weight in<strong>grams</strong></td>\n</tr>\n<tr>\n<td><code>Residual Current Account Value</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Residual current account value applied to the order. It is the resulting balance between credits and debits, which can be positive or negative. If no checking account is linked to the order, this value will be <em>zero</em></td>\n</tr>\n<tr>\n<td><code>External CodeDelivery Policy</code></td>\n<td>Integer</td>\n<td></td>\n<td>Yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>DeliveryOption</code></td>\n<td>String</td>\n<td></td>\n<td>Yes</td>\n<td></td>\n</tr>\n<tr>\n<td><code>Order Delivery</code></td>\n<td>Object of type <code>Order Delivery</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section containing the order delivery data</td>\n</tr>\n<tr>\n<td><code>PersonaOrder</code></td>\n<td>Object of type <code>PersonaOrder</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section that contains some basic data to identify the person who placed the order</td>\n</tr>\n<tr>\n<td><code>Order Items</code></td>\n<td>List of objects of type <code>Order Item</code></td>\n<td></td>\n<td>Yes</td>\n<td>Order Item List</td>\n</tr>\n<tr>\n<td><code>Goodies</code></td>\n<td>List of objects of type <code>Toast</code></td>\n<td></td>\n<td>Yes</td>\n<td>List of freebies from the order</td>\n</tr>\n<tr>\n<td><code>Crop Items</code></td>\n<td>List of objects of type <code>Crop Item</code></td>\n<td></td>\n<td>Yes</td>\n<td>List of cut items from order</td>\n</tr>\n<tr>\n<td><code>DistributionAmountsPayment</code></td>\n<td>List of objects of type <code>DistributionAmountsPayment</code></td>\n<td></td>\n<td>Yes</td>\n<td>List of amounts to be paid for this order. Contains information even for orders paid with a single payment method, or with payment plans by product</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"account\">Account</h6>\n<ul>\n<li><code>Accounting Account</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Account Code Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>G/L Account Code</td>\n</tr>\n<tr>\n<td><code>G/L Account</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>G/L Account Description</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"delivery\">Delivery</h6>\n<ul>\n<li><code>Delivery</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Delivery Policy</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>External code defined in the registration of the <code>Delivery Policy</code>. If not filled in, the name of the <code>Delivery Policy</code> will be used</td>\n</tr>\n<tr>\n<td><code>Delivery Amount</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>No</td>\n<td>Order delivery amount</td>\n</tr>\n<tr>\n<td><code>DeliveryCodeArea</code></td>\n<td>String</td>\n<td>15</td>\n<td>No</td>\n<td>Delivery address area code</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel0</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Base Level of the Geographical Structure of the Delivery Address</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel1</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>First Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel2</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Second Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel3</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Third Level Geographic Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel4</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Fourth Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel5</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Fifth Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel6</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Sixth Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel7</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Seventh Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel8</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Eighth Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel9</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Ninth Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Delivery Number</code></td>\n<td>String</td>\n<td>10</td>\n<td>No</td>\n<td>Delivery address number</td>\n</tr>\n<tr>\n<td><code>Delivery Addendum</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Delivery Address Addendum</td>\n</tr>\n<tr>\n<td><code>DeliveryReference</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Delivery address reference</td>\n</tr>\n<tr>\n<td><code>Scheduled Delivery Date</code></td>\n<td>dateTime</td>\n<td>YYYY-mm-DDTHH:MM:ss</td>\n<td>No</td>\n<td>Expected delivery date at the time the order is merged. This date is updated throughout the life of the order; at the time of integration, it may be outdated. It should only serve as a basis, not being considered exact information</td>\n</tr>\n<tr>\n<td><code>DeliveryNeighbor</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates whether the order can be delivered to a neighbor's address.<table><tbody><tr><td>1</td><td>Does not authorize delivery</td></tr><tr><td>2</td><td>Right Neighbor Delivery</td></tr><tr><td>3</td><td>Left Neighbor Delivery</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>DeliveryNumberNeighbor</code></td>\n<td>String</td>\n<td>10</td>\n<td>No</td>\n<td>Number of the neighbor to which delivery was authorized</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"people\">People</h6>\n<ul>\n<li><code>Person</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Person Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Code of the person registered in <strong>Let</strong>. This field is the person's <strong>key</strong></td>\n</tr>\n<tr>\n<td><code>PersonName</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Information identifying the person.<table><tbody><tr><td>Physical person</td><td>Name</td></tr><tr><td>Legal person</td><td>Corporate Name</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>PersonType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code indicating the person's type.<table><tbody><tr><td>1</td><td>Physical person</td></tr><tr><td>2</td><td>Legal person</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Identification</code></td>\n<td>String</td>\n<td>20</td>\n<td>Yes</td>\n<td>Document that identifies the person. Defined as the \"Main Document\" according to the type of person (CPF, CNPJ etc.)</td>\n</tr>\n<tr>\n<td><code>IdentificationType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that identifies the document's type.<table><thead><tr><th>1</th><th>ID</th></tr></thead><tbody><tr><td>2</td><td>CPF</td></tr><tr><td>3</td><td>Voter Title</td></tr><tr><td>4</td><td>CNH</td></tr><tr><td>5</td><td>CNPJ</td></tr><tr><td>6</td><td>State registration</td></tr><tr><td>7</td><td>RUT - Chile</td></tr><tr><td>8</td><td>CedulaCidadania - Colombia</td></tr><tr><td>9</td><td>NIT - (Colombia</td></tr><tr><td>10</td><td>PIS</td></tr><tr><td>11</td><td>DNI - Argentina</td></tr><tr><td>12</td><td>CUIT - Argentina (Unique Tax Identification Key)</td></tr><tr><td>13</td><td>CUIT_PF - (CUIT used in PF registration)</td></tr><tr><td>14</td><td>LC - Argentina (Libreta Civicas)</td></tr><tr><td>15</td><td>CI - Argentina (ID Card)</td></tr><tr><td>16</td><td>LE - Argentina (Libreta de Enrolamiento)</td></tr><tr><td>17</td><td>DNI_PE - Peru (National Identity Document)</td></tr><tr><td>18</td><td>Foreign Portfolio - Peru</td></tr><tr><td>19</td><td>RUC - Peru (Unique Taxpayer Register)</td></tr><tr><td>20</td><td>RUC_PF - Peru (RUC used in the PF registration)</td></tr><tr><td>21</td><td>IFE - Mexico (IFE - Federal Electoral Institute) - Voter's Document</td></tr><tr><td>22</td><td>PasaporteFM - Mexico (Passport or FM1/FM2 - Migration Document)</td></tr><tr><td>23</td><td>RFC_PF - Mexico (Federal Taxpayers Registry) - PF</td></tr><tr><td>24</td><td>RFC - Mexico (Federal Taxpayers Registry) - PJ</td></tr><tr><td>25</td><td>OtherDoc1 - Mexico</td></tr><tr><td>26</td><td>OtherDoc2 - Mexico</td></tr><tr><td>27</td><td>CURP - Mexico</td></tr><tr><td>28</td><td>CI_CIE - Bolivia</td></tr></tbody></table></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"items\">Items</h6>\n<ul>\n<li><code>Item</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ItemNumber</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Number that indicates the \"index\" of that item within the order. This number will not necessarily be sequential, nor will it be guaranteed that there will be no gaps without some number occurring. It is used to identify the item within the order and should not necessarily be used as a way of sequencing the items</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Amount of units of this item in the order</td>\n</tr>\n<tr>\n<td><code>TablePrice</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>Unitary</strong>Table Price of this item</td>\n</tr>\n<tr>\n<td><code>Price Practiced</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Price Practiced<strong>unit</strong>of this item</td>\n</tr>\n<tr>\n<td><code>NetPrice</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Net Price<strong>unit</strong> of this item</td>\n</tr>\n<tr>\n<td><code>CostPrice</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>Unitary</strong>Cost Price of this item</td>\n</tr>\n<tr>\n<td><code>Commission Amount</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>Unitary</strong> commission amount for this item</td>\n</tr>\n<tr>\n<td><code>Amount of Points</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td><strong>Unitary</strong> amount of points for this item. This field can be disregarded in case of configuration to use <em>currency score</em> (R$)</td>\n</tr>\n<tr>\n<td><code>Kit</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td><table><thead><tr><th>s</th><th>The item is a Kit</th></tr></thead><tbody><tr><td>N</td><td>Item is not a Kit</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>ProductType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the type of product in the order.<table><thead><tr><th>1</th><th>Regular Cosmetics</th></tr></thead><tbody><tr><td>2</td><td>Support material</td></tr><tr><td>3</td><td>Special discount</td></tr><tr><td>4</td><td>Gift</td></tr><tr><td>5</td><td>Bazaar</td></tr><tr><td>6</td><td>Pre launch</td></tr><tr><td>7</td><td>no type</td></tr><tr><td>8</td><td>Packaging</td></tr><tr><td>9</td><td>RegularNo Cosmetics</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Product</code></td>\n<td>Object of type <code>Product - Item</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section containing the information of the product indicated by this order item</td>\n</tr>\n<tr>\n<td><code>AccountAccount</code></td>\n<td>Object of type <code>AccountAccount</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section that contains the data of the G/L account used specifically for the item, if there is such an association</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"gifts\">Gifts</h6>\n<ul>\n<li><code>Toast</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>GiftItemNumber</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Number that indicates the \"index\" of this gift within the order. This number will not necessarily be sequential, nor will it be guaranteed that there will be no gaps without some number occurring. It is used to identify the freebie within the order and should not necessarily be used as a form of sequencing the freebies</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Amount of units of this gift in the order</td>\n</tr>\n<tr>\n<td><code>Table Price</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>Unitary</strong>Table Price of this gift</td>\n</tr>\n<tr>\n<td><code>Cost Price</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>unit price</strong> of this gift</td>\n</tr>\n<tr>\n<td><code>Kit</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td><table><thead><tr><th>s</th><th>The freebie is a kit</th></tr></thead><tbody><tr><td>N</td><td>The freebie is not a kit</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>ProductType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the type of product on the gift.<table><thead><tr><th>1</th><th>Regular Cosmetics</th></tr></thead><tbody><tr><td>2</td><td>Support material</td></tr><tr><td>3</td><td>Special discount</td></tr><tr><td>4</td><td>Gift</td></tr><tr><td>5</td><td>Bazaar</td></tr><tr><td>6</td><td>Pre launch</td></tr><tr><td>7</td><td>no type</td></tr><tr><td>8</td><td>Packaging</td></tr><tr><td>9</td><td>RegularNo Cosmetics</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Product</code></td>\n<td>Object of the type <code>Product - Gift</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section containing the information of the product indicated by this order gift</td>\n</tr>\n<tr>\n<td><code>Promotion</code></td>\n<td>Object of type <code>Promotion</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section containing the promotion information related to the gift</td>\n</tr>\n<tr>\n<td><code>Account Account</code></td>\n<td>Object of type <code>AccountAccount</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section containing the data of the ledger account used specifically for the gift, if such association exists</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"clipped-items\">Clipped Items</h6>\n<ul>\n<li><code>Cut Item</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>TablePrice</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>Unitary</strong>Table Price of this item</td>\n</tr>\n<tr>\n<td><code>Price Practiced</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Price Practiced<strong>unit</strong> of this item</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Amount of units cut from this item</td>\n</tr>\n<tr>\n<td><code>ReasonCutOrderItem</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that indicates the reason for cutting this item.<table><thead><tr><th>1</th><th>Product Vision</th></tr></thead><tbody><tr><td>2</td><td>Unregistered price</td></tr><tr><td>3</td><td>Material not registered</td></tr><tr><td>4</td><td>Quota Exhausted</td></tr><tr><td>5</td><td>Insufficient stock</td></tr><tr><td>6</td><td>Suspense Sale</td></tr><tr><td>7</td><td>Credit Limit Exceeded</td></tr><tr><td>8</td><td>Discontinued product</td></tr><tr><td>9</td><td>Stock Separation</td></tr><tr><td>10</td><td>Quota per Out of Person</td></tr><tr><td>11</td><td>Incomplete Product Registration</td></tr><tr><td>12</td><td>Insufficient Physical Stock</td></tr><tr><td>13</td><td>Donation not allowed</td></tr><tr><td>14</td><td>Stock Separation Adjustment</td></tr><tr><td>15</td><td>Stock Separation Adjustment Incorporated</td></tr><tr><td>16</td><td>Substitute Separation Stock</td></tr><tr><td>18</td><td>Conditional Sale Limit</td></tr><tr><td>19</td><td>Non-existent External System Registration</td></tr><tr><td>20</td><td>Product in Quotas</td></tr><tr><td>21</td><td>Non-Belonging Product Seller Portfolio</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Product</code></td>\n<td>Object of type <code>Product - Cut Item</code></td>\n<td></td>\n<td>Yes</td>\n<td>Section containing the information of the product indicated by this order item</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"distribution-of-payment-amounts\">Distribution of Payment Amounts</h6>\n<ul>\n<li><code>Distribution Amounts Payment</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PaymentPlanCode</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td>External payment plan code</td>\n</tr>\n<tr>\n<td><code>Amount</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Base amount to be paid through this payment plan. <strong>Does not include</strong> charge fee</td>\n</tr>\n<tr>\n<td><code>ChargingRate</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Collection fee amount generated by choosing this payment plan</td>\n</tr>\n<tr>\n<td><code>FlagCode</code></td>\n<td>String</td>\n<td>20</td>\n<td>No</td>\n<td>Relevant only for card payments. External code of the card's flag. In the absence of an external code, send card description</td>\n</tr>\n<tr>\n<td><code>FlagType</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Relevant for card payments only. Flag type.<table><thead><tr><th>1</th><th>Credit</th></tr></thead><tbody><tr><td>2</td><td>debt</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Amount of Installments</code></td>\n<td>Integer</td>\n<td>2</td>\n<td>Yes</td>\n<td>Amount of installments selected for payment - either configured in the payment plan or chosen by the user, when paying via credit card</td>\n</tr>\n<tr>\n<td><code>OperatorAuthorizationCode</code></td>\n<td>String</td>\n<td>6</td>\n<td>No</td>\n<td>Relevant only for card payments. Card payment authorization code</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"products\">Products</h4>\n<ul>\n<li><code>Product - Item</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product code. This field is the <strong>key</strong> of the product</td>\n</tr>\n<tr>\n<td><code>ProductName</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Product Name</td>\n</tr>\n<tr>\n<td><code>Materials</code></td>\n<td>List of objects of type <code>Material - Item</code></td>\n<td></td>\n<td>Yes</td>\n<td>List of materials that make up the product. It will be greater than 1 in case of kits or different priorities of materials in the same product</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><code>Product - Gift</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product code. This field is the <strong>key</strong> of the product</td>\n</tr>\n<tr>\n<td><code>ProductName</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Product Name</td>\n</tr>\n<tr>\n<td><code>Materials</code></td>\n<td>List of objects of type <code>Material - Gift</code></td>\n<td></td>\n<td>Yes</td>\n<td>List of materials that make up the product. It will be greater than 1 in case of kits or different priorities of materials in the same product</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><code>Product - Cut Item</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Product code. This field is the <strong>key</strong> of the product</td>\n</tr>\n<tr>\n<td><code>ProductName</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Product Name</td>\n</tr>\n<tr>\n<td><code>Materials</code></td>\n<td>List of objects of type <code>Material - Cut Item</code></td>\n<td></td>\n<td>Yes</td>\n<td>List of materials that make up the product. It will be greater than 1 in case of kits or different priorities of materials in the same product</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"materials\">Materials</h4>\n<ul>\n<li><code>Material - Item</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>MaterialSKU Code</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td><strong>SKU</strong> code of the material. This field is the <strong>key</strong> of the material</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Amount of occurrences of this material in the product. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Table Price</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>Unitary</strong> Table Price of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Price Practiced</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Price Practiced <strong>unit</strong> of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>NetPrice</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>No</td>\n<td>Net Price <strong>unit</strong> of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Cost Price</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>No</td>\n<td><strong>Unit</strong> Cost Price of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Commission Value</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>No</td>\n<td><strong>unit</strong> commission value of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><code>Material - Gift</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>MaterialSKU Code</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td><strong>SKU</strong> code of the material. This field is the <strong>key</strong> of the material</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Amount of occurrences of this material in the product. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Table Price</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>Unitary</strong> Table Price of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Cost Price</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>No</td>\n<td><strong>Unit</strong> Cost Price of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><code>Material - Cut Item</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>MaterialSKU Code</code></td>\n<td>String</td>\n<td>30</td>\n<td>Yes</td>\n<td><strong>SKU</strong> code of the material. This field is the <strong>key</strong> of the material</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Amount of occurrences of this material in the product. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Table Price</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td><strong>Unitary</strong> Table Price of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Price Practiced</code></td>\n<td>Decimal</td>\n<td>(18, 2)</td>\n<td>Yes</td>\n<td>Price Practiced <strong>unit</strong> of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"promotion\">Promotion</h6>\n<ul>\n<li><code>Promotion</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PromotionCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Promotion Code</td>\n</tr>\n<tr>\n<td><code>PromotionName</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Promotion Description</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4de133e2-eaea-41e9-b238-f455549b9097"},{"name":"Order v2.1 Copy","id":"53af215b-bfd0-40f3-9e82-49cca6f609d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ExportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosExportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>OUT interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n</ParametrosExportacao>\r \n</soap:Body>\r \n</soap:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This interface is used to export the records of a <strong>Let</strong> order. </p>\n<ul>\n<li><p>Interface name: <code>RequestPatternERPOut</code>;</p>\n</li>\n<li><p>Interface version: <code>2.1</code>.</p>\n</li>\n</ul>\n<h2 id=\"request\">Request</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>OrderCode</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Order code. This field is the <strong>key</strong> of the order</td>\n</tr>\n<tr>\n<td><code>Commercial Situation</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the commercial status of the order.</td>\n</tr>\n<tr>\n<td><code>Fiscal Status</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the tax status of the order.</td>\n</tr>\n<tr>\n<td><code>Campaign</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Order creation campaign. E.g.: 201403</td>\n</tr>\n<tr>\n<td><code>Marketing Campaign</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Order marketing campaign. E.g.: 201402</td>\n</tr>\n<tr>\n<td><code>Indicator Campaign</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Order \"indicator\" campaign - campaign in which it is considered for indicators (Billing). E.g.: 201404</td>\n</tr>\n<tr>\n<td><code>Function</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Name of the <code>Function</code> considered to capture the order</td>\n</tr>\n<tr>\n<td><code>Paper</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Name of the <code>Paper</code> considered for capturing the order</td>\n</tr>\n<tr>\n<td><code>Distribution Center</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>External code defined in the registration of the <code>Distribution Center</code>. If not filled in, the Distribution Center Name will be used</td>\n</tr>\n<tr>\n<td><code>Distribution CenterType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the type of the <code>Distribution Center</code>.</td>\n</tr>\n<tr>\n<td><code>Invoicing Distribution Center</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>External code defined in the registration of the <code>Distribution Center</code> and considered in the billing. If not filled in, the Distribution Center Name will be used</td>\n</tr>\n<tr>\n<td><code>Order DateTime</code></td>\n<td>dateTime</td>\n<td>YYYY-mm-DDTHH:MM:ss</td>\n<td></td>\n<td>Order Date</td>\n</tr>\n<tr>\n<td><code>Approval DateTime</code></td>\n<td>dateTime</td>\n<td>YYYY-mm-DDTHH:MM:ss</td>\n<td></td>\n<td>Order approval date</td>\n</tr>\n<tr>\n<td><code>AccountAccount</code></td>\n<td>Object of type <code>AccountAccount</code></td>\n<td></td>\n<td></td>\n<td>Section that contains the data of the G/L account used in the capture of the order</td>\n</tr>\n<tr>\n<td><code>Medium Capture</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the means of capturing the order.</td>\n</tr>\n<tr>\n<td><code>Origin System</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the system of origin of the order.</td>\n</tr>\n<tr>\n<td><code>BusinessModelCode</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Business model code. This field is the <strong>key</strong>of the business model</td>\n</tr>\n<tr>\n<td><code>CommercialModel</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Business model used and that defines the order capture rules</td>\n</tr>\n<tr>\n<td><code>Volume</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Volume in<strong>milliliters</strong></td>\n</tr>\n<tr>\n<td><code>Weight</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Weight in <strong>grams</strong></td>\n</tr>\n<tr>\n<td><code>Residual Current Account Value</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Residual current account value applied to the order. It is the resulting balance between credits and debits, which can be positive or negative. If no checking account is linked to the order, this value will be <em>zero</em></td>\n</tr>\n<tr>\n<td><code>ExternalCodePoliticaDelivery</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>DeliveryOption</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Order Delivery</code></td>\n<td>Object of type <code>Order Delivery</code></td>\n<td></td>\n<td></td>\n<td>Section containing the order delivery data</td>\n</tr>\n<tr>\n<td><code>PersonaOrder</code></td>\n<td>Object of type <code>PersonaOrder</code></td>\n<td></td>\n<td></td>\n<td>Section that contains some basic data to identify the person who placed the order</td>\n</tr>\n<tr>\n<td><code>Order Items</code></td>\n<td>List of objects of type <code>Order Item</code></td>\n<td></td>\n<td></td>\n<td>Order Item List</td>\n</tr>\n<tr>\n<td><code>Goodies</code></td>\n<td>List of objects of type <code>Toast</code></td>\n<td></td>\n<td></td>\n<td>List of freebies from the order</td>\n</tr>\n<tr>\n<td><code>CutItems</code></td>\n<td>List of objects of type <code>CutItem</code></td>\n<td></td>\n<td></td>\n<td>List of cut items from order</td>\n</tr>\n<tr>\n<td><code>DistributionAmountsPayment</code></td>\n<td>List of objects of type <code>DistributionAmountsPayment</code></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"account\">Account</h6>\n<ul>\n<li><code>Accounting Account</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Account Code</code></td>\n<td></td>\n<td></td>\n<td></td>\n<td>G/L Account Code</td>\n</tr>\n<tr>\n<td><code>Account Account</code></td>\n<td></td>\n<td></td>\n<td></td>\n<td>Description of the G/L account</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"delivery\">Delivery</h6>\n<ul>\n<li><code>Delivery</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Delivery Policy</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>External code defined in the registration of the <code>Delivery Policy</code>. If not filled in, the name of the <code>Delivery Policy</code> will be used</td>\n</tr>\n<tr>\n<td><code>Delivery Amount</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Order Delivery Amount</td>\n</tr>\n<tr>\n<td><code>DeliveryCodeArea</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Delivery address area code</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel0</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Base Level of the Geographical Structure of the Delivery Address</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel1</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>First Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel2</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Second Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel3</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Third Level Geographic Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel4</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Fourth Level Geographic Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel5</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Fifth Level of Structure Shipping Address Geographic (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel6</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Sixth Level Geographic Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel7</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Seventh Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel8</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Eighth Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geographic StructureLevel9</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Ninth Level of the Geographical Structure of the Delivery Address (if any)</td>\n</tr>\n<tr>\n<td><code>DeliveryNumber</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Delivery address number</td>\n</tr>\n<tr>\n<td><code>DeliveryAdd-on</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Delivery address add-on</td>\n</tr>\n<tr>\n<td><code>DeliveryReference</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Delivery address reference</td>\n</tr>\n<tr>\n<td><code>DatePrevisaoDelivery</code></td>\n<td>dateTime</td>\n<td></td>\n<td></td>\n<td>Expected delivery date at the time the order is integrated. This date is updated throughout the life of the order; at the time of integration, it may be outdated. It should only serve as a basis, not being considered exact information</td>\n</tr>\n<tr>\n<td><code>DeliveryNeighbor</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates whether the order can be delivered to a neighbor's address</td>\n</tr>\n<tr>\n<td><code>DeliveryNumberNeighbor</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Number of the neighbor for which delivery was authorized</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"people\">People</h6>\n<ul>\n<li><code>Person</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Person Code</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Code of the person registered in <strong>Let</strong>. This field is the person's <strong>key</strong></td>\n</tr>\n<tr>\n<td><code>PersonName</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Information that identifies the person.</td>\n</tr>\n<tr>\n<td><code>PersonType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the type of the person.</td>\n</tr>\n<tr>\n<td><code>Identification</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Document that identifies the person. Defined as the \"Main Document\" according to the type of person (CPF, CNPJ etc.)</td>\n</tr>\n<tr>\n<td><code>IdentificationType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that identifies the document's type.</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"items\">Items</h6>\n<ul>\n<li><code>Item</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ItemNumber</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Number that indicates the \"index\" of that item within the order. This number will not necessarily be sequential, nor will it be guaranteed that there will be no gaps without some number occurring. It is used to identify the item within the order and should not necessarily be used as a way of sequencing the items</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Amount of units of this item in the order</td>\n</tr>\n<tr>\n<td><code>TablePrice</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Table Price <strong>unit</strong>of this item</td>\n</tr>\n<tr>\n<td><code>Price Practiced</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Price Practiced<strong>unit</strong>of this item</td>\n</tr>\n<tr>\n<td><code>NetPrice</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Net Price<strong>unit</strong> of this item</td>\n</tr>\n<tr>\n<td><code>CostPrice</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td><strong>Unit</strong>Cost Price of this item</td>\n</tr>\n<tr>\n<td><code>CommissionAmount</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Commission value<strong>unit</strong> of this item</td>\n</tr>\n<tr>\n<td><code>Amount of Points</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td><strong>Unitary</strong> amount of points for this item. This field can be disregarded in case of configuration to use <em>currency score</em> (R$)</td>\n</tr>\n<tr>\n<td><code>Kit</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>[[TABLE]]</td>\n</tr>\n<tr>\n<td><code>ProductType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the type of product in the order.</td>\n</tr>\n<tr>\n<td><code>Product</code></td>\n<td>Object of type <code>Product</code></td>\n<td></td>\n<td></td>\n<td>Section containing the information of the product indicated by this order item</td>\n</tr>\n<tr>\n<td><code>AccountAccount</code></td>\n<td>Object of type <code>AccountAccount</code></td>\n<td></td>\n<td></td>\n<td>Section containing the data of the G/L account used specifically for the item, if such an association exists</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"gifts\">Gifts</h6>\n<ul>\n<li><code>Toast</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>GiftItemNumber</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Number that indicates the \"index\" of this gift within the order. This number will not necessarily be sequential, nor will it be guaranteed that there will be no gaps without some number occurring. It is used to identify the freebie within the order and should not necessarily be used as a form of sequencing the freebies</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Number of units of this gift in the order</td>\n</tr>\n<tr>\n<td><code>Table Price</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Table Price <strong>unit</strong>of this gift</td>\n</tr>\n<tr>\n<td><code>Cost Price</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Price Practiced<strong>unit</strong> of this gift</td>\n</tr>\n<tr>\n<td><code>Kit</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>[[TABLE]]</td>\n</tr>\n<tr>\n<td><code>ProductType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the type of product on the gift.</td>\n</tr>\n<tr>\n<td><code>Product</code></td>\n<td>Object of type <code>Product</code></td>\n<td></td>\n<td></td>\n<td>Section containing the information of the product indicated by this order gift</td>\n</tr>\n<tr>\n<td><code>Promotion</code></td>\n<td>Object of type <code>Promotion</code></td>\n<td></td>\n<td></td>\n<td>Section containing the promotion information related to the gift</td>\n</tr>\n<tr>\n<td><code>Account Account</code></td>\n<td>Object of type <code>AccountAccount</code></td>\n<td></td>\n<td></td>\n<td>Section containing the data of the ledger account used specifically for the gift, if such association exists</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"clipped-items\">Clipped Items</h6>\n<ul>\n<li><code>Cut Item</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>TablePrice</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Table Price <strong>unit</strong>of this item</td>\n</tr>\n<tr>\n<td><code>Price Practiced</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Price Practiced<strong>unit</strong> of this item</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Amount of units cut from this item</td>\n</tr>\n<tr>\n<td><code>Reason CutItemOrder</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates reason for cutting this item</td>\n</tr>\n<tr>\n<td><code>Product</code></td>\n<td>Object of type <code>Product</code></td>\n<td></td>\n<td></td>\n<td>Section containing the information of the product indicated by this order item</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"distribution-of-payment-amounts\">Distribution of Payment Amounts</h6>\n<ul>\n<li><code>Distribution Amounts Payment</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PaymentPlanCode</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Payment plan external code</td>\n</tr>\n<tr>\n<td><code>Amount</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Base amount to be paid through this payment plan. <strong>Does not include</strong> charge fee</td>\n</tr>\n<tr>\n<td><code>ChargeRate</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Amount of the charge rate generated by choosing this payment plan</td>\n</tr>\n<tr>\n<td><code>FlagCode</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Relevant only for card payments. External code of the card's flag. In the absence of an external code, send card description</td>\n</tr>\n<tr>\n<td><code>BannerType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Relevant only for card payments. Flag type.</td>\n</tr>\n<tr>\n<td><code>Amount Installments</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Amount of installments selected for payment - either configured in the payment plan or chosen by the user, when paying via credit card</td>\n</tr>\n<tr>\n<td><code>OperatorAuthorizationCode</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Relevant only for card payments. Card payment authorization code</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"products\">Products</h6>\n<ul>\n<li><code>Product</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductCode</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Product code. This field is the <strong>key</strong> of the product</td>\n</tr>\n<tr>\n<td><code>ProductName</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Product Name</td>\n</tr>\n<tr>\n<td><code>Materials</code></td>\n<td>List of objects of type <code>Material</code></td>\n<td></td>\n<td></td>\n<td>List of materials that make up the product. It will be greater than 1 in case of kits or different priorities of materials in the same product</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"materials\">Materials</h6>\n<ul>\n<li><code>Material</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>MaterialCodeSKU</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Code <strong>SKU</strong> of the material. This field is the <strong>key</strong> of the material</td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Number of occurrences of this material in the product. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>TablePrice</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Table Price <strong>unit</strong> of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Price Practiced</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Price Practiced <strong>unit</strong> of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>NetPrice</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Net Price <strong>unit</strong> of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>CostPrice</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Cost Price <strong>unit</strong> of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n<tr>\n<td><code>Commission Value</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Commission value <strong>unit</strong> of this material. For \"non-kit\" products, this value will be exactly the same as the field of the same name in the superior entity</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"promotion\">Promotion</h6>\n<ul>\n<li><code>Promotion</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Promotion Code</code></td>\n<td></td>\n<td></td>\n<td></td>\n<td>Promotion Code</td>\n</tr>\n<tr>\n<td><code>Promotion Name</code></td>\n<td></td>\n<td></td>\n<td></td>\n<td>Description of the promotion</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"53af215b-bfd0-40f3-9e82-49cca6f609d3"}],"id":"d410478c-0351-4587-a29c-bf24285223fb","_postman_id":"d410478c-0351-4587-a29c-bf24285223fb","description":""},{"name":"People","item":[{"name":"Person v1.2","id":"27ba642a-d647-4bde-9590-3bd0174c82db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ExportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosExportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>OUT interface name</interfaceIntegracao>\r \n<versao>Interface version</versao>\r \n</ParametrosExportacao>\r \n</soap:Body>\r \n</soap:Envelope>"},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This interface is used to export a person's records from <strong>Let</strong>. </p>\n<ul>\n<li><p>Interface name: <code>PessoaPadraoERP</code>;</p>\n</li>\n<li><p>Interface version: <code>1.2</code>.</p>\n</li>\n</ul>\n<h2 id=\"people\">People</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td>Yes</td>\n<td>Entity export control document code - in this case, the person</td>\n</tr>\n<tr>\n<td><code>Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Code of the person registered in <strong>Let</strong>. This field is the person's <strong>key</strong></td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Information identifying the person.<table><tbody><tr><td>Physical person</td><td>Name</td></tr><tr><td>Legal person</td><td>Corporate Name</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Surname</code></td>\n<td>String</td>\n<td>50</td>\n<td>No</td>\n<td>Information identifying the person's last name.<table><tbody><tr><td>Physical person</td><td>Surname</td></tr><tr><td>Legal person</td><td>Fantasy name</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that identifies the person's type.<table><tbody><tr><td>1</td><td>Physical person</td></tr><tr><td>2</td><td>Legal person</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Document</code></td>\n<td>Object of type <code>Document</code></td>\n<td></td>\n<td>No</td>\n<td>List that contains all documents registered for the person</td>\n</tr>\n<tr>\n<td><code>Address</code></td>\n<td>Object of type <code>Address</code></td>\n<td></td>\n<td>No</td>\n<td>List that contains all registered addresses for the person</td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>Object of type <code>Phone</code></td>\n<td></td>\n<td>No</td>\n<td>List that contains all registered phones for the person</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>Object of type <code>Email</code></td>\n<td></td>\n<td>No</td>\n<td>List that contains all emails registered for the person</td>\n</tr>\n<tr>\n<td><code>Individual</code></td>\n<td>Object of type <code>Individual</code></td>\n<td></td>\n<td>No</td>\n<td>Section that contains specific data on when the person is of the type <code>Individual</code></td>\n</tr>\n<tr>\n<td><code>LegalPerson</code></td>\n<td>Object of the <code>LegalPerson</code> type</td>\n<td></td>\n<td>No</td>\n<td>Section that contains specific data on when the person is of the <code>Legal Entity</code> type</td>\n</tr>\n<tr>\n<td><code>Function</code></td>\n<td>Object of type <code>Function</code></td>\n<td></td>\n<td>No</td>\n<td>List containing all functions of the person</td>\n</tr>\n<tr>\n<td><code>PersonVariableFields</code></td>\n<td>Object of type <code>FieldsVariablePerson</code></td>\n<td></td>\n<td>No</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"document\">Document</h6>\n<ul>\n<li><code>Document</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that identifies the document's type.<table><thead><tr><th>1</th><th>ID</th></tr></thead><tbody><tr><td>2</td><td>CPF</td></tr><tr><td>3</td><td>Voter Title</td></tr><tr><td>4</td><td>CNH</td></tr><tr><td>5</td><td>CNPJ</td></tr><tr><td>6</td><td>State registration</td></tr><tr><td>7</td><td>RUT - Chile</td></tr><tr><td>8</td><td>CedulaCidadania - Colombia</td></tr><tr><td>9</td><td>NIT - (Colombia</td></tr><tr><td>10</td><td>PIS</td></tr><tr><td>11</td><td>DNI - Argentina</td></tr><tr><td>12</td><td>CUIT - Argentina (Unique Tax Identification Key)</td></tr><tr><td>13</td><td>CUIT_PF - (CUIT used in PF registration)</td></tr><tr><td>14</td><td>LC - Argentina (Libreta Civicas)</td></tr><tr><td>15</td><td>CI - Argentina (ID Card)</td></tr><tr><td>16</td><td>LE - Argentina (Libreta de Enrolamiento)</td></tr><tr><td>17</td><td>DNI_PE - Peru (National Identity Document)</td></tr><tr><td>18</td><td>Foreign Portfolio - Peru</td></tr><tr><td>19</td><td>RUC - Peru (Unique Taxpayer Register)</td></tr><tr><td>20</td><td>RUC_PF - Peru (RUC used in the PF registration)</td></tr><tr><td>21</td><td>IFE - Mexico (IFE - Federal Electoral Institute) - Voter's Document</td></tr><tr><td>22</td><td>PasaporteFM - Mexico (Passport or FM1/FM2 - Migration Document)</td></tr><tr><td>23</td><td>RFC_PF - Mexico (Federal Taxpayers Registry) - PF</td></tr><tr><td>24</td><td>RFC - Mexico (Federal Taxpayers Registry) - PJ</td></tr><tr><td>25</td><td>OtherDoc1 - Mexico</td></tr><tr><td>26</td><td>OtherDoc2 - Mexico</td></tr><tr><td>27</td><td>CURP - Mexico</td></tr><tr><td>28</td><td>CI_CIE - Bolivia</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Document</code></td>\n<td>String</td>\n<td>20</td>\n<td>Yes</td>\n<td>Document number</td>\n</tr>\n<tr>\n<td><code>ExtraInformation</code></td>\n<td>String</td>\n<td>10</td>\n<td>No</td>\n<td>Additional information that may exist for this document</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"address\">Address</h6>\n<ul>\n<li><code>Address</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that identifies the type of address.<table><tbody><tr><td>1</td><td>Residential</td></tr><tr><td>2</td><td>Commercial</td></tr><tr><td>3</td><td>Delivery</td></tr><tr><td>4</td><td>Alternative Delivery</td></tr><tr><td>5</td><td>Revenues</td></tr><tr><td>6</td><td>Charge</td></tr><tr><td>7</td><td>Alternative Delivery 2</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>AreaCode</code></td>\n<td>String</td>\n<td>15</td>\n<td>No</td>\n<td>Address Area Code</td>\n</tr>\n<tr>\n<td><code>GeoStructure</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Base Level of the Geographical Structure of the Address</td>\n</tr>\n<tr>\n<td><code>GeoStructure1</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>First Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo2Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Second Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo3Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Third Level Geographic Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo4Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Fourth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo5Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Fifth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo6Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Sixth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo7Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Seventh Level of the Geographical Structure of the Address (if exist)</td>\n</tr>\n<tr>\n<td><code>Geo8Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Eighth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo9Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Ninth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Number</code></td>\n<td>String</td>\n<td>10</td>\n<td>No</td>\n<td>Address number</td>\n</tr>\n<tr>\n<td><code>Complement</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Address complement</td>\n</tr>\n<tr>\n<td><code>Reference</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Address reference</td>\n</tr>\n<tr>\n<td><code>Auxiliary AreaCode</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Auxiliary area code of address</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"telephone\">Telephone</h6>\n<ul>\n<li><code>Phone</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that identifies the type of phone.<table><tbody><tr><td>1</td><td>Residential</td></tr><tr><td>2</td><td>Commercial</td></tr><tr><td>3</td><td>Delivery</td></tr><tr><td>4</td><td>Alternative Delivery</td></tr><tr><td>5</td><td>Revenues</td></tr><tr><td>6</td><td>Charge</td></tr><tr><td>7</td><td>Alternative Delivery 2</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>String</td>\n<td>20</td>\n<td>Yes</td>\n<td>Phone number, as registered in <strong>Let</strong> (including spaces, special characters, etc.)</td>\n</tr>\n<tr>\n<td><code>Extension</code></td>\n<td>String</td>\n<td>5</td>\n<td>No</td>\n<td>Phone extension</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"email\">Email</h6>\n<ul>\n<li><code>Email</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code that identifies the type of email.<table><tbody><tr><td>1</td><td>Folks</td></tr><tr><td>2</td><td>Alternative</td></tr><tr><td>3</td><td>Commercial</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>String</td>\n<td>50</td>\n<td>Yes</td>\n<td>Email address</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"physical-person\">Physical person</h6>\n<ul>\n<li><code>Individual</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Date of Birth</code></td>\n<td>dateTime</td>\n<td>YYYY-mm-DDTHH:MM:ss</td>\n<td>No</td>\n<td>Date of birth</td>\n</tr>\n<tr>\n<td><code>Gender</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates the person's gender.<table><tbody><tr><td>1</td><td>Feminine</td></tr><tr><td>2</td><td>Masculine</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Civil Status</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates the person's marital status.<table><tbody><tr><td>1</td><td>Single</td></tr><tr><td>2</td><td>Married</td></tr><tr><td>3</td><td>Widower</td></tr><tr><td>4</td><td>Separate</td></tr><tr><td>5</td><td>Divorced</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Children</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates the number of children of the person.<table><tbody><tr><td>0 to 5</td><td>The code is the number of children</td></tr><tr><td>6</td><td>5 or more children</td></tr></tbody></table></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"legal-person\">Legal person</h6>\n<ul>\n<li><code>Legal Person</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>Yes</td>\n<td>Code indicating the type of legal entity.<table><tbody><tr><td>1</td><td>Distribution channel</td></tr><tr><td>2</td><td>Distributor</td></tr><tr><td>3</td><td>Shipping company</td></tr><tr><td>4</td><td>Warehouse/Industrial</td></tr><tr><td>5</td><td>Retailer</td></tr><tr><td>6</td><td>Representative</td></tr><tr><td>7</td><td>Bank</td></tr><tr><td>8</td><td>Manufacturer</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>ContribuinteICMS</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>Code that indicates whether the legal entity is a taxpayer of ICMS.<table><tbody><tr><td>0</td><td>Not</td></tr><tr><td>1</td><td>Yes</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>External Code</code></td>\n<td>String</td>\n<td>30</td>\n<td>No</td>\n<td>External code defined in the legal entity's registration</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"occupation\">Occupation</h6>\n<ul>\n<li><code>Function</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FunctionCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>Yes</td>\n<td>Code that identifies the function inside the <strong>Let</strong>. Only <code>Register</code> functions will be sent. This field is the <strong>key</strong> of the function</td>\n</tr>\n<tr>\n<td><code>FunctionName</code></td>\n<td>String</td>\n<td>50</td>\n<td>Yes</td>\n<td>Function name</td>\n</tr>\n<tr>\n<td><code>CommercialSituation</code></td>\n<td>Byte</td>\n<td>2</td>\n<td>No</td>\n<td>If the function allows the capture of orders and this person is allocated in the network for this function, then the code that indicates the commercial situation of the person in this function will be returned.<table><tbody><tr><td>1</td><td>Registered</td></tr><tr><td>2</td><td>Available</td></tr><tr><td>3</td><td>Unavailable</td></tr><tr><td>4</td><td>ceased</td></tr><tr><td>5</td><td>Resale Intent</td></tr></tbody></table></td>\n</tr>\n<tr>\n<td><code>Campaign</code></td>\n<td>Integer</td>\n<td>AAAACC</td>\n<td>No</td>\n<td>Campaign the person is in, considering this function</td>\n</tr>\n<tr>\n<td><code>Credit Balance</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>This person's credit balance for this role</td>\n</tr>\n<tr>\n<td><code>Credit Limit</code></td>\n<td>Integer</td>\n<td>9</td>\n<td>No</td>\n<td>This person's credit limit for this role</td>\n</tr>\n<tr>\n<td><code>Commercial Structure0</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Base Level of the Commercial Structure</td>\n</tr>\n<tr>\n<td><code>Business Structure1</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>First Level of Business Structure where the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure2</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Second Level of the Commercial Structure in which the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Business Structure3</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Third Level of Business Structure where the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure4</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Fourth Level of the Commercial Structure where the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure5</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Fifth Level of the Commercial Structure in which the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Business Structure6</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Sixth Level of the Business Structure in which the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Business Structure7</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Seventh Level of the Business Structure in which the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Business Structure8</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Eighth Level of Business Structure where the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Business Structure9</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Ninth Level of Business Structure where the person is allocated in this role (if any)</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"variable-field\">Variable Field</h6>\n<ul>\n<li><code>FieldsVariablesPerson</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td>Yes</td>\n<td>Entity export control document code - in this case, the variable field</td>\n</tr>\n<tr>\n<td><code>ParentDocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td>Yes</td>\n<td>Export control document code of the parent entity - in this case, the person</td>\n</tr>\n<tr>\n<td><code>VariableFieldCode</code></td>\n<td>Integer</td>\n<td></td>\n<td>Yes</td>\n<td>Variable Field Code</td>\n</tr>\n<tr>\n<td><code>VariableField Description</code></td>\n<td>String</td>\n<td></td>\n<td>No</td>\n<td>Variable field description</td>\n</tr>\n<tr>\n<td><code>DataInicioSituacao</code></td>\n<td>dateTime</td>\n<td></td>\n<td>No</td>\n<td>Start date of the current situation of the variable field</td>\n</tr>\n<tr>\n<td><code>Value</code></td>\n<td>Object of type <code>Value</code></td>\n<td></td>\n<td>No</td>\n<td>List of variable field values</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"variable-field-value\">Variable Field Value</h6>\n<ul>\n<li><code>Value</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ValueCode</code></td>\n<td>Integer</td>\n<td></td>\n<td>No</td>\n<td>Code of variable field value</td>\n</tr>\n<tr>\n<td><code>DescriptionValue</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Description of the variable field value</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"27ba642a-d647-4bde-9590-3bd0174c82db"},{"name":"Person v1.2 Copy","id":"526ae554-dfad-4288-8cd3-803a56a002b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ExportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosExportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao></tokenAutenticacao>\r \n<interfaceIntegracao>StandardPersonERP</interfaceIntegracao>\r \n<versao>1.2</versao>\r \n</ParametrosExportacao>\r \n</soap:Body>\r \n</soap:Envelope>"},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This interface is used to export a person's records from <strong>Let</strong>. </p>\n<ul>\n<li><p>Interface name: <code>PessoaPadraoERP</code>;</p>\n</li>\n<li><p>Interface version: <code>1.2</code>.</p>\n</li>\n</ul>\n<h2 id=\"people\">People</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Code</code></td>\n<td>Integer</td>\n<td>9</td>\n<td></td>\n<td>Code of the person registered in <strong>Let</strong>. This field is the person's <strong>key</strong></td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Information identifying the person.</td>\n</tr>\n<tr>\n<td><code>Surname</code></td>\n<td>String</td>\n<td>50</td>\n<td></td>\n<td>Information identifying the person's last name</td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code identifying the person's type</td>\n</tr>\n<tr>\n<td><code>Document</code></td>\n<td>Object of type <code>Document</code></td>\n<td></td>\n<td></td>\n<td>List containing all documents registered for the person</td>\n</tr>\n<tr>\n<td><code>Address</code></td>\n<td>Object of type <code>Address</code></td>\n<td></td>\n<td></td>\n<td>List containing all registered addresses for the person</td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>Object of type <code>Phone</code></td>\n<td></td>\n<td></td>\n<td>List containing all registered phones for the person</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>Object of type <code>Email</code></td>\n<td></td>\n<td></td>\n<td>List containing all emails registered for the person</td>\n</tr>\n<tr>\n<td><code>Individual</code></td>\n<td>Object of type <code>Individual</code></td>\n<td></td>\n<td></td>\n<td>Section that contains specific data on when the person is of the type <code>Individual</code></td>\n</tr>\n<tr>\n<td><code>LegalPerson</code></td>\n<td>Object of the <code>LegalPerson</code> type</td>\n<td></td>\n<td></td>\n<td>Section that contains specific data on when the person is of the <code>Legal Entity</code> type</td>\n</tr>\n<tr>\n<td><code>Function</code></td>\n<td>Object of type <code>Function</code></td>\n<td></td>\n<td></td>\n<td>List containing all functions of the person</td>\n</tr>\n<tr>\n<td><code>PersonVariableFields</code></td>\n<td>Object of the type <code>PersonVariableFields</code></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"document\">Document</h6>\n<ul>\n<li><code>Document</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code identifying the document type</td>\n</tr>\n<tr>\n<td><code>Document</code></td>\n<td>String</td>\n<td>20</td>\n<td></td>\n<td>Document number</td>\n</tr>\n<tr>\n<td><code>ExtraInformation</code></td>\n<td>String</td>\n<td>10</td>\n<td></td>\n<td>Additional information that may exist for this document</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"address\">Address</h6>\n<ul>\n<li><code>Address</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code that identifies the type of address.</td>\n</tr>\n<tr>\n<td><code>AreaCode</code></td>\n<td>String</td>\n<td>15</td>\n<td></td>\n<td>Address Area Code</td>\n</tr>\n<tr>\n<td><code>Geo0Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Base Level of the Geographical Structure of the Address</td>\n</tr>\n<tr>\n<td><code>GeoStructure1</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>First Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo2Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Second Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo3Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Third Level Geographic Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo4Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Fourth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo5Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Fifth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo6Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Sixth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo7Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Seventh Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo8Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Eighth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo9Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Ninth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Number</code></td>\n<td>String</td>\n<td>10</td>\n<td></td>\n<td>Address number</td>\n</tr>\n<tr>\n<td><code>Complement</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Address complement</td>\n</tr>\n<tr>\n<td><code>Reference</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Address reference</td>\n</tr>\n<tr>\n<td><code>Auxiliary AreaCode</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Auxiliary area code of the address</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"telephone\">Telephone</h6>\n<ul>\n<li><code>Phone</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code identifying the phone type</td>\n</tr>\n<tr>\n<td><code>Telephone</code></td>\n<td>String</td>\n<td>20</td>\n<td></td>\n<td>Phone number, as registered in <strong>Let</strong> (including spaces, special characters, etc.)</td>\n</tr>\n<tr>\n<td><code>Extension</code></td>\n<td>String</td>\n<td>5</td>\n<td></td>\n<td>Phone extension</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"email\">Email</h6>\n<ul>\n<li><code>Email</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code identifying the type of email</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>String</td>\n<td>50</td>\n<td></td>\n<td>Email address</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"physical-person\">Physical person</h6>\n<ul>\n<li><code>Individual</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Date of Birth</code></td>\n<td>dateTime</td>\n<td>YYYY-mm-DDTHH:MM:ss</td>\n<td></td>\n<td>Date of birth</td>\n</tr>\n<tr>\n<td><code>Gender</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code that indicates the person's gender.</td>\n</tr>\n<tr>\n<td><code>Civil Status</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code that indicates the person's marital status.</td>\n</tr>\n<tr>\n<td><code>Children</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code that indicates the number of children of the person.</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"legal-person\">Legal person</h6>\n<ul>\n<li><code>Legal Person</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code indicating the type of legal entity</td>\n</tr>\n<tr>\n<td><code>ContribuinteICMS</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>Code indicating whether the legal entity is a taxpayer of ICMS.</td>\n</tr>\n<tr>\n<td><code>External Code</code></td>\n<td>String</td>\n<td>30</td>\n<td></td>\n<td>External code defined in the legal entity's registration</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"occupation\">Occupation</h6>\n<ul>\n<li><code>Function</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FunctionCode</code></td>\n<td>Integer</td>\n<td>9</td>\n<td></td>\n<td>Code that identifies the function inside the <strong>Let</strong>. Only <code>Register</code> functions will be sent. This field is the <strong>key</strong> of the function</td>\n</tr>\n<tr>\n<td><code>FunctionName</code></td>\n<td>String</td>\n<td>50</td>\n<td></td>\n<td>Function name</td>\n</tr>\n<tr>\n<td><code>SituacaoComercial</code></td>\n<td>Byte</td>\n<td>2</td>\n<td></td>\n<td>If the function allows the capture of orders and this person is allocated in the network for this function, then the code that indicates the commercial situation of the person in this function will be returned.</td>\n</tr>\n<tr>\n<td><code>Campaign</code></td>\n<td>Integer</td>\n<td>AAAACC</td>\n<td></td>\n<td>Campaign the person is in, considering this function</td>\n</tr>\n<tr>\n<td><code>Credit Balance</code></td>\n<td>Integer</td>\n<td>9</td>\n<td></td>\n<td>This person's credit balance for this role</td>\n</tr>\n<tr>\n<td><code>Credit Limit</code></td>\n<td>Integer</td>\n<td>9</td>\n<td></td>\n<td>This person's credit limit for this role</td>\n</tr>\n<tr>\n<td><code>Commercial Structure0</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Base Level of the Commercial Structure</td>\n</tr>\n<tr>\n<td><code>Business Structure1</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>First Level of Business Structure where the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure2</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Second Level of the Commercial Structure in which the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure3</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Commercial Structure4</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Fourth Level of the Commercial Structure in which the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure5</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Fifth Level of the Commercial Structure where the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure6</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Sixth Level of the Commercial Structure where the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure7</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Seventh Level of the Commercial Structure in which the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Commercial Structure8</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Eighth Level of the Commercial Structure where the person is allocated in this role (if any)</td>\n</tr>\n<tr>\n<td><code>Business Structure9</code></td>\n<td>String</td>\n<td>100</td>\n<td></td>\n<td>Ninth Level of Business Structure where the person is allocated in this role (if any)</td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"variable-field\">Variable Field</h6>\n<ul>\n<li><code>FieldsVariablesPerson</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>FatherDocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>VariableFieldCode</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>VariableField Description</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>StartDateSituacao</code></td>\n<td>dateTime</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Value</code></td>\n<td>Object of type <code>Value</code></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"variable-field-value\">Variable Field Value</h6>\n<ul>\n<li><code>Value</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ValueCode</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>DescriptionValue</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"526ae554-dfad-4288-8cd3-803a56a002b0"}],"id":"1efe174e-9cb3-4b23-ba7b-42c93f812c2d","_postman_id":"1efe174e-9cb3-4b23-ba7b-42c93f812c2d","description":""},{"name":"Invoice","item":[{"name":"Invoice v1.0","id":"7147bfb7-dbda-4080-99cd-856160b31994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml; charset=utf-8","type":"text"},{"key":"SOAP Action","value":"\"http://www.geravd.com.br/ExportarDados\"","type":"text"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r \n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r \n<soap:Body>\r \n<ParametrosExportacao xmlns=\"http://www.geravd.com.br/\">\r \n<tokenAutenticacao>Authentication token configured</tokenAutenticacao>\r \n<interfaceIntegracao>OUT interface name</interfaceIntegracao>\r \n<versao>>Interface version</versao>\r \n</ParametrosExportacao>\r \n</soap:Body>\r \n</soap:Envelope>"},"url":"{{host_webService}}/servicos/integracao/padrao/IntegracaoPadraoWS.asmx","description":"<p>This interface is used to export the records of a <strong>Let</strong> invoice. </p>\n<ul>\n<li><p>Interface name: <code>NotaFiscalPadraoERP</code>;</p>\n</li>\n<li><p>Interface version: <code>1.0</code>.</p>\n</li>\n</ul>\n<h2 id=\"people\">People</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DocumentCode</code></td>\n<td>Long</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Code</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Invoice Code, internal to <strong>Let</strong>. This field is the <strong>key</strong> of the Invoice. There is also a logical key for the Nora Fiscal, formed by: Number. Series. Date and Issuer.</td>\n</tr>\n<tr>\n<td><code>OrderCode</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Order code. This field is the <strong>key</strong> of the order</td>\n</tr>\n<tr>\n<td><code>Number</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Invoice number within the specified Series</td>\n</tr>\n<tr>\n<td><code>Series</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td>Invoice Series</td>\n</tr>\n<tr>\n<td><code>Data</code></td>\n<td>dateTime</td>\n<td></td>\n<td></td>\n<td>Invoice Operation Date. It may be the Date of Issue, Cancellation, Denial etc.</td>\n</tr>\n<tr>\n<td><code>NetWeight</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Weight <em>net</em>of the order of this Invoice, in<strong>grams</strong></td>\n</tr>\n<tr>\n<td><code>Gross Weight</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td><em>Gross</em>weight of the order of this Invoice, in<strong>grams</strong></td>\n</tr>\n<tr>\n<td><code>QuantityVolumes</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td>Amount of volumes that make up this Invoice</td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the type of the Invoice.</td>\n</tr>\n<tr>\n<td><code>Status</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the status of the Invoice.</td>\n</tr>\n<tr>\n<td><code>Shipping Type</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td>Code that indicates the type of shipping of this Invoice.</td>\n</tr>\n<tr>\n<td><code>Invoicing Center</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>External Code defined in the registration of the Distribution Channel used and considered in the Invoicing. If not filled in, the Distribution Center Name will be used</td>\n</tr>\n<tr>\n<td><code>Additional Data</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td>Additional data of this Invoice</td>\n</tr>\n<tr>\n<td><code>InvoiceReference</code></td>\n<td>Object of the type <code>InvoiceReference</code></td>\n<td></td>\n<td></td>\n<td>Section that contains, when it exists, the information of the Invoice referenced by this one. Basically used when it is an incoming Invoice that references an outgoing Invoice of that order</td>\n</tr>\n<tr>\n<td><code>Person Issuer</code></td>\n<td>Object of the type <code>Person Issuer</code></td>\n<td></td>\n<td></td>\n<td>Section that contains some basic data to identify the person responsible for Issuing the Invoice</td>\n</tr>\n<tr>\n<td><code>Recipient</code></td>\n<td>Object of the type <code>Recipient</code></td>\n<td></td>\n<td></td>\n<td>Section containing the Recipient of the Invoice</td>\n</tr>\n<tr>\n<td><code>Conveyor</code></td>\n<td>Object of the type <code>Conveyor</code></td>\n<td></td>\n<td></td>\n<td>Section that contains some basic data to identify the Legal Entity of the Carrier related to this Invoice</td>\n</tr>\n<tr>\n<td><code>Values</code></td>\n<td>Object of type <code>Values</code></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>InvoiceItems</code></td>\n<td>Object of type <code>InvoiceItems</code></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"invoice-reference\">Invoice Reference</h6>\n<ul>\n<li><code>InvoiceReference</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>InvoiceCode</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Number</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Series</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>IssuingDate</code></td>\n<td>dateTime</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>IssuerPerson Code</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"issuer-person\">Issuer Person</h6>\n<ul>\n<li><code>Person Issuer</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Code</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Identification</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>IdentificationType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"recipient\">Recipient</h6>\n<ul>\n<li><code>Recipient</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Code</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Identification</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>IdentificationType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Phone</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>AreaCode</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>GeoStructure</code></td>\n<td>String</td>\n<td>100</td>\n<td>Yes</td>\n<td>Base Level of the Geographical Structure of the Address</td>\n</tr>\n<tr>\n<td><code>GeoStructure1</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>First Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo2Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Second Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo3Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Third Level Geographic Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo4Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Fourth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo5Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Fifth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo6Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Sixth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo7Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Seventh Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo8Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Eighth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Geo9Structure</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Ninth Level of the Geographical Structure of the Address (if any)</td>\n</tr>\n<tr>\n<td><code>Number</code></td>\n<td>String</td>\n<td>10</td>\n<td>No</td>\n<td>Address number</td>\n</tr>\n<tr>\n<td><code>Complement</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Address complement</td>\n</tr>\n<tr>\n<td><code>Reference</code></td>\n<td>String</td>\n<td>100</td>\n<td>No</td>\n<td>Address reference</td>\n</tr>\n<tr>\n<td><code>DeliveryNeighbor</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>NumberNeighbor</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"shipping-company\">Shipping company</h6>\n<ul>\n<li><code>Conveyor</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Code</code></td>\n<td>Integer</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Name</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Type</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Identification</code></td>\n<td>String</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>IdentificationType</code></td>\n<td>Byte</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"values\">Values</h6>\n<ul>\n<li><code>Values</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>TotalAmountNote</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Product Value</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax CalculationBase1</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>BaseTax Calculation2</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax CalculationBase3</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax CalculationBase4</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax CalculationBase5</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Amount1</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Amount2</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Value3</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Amount4</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Amount5</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Shipping</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Insurance</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Other Expenses</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>TotalDifferentialAliquots</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"invoice-items\">Invoice Items</h6>\n<ul>\n<li><code>Invoice Items</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ItemNumber</code></td>\n<td>Long</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>SKU Code</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Material</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Quantity</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>CFOP</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Fiscal Classification</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>MVA Percentage</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Unit of Measure</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Fiscal Operation</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Values</code></td>\n<td>Object of type <code>Item Values</code></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h6 id=\"item-values\">Item Values</h6>\n<ul>\n<li><code>Value Items</code></li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Interface</th>\n<th>Type</th>\n<th>Size/Format</th>\n<th>Mandatory</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Table Price</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Price Practiced</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Liquid Price</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Billing Price</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>AliquotaTax1</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>AliquotaTax2</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>AliquotaTax3</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>AliquotaTax4</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>AliquotaTax5</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax CalculationBase1</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>BaseTax Calculation2</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax CalculationBase3</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax CalculationBase4</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax CalculationBase5</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Amount1</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Amount2</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Value3</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Amount4</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Tax Amount5</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Shipping</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Insurance</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>Other Expenses</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>TotalDifferentialAliquots</code></td>\n<td>Decimal</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["servicos","integracao","padrao","IntegracaoPadraoWS.asmx"],"host":["{{host_webService}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7147bfb7-dbda-4080-99cd-856160b31994"}],"id":"b2eb5ab8-e92d-4d66-91b7-e6e5aed6e8f8","_postman_id":"b2eb5ab8-e92d-4d66-91b7-e6e5aed6e8f8","description":""}],"id":"b516598a-352a-475c-86a4-1cd2e61956ec","description":"<h1 id=\"module-under-construction\">MODULE UNDER CONSTRUCTION</h1>\n","_postman_id":"b516598a-352a-475c-86a4-1cd2e61956ec"}],"id":"69e040da-a3f2-4027-b7f0-5dc0eb24796e","_postman_id":"69e040da-a3f2-4027-b7f0-5dc0eb24796e","description":""},{"name":"Service","item":[{"name":"Sales Orders","item":[{"name":"Order Capture","item":[{"name":"Order Capture Flow - Online","item":[{"name":"Step 1 - Get System Parameters","item":[],"id":"2708ea6f-5a36-4621-b389-1ee7c7585040","description":"<p>Right after authentication, the application must <a href=\"#99c25f83-58b9-4197-bacc-158a634c9209\">get the system parameters</a> relevant to the order capture that will be performed. </p>\n<p> The important parameters in an order taking are:</p>\n<ul>\n<li><p><code>AllowCaptureOnNextCampaignInExtendedPeriodWithoutCloseBuyerCampaign</code>: If enabled, the user can capture in the future cycle without closing the current cycle. </p>\n</li>\n<li><p><code>TipoSelecaoPessoaInicioCaptacao</code>: Indicates, when consulting a person to capture orders, which information can be provided for search, main document, secondary document or code. Possible combinations are in the <a href=\"#3793265f-f98d-4d9e-8927-3015cc136210\">glossary</a>. </p>\n</li>\n<li><p><code>Restrict People QueriesABuyersOnPickup</code>: If enabled, people queries for order capture will only return users who are active for order capture.</p>\n</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ee6628bd-8e1d-4fe2-bbe1-ebc8d1990972"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"483f31cf-17ca-4bd8-9a26-e1a715fd9ae8"}}],"_postman_id":"2708ea6f-5a36-4621-b389-1ee7c7585040"},{"name":"Step 2 - Define Order Owner","item":[{"name":"Consult permissions","id":"ecdc0b38-0644-400a-b46c-0fec6eb363a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/permissions","description":"<p>This call is used to obtain a series of permissions from the authenticated person.</p>\n","urlObject":{"path":["api","people",":id","permissions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"a5d0aa30-438d-4951-857a-a18cb31e5fd9","description":{"content":"<p><strong>(Required)</strong> Identifier code of the logged in user.</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"a9c9b85e-9cd4-45af-8ab0-4374ea63abf3","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/permissions?","host":["{{baseUrl}}"],"path":["api","people",":id","permissions"],"query":[{"key":"","value":null}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Required)** Authenticated User Code."}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"allowSearchCFMaster\": \"Allows you to consult and register final consumer (PermissaoMasterConsultarConsumidor)\",\n \"allowSearchCF\": \"Allows to query end consumer (PermissaoConsultarConsumidor)\",\n \"allowCreatedCF\": \"Allows the registration of the final consumer in the capture (PermiteCriacaoCaptacaoConsumidorFinal)\",\n \"allowPersonification\": \"Deprecated\",\n \"allowCartApplicationAccess\": \"Allows access to Cart application\",\n \"allowConsultSacOccurrences\": \"Allows consulting SAC occurrences\",\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\"\n }"},{"id":"33acf8b9-f4fd-4ef9-8ccf-c820a456c8fb","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/permissions?","host":["{{baseUrl}}"],"path":["api","people",":id","permissions"],"query":[{"key":"","value":null}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Required)** Authenticated User Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 13 Nov 2020 19:45:41 GMT"},{"key":"Content-Length","value":"136"}],"cookie":[],"responseTime":null,"body":"{\n \"allowSearchCFMaster\": true,\n \"allowSearchCF\": true,\n \"allowCreatedCF\": true,\n \"allowPersonification\": true,\n \"allowCartApplicationAccess\": true,\n \"allowConsultSacOccurrences\": true,\n \"allowChangeIncorporatedItemQuantity\": true\n }"}],"_postman_id":"ecdc0b38-0644-400a-b46c-0fec6eb363a8"},{"name":"Consult service information","id":"433a00d7-f200-45b2-ba14-365ff19ff6ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/serviceInfo","description":"<p>This call is used to query the authenticated user's service information.</p>\n","urlObject":{"path":["api","sellers",":id","serviceInfo"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"dbbab94e-0af3-4a2f-8b97-bb8862821f05","description":{"content":"<p><strong>(Required)</strong> Identifier code of the logged in user.</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"85d7beb7-3357-4f8a-979d-90a7485235f0","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/serviceInfo","host":["{{baseUrl}}"],"path":["api","sellers",":id","serviceInfo"],"variable":[{"key":"id","value":"<integer>","description":"**(Required)** Authenticated User Code."}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"canOrderingOtherSeller\": \"Defines if the user can capture to another user\",\n \"searchSellerOnlyCode\": \"Defines whether it is possible to search for a user only with his code\",\n \"typeSearchSeller\": \"Indicates the type of search by the user\",\n \"canOrderingCDPA\": \"Defines if the user can capture by CDPA\",\n \"canOrderingCSLoja\": \"Defines if the user can capture to CSLoja\",\n \"checkoutForBuyerInPreviousCampaign\": \"Defines whether the user can checkout to the buyer in the past campaign\",\n \"checkoutInTheNewCampaign\": \"Defines whether the user can checkout the new campaign\",\n \"checkoutInTheNewCampaignWithoutConfirmation\": \"Defines whether the user can checkout the new campaign without confirmation\",\n \"selectMarketingMixCycle\": \"Defines if the user can select a marketing cycle mixed\"\n }"},{"id":"5d3b1034-3ca2-42d9-9636-731f005be3a0","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/serviceInfo","host":["{{baseUrl}}"],"path":["api","sellers",":id","serviceInfo"],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Required)** Authenticated User Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 13 Nov 2020 20:03:18 GMT"},{"key":"Content-Length","value":"177"}],"cookie":[],"responseTime":null,"body":"{\n \"canOrderingOtherSeller\": true,\n \"searchSellerOnlyCode\": false,\n \"typeSearchSeller\": 3,\n \"canOrderingCDPA\": true,\n \"canOrderingCSStore\": true,\n \"checkoutForBuyerInPreviousCampaign\": true,\n \"checkoutInTheNewCampaign\": true,\n \"checkoutInTheNewCampaignWithoutConfirmation\": true,\n \"selectMarketingMixCycle\": true\n }"}],"_postman_id":"433a00d7-f200-45b2-ba14-365ff19ff6ec"},{"name":"Validate permission to take order","id":"e4550135-b6a8-4d3c-8d46-72b08a388d1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/allowedOrderingSeller?identification={{donoPedido}}&includeOptions=by the way","description":"<p>This call is made to verify that the authenticated person can pick up a request for the user in question. </p>\n<p> If the call returns an object, the authenticated person can pick up a request for this user. If the call returns a <code>404 Not Found</code> error, the authenticated person does not have permission to take requests for that user. </p>\n<p> The <code>identification</code> input parameter can accept different values, depending on the <code>TypePessoaInicioCaptacao</code> system parameter, which has 3 values, available in the <a href=\"#3793265f-f98d-4d9e-8927-3015cc136210\">glossary</a>. </p>\n<p> <strong>Heads up</strong></p>\n<p> If the system parameter <code>RestrictQueryOfPeopleABuyersOnPurchase</code> is activated (value == <code>true</code>), the application will return only the users who can capture an order.</p>\n","urlObject":{"path":["api","sellers",":id","allowedOrderingSeller"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Accepts main document, main email or person code.</p>\n","type":"text/plain"},"key":"identification","value":"{{donoPedido}}"},{"description":{"content":"<p>Returns the person's alias.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"}],"variable":[{"id":"728d6844-c8c6-4e75-9046-533ea1edb1ef","description":{"content":"<p><strong>(Required)</strong> Identifier code of the logged in user.</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"2d612ac6-6afd-48aa-9ec7-7a4277beb035","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/allowedOrderingSeller?identification={{donoPedido}}&includeOptions=by the way","host":["{{baseUrl}}"],"path":["api","sellers",":id","allowedOrderingSeller"],"query":[{"key":"identification","value":"{{donoPedido}}","description":"**(Required)** main document, main emial, code"},{"key":"includeOptions","value":"by the way","description":"Returns the person&#39;s alias."}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Required)** Authenticated User."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 13 Nov 2020 20:00:56 GMT"},{"key":"Content-Length","value":"283"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 216,\n \"name\": \"ADRIANO TEST\",\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"https://inovadevsgi.geravd.com.br/Paginas/Imagens/Fotos/4f8fd46225c12195616c57d324878330.png\"\n }\n ],\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"3799245225ALIASWEBSTORE\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"ALIAS FANTASY NAME TEST\"\n }\n ],\n \"quantityCyclesWithoutOrdering\": 0,\n \"situation\": 0 \n }"},{"id":"54767f52-7270-49fd-b119-d4bbe8b36e46","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/allowedOrderingSeller?identification={{donoPedido}}&includeOptions=by the way","host":["{{baseUrl}}"],"path":["api","sellers",":id","allowedOrderingSeller"],"query":[{"key":"identification","value":"{{donoPedido}}","description":"**(Required)** main document, main emial, code"},{"key":"includeOptions","value":"by the way","description":"Returns the person&#39;s alias."}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Required)** Authenticated User."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 13 Nov 2020 20:00:56 GMT"},{"key":"Content-Length","value":"283"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Code of the consulted user\",\n \"name\": \"Name of the consulted user\",\n \"sellerPictures\": [ // List of reseller images\n {\n \"type\": { // Image Type - Possible Glossary Values (Image Types)\n \"id\": \"Image type code\",\n \"description\": \"Image type description\"\n },\n \"urlPicture\": \"Picture URL\"\n }\n ],\n \"alias\": [ // Alias List - Possible Glossary Values (Alias Types)\n {\n \"typeId\": \"Alias type code\",\n \"alias\": \"Person alias\"\n }\n ],\n \"quantityCyclesWithoutOrdering\": \"Amount of cycles since that the user does not place an order\"\n }"}],"_postman_id":"e4550135-b6a8-4d3c-8d46-72b08a388d1a"}],"id":"6351b422-be6f-4716-b8e0-483f65240124","description":"<p>In this step, the owner or owner of the order will be defined. To do this, you must first define whether the order is your own or for someone else. </p>\n<h2 id=\"own-order\">Own Order</h2>\n<p> If the order is your own -the authenticated person is taking an order for you- the application should <a href=\"#3cb48565-0f7c-467d-943b-632321920568\">obtain information from the reseller</a>. If the referenced endpoint does not return the desired person, the application must <a href=\"#ae7ad089-1130-42d9-af80-d3704575b2cc\">get information about the authenticated person</a>. </p>\n<h2 id=\"order-for-another-person\">Order for Another Person</h2>\n<p> If the request is for someone else - the authenticated person performs the capture of the request for another user -, the application must validate a series of permissions. </p>\n<h3 id=\"permissions\">Permissions</h3>\n<p> To confirm whether the logged in user can search for another user, the application should <a href=\"#c625cb9a-5563-4aec-a5fd-9e1c2160e38d\">see permissions</a> of the person. In the return object, the <code>allowSearchCF</code> property must be <code>true</code>. </p>\n<p> To validate whether the logged in user can take a request for another person, the application must <a href=\"#6ea8db25-d713-432f-8d64-47b258a84e10\">see service information</a> for the logged in person. In the return object, the <code>canOrderingOtherSeller</code> property must be <code>true</code>. </p>\n<p> If the above condition is true, the application must <a href=\"#105ba7cd-8c80-4c3d-b495-b45276ce792a\">validate permission to take order</a> for the person in question. If the endpoint returns the wanted person object, the user can pick up for that person. </p>\n<h4 id=\"register-new-person\">Register New Person</h4>\n<p> If the logged in user wants to capture to a person not registered on the platform, it will be necessary to register it in <strong>Let</strong>. For this, it is necessary to consult the part of <a href=\"#fe4f3582-5b22-4436-ada4-321c3704102b\">Registration</a>, where it will be possible to register a Reseller or Final Consumer to capture the order. </p>\n<p> <strong>Observation</strong></p>\n<p> When the user needs to register a new person in <strong>Let</strong>, it is necessary to check the <code>allowCreatedCF</code> permission, in the callback to <a href=\"#c625cb9a-5563-4aec-a5fd-9e1c2160e38d\">see permissions</a>, without this permission, no It is possible for the logged-in user to register a Final Consumer. In this case, registration can be done anonymously, with a public user. </p>\n<h3 id=\"get-reseller-information\">Get Reseller Information</h3>\n<p> If all conditions are true, the application should <a href=\"#3cb48565-0f7c-467d-943b-632321920568\">see dealer information</a>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"47bd22e7-954e-4210-96e6-c8e2574f7094"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"92829f5d-e6cd-4df0-a3c3-2de90012b850"}}],"_postman_id":"6351b422-be6f-4716-b8e0-483f65240124"},{"name":"Step 3 - Start Order","item":[{"name":"3.1 Reset Order (*)","item":[{"name":"Check open order","event":[{"listen":"test","script":{"exec":["var retrieved = tests[\"Status code is 201\"] = responseCode.code === 201;\r","postman.setEnvironmentVariable(\"codigoPedido\", null);\r","\r","if(retrieved)\r","{\r","    // Set the order code to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var codigoPedido = data.number;\r","    postman.setEnvironmentVariable(\"codigoPedido\", codigoPedido);\r","}"],"type":"text/javascript","id":"9f22f932-0fb8-44a0-9570-8a95e7e932c7"}}],"id":"4ee7cf2a-9ce4-4200-b710-9b014f2c091c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"representativeCode","value":"{{donoPedido}}","description":"<p>Order owner user code.</p>\n"},{"key":"collectionSystem","value":"{{collectionSystem}}","description":"<p>Capture system code.</p>\n"},{"key":"collectionMode","value":"{{collectionMode}}","description":"<p>Capture mode code.</p>\n"},{"key":"originSystem","value":"{{originSystem}}","description":"<p>Source system code.</p>\n"},{"key":"distributionCenterCode","value":"<integer>","description":"<p>Fixed distribution center code for which the person can be responsible.</p>\n"},{"key":"choosePaymentPlan","value":"<integer>","description":"<p>Payment plan definition moment. </p>\n<p> If the order to be captured is a type VI, the payment plan must be defined before initiating the order. For this, code 1 must be passed. </p>\n<p> In the case of EC and POS orders, the payment plan must be defined at the end of the qualification process. For this, code 2 must be passed.</p>\n"}]},"url":"{{baseUrl}}/api/orders/retrieved","description":"<p>This call is used to check if the user who owns the order has an open order. </p>\n<p> <strong>Heads up</strong></p>\n<p> In case a token refresh is performed, this API must always be called again.</p>\n","urlObject":{"path":["api","orders","retrieved"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"4116c4d9-2f09-434c-a820-f940ace07ef4","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"representativeCode","value":"{{donoPedido}}","description":"Order owner user code."},{"key":"collectionSystem","value":"{{collectionSystem}}","description":"ID_SYSTEM_CAPTATION"},{"key":"collectionMode","value":"{{collectionMode}}","description":"CAPTATION_ID_MEID"},{"key":"originSystem","value":"{{originSystem}}","description":"SOURCE_SYSTEM ID"},{"key":"distributionCenterCode","value":"<integer>","description":"Fixed distribution center code for which the person can be responsible.","disabled":true},{"key":"choosePaymentPlan","value":"{{choosePaymentPlan}}","description":"Payment plan definition moment. \n\n If the order to be captured is a type VI, the payment plan must be defined before initiating the order. For this, code 1 must be passed. \n\n In the case of EC and POS orders, the payment plan must be defined at the end of the qualification process. For this, code 2 must be passed."}]},"url":"{{baseUrl}}/api/orders/retrieved"},"status":"created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"location","value":"http://inovadevapisgi.geravd.com.br/api/orders/16276089"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 13 Nov 2020 19:24:31 GMT"},{"key":"Content-Length","value":"1069"}],"cookie":[],"responseTime":null,"body":"{\n \"number\": 16276089,\n \"businessInformation\": {\n \"paid\": false,\n \"orderingCycle\": 202011,\n \"marketingCycle\": 202011,\n \"itemsQuantity\": 1,\n \"productsQuantity\": 1,\n \"pointsQuantity\": 1800,\n \"minimumPointsQuantity\": 11100,\n \"tableValue\": 18,\n \"marketValue\": 18,\n \"netValue\": 18,\n \"businessModelCode\": 5,\n \"businessModelName\": \"Business Model - Final Consumer\",\n \"functionCode\": 9,\n \"simulatedValue\": 18,\n \"simulatedPoints\": 12423,\n \"simulatedOrderPoints\": 1800,\n \"simulatedValueProfitabilityGifts\": 0,\n \"distributionCenterCode\": 1,\n \"isWithdrawalCenter\": false,\n \"minimumPointsQuantityConsideredOrder\": 1800,\n \"minimumOrderType\": {\n \"id\": 1,\n \"description\": \"Monetary\"\n },\n \"allowChangeIncorporatedItemQuantity\": true,\n \"flexBalanceAvailable\": 0,\n \"flexBalanceAmountConsumed\": 0,\n \"flexBalanceUpdatedAvailable\": 0,\n \"proposedNetValue\": 0,\n \"allowFlexNegotiation\": false\n },\n \"businessStructure\": {\n \"businessStructureCode\": 30\n },\n \"items\": [\n {\n \"number\": 1,\n \"productCode\": 23, \n \"productName\": \"Product 01\",\n \"quantity\": 1,\n \"unitTableValue\": 18,\n \"unitMarketValue\": 18,\n \"unitNetValue\": 18,\n \"unitPointsQuantity\": 1800,\n \"unitKitPointsQuantity\": 0,\n \"unitMultilevelPointsQuantity\": 0,\n \"associatedItem\": true,\n \"associatedItemRequired\": false,\n \"associatedItemOrigin\": {\n \"id\": 3,\n \"description\": \"Start Kit\"\n },\n \"simulatedValueProfitability\": 18,\n \"simulatedValueProfitabilityUnit\": 18,\n \"profitabilityValue\": 0,\n \"origin\": {\n \"id\": 1,\n \"description\": \"Sale\" \n },\n \"isBloquedRemoveItem\": false,\n \"isBlockedEditQuantity\": true,\n \"confirmAssociatedItemDeletion\": false,\n \"associatedItemOriginDetails\": {\n \"origin\": {\n \"id\": 3,\n \"description\": \"Start Kit\"\n },\n \"promotionCode\": 12351,\n \"promotionDescription\": \"Promotion 01\",\n \"order\": 12345,\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\n \"orderCycle\": 202001,\n \"programPointsCode\": 2,\n \"programPointsDescription\": \"Points Program 01\",\n \"notificationCode\": 2,\n \"productCode\": 32\n },\n \"isMaterialKit\": false, \n \"productDescription\": \"Product 01\",\n \"hasDiscountValue\": false,\n \"hasAppliedProfitabilityValueAddItem\": false,\n \"multipleSaleRestriction\": 1,\n \"displayItemWithDiscountPromotion\": false,\n \"unitMeasurementType\": {\n \"id\": 1,\n \"description\": \"un\"\n },\n \"quantityUnitMeasurement\": 1,\n \"pricePerUnitMeasurement\": 18,\n \"flexNegotiation\": {\n \"minValue\": 17.99,\n \"maxValue\": 19.99,\n \"initialUnitNetValue\": 18,\n \"proposedUnitNetValue\": 0,\n \"proposedNetValue\": 0,\n \"status\": {\n \"id\": 1,\n \"description\": \"No negotiated\"\n },\n \"allowFlexNegotiation\": true\n },\n \"isClosedBoxProduct\": false,\n \"isPromotionRequirementProduct\": false\n }\n ],\n \"cutItems\": [\n {\n \"type\": {\n \"id\": 3,\n \"description\": \"Embedded\"\n },\n \"productCode\": 17,\n \"productName\": \"Product 02\",\n \"quantity\": 1,\n \"cutReason\": {\n \"id\": 2,\n \"description\": \"Price not registered\"\n },\n \"unitTableValue\": 0,\n \"unitMarketValue\": 0,\n \"isMaterialKit\": false,\n \"productDescription\": \"Product 02\",\n \"isClosedBoxProduct\": false,\n \"isPromotionRequirementProduct\": false\n },\n {\n \"type\": {\n \"id\": 3,\n \"description\": \"Embedded\"\n },\n \"productCode\": 22,\n \"productName\": \"Product 03\",\n \"quantity\": 1,\n \"cutReason\": {\n \"id\": 8,\n \"description\": \"Discontinued product\"\n },\n \"unitTableValue\": 0,\n \"unitMarketValue\": 0,\n \"isMaterialKit\": false,\n \"productDescription\": \"Product 03\",\n \"isClosedBoxProduct\": false, \n \"isPromotionRequirementProduct\": false\n }\n ],\n \"externalPreAuthorization\": false,\n \"orderBusinessStatus\": {\n \"code\": 1,\n \"description\": \"Capture\",\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\n },\n \"allRewardsPromotion\": false,\n \"paymentPlans\": {\n \"administrateTax\": 0,\n \"code\": 17,\n \"contingentPaymentPlans\": [],\n \"creditTreatment\": {\n \"description\": \"Ignore credit - does not consume credit\",\n \"id\": 3\n },\n \"externalPaymentMethod\": {\n \"description\": \"No\",\n \"id\": 0\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"minimumInstallmentAmount\": 0,\n \"name\": \"Currency(BRL)\",\n \"paymentInfo\": [\n {\n \"installments\":[1] ,\n \"installmentsQuantity\": 1\n }\n ],\n \"paymentMode\": {\n \"description\": \"In Kind\",\n \"id\": 11\n },\n \"showCreditConsumptionData\": {\n \"description\": \"No\",\n \"id\": 0\n },\n \"type\": {\n \"description\": \"Prepaid\",\n \"id\": 1\n } \n }\n }"},{"id":"2efcd62d-6db3-413b-97c6-268a178b4730","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"representativeCode","value":"{{donoPedido}}","description":"Order owner user code."},{"key":"collectionSystem","value":"{{collectionSystem}}","description":"ID_SYSTEM_CAPTATION"},{"key":"collectionMode","value":"{{collectionMode}}","description":"CAPTATION_ID_MEID"},{"key":"originSystem","value":"{{originSystem}}","description":"SOURCE_SYSTEM ID"},{"key":"distributionCenterCode","value":"<integer>","description":"Fixed distribution center code for which the person can be responsible.","disabled":true},{"key":"choosePaymentPlan","value":"{{choosePaymentPlan}}","description":"Payment plan definition moment. \n\n If the order to be captured is a type VI, the payment plan must be defined before initiating the order. For this, code 1 must be passed. \n\n In the case of EC and POS orders, the payment plan must be defined at the end of the qualification process. For this, code 2 must be passed."}]},"url":"{{baseUrl}}/api/orders/retrieved"},"status":"created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"location","value":"http://inovadevapisgi.geravd.com.br/api/orders/16276089"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 13 Nov 2020 19:24:31 GMT"},{"key":"Content-Length","value":"1069"}],"cookie":[],"responseTime":null,"body":"{\n \"number\": \"Order number\",\n \"businessInformation\": { // Business Information\n \"paid\": \"Indicates if the order has already been paid\",\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\n \"itemsQuantity\": \"Quantity of items included in the order\",\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\n \"pointsQuantity\": \"Amount of points earned on order\",\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\n \"tableValue\": \"Product table value\",\n \"marketValue\": \"Product value practiced\",\n \"netValue\": \"Net product value\",\n \"businessModelCode\": \"Business rule code\",\n \"businessModelName\": \"Business Rule Name\",\n \"functionCode\": \"Person&#39;s Function Code\",\n \"simulatedValue\": \"Simulated order value\",\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\n \"simulatedOrderPoints\": \"Simulated order point value\",\n \"simulatedValueProfitabilityGifts\": \"Total profit forecast from order gifts\",\n \"distributionCenterCode\": \"Distribution center code\",\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\n \"id\": \"Value type code\",\n \"description\": \"Description of value type\"\n },\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\n \"flexBalanceAvailable\": \"Available flex budget amount\",\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\n \"proposedNetValue\": \"Proposed trading value\",\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \n },\n \"businessStructure\": { // Business Structure\n \"businessStructureCode\": \"Business Structure Code\"\n },\n \"items\": [ // List of items included in the order\n {\n \"number\": \"Item number\",\n \"productCode\": \"Product code\",\n \"productName\": \"Product Name\",\n \"quantity\": \"Quantity of item on order\",\n \"unitTableValue\": \"Unit table value\",\n \"unitMarketValue\": \"Unit value practiced\",\n \"unitNetValue\": \"Net unit value\",\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\n \"associatedItem\": \"Indicates if the product is associated with another\",\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\n \"id\": \"Source code of associated item\",\n \"description\": \"Description of the associated item&#39;s origin\"\n },\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\n \"profitabilityValue\": \"Profitability Value\",\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\n \"id\": \"Item source code\",\n \"description\": \"Description of the item&#39;s origin\"\n },\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\n \"id\": \"Embedded item source code\",\n \"description\": \"Description of the embedded item&#39;s origin\"\n },\n \"promotionCode\": \"Promotion code\",\n \"promotionDescription\": \"Description of the promotion\",\n \"order\": \"Order\",\n \"collectionDate\": \"Date of collection\",\n \"orderCycle\": \"Capture cycle\",\n \"programPointsCode\": \"Point program code\",\n \"programPointsDescription\": \"Description of points program\",\n \"notificationCode\": \"Notification code\",\n \"productCode\": \"Embedded product code\"\n },\n \"isMaterialKit\": \"Indicates the material is a kit\",\n \"productDescription\": \"Product description\",\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\n \"id\": \"Unit of measurement code\",\n \"description\": \"Description of the unit of measure\"\n },\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\n \"flexNegotiation\": { // Product price negotiation\n \"minValue\": \"Minimum value the product must have\",\n \"maxValue\": \"Maximum value the product should have\",\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\n \"proposedNetValue\": \"Proposed Net Value\" ,\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\n \"id\": \"Negotiation status code\",\n \"description\": \"Description of trading status\"\n },\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\n },\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\n }\n ],\n \"cutItems\": [ // Cut Items\n {\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\n \"id\": \"Cut item type code\",\n \"description\": \"Description of cropped item type\"\n },\n \"productCode\": \"Product code\",\n \"productName\": \"Product Name\",\n \"quantity\": \"Product quantity\",\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\n \"id\": \"Cut ratio code\",\n \"description\": \"Description of the reason of cut\"\n },\n \"unitTableValue\": \"Unit table value\",\n \"unitMarketValue\": \"Unit value practiced\",\n \"isMaterialKit\": \"Indicates the material is a kit\",\n \"productDescription\": \"Product description\",\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\n }\n ],\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\n \"code\": \"Order status code\",\n \"description\": \"Description of the commercial status of the order\",\n \"dateCreated\": \"Order creation date\"\n },\n \"paymentPlans\": { // Default payment plan chosen for the order\n \"administrateTax\": \"Tax administrative\",\n \"code\": \"Payment plan code\",\n \"contingentPaymentPlans\": [], // contingency payment plans\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\n \"description\": \"Description of credit treatment\",\n \"id\": \"Credit handling code\"\n },\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\n \"description\": \"Description of external payment method\",\n \"id\": \"External payment method code\"\n },\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\n \"minimumInstallmentAmount\": \"Minimum amount of installments\",\n \"name\": \"Payment plan name\",\n \"paymentInfo\": [ // Payment information\n {\n \"installments\": [], // Installments\n \"installmentsQuantity\": \"Number of installments\"\n }\n ],\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\n \"description\": \"Description of payment method\",\n \"id\": \"Payment method code\"\n },\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Consumption Data Settings Credit)\n \"description\": \"No\",\n \"id\": 0\n },\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\n \"description\": \"Description of payment plan type\",\n \"id\": \"Payment plan type code\"\n }\n },\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\n }"}],"_postman_id":"4ee7cf2a-9ce4-4200-b710-9b014f2c091c"}],"id":"454bf7b8-7519-4066-904c-b76a50fef07a","description":"<p>In this step, the application checks if there is any <a href=\"#859b0485-fee3-40db-b961-79e84354a44b\">open order</a> for the user who owns the order. If the endpoint returns the <code>204 No Content</code> error, the application must continue the flow below to create a new request. If an order is returned, we must skip to step <a href=\"#215b01e5-82fb-41fc-b32e-288b8bedc247\">Capture Order</a>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a7f9ebfd-29d1-43a9-8dc7-57d67f2311cd"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"80ee4614-8bd9-4a89-a51b-852a3ac508b5"}}],"_postman_id":"454bf7b8-7519-4066-904c-b76a50fef07a"},{"name":"3.2 Get Data to Start Order","item":[{"name":"3.2.1 Define Business Rule","item":[{"name":"See business rule","id":"b1b9915b-a5bc-4612-8ab3-b1bf662751df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/businessModels?orderingSystemCode=<integer>&functionCode=<integer>&momentControlCenter=<integer>&associationControlCenterType=<integer>&businessModelCode=<integer>&applicationCode=<integer>&fixedDistributionCenterCode=<integer>&orderNumber=<integer>","description":"<p>In the return object of the business model, there is the <code>configurationSystem</code> array. In it we have the business rule settings (these settings can be changed through the <strong>Let</strong> registration screen). </p>\n<p> Even if a single business rule is used, it is important to go through this step to obtain the code of the currently active rule and the settings defined in the <strong>Let</strong> registration screen.</p>\n","urlObject":{"path":["api","sellers",":id","businessModels"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Collection system code.</p>\n","type":"text/plain"},"key":"orderingSystemCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the possible functions of the business rule currently used:</p>\n<p> |Code|Function|\n |-- -|-- -|\n |1|Reseller|\n |2|Collaborator|\n |9|End Consumer|</p>\n<p> <strong>Heads up</strong></p>\n<p> When a person has more than one function, the application must send a <code>functionCode</code> parameter to each of the functions. </p>\n<p> E.g.: &amp;functionCode=&amp;functionCode=</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p>Time when the control center is used.</p>\n","type":"text/plain"},"key":"momentControlCenter","value":"<integer>"},{"description":{"content":"<p>Control center membership type:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>NotApplicable</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Whole Order</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Product</td>\n</tr>\n</tbody>\n</table>\n</div><p> <strong>Heads up</strong></p>\n<p> The application must send an <code>associationControlCenterType</code> parameter to each code. </p>\n<p> E.g.: &amp;associationassociationControlCenterType=2&amp;associationControlCenterType3</p>\n","type":"text/plain"},"key":"associationControlCenterType","value":"<integer>"},{"description":{"content":"<p>Business rule code.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p>Application code.</p>\n","type":"text/plain"},"key":"applicationCode","value":"<integer>"},{"description":{"content":"<p>Fixed distribution center code, if the authenticated person is responsible for a CD.</p>\n","type":"text/plain"},"key":"fixedDistributionCenterCode","value":"<integer>"},{"description":{"content":"<p>For eCommerce orders, it is not recommended to use this parameter. It is used to get the business rule from an existing order.</p>\n","type":"text/plain"},"key":"orderNumber","value":"<integer>"}],"variable":[{"id":"1f074dc5-af40-46b5-b1d5-3a5686626b5b","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Order owner user code.</p>\n","type":"text/plain"},"type":"any","value":"{{donoPedido}}","key":"id"}]}},"response":[{"id":"3e041132-2246-4a5a-8907-4b53acab0b47","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/businessModels?orderingSystemCode=<integer>&functionCode=<integer>&momentControlCenter=<integer>&associationControlCenterType=<integer>&businessModelCode=<integer>&applicationCode=<integer>&fixedDistributionCenterCode=<integer>&orderNumber=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","businessModels"],"query":[{"key":"orderingSystemCode","value":"<integer>","description":"**(Required)** Collection system code."},{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the possible functions of the business rule currently used:\n\n |Code|Function|\n |-- -|-- -|\n |1|Reseller|\n |2|Collaborator|\n |9|End Consumer|\n\n **Heads up**\n\n When a person has more than one function, the application must send a `functionCode` parameter to each of the functions. \n\n E.g.: &amp;functionCode=1&amp;functionCode=2"},{"key":"momentControlCenter","value":"<integer>","description":"Time when the control center"},{"key":"associationControlCenterType","value":"<integer>","description":"Association Control Center Type:\n\n |||\n |-- |-- |\n |1|NotApplicable|\n |2|Whole Order|\n |3|Product|\n\n **Heads up**\n\n The application must send an `associationControlCenterType` parameter to each code. \n\n E.g.: &amp;associationAccountType%5B%5D=2&amp;associationAccountType%5B%5D=3"},{"key":"businessModelCode","value":"<integer>","description":"Business rule code."},{"key":"applicationCode","value":"<integer>","description":"Application code."},{"key":"fixedDistributionCenterCode","value":"<integer>","description":"Fixed distribution center code, if the authenticated person is responsible for a CD."},{"key":"orderNumber","value":"<integer>","description":"For eCommerce orders, it is not recommended to use this parameter. It is used to get the business rule from an existing order."}],"variable":[{"key":"id","value":"{{donoPedido}}","description":"**(Required)** Order owner user code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Business rule code\",\n \"name\": \"Business rule name\",\n \"function\": { // Function for which the business rule is configured and has been filtered\n \"code\": \"Function code\"\n },\n \"role\": [ // List of roles for which the business rule is configured\n {\n \"code\": \"Paper code\",\n \"name\": \"Role name\"\n }\n ],\n \"orderingDescription\": \"Business rule alternative name\",\n \"businessModelDefault\": \"Default business rule\",\n \"profitabilityDefault\": \"Profitability Default\",\n \"configurationSystem\": { // Business rule settings for the source system (orderingSystemCode) entered \n \"allowsGiftPackaging\": \"Allows to select gift packaging\",\n \"allowsMultiplePackagingItems\": \"Allows multiple items in gift packaging\",\n \"creditLimitConsideringTolerance\": \"Display credit limit considering tolerance\",\n \"displayAlertMenssageExpiredData\": \"Display Expired Data Alert Message\",\n \"displayExportImportItems\": \"Allows to export/import items\",\n \"displayModalProductReplacement\": \"Allows displaying modal with substitute product\",\n \"useAlternativeOrderingDescription\": \"Use alternative description of business model in capture\",\n \"useCompositeMarketing\": \"Use marketing composite\",\n \"useCompositeMarketingPastCycles\": \"Use Composite Marketing Past Cycles\",\n \"quantityPastCyclesCompositeMarketing\": \"Amount of past cycles to be used in the marketing mix\",\n \"useCompositeMarketingFutureCycles\": \"Use Composite Marketing Future Cycles\",\n \"quantityFutureCyclesCompositeMarketing\": \"Amount of future cycles to be used in the marketing composite\",\n \"savesReserveOrder\": \"Allows to keep order reserved\",\n \"allowsCheckingAccountAdjustment\": \"Allows to change residual current account\",\n \"displayAlertPartialPromotions\": \"Display alert modal with partially won promotions\",\n \"allowAddAddressesApplication\": \"Allow add address\",\n \"allowShowEditableAddresses\": \"Allows to display addresses that can be edited\",\n \"requiredSelectAccount\": \"Requires selection of an account\",\n \"usesBarcode\": \"Uses barcode\" \n },\n \"minimumScore\": \"Minimum score\",\n \"maximumScore\": \"Maximum score\",\n \"minimumMileageScore\": \"Minimum Mileage Score\",\n \"minimumSaleScore\": \"Minimum Sale Score\",\n \"absoluteToleranceValue\": \"Absolute Tolerance Value\",\n \"absoluteExtraCreditValue\": \"Absolute Extra Credit Value\",\n \"isMaterialKitShow\": \"Indicates whether the application should show the materials that make up a Kit\",\n \"controlCenter\": [ // List of control centers\n {\n \"controlCenterNumber\": \"Control center number\",\n \"descriptionCode\": \"Control center description code\",\n \"description\": \"Control center description\",\n \"usedInCampaign\": \"Indicates if the control center is used in some campaign\",\n \"usedInOrder\": \"Indicates if the control center is used in any order\",\n \"usedInPromo\": \"Indicates if the control center is used in any promotions\",\n \"usedInMaterial\": \"Indicates if the control center is used in any material\",\n \"usedInSac\": \"Indicates if the control center is used in any SAC instance\",\n \"usedInFinancial\": \"Indicates whether the control center is used for a financial transaction\",\n \"usedInPricesFlexibility\": \"Indicates whether the control center is used for pricing flexibility\",\n \"controlType\": { // Control Center Type - Possible Glossary Values (Control Center Types)\n \"code\": \"Control center type code\",\n \"name\": \"Control center type name\" \n }\n }\n ],\n \"account\": [ // List of G/L accounts configured for business rule\n {\n \"code\": \"Account code\",\n \"name\": \"Account name\",\n \"movimentCode\": \"Motion code\"\n }\n ],\n \"isAllowedSellerIndicationInOrderItems\": \"Indicates whether a reseller can be referred to an order item\",\n \"isBlocked\": \"Indicates if the business rule is unavailable for use in the current order context\",\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\n \"id\": \"Value type code\",\n \"description\": \"Description of value type\" \n },\n \"minimumSellingMarginPercentual\": \"Minimum selling margin percentage\",\n \"isAllowedClosedBox\": \"Indicates whether it is possible to include items sold in closed boxes\"\n }\n ]"},{"id":"ba9733bf-3bbe-4f93-a5dd-2d693f645d04","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/businessModels?orderingSystemCode=3&functionCode=1&momentControlCenter=1&associationControlCenterType=2&businessModelCode=<integer>&applicationCode=2&fixedDistributionCenterCode=<integer>&orderNumber=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","businessModels"],"query":[{"key":"orderingSystemCode","value":"3","description":"**(Required)** Collection system code."},{"key":"functionCode","value":"1","description":"**(Mandatory)**\n\n Code of the possible functions of the business rule currently used:\n\n |Code|Function|\n |-- -|-- -|\n |1|Reseller|\n |2|Collaborator|\n |9|End Consumer|\n\n **Heads up**\n\n When a person has more than one function, the application must send a `functionCode` parameter to each of the functions. \n\n E.g.: &amp;functionCode=1&amp;functionCode=2"},{"key":"momentControlCenter","value":"1","description":"Time when the control center"},{"key":"associationControlCenterType","value":"2","description":"Association Control Center Type:\n\n |||\n |-- |-- |\n |1|NotApplicable|\n |2|Whole Order|\n |3|Product|\n\n **Heads up**\n\n The application must send an `associationControlCenterType` parameter to each code. \n\n E.g.: &amp;associationAccountType%5B%5D=2&amp;associationAccountType%5B%5D=3"},{"key":"businessModelCode","value":"<integer>","description":"Business rule code."},{"key":"applicationCode","value":"2","description":"Application code."},{"key":"fixedDistributionCenterCode","value":"<integer>","description":"Fixed distribution center code, if the authenticated person is responsible for a CD."},{"key":"orderNumber","value":"<integer>","description":"For eCommerce orders, it is not recommended to use this parameter. It is used to get the business rule from an existing order."}],"variable":[{"key":"id","value":"{{donoPedido}}","description":"**(Required)** Order owner user code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Wed, 18 Nov 2020 15:07:21 GMT"},{"key":"Content-Length","value":"887"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 1,\n \"name\": \"Business Model 1\",\n \"function\": {\n \"code\": 1\n },\n \"orderingDescription\": \"Consultant - Resale of products - POS\",\n \"businessModelDefault\": false,\n \"profitabilityDefault\": 30,\n \"configurationSystem\": {\n \"allowsGiftPackaging\": true,\n \"allowsMultiplePackagingItems\": false,\n \"creditLimitConsideringTolerance\": true,\n \"displayAlertMenssageExpiredData\": false,\n \"displayExportImportItems\": true,\n \"displayModalProductReplacement\": true,\n \"useAlternativeOrderingDescription\": false,\n \"useCompositeMarketing\": true, \n \"useCompositeMarketingPastCycles\": false,\n \"quantityPastCyclesCompositeMarketing\": 4,\n \"useCompositeMarketingFutureCycles\": false,\n \"quantityFutureCyclesCompositeMarketing\": 3,\n \"savesReserveOrder\": true,\n \"allowsCheckingAccountAdjustment\": true,\n \"displayAlertPartialPromotions\": true,\n \"allowAddAddressesApplication\": true,\n \"allowShowEditableAddresses\": true,\n \"requiredSelectAccount\": false,\n \"usesBarcode\": false\n },\n \"minimumScore\": 0,\n \"maximumScore\": 999999900,\n \"minimumMileageScore\": 0,\n \"minimumSaleScore\": 0,\n \"absoluteToleranceValue\": 0,\n \"absoluteExtraCreditValue\": 0,\n \"isMaterialKitShow\": false,\n \"isAllowedSellerIndicationInOrderItems\": false,\n \"isBlocked\": true,\n \"minimumOrderType\": {\n \"id\": 1,\n \"description\": \"Monetary\"\n },\n \"isAllowedClosedBox\": false,\n \"controlCenter\": [\n {\n \"controlCenterNumber\": 1,\n \"descriptionCode\": \"1\",\n \"description\": \"Test Price Flexibility 001\",\n \"usedInCampaign\": false,\n \"usedInOrder\": true,\n \"usedInPromo\": true,\n \"usedInMaterial\": false,\n \"usedInSac\": false,\n \"usedInFinancial\": false,\n \"usedInPricesFlexibility\": true,\n \"controlType\": {\n \"code\": 1,\n \"name\": \"Cost Center\"\n }\n }\n ],\n \"account\": [\n {\n \"code\": 2,\n \"name\": \"Outgoing by sale (Outgoing to Sale)\",\n \"motionCode\": 1\n }\n ]\n },\n {\n \"code\": 4,\n \"name\": \"Business model cod. two\",\n \"function\": {\n \"code\": 1\n },\n \"orderingDescription\": \"QA Test - Consultant - Initial Order for Resale Products - POS\",\n \"businessModelDefault\": false,\n \"profitabilityDefault\": 0,\n \"configurationSystem\": {\n \"allowsGiftPackaging\": false,\n \"allowsMultiplePackagingItems\": false,\n \"creditLimitConsideringTolerance\": true,\n \"displayAlertMenssageExpiredData\": false,\n \"displayExportImportItems\": true,\n \"displayModalProductReplacement\": false,\n \"useAlternativeOrderingDescription\": false,\n \"useCompositeMarketing\": true,\n \"useCompositeMarketingPastCycles\": false,\n \"quantityPastCyclesCompositeMarketing\": 4,\n \"useCompositeMarketingFutureCycles\": false,\n \"quantityFutureCyclesCompositeMarketing\": 3,\n \"savesReserveOrder\": true,\n \"allowsCheckingAccountAdjustment\": true,\n \"displayAlertPartialPromotions\": false,\n \"allowAddAddressesApplication\": false,\n \"allowShowEditableAddresses\": true,\n \"requiredSelectAccount\": false,\n \"usesBarcode\": false\n },\n \"minimumScore\": 100,\n \"maximumScore\": 100000000,\n \"minimumMileageScore\": 0,\n \"minimumSaleScore\": 100,\n \"absoluteToleranceValue\": 0,\n \"absoluteExtraCreditValue\": 0,\n \"isMaterialKitShow\": false,\n \"account\": [\n {\n \"code\": 2,\n \"name\": \"Outgoing by sale (Outgoing to Sale)\",\n \"motionCode\": 1\n }\n ],\n \"isAllowedSellerIndicationInOrderItems\": false,\n \"isBlocked\": true,\n \"minimumOrderType\": {\n \"id\": 0,\n \"description\": \"Points\"\n },\n \"isAllowedClosedBox\": false\n },\n {\n \"code\": 12,\n \"name\": \"Direct sales model\",\n \"function\": {\n \"code\": 1\n },\n \"orderingDescription\": \"POS\",\n \"businessModelDefault\": false,\n \"profitabilityDefault\": 10,\n \"configurationSystem\": {\n \"allowsGiftPackaging\": false,\n \"allowsMultiplePackagingItems\": false,\n \"creditLimitConsideringTolerance\": true,\n \"displayAlertMenssageExpiredData\": false,\n \"displayExportImportItems\": true,\n \"displayModalProductReplacement\": false,\n \"useAlternativeOrderingDescription\": false,\n \"useCompositeMarketing\": true,\n \"useCompositeMarketingPastCycles\": false,\n \"quantityPastCyclesCompositeMarketing\": 4,\n \"useCompositeMarketingFutureCycles\": false,\n \"quantityFutureCyclesCompositeMarketing\": 3,\n \"savesReserveOrder\": true, \n \"allowsCheckingAccountAdjustment\": false,\n \"displayAlertPartialPromotions\": false,\n \"allowAddAddressesApplication\": false,\n \"allowShowEditableAddresses\": false,\n \"requiredSelectAccount\": false,\n \"usesBarcode\": false\n },\n \"minimumScore\": 1000,\n \"maximumScore\": 1000000,\n \"minimumMileageScore\": 0,\n \"minimumSaleScore\": 1000,\n \"absoluteToleranceValue\": 0,\n \"absoluteExtraCreditValue\": 0,\n \"isMaterialKitShow\": false,\n \"account\": [\n {\n \"code\": 1,\n \"name\": \"Entry by Acquisition (Entry by Local Purchase)\",\n \"motionCode\": 31\n }\n ],\n \"isAllowedSellerIndicationInOrderItems\": false,\n \"isBlocked\": true,\n \"minimumOrderType\": {\n \"id\": 1,\n \"description\": \"Monetary\"\n },\n \"isAllowedClosedBox\": false\n },\n {\n \"code\": 25,\n \"name\": \"INNOVATE 1 Model\",\n \"function\": {\n \"code\": 1\n },\n \"orderingDescription\": \"Consultant - Product resale - Innovation\",\n \"businessModelDefault\": true,\n \"profitabilityDefault\": 30,\n \"configurationSystem\": {\n \"allowsGiftPackaging\": false,\n \"allowsMultiplePackagingItems\": false,\n \"creditLimitConsideringTolerance\": true,\n \"displayAlertMenssageExpiredData\": false,\n \"displayExportImportItems\": true,\n \"displayModalProductReplacement\": true,\n \"useAlternativeOrderingDescription\": true,\n \"useCompositeMarketing\": true,\n \"useCompositeMarketingPastCycles\": false,\n \"quantityPastCyclesCompositeMarketing\": 4,\n \"useCompositeMarketingFutureCycles\": false,\n \"quantityFutureCyclesCompositeMarketing\": 3,\n \"savesReserveOrder\": true,\n \"allowsCheckingAccountAdjustment\": true,\n \"displayAlertPartialPromotions\": true,\n \"allowAddAddressesApplication\": true, \n \"allowShowEditableAddresses\": true,\n \"requiredSelectAccount\": false,\n \"usesBarcode\": false\n },\n \"minimumScore\": 10000,\n \"maximumScore\": 100000000,\n \"minimumMileageScore\": 0,\n \"minimumSaleScore\": 10000,\n \"absoluteToleranceValue\": 0,\n \"absoluteExtraCreditValue\": 0,\n \"isMaterialKitShow\": false,\n \"account\": [\n {\n \"code\": 1,\n \"name\": \"Entry by Acquisition (Entry by Local Purchase)\",\n \"motionCode\": 31\n },\n {\n \"code\": 2,\n \"name\": \"Outgoing by sale (Outgoing to Sale)\", \n \"motionCode\": 1\n }\n ],\n \"isAllowedSellerIndicationInOrderItems\": false,\n \"isBlocked\": true,\n \"minimumOrderType\": {\n \"id\": 1,\n \"description\": \"Monetary\"\n },\n \"isAllowedClosedBox\": false\n }\n ]"}],"_postman_id":"b1b9915b-a5bc-4612-8ab3-b1bf662751df"},{"name":"Consult delivery mode","id":"3eba9525-0a02-47dd-a342-a95c5f6a1693","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:sellerId/businessModels/:businessModelsId/deliveryMode","description":"<p>Each business rule has delivery methods configured (eg, receive at delivery address or the CDs the person can pick up from). </p>\n<p> What defines whether the order should be withdrawn on a CD or delivered is the <code>isWithdrawalCenter</code> return parameter of this call. If the value of this parameter is <code>true</code>, then the order must be checked out on a CD. If it is <code>false</code>, it must be delivered.</p>\n","urlObject":{"path":["api","sellers",":sellerId","businessModels",":businessModelsId","deliveryMode"],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"<p>Fixed distribution center code, if the authenticated person is responsible for a CD.</p>\n","type":"text/plain"},"key":"fixedDistributionCenterCode","value":"<integer>"}],"variable":[{"id":"a650a63d-3354-4f07-8cb1-7af199e9f3a2","description":{"content":"<p><strong>(Required)</strong> Order owner user code.</p>\n","type":"text/plain"},"type":"any","value":"{{donoPedido}}","key":"sellerid"},{"id":"f0ba56d1-a797-44e1-be64-ed968758f147","description":{"content":"<p><strong>(Required)</strong> Business rule code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"businessModelsId"}]}},"response":[{"id":"1d4c5884-749e-4864-b126-0a85efd2be50","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:sellerId/businessModels/:businessModelsId/deliveryMode","host":["{{baseUrl}}"],"path":["api","sellers",":sellerId","businessModels",":businessModelsId","deliveryMode"],"query":[{"key":"fixedDistributionCenterCode","value":"<integer>","description":"Fixed distribution center code, if the authenticated person is responsible for a CD.","disabled":true}],"variable":[{"key":"sellerid","value":"{{donoPedido}}","description":"**(Required)** Order owner user code."},{"key":"businessModelsId","value":"<integer>","description":"**(Required)** Business rule code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 16 Nov 2020 18:57:04 GMT"},{"key":"Content-Length","value":"200"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\n \"distributionCenterCode\": \"Distribution center code\",\n \"distributionCenterName\": \"Distribution Center Name\",\n \"address\": \"Distribution center address\"\n }\n ]"},{"id":"0d2fe287-8c12-44a9-9242-c8cf577820a3","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:sellerId/businessModels/:businessModelsId/deliveryMode","host":["{{baseUrl}}"],"path":["api","sellers",":sellerId","businessModels",":businessModelsId","deliveryMode"],"query":[{"key":"fixedDistributionCenterCode","value":"<integer>","description":"Fixed distribution center code, if the authenticated person is responsible for a CD.","disabled":true}],"variable":[{"key":"sellerid","value":"{{donoPedido}}","description":"**(Required)** Order owner user code."},{"key":"businessModelsId","value":"5","description":"**(Required)** Business rule code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 16 Nov 2020 18:57:04 GMT"},{"key":"Content-Length","value":"200"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"isWithdrawalCenter\": false,\n \"distributionCenterCode\": 1,\n \"distributionCenterName\": \"Ecommerce Order Capture Center\",\n \"address\": \"AVENIDA IGUAÇU 2820 - ÁGUA VERDE - CURITIBA - PR - BRAZIL - CEP: 80240-031\"\n }\n ]"}],"_postman_id":"3eba9525-0a02-47dd-a342-a95c5f6a1693"}],"id":"21d8134e-25b1-4c19-b7b6-f7ce75ef90e7","description":"<p>To define the business rule to be used in the order, you must first <a href=\"#95c19e2b-7d4b-405e-89a5-2e7370211cd5\">get the person's roles</a>. </p>\n<p> On the return object from this call, there is the <code>code</code> attribute. The value of this attribute will be inserted as a parameter in the call to <a href=\"#6854d75b-c2f9-460c-a3f2-dee6ebbef514\">get delivery mode</a>. </p>\n<h3 id=\"define-gl-account\">Define G/L Account</h3>\n<p> In the return object of the Get Business Rule call, there is an attribute called \"account\", as we can see below:</p>\n<p> \"account\": [\n {\n \"code\": \"\",\n \"name\": \"\",\n \"motionCode\": \"\"\n },\n {\n \"code\": \"\",\n \"name\": \"\",\n \"motionCode\": \"\"\n }\n ]</p>\n<p> These are the possible G/L accounts that the user can choose to capture the order. If no account is defined, the platform will automatically select the first one related to the rule.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"cddeb37d-6951-4787-be88-8da132351c06"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ee00aea8-0658-4e81-8e95-d996e4875d81"}}],"_postman_id":"21d8134e-25b1-4c19-b7b6-f7ce75ef90e7"},{"name":"3.2.2 Define Sales Cycle","item":[{"name":"Change sales cycle","id":"60fc403c-a8ee-4ccc-b969-1f40e64b15f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/sellers/:id/nextCycle?functionCode=<integer>&businessModelCode=<integer>","description":"<p>This call is used to change a user's sales cycle.</p>\n","urlObject":{"path":["api","sellers",":id","nextCycle"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function code of the business rule that will be used in the order.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the business rule that will be used in the order.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"}],"variable":[{"id":"888bce7b-f975-4a4a-8ca7-8065a50255c7","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> User code that owns the order, whose cycle will be exchanged.</p>\n","type":"text/plain"},"type":"any","value":"{{donoPedido}}","key":"id"}]}},"response":[{"id":"3c85ede7-a965-4788-bbed-441757fbe86d","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/nextCycle?functionCode=<integer>&businessModelCode=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","nextCycle"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code of the business rule that will be used in the order."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the business rule that will be used in the order."}],"variable":[{"key":"id","value":"{{donoPedido}}","description":"**(Mandatory)**\n\n User code that owns the order, whose cycle will be exchanged."}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"60fc403c-a8ee-4ccc-b969-1f40e64b15f3"}],"id":"d2ec1685-4e84-4dd5-9cca-8942b31e3694","description":"<p>In this step, the sales cycle in which the order will be captured will be defined. If the user has permission and chooses to seize the order in the next cycle, it will be switched to the future cycle. </p>\n<p> In the callback object to <a href=\"#3cb48565-0f7c-467d-943b-632321920568\">get shopper info</a>, there are some important attributes highlighted below:</p>\n<ul>\n<li><p><code>businessData</code>:</p>\n</li>\n<li><p><code>nextCycle</code>: Person's next cycle, if there is future cycle open for structure;</p>\n</li>\n<li><p><code>currentCycle</code>: Current cycle of the person who will be used in the order.</p>\n</li>\n</ul>\n<p> If the current cycle is different from the future cycle, there are two open cycles. If the user/system has permission, he can perform a capture in one of the cycles. </p>\n<p> If the system parameter <code>AllowCaptureOnNextCampaignInExtendedPeriodWithoutCloseBuyerCampaign</code> is <code>true</code>, it is possible to place an order in a future cycle without closing the current cycle (more details in <a href=\"#ee913ad3-6566-4392-ac79-b686cc2bb765\">Create Order</a>). If it is <code>false</code>, to capture an order in the future cycle, it is necessary to <a href=\"#3a08034a-2c30-4a7e-b78f-eccf77086447\">close the current cycle</a>. </p>\n<p> <strong>Heads up</strong></p>\n<p> Once the call has been made and the API has been successfully processed, the person will be switched to the next cycle. As a result, it will no longer have the option to capture in the previous cycle. </p>\n<p> When performing this process, it is necessary to <a href=\"#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7\">get business rule</a> again, because with the change of cycle, the data can be changed.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"033087a0-ed6f-4e24-9849-3ca4badf8025"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"0cfaa28a-71a8-42cf-991c-66b3fd2dcb75"}}],"_postman_id":"d2ec1685-4e84-4dd5-9cca-8942b31e3694"},{"name":"3.2.3 Define Marketing Cycle and Sub-cycle","item":[],"id":"1b2580af-1286-4308-8cf7-3e5ae3bb2954","description":"<p>After defining the sales cycle, the marketing cycle and sub-cycle can be defined, if the commercial rule allows it. </p>\n<p> Marketing cycle and sub-cycle are a bonus provided by the company so that the customer can benefit from prices and promotions from future and/or past cycles. </p>\n<p> With business rule settings:</p>\n<ul>\n<li><p><code>useCompositeMarketing</code>: Allows you to use composite marketing cycles;</p>\n</li>\n<li><p><code>useCompositeMarketingPastCycles</code>: Allows you to use past composite marketing cycles;</p>\n</li>\n<li><p><code>quantityPastCyclesCompositeMarketing</code>: Number of past cycles to be used in the marketing composite;</p>\n</li>\n<li><p><code>useCompositeMarketingFutureCycles</code>: Allows you to use future composite marketing cycles;</p>\n</li>\n<li><p><code>quantityFutureCyclesCompositeMarketing</code>: Number of future cycles to be used in the marketing composite;</p>\n</li>\n</ul>\n<h2 id=\"get-marketing-cycle\">Get Marketing Cycle</h2>\n<p> The application must first <a href=\"#e844fb42-e1de-47d3-927e-f93198ccc2d7\">get the available marketing cycles</a>. The <code>initialCycle</code> and <code>cycleOffset</code> parameters are taken from the call response to get the business rule. </p>\n<ul>\n<li><p><code>initialCycle</code>: This parameter indicates the cycle from which the counting should start. In the response object of the call to <a href=\"#3cb48565-0f7c-467d-943b-632321920568\">get person info</a>, the current cycle of this person is returned via the <code>currentCycle</code> attribute;</p>\n</li>\n<li><p><code>cycleOffset</code>: This parameter indicates the number of cycles desired in the callback list. This number can be positive or negative, depending on the response parameters of the call to <a href=\"#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7\">get business rule</a>:</p>\n</li>\n<li><p>If the <code>useCompositeMarketingPastCycles</code> attribute is enabled, the value of <code>cycleOffset</code> will be negative, with cardinality equal to the value of the <code>quantityPastCyclesCompositeMarketing</code> attribute;</p>\n</li>\n<li><p>If the <code>useCompositeMarketingFutureCycles</code> attribute is enabled, the value of <code>cycleOffset</code> is positive, with cardinality equal to the value of the <code>quantityFutureCyclesCompositeMarketing</code> attribute.</p>\n</li>\n</ul>\n<h3 id=\"get-marketing-cycle-details\">Get Marketing Cycle Details.</h3>\n<p> After obtaining the possible cycles for the marketing mix, you need to <a href=\"#7980c792-e4e3-4949-8793-e9c089147ec1\">get cycle details</a>, such as date, sub-cycle and days to close. </p>\n<p> This call must be made for each cycle returned from the marketing mix (17/2016, 01/2017, 02/2017, 03/2017, 04/2017).</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6503ab28-afd6-425c-b9b3-1bcc50a91cdd"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"7cedf10c-ab36-46ba-a9a9-a43d6c06a24c"}}],"_postman_id":"1b2580af-1286-4308-8cf7-3e5ae3bb2954"}],"id":"d54dc9d0-5b04-42cb-ac19-e417a4cf45e5","description":"<p>There are three ways to work with an order:</p>\n<ul>\n<li><p><strong>EC</strong>- eCommerce;</p>\n</li>\n<li><p><strong>POS</strong>- Point of Sales;</p>\n</li>\n<li><p><strong>VI</strong>- Indirect sales;</p>\n</li>\n</ul>\n<p> If the order is type<strong>EC</strong>or<strong>POS</strong>, the application must <a href=\"#6854d75b-c2f9-460c-a3f2-dee6ebbef514\">get the mode of delivery</a> right after <a href=\"#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7\">obtaining the business rule</a>. </p>\n<p> Before starting an order, we need to obtain a series of information to define some essential details for the capture.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d6391636-9784-41c6-8a8d-81eeb8ccb339"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"240e9ce7-f895-4658-97b8-f807de3e23d5"}}],"_postman_id":"d54dc9d0-5b04-42cb-ac19-e417a4cf45e5"},{"name":"3.3 Get Start Kit","item":[{"name":"Consult items to incorporate","id":"37f1db08-4b13-4c7f-b709-adacea1f092d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/itemsToChoose?businessModelCode=<integer>&originSystem={{originSystem}}","description":"<p>This call is used to get the items present in KIT Home.</p>\n","urlObject":{"path":["api","sellers",":id","itemsToChoose"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Code of the business rule chosen for the order.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Source system code.</p>\n","type":"text/plain"},"key":"originSystem","value":"{{originSystem}}"}],"variable":[{"id":"4335ad33-c6cf-4c38-bed7-ee27a0b94b4c","description":{"content":"<p><strong>(Required)</strong> Order owner code.</p>\n","type":"text/plain"},"type":"any","value":"{{donoPedido}}","key":"id"}]}},"response":[{"id":"b41dbe42-ae45-4952-9670-9c63247a70a6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/itemsToChoose?businessModelCode=5&originSystem={{originSystem}}","host":["{{baseUrl}}"],"path":["api","sellers",":id","itemsToChoose"],"query":[{"key":"businessModelCode","value":"5","description":"**(Required)** Code of the business rule chosen for the order."},{"key":"originSystem","value":"{{originSystem}}","description":"**(Required)** Source system code."}],"variable":[{"key":"id","value":"{{donoPedido}}","description":"**(Required)** Order owner code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Record-Count","value":"1"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Tue, 17 Nov 2020 14:53:40 GMT"},{"key":"Content-Length","value":"472"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 3247,\n \"typeInfo\": {\n \"id\": 1,\n \"description\": \"Sale\"\n },\n \"sourceInfo\": {\n \"id\": 3,\n \"description\": \"Start Kit\"\n },\n \"quantity\": 1,\n \"productStructure\": {\n \"code\": 7,\n \"name\": \"Male\"\n },\n \"products\": [\n {\n \"code\": 17,\n \"name\": \"Product 17\",\n \"isMaterialKit\": false,\n \"productDescription\": \"Product 17\"\n },\n {\n \"code\": 24,\n \"name\": \"Product 24\", \n \"isMaterialKit\": false,\n \"productDescription\": \"Sensual Fougere.\"\n },\n {\n \"code\": 35,\n \"name\": \"Impression Eau de Perfum\",\n \"isMaterialKit\": false,\n \"productDescription\": \"Impression Eau de Perfum\"\n },\n {\n \"code\": 38,\n \"name\": \"Coffe Man\",\n \"isMaterialKit\": false,\n \"productDescription\": \"Coffe Man\"\n },\n {\n \"code\": 41,\n \"name\": \"ZAAD Vision\",\n \"isMaterialKit\": false,\n \"productDescription\": \"ZAAD Vision\"\n },\n {\n \"code\": 42,\n \"name\": \"ZAAD MONDO\",\n \"isMaterialKit\": false,\n \"productDescription\": \"ZAAD MONDO\"\n },\n {\n \"code\": 47,\n \"name\": \"Kaiak deo colonia Adventure Male\",\n \"isMaterialKit\": false,\n \"productDescription\": \"Product Description 47\"\n }\n ],\n \"isMandatory\": false\n }\n ]"},{"id":"25f9aa19-2af8-413a-b96e-5df66f2b5c4f","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/itemsToChoose?businessModelCode=5&originSystem={{originSystem}}","host":["{{baseUrl}}"],"path":["api","sellers",":id","itemsToChoose"],"query":[{"key":"businessModelCode","value":"5","description":"**(Required)** Code of the business rule chosen for the order."},{"key":"originSystem","value":"{{originSystem}}","description":"**(Required)** Source system code."}],"variable":[{"key":"id","value":"{{donoPedido}}","description":"**(Required)** Order owner code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Record-Count","value":"1"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Tue, 17 Nov 2020 14:53:40 GMT"},{"key":"Content-Length","value":"472"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Code of list of items to embed\",\n \"isMandatory\": \"Indicates that the user must choose a product from the list\",\n \"productStructure\": { // Product Structure\n \"code\": \"Product structure code\",\n \"name\": \"Product structure name\"\n },\n \"products\": [ // List of products\n {\n \"code\": \"Product code\",\n \"name\": \"Product name\",\n \"isMaterialKit\": \"Indicates the material is a Kit\",\n \"productDescription\": \"Product Description\"\n }\n ],\n \"quantity\": \"Quantity of the product that will be incorporated into the order\",\n \"typeInfo\": { // Type of embedded item - Possible values in the glossary (Types of Embedded Items)\n \"id\": \"Embedded item type code\",\n \"description\": \"Description of embedded item type\"\n },\n \"sourceInfo\": { // Source of embedded item - Possible values in glossary (Product Source)\n \"id\": \"Embedded item source code\",\n \"description\": \"Description of the embedded item&#39;s origin\"\n }\n }\n ]"}],"_postman_id":"37f1db08-4b13-4c7f-b709-adacea1f092d"}],"id":"f6774afa-9bbb-4826-a230-ba459a684c7d","description":"<p>After obtaining the necessary data to initiate the order, the application should <a href=\"#ff87ea45-b540-4613-b971-a92d5723d710\">get Starter Kit listings</a>. To proceed, the user must choose at least one item from each Kit. The information for each product chosen must be used when creating the order.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"4846b94d-3bf5-4b70-a328-2f5fe463fb37"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"118cb148-6bde-4506-970d-6656b5f9a402"}}],"_postman_id":"f6774afa-9bbb-4826-a230-ba459a684c7d"},{"name":"3.4 Create Order (*)","item":[{"name":"create new order","event":[{"listen":"test","script":{"exec":["var created = tests[\"Status code is 201\"] = responseCode.code === 201;\r","postman.setEnvironmentVariable(\"codigoPedido\", null);\r","\r","if(created)\r","{\r","    // Set the new token to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var codigoPedido = data.number\r","    postman.setEnvironmentVariable(\"codigoPedido\", codigoPedido);\r","}"],"type":"text/javascript","id":"bfce4d98-c978-44d1-b07f-7ce479d3fb0b"}}],"id":"47d5cd0b-372c-4409-96e7-9e5bfd6164a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"representativeCode","value":"{{donoPedido}}","description":"<p>Order owner code.</p>\n"},{"key":"businessModelCode","value":"<integer>","description":"<p>Code of the business rule chosen for the order.</p>\n"},{"key":"controlCenterCode","value":"<integer>","description":"<p>Got from call response object to get business rule.</p>\n"},{"key":"itemsToChoose","value":"[{\"productCode\":\"<string>\"\"itemToChooseCode\":\"<integer>\"}]","description":"<p>List of chosen items to embed. </p>\n<ul>\n<li><code>productCode</code>: Product code;</li>\n<li><code>itemToChooseCode</code>: Code of the item to embed;</li>\n</ul>\n"},{"key":"accountingAccountCode","value":"<integer>","description":"<p>Got from call response object to get business rule.</p>\n"},{"key":"accountingMovementType","value":"<integer>","description":"<p>Got from call response object to get business rule.</p>\n"},{"key":"collectionMode","value":"{{collectionMode}}","description":"<p>Capture mode code.</p>\n"},{"key":"isWithdrawalCenter","value":"<boolean>","description":"<p>If the order being created is of type EC or VI, this parameter must be passed with its due value, according to the call response object to obtain the delivery mode. If it is POS, the parameter must be deactivated at this time. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>true</code></td>\n<td>Order must be picked up at a distribution center</td>\n</tr>\n<tr>\n<td><code>false</code></td>\n<td>Order must be delivered to a registered address</td>\n</tr>\n</tbody>\n</table>\n</div>"},{"key":"distributionCenterCode","value":"<integer>","description":"<p>If the above parameter is enabled and its value is <code>true</code>, this must also be enabled. Its value is taken from the same source as the above parameter.</p>\n"},{"key":"collectionSystem","value":"{{collectionSystem}}","description":"<p>Capture system code.</p>\n"},{"key":"marketingcycle","value":"<integer>","description":"<p>Marketing cycle to be used in ordering. Obtained in step \"Defining Marketing Cycle and Sub-cycle\".</p>\n"},{"key":"marketingSubCycle","value":"<integer>","description":"<p>Marketing sub-cycle to be used in ordering. Obtained in step \"Defining Marketing Cycle and Sub-cycle\".</p>\n"},{"key":"originSystem","value":"{{originSystem}}","description":"<p>Source system code.</p>\n"},{"key":"orderIndicatedSellerCode","value":"<integer>","description":"<p>If the order is for an end consumer, this parameter must be activated and its value must be equal to the code of the end consumer for which the order is being captured.</p>\n"},{"key":"startNewCycle","value":"<boolean>","description":"<p>If the system parameter <code>AllowCaptureOnNextCampaignInExtendedPeriodWithoutCloseBuyerCampaign</code> is <code>true</code>, this parameter is also <code>true</code>.</p>\n"},{"key":"choosePaymentPlan","value":"<integer>","description":"<p>Payment plan definition moment. </p>\n<p> If the order to be captured is a type VI, the payment plan must be defined before initiating the order. For this, code 1 must be passed. </p>\n<p> In the case of EC and POS orders, the payment plan must be defined at the end of the qualification process. For this, code 2 must be passed.</p>\n"}]},"url":"{{baseUrl}}/api/orders","description":"<p>This call is used to create a new order. </p>\n<p> After creating the order, a code <code>201 - Created</code> and an object with the data of the created order will be returned.</p>\n","urlObject":{"path":["api","orders"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"edbcedda-d151-444a-8117-57f93eb9e8d7","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"representativeCode","value":"{{donoPedido}}","description":"Order owner code."},{"key":"businessModelCode","value":"<integer>","description":"Code of the business rule chosen for the order."},{"key":"controlCenterCode","value":"<integer>","description":"Got from call response object to get business rule."},{"key":"itemsToChoose","value":"[{\"productCode\":\"<string>\"\"itemToChooseCode\":\"<integer>\"]","description":"List of chosen items to embed. \n\n * `productCode`: Product code;\n * `itemToChooseCode`: Code of the item to embed;"},{"key":"accountingAccountCode","value":"<integer>","description":"Got from call response object to get business rule."},{"key":"accountingMovementType","value":"<integer>","description":"Got from call response object to get business rule."},{"key":"collectionMode","value":"{{collectionMode}}","description":"Capture mode code."},{"key":"isWithdrawalCenter","value":"<boolean>","description":"If the order being created is of type EC or VI, this parameter must be passed with its due value, according to the call response object to obtain the delivery mode. If it is POS, the parameter must be deactivated at this time. \n\n |||\n |-- |-- |\n |`true`|Order must be picked up at a distribution center|\n |`false`|Order must be delivered to a registered address|"},{"key":"distributionCenterCode","value":"<integer>","description":"If the above parameter is enabled and its value is `true`, this must also be enabled. Its value is taken from the same source as the above parameter."},{"key":"collectionSystem","value":"{{collectionSystem}}","description":"Capture system code."},{"key":"marketingcycle","value":"","description":"Marketing cycle to be used in ordering. Obtained in step \"Defining Marketing Cycle and Sub-cycle\"."},{"key":"marketingSubCycle","value":"<integer>","description":"Marketing sub-cycle to be used in ordering. Obtained in step \"Defining Marketing Cycle and Sub-cycle\"."},{"key":"originSystem","value":"{{originSystem}}","description":"Source system code."},{"key":"orderIndicatedSellerCode","value":"<integer>","description":"If the order is for an end consumer, this parameter must be activated and its value must be equal to the code of the end consumer for which the order is being captured."},{"key":"startNewCycle","value":"<boolean>","description":"If the system parameter `AllowCaptureOnNextCampaignInExtendedPeriodWithoutCloseBuyerCampaign` is `true`, this parameter is also `true`."},{"key":"choosePaymentPlan","value":"{{choosePaymentPlan}}","description":"Payment plan definition moment. \n\n If the order to be captured is a type VI, the payment plan must be defined before initiating the order. For this, code 1 must be passed. \n\n In the case of EC and POS orders, the payment plan must be defined at the end of the qualification process. For this, code 2 must be passed."}]},"url":"{{baseUrl}}/api/orders"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\",\r\n \"businessInformation\": { // Business information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the cut ratio\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Name of product\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\",\r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins) \r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Promotion description\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\" \r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\" \r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"number\": \"Order number\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n }\r\n }"},{"id":"8cba3dce-ae88-4bba-8a96-86a3efa81504","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"representativeCode","value":"{{donoPedido}}","description":"Order owner code."},{"key":"businessModelCode","value":"5","description":"Code of the business rule chosen for the order."},{"key":"controlCenterCode","value":"<integer>","description":"Got from call response object to get business rule.","disabled":true},{"key":"itemsToChoose","value":"[{\"productCode\":\"<string>\"\"itemToChooseCode\":\"<integer>\"]","description":"List of chosen items to embed. \n\n * `productCode`: Product code;\n * `itemToChooseCode`: Code of the item to embed;","disabled":true},{"key":"accountingAccountCode","value":"<integer>","description":"Got from call response object to get business rule.","disabled":true},{"key":"accountingMovementType","value":"<integer>","description":"Got from call response object to get business rule.","disabled":true},{"key":"collectionMode","value":"{{collectionMode}}","description":"Capture mode code."},{"key":"isWithdrawalCenter","value":"false","description":"If the order being created is of type EC or VI, this parameter must be passed with its due value, according to the call response object to obtain the delivery mode. If it is POS, the parameter must be deactivated at this time. \n\n |||\n |-- |-- |\n |`true`|Order must be picked up at a distribution center|\n |`false`|Order must be delivered to a registered address|"},{"key":"distributionCenterCode","value":"<integer>","description":"If the above parameter is enabled and its value is `true`, this must also be enabled. Its value is taken from the same source as the above parameter.","disabled":true},{"key":"collectionSystem","value":"{{collectionSystem}}","description":"Capture system code."},{"key":"marketingcycle","value":"","description":"Marketing cycle to be used in ordering. Obtained in step \"Defining Marketing Cycle and Sub-cycle\"."},{"key":"marketingSubCycle","value":"<integer>","description":"Marketing sub-cycle to be used in ordering. Obtained in step \"Defining Marketing Cycle and Sub-cycle\".","disabled":true},{"key":"originSystem","value":"{{originSystem}}","description":"Source system code."},{"key":"orderIndicatedSellerCode","value":"<integer>","description":"If the order is for an end consumer, this parameter must be activated and its value must be equal to the code of the end consumer for which the order is being captured.","disabled":true},{"key":"startNewCycle","value":"false","description":"If the system parameter `AllowCaptureOnNextCampaignInExtendedPeriodWithoutCloseBuyerCampaign` is `true`, this parameter is also `true`."},{"key":"choosePaymentPlan","value":"{{choosePaymentPlan}}","description":"Payment plan definition moment. \n\n If the order to be captured is a type VI, the payment plan must be defined before initiating the order. For this, code 1 must be passed. \n\n In the case of EC and POS orders, the payment plan must be defined at the end of the qualification process. For this, code 2 must be passed."}]},"url":"{{baseUrl}}/api/orders"},"status":"created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"location","value":"http://inovadevapisgi.geravd.com.br/api/orders/16276113"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 23 Nov 2020 15:56:18 GMT"},{"key":"Content-Length","value":"729"}],"cookie":[],"responseTime":null,"body":"{\n \"number\": 16276113,\n \"businessInformation\": {\n \"paid\": false,\n \"orderingCycle\": 202011,\n \"marketingCycle\": 202011,\n \"itemsQuantity\": 0,\n \"productsQuantity\": 0,\n \"pointsQuantity\": 0,\n \"minimumPointsQuantity\": 11100,\n \"tableValue\": 0,\n \"marketValue\": 0,\n \"netValue\": 0,\n \"businessModelCode\": 5,\n \"businessModelName\": \"Business Model - Final Consumer\",\n \"functionCode\": 9,\n \"simulatedValue\": 0,\n \"simulatedPoints\": 14223,\n \"simulatedOrderPoints\": 0,\n \"simulatedValueProfitabilityGifts\": 0,\n \"distributionCenterCode\": 1,\n \"isWithdrawalCenter\": false,\n \"minimumPointsQuantityConsideredOrder\": 0,\n \"minimumOrderType\": {\n \"id\": 1,\n \"description\": \"Monetary\"\n },\n \"allowChangeIncorporatedItemQuantity\": true,\n \"flexBalanceAvailable\": 0,\n \"flexBalanceAmountConsumed\": 0,\n \"flexBalanceUpdatedAvailable\": 0,\n \"proposedNetValue\": 0,\n \"allowFlexNegotiation\": false\n },\n \"businessStructure\": {\n \"businessStructureCode\": 30\n },\n \"items\": [\n {\n \"number\": 1,\n \"productCode\": 23,\n \"productName\": \"Product 01\",\n \"quantity\": 1,\n \"unitTableValue\": 18,\n \"unitMarketValue\": 18,\n \"unitNetValue\": 18,\n \"unitPointsQuantity\": 1800,\n \"unitKitPointsQuantity\": 0,\n \"unitMultilevelPointsQuantity\": 0,\n \"associatedItem\": true,\n \"associatedItemRequired\": false,\n \"associatedItemOrigin\": {\n \"id\": 3,\n \"description\": \"Start Kit\"\n },\n \"simulatedValueProfitability\": 18,\n \"simulatedValueProfitabilityUnit\": 18,\n \"profitabilityValue\": 0,\n \"origin\": {\n \"id\": 1,\n \"description\": \"Sale\"\n }, \n \"isBloquedRemoveItem\": false,\n \"isBlockedEditQuantity\": true,\n \"confirmAssociatedItemDeletion\": false,\n \"associatedItemOriginDetails\": {\n \"origin\": {\n \"id\": 3,\n \"description\": \"Start Kit\"\n },\n \"promotionCode\": 12351,\n \"promotionDescription\": \"Promotion 01\",\n \"order\": 12345,\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\n \"orderCycle\": 202001,\n \"programPointsCode\": 2,\n \"programPointsDescription\": \"Points Program 01\",\n \"notificationCode\": 2,\n \"productCode\": 32\n },\n \"isMaterialKit\": false,\n \"productDescription\": \"Product 01\",\n \"hasDiscountValue\": false,\n \"hasAppliedProfitabilityValueAddItem\": false,\n \"multipleSaleRestriction\": 1,\n \"displayItemWithDiscountPromotion\": false,\n \"unitMeasurementType\": {\n \"id\": 1,\n \"description\": \"un\"\n },\n \"quantityUnitMeasurement\": 1,\n \"pricePerUnitMeasurement\": 18,\n \"flexNegotiation\": {\n \"minValue\": 17.99,\n \"maxValue\": 19.99,\n \"initialUnitNetValue\": 18,\n \"proposedUnitNetValue\": 0,\n \"proposedNetValue\": 0,\n \"status\": {\n \"id\": 1,\n \"description\": \"Not traded\" \n },\n \"allowFlexNegotiation\": true\n },\n \"isClosedBoxProduct\": false,\n \"isPromotionRequirementProduct\": false\n }\n ],\n \"cutItems\": [\n {\n \"type\": {\n \"id\": 3,\n \"description\": \"Embedded\"\n },\n \"productCode\": 17,\n \"productName\": \"Product 01\",\n \"quantity\": 1,\n \"cutReason\": {\n \"id\": 2,\n \"description\": \"Price not registered\"\n },\n \"unitTableValue\": 0,\n \"unitMarketValue\": 0,\n \"isMaterialKit\": false, \n \"productDescription\": \"Product Description 01\",\n \"isClosedBoxProduct\": false,\n \"isPromotionRequirementProduct\": false\n },\n {\n \"type\": {\n \"id\": 3,\n \"description\": \"Embedded\"\n },\n \"productCode\": 22,\n \"productName\": \"Product 02\",\n \"quantity\": 1,\n \"cutReason\": {\n \"id\": 8,\n \"description\": \"Discontinued product\"\n },\n \"unitTableValue\": 0,\n \"unitMarketValue\": 0,\n \"isMaterialKit\": false,\n \"productDescription\": \"Product Description 02\",\n \"isClosedBoxProduct\": false,\n \"isPromotionRequirementProduct\": false\n }\n ],\n \"externalPreAuthorization\": false,\n \"orderBusinessStatus\": {\n \"code\": 1,\n \"description\": \"\",\n \"dateCreated\": \"2020-11-23T12:56:12.983Z\"\n },\n \"allRewardsPromotion\": false\n }"}],"_postman_id":"47d5cd0b-372c-4409-96e7-9e5bfd6164a6"}],"id":"41678312-a962-4281-9905-5ea78e3f6dd6","description":"<p>After obtaining the Starter Kit, the application should <a href=\"#9bbf90b4-468d-4ba8-af5a-c3805610a0e0\">create a new order</a>. To define the value of some parameters, the application must define the type of order to be created (<strong>EC</strong>, <strong>PDV</strong>, <strong>VI</strong>).</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"f70ea2d0-d349-4eca-ba21-e6fc68e715a0"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"02f6596b-1ddb-44e7-8ceb-ce76726d46a7"}}],"_postman_id":"41678312-a962-4281-9905-5ea78e3f6dd6"},{"name":"Order VI - Order Payment (*)","item":[],"id":"93d4397e-d94e-45e3-b892-967429b4fd48","description":"<p>If the order is of type <strong>VI</strong>, the application must define the payment plan for the order before proceeding with the capture. This will be indicated by the parameter <code>choosePaymentPlan</code> = 1 in the order object. </p>\n<p> First the application must <a href=\"#d1251c31-bb9d-4524-844f-acd03525a025\">see payment plans</a>. After user selection, application must <a href=\"#90b6cc83-2ec6-4252-a83b-f3921de05d57\">select payment plan</a> chosen.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"06e1995d-7408-4679-bc8b-8b6400be407e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"581bdc6a-1ffd-4021-bd9a-07941e44afd8"}}],"_postman_id":"93d4397e-d94e-45e3-b892-967429b4fd48"},{"name":"CF Request - Appoint consultant","item":[{"name":"Select consultant","id":"45280039-1bef-491f-92bb-d08f407530c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{baseUrl}}/api/orders/:id/orderIndicatedSeller?orderIndicatedSellerCode=<integer>","description":"<p>This call is used to select a consultant for a referral.</p>\n","urlObject":{"path":["api","orders",":id","orderIndicatedSeller"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Consultant code.</p>\n","type":"text/plain"},"key":"orderIndicatedSellerCode","value":"<integer>"}],"variable":[{"id":"3c84cfe2-33f0-4399-a5ed-e6b372f822ac","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"156a2fb3-6765-41c2-aa68-3158a8d86b07","name":"OK","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/orderIndicatedSeller?orderIndicatedSellerCode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","orderIndicatedSeller"],"query":[{"key":"orderIndicatedSellerCode","value":"<integer>","description":"**(Required)** Consultant code."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"45280039-1bef-491f-92bb-d08f407530c9"},{"name":"Remove consultant","id":"3124b31a-0a45-4c93-a0e1-938e60aeb5f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id/orderIndicatedSeller","description":"<p>This call is used to remove an indication.</p>\n","urlObject":{"path":["api","orders",":id","orderIndicatedSeller"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"c23acede-2e5e-4232-a9ca-0056c3b0a2ff","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"fc418671-d99d-46f7-87e5-f2a379a5e93f","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/orderIndicatedSeller","host":["{{baseUrl}}"],"path":["api","orders",":id","orderIndicatedSeller"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3124b31a-0a45-4c93-a0e1-938e60aeb5f9"}],"id":"a33299c5-6b59-43f6-bb82-1e2fd3fefb32","description":"<p>If the order is for end consumer and the user wants to refer a known reseller, the application must follow this flow. </p>\n<h2 id=\"search-valid-consultants\">Search Valid Consultants</h2>\n<p> To <a href=\"#1845afd2-8583-426d-9710-6109cfa556a0\">search for valid consultants</a>, the user can use its geographic structure, the name or code of the consultant. </p>\n<h2 id=\"select-consultant\">Select Consultant</h2>\n<p> After user selection, application should <a href=\"#4dba259f-d843-443a-8432-1c062db9a2f8\">select consultant</a> desired. </p>\n<h2 id=\"remove-consultant\">Remove Consultant</h2>\n<p> If the user wants to remove the selected advisor, the application must <a href=\"#90353822-4122-468a-884d-3869355171ad\">remove the advisor</a> from the order.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"466cc364-ba85-48b6-a0d8-6039d1b6c495"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"909dee0b-c82e-4916-b62d-32e6672dbffc"}}],"_postman_id":"a33299c5-6b59-43f6-bb82-1e2fd3fefb32"},{"name":"3.5 Get Valid Promotions","item":[{"name":"Consult promotions","id":"78471a6e-c09f-49c8-a9e3-4e776a68bc0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/promotions?display=<boolean>&suggest=<boolean>","description":"<p>This call is used to look up promotions available for an order.</p>\n","urlObject":{"path":["api","Orders",":id","promotions"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>This parameter configures the display filter for promotions registered in the system. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>true</code> (<em>Default</em>)</td>\n<td>Shows promotions configured to be displayed on the screen</td>\n</tr>\n<tr>\n<td><code>false</code></td>\n<td>Shows promotions configured not to be displayed on the screen</td>\n</tr>\n</tbody>\n</table>\n</div>","type":"text/plain"},"key":"display","value":"<boolean>"},{"description":{"content":"<p>Suggests promotion.</p>\n","type":"text/plain"},"key":"suggest","value":"<boolean>"}],"variable":[{"id":"ba344da0-f5a4-418e-88da-e8aea328ffb3","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"f4cc36ab-123a-4fa6-bc85-81be319d2f95","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/promotions?display=<boolean>&suggest=<boolean>","host":["{{baseUrl}}"],"path":["api","Orders",":id","promotions"],"query":[{"key":"display","value":"<boolean>"},{"key":"suggest","value":"<boolean>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Promotion code\",\n \"title\": \"Promotion title\",\n \"description\": \"Description of the promotion\",\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\n \"id\": \"Destination code\",\n \"description\": \"Destination description\"\n },\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\n \"maxRangeValuesToDisplay\": \"Maximum value of promotions to be displayed\",\n \"orderExhibition\": \"Orders the displayed promotions\",\n \"display\": \"Indicates if the application displays the won promotion\",\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\"\n }\n ]"},{"id":"8053275d-2228-4ae1-b14a-6d7b9eb08758","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/promotions?display=true&suggest=true","host":["{{baseUrl}}"],"path":["api","Orders",":id","promotions"],"query":[{"key":"display","value":"true","description":"This parameter configures the display filter for promotions registered in the system. \n\n |||\n |-- |-- |\n |`true` (*Default value*)|Shows promotions configured to be displayed on the screen|\n |`false`|Shows promotions configured not to be displayed on the screen|"},{"key":"suggest","value":"true","description":"Suggests promotion."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 23 Nov 2020 18:02:03 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 573,\r\n \"description\": \"Product: 5 and 6\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Scenario 4\"\r\n },\r\n {\r\n \"code\": 570,\r\n \"description\": \"Product: 2 and 3\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Scenario 2\"\r\n },\r\n {\r\n \"code\": 569,\r\n \"description\": \"Product: 2 and 3\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Scenario 3\"\r\n }\r\n ]"}],"_postman_id":"78471a6e-c09f-49c8-a9e3-4e776a68bc0f"}],"id":"5b0c3951-a436-4a8b-8ab9-dadbfe1c1dfb","description":"","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e3baa487-1a2b-4e13-88e9-0ba5a4e27fca"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6886c3ae-38c1-4e04-8873-eccd0106c3de"}}],"_postman_id":"5b0c3951-a436-4a8b-8ab9-dadbfe1c1dfb"},{"name":"Book/Cancel Order","item":[{"name":"book order","id":"0768dea8-eafd-4f39-8cd3-ec0a668f4058","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/orders/:id/reserve","description":"<p>There is a setting in <strong>Let</strong>to cancel an order - releasing stock of products - after a period of inactivity (can be set in<strong>Let</strong>; <code>Default</code> = <code>2 hours</code>). </p>\n<p> If the user intends to initiate an order in the morning and finish it at the end of the day, this call should be used to store the order data - not losing the information after the downtime is reached. </p>\n<p> There are two ways to save order information. In the response object of the call to get the business rule, there is an object called <code>configurationSystem</code>. This object has the <code>savesReserveOrder</code> attribute. If this attribute is enabled (value == <code>true</code>), the user can save the order. If disabled (value == <code>false</code>), a purchase suggestion is generated with the order information.</p>\n","urlObject":{"path":["api","orders",":id","reserve"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f94adf36-d09e-4239-8e06-f256c9a088b1","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"f983bfb5-98c5-460b-97c4-2c2464979eac","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/reserve","host":["{{baseUrl}}"],"path":["api","orders",":id","reserve"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 23 Nov 2020 18:12:41 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option \r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can come to win in the request\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders promotions displayed\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\", \r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans payment by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit consumption data configuration - Possible values in the glossary (Credit consumption data settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user chose a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types) \r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\", \r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if it does not currently exist inventory\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Value original of the residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\", \r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n } \r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of promotion\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"deliveryAddress\": { // Delivery address\r\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\r\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"areaCode\": \"Area Code\",\r\n \"externalStructureCode\": \"Code of external structure\",\r\n \"formattedAddress\": \"Formatted address\",\r\n \"number\": \"Number\",\r\n \"people\": { // Person associated with address\r\n \"code\": \"Code of the person associated with the address\",\r\n \"name\": \"Name of person associated with address\"\r\n },\r\n \"readOnly\": \"Cannot be edited; only consulted\",\r\n \"regionCode\": \"Region code\",\r\n \"selected\": \"Indicates the shipping address is selected\",\r\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \r\n \"id\": \"Address type code\",\r\n \"description\": \"Description of address type\"\r\n }\r\n },\r\n \"deliveryOption\": { // Delivery mode\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of scheduled delivery type\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of days of delivery time\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of delivery type\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n },\r\n \"deliveryInformation\": { // Delivery Information\r\n \"carrierCode\": \"Carrier Code\",\r\n \"carrierName\": \"Carrier Name\",\r\n \"originalScheduledDeliveryDate\": \"Original delivery date\",\r\n \"scheduledDeliveryDate\": \"Updated delivery date\"\r\n },\r\n \"withdrawalsOptions\": { // Withdrawals Options\r\n \"deliveryOptionCode\": \"Delivery Option Code\"\r\n },\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"1774d926-1181-4c6b-a06a-d4ef87187680","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/reserve","host":["{{baseUrl}}"],"path":["api","orders",":id","reserve"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 23 Nov 2020 18:12:41 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\", \r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 - SANTA CÂNDIDA - CURITIBA - PR - BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"ADRIANO TEST\"\r\n },\r\n \"readOnly\": true,\r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n },\r\n \"deliveryOption\": {\r\n \"code\": 1,\r\n \"description\": \"PAC - PR\",\r\n \"name\": \"PAC - PR\",\r\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\r\n \"scheduledDeliveryType\": {\r\n \"id\": 0,\r\n \"description\": \"Normal\"\r\n },\r\n \"selected\": true,\r\n \"term\": 8,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"value\": 10\r\n },\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the plan receivement\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n } \r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false, \r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ],\r\n \"withdrawalsOptions\": {\r\n \"deliveryOptionCode\": 1\r\n }\r\n }"}],"_postman_id":"0768dea8-eafd-4f39-8cd3-ec0a668f4058"},{"name":"cancel order","id":"74b90210-277f-4911-a3ad-920ee337f4b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id","description":"<p>This call cancels an open or reset order for the release of all your in-stock products. This event type is used for a request that will be abandoned. </p>\n<p> After canceling an order: to perform a new capture, the application must return to step <a href=\"#6f83614f-0471-4710-a7d2-eec64495319e\">Define Order Owner</a> or [Initiate Order](#13eea15c-c065-4fb0-a0c0- 19bb9b104b04).</p>\n","urlObject":{"path":["api","orders",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"ec1be3d9-dd2f-487b-9c4c-4f7d4ba0d122","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"d1182ff6-fe5d-4d78-9fbe-5bce0cbe7b0f","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id","host":["{{baseUrl}}"],"path":["api","orders",":id"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"74b90210-277f-4911-a3ad-920ee337f4b2"}],"id":"619e69fd-c0a4-4c21-8fd5-f5fd944e5ff9","description":"<p>At any time during the capture, the user can choose to <a href=\"#de17d3e8-6567-4e4a-a044-c939dc921592\">book the order</a>, or <a href=\"#52a2c76a-3739-4b82-acf5-81f8c1e65708\">cancel it</a>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1c585247-939b-4c58-bbcd-fda3b13d0099"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c0b8c1db-f784-4149-8b8b-f8cbef1d686f"}}],"_postman_id":"619e69fd-c0a4-4c21-8fd5-f5fd944e5ff9"}],"id":"f08668a8-e1ec-41cb-ad5d-c510d35c88ba","description":"<p>In this step, a series of calls will be made before creating an order. This is necessary to know if there is already an open order for the person in question. If there is no open order, a new order will be created. For this, obtaining some information is necessary.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b9477ee5-7074-4ad2-824b-3d0b190ab870"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"88380cce-cf77-49db-8b1c-6b530b7d7fd6"}}],"_postman_id":"f08668a8-e1ec-41cb-ad5d-c510d35c88ba"},{"name":"Step 4 - Capture Order","item":[{"name":"Get Updated Order Status","item":[{"name":"Consult order status","id":"ed06f338-850e-42e2-be4a-e004d4ca56b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/state","description":"<p>At any time when an order is captured, the application can consult the latest status of the order through this call.</p>\n","urlObject":{"path":["api","orders",":id","state"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"e62b487f-7394-4670-a35e-33024cc0cd9b","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"e988b1e5-2dbc-4062-9206-b7a23478905d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/state","host":["{{baseUrl}}"],"path":["api","orders",":id","state"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Tue, 24 Nov 2020 15:38:39 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n } \r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n { \r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3,\r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\", \r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\",\r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 -SANTA CÂNDIDA- CURITIBA -PR- BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"ADRIANO TEST\"\r\n },\r\n \"readOnly\": true,\r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n },\r\n \"deliveryInformation\": {},\r\n \"deliveryOption\": {\r\n \"code\": 1,\r\n \"description\": \"PAC -PR\",\r\n \"name\": \"PAC- PR\",\r\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\r\n \"scheduledDeliveryType\": {\r\n \"id\": 0, \r\n \"description\": \"Normal\"\r\n },\r\n \"selected\": true,\r\n \"term\": 8,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"value\": 10\r\n },\r\n \"partialPromotions\": [],\r\n \"paymentPlansByProduct\": [],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87, \r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [],\r\n \"withdrawalsOptions\": {\r\n \"deliveryOptionCode\": 1\r\n }\r\n }"},{"id":"64ebaa95-1690-4b70-b893-081e89cf2b91","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/state","host":["{{baseUrl}}"],"path":["api","orders",":id","state"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Tue, 24 Nov 2020 15:38:39 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option \r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Type of promotion award\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Shows suggestions for promotions\",\r\n \"title\": \"Title of promotion\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"requirements\": // List of conditions for the promotion to be earned\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\",\r\n \"productCode\": \"Product code required\", \r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for the plan payment\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Configuration - Possible Glossary Values (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user has chosen a discount\",\r\n \"chosenProducts\": \"Indicates that the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types)\r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\",\r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Type value of gift - Possible values in the glossary (Types of value of gifts)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if there is currently no stock\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the checking account residual\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n { \r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\" \r\n }\r\n ],\r\n \"deliveryAddress\": { // Delivery address\r\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\r\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"areaCode\": \"Area Code\",\r\n \"externalStructureCode\": \"External Structure Code\",\r\n \"formattedAddress\": \"Formatted address\",\r\n \"number\": \"Number\", \r\n \"people\": { // Person associated with address\r\n \"code\": \"Code of the person associated with the address\",\r\n \"name\": \"Name of person associated with address\"\r\n },\r\n \"readOnly\": \"Cannot be edited; only consulted\",\r\n \"regionCode\": \"Region code\",\r\n \"selected\": \"Indicates the shipping address is selected\",\r\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \r\n \"id\": \"Address type code\",\r\n \"description\": \"Description of address type\"\r\n }\r\n },\r\n \"deliveryOption\": { // Delivery mode\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of scheduled delivery type\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of days of delivery time\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of delivery type\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n },\r\n \"deliveryInformation\": { // Delivery Information\r\n \"carrierCode\": \"Carrier Code\",\r\n \"carrierName\": \"Carrier Name\",\r\n \"originalScheduledDeliveryDate\": \"2020-12-02T00:00:00Z\",\r\n \"scheduledDeliveryDate\": \"2020-12-02T00:00:00Z\"\r\n },\r\n \"withdrawalsOptions\": { // Withdrawals Options\r\n \"deliveryOptionCode\": \"Delivery Option Code\"\r\n },\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"}],"_postman_id":"ed06f338-850e-42e2-be4a-e004d4ca56b7"}],"id":"04cfca6b-5172-4d4e-995e-d78c7b1eab85","description":"<p>After creating - or returning - an order, the application can request the object of that order in its most up-to-date form.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"156f9619-b275-421e-bd25-f9a90068c9c8"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3de7777c-0bd2-416b-9677-324dbeec2cd1"}}],"_postman_id":"04cfca6b-5172-4d4e-995e-d78c7b1eab85"},{"name":"4.1 Get Purchase Suggestion (Model Order)","item":[{"name":"See purchase suggestion","id":"963ee964-3638-4dd8-ae78-9bdffdfaa865","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/purchaseSuggestion?showModelsBeginCollection=<boolean>&showModelsDuringCollection=<boolean>&showModelsPromotionApplication=<boolean>&purchaseSuggestionTypes=<byte>&sortOptionsPurchaseSuggestionTypes=<integer>","description":"<p>There are 3 times in which a purchase suggestion can be obtained:</p>\n<ol>\n<li>Start of fundraising</li>\n<li>During capture</li>\n<li>When applying for a promotion</li>\n</ol>\n<p> For each desired moment, the application must pass the parameter of the respective activated moment and the others deactivated.</p>\n","urlObject":{"path":["api","orders",":id","purchaseSuggestion"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Get purchase suggestions created and configured for the moment when the order starts to be captured.</p>\n","type":"text/plain"},"key":"showModelsBeginCollection","value":"<boolean>"},{"description":{"content":"<p>Get purchase suggestions created and configured for the moment of capture.</p>\n","type":"text/plain"},"key":"showModelsDuringCollection","value":"<boolean>"},{"description":{"content":"<p>Get purchase suggestions created and configured for the promotion application time.</p>\n","type":"text/plain"},"key":"showModelsPromotionApplication","value":"<boolean>"},{"description":{"content":"<p>Byte array with the desired purchase suggestion types:</p>\n<p> |||\n |-- -|-- -|\n |1 - Stock Rupture|Products cut into separation due to lack of stock. |\n |2 - Corporate|Records of products suggested by the company.|\n |3 - Abandoned Purchase|Purchase suggestion generated from a purchase canceled by abandonment.|\n |4 - Reserved Order|When saving an order, if the <code>savesReserveOrder</code> attribute (defined in the business rule) is disabled, a purchase suggestion is generated.|\n |5 - Cut Products|When cutting a product purchased during capture, it can be turned into a purchase suggestion.|\n |6 - Customized|Product records generated especially for the owner of the order, according to their purchasing activities.|\n |7 - Quotation Request|When generating a quotation request, a purchase suggestion is generated with its content, after its cancellation.|</p>\n","type":"text/plain"},"key":"purchaseSuggestionTypes","value":"<byte>"},{"description":{"content":"<p>Ordering options for purchase suggestions:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1 - Draft</td>\n<td>Orders by not expired</td>\n</tr>\n<tr>\n<td>2 - Last Update</td>\n<td>Order by last modified</td>\n</tr>\n</tbody>\n</table>\n</div>","type":"text/plain"},"key":"sortOptionsPurchaseSuggestionTypes","value":"<integer>"}],"variable":[{"id":"77fcfb2c-d1c2-4462-a555-6a50f153c4ed","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"b9f91c1e-a763-4810-bb89-d8a654e2d4d3","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/purchaseSuggestion?showModelsBeginCollection=<boolean>&showModelsDuringCollection=<boolean>&showModelsPromotionApplication=<boolean>&purchaseSuggestionTypes=<byte>&sortOptionsPurchaseSuggestionTypes=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","purchaseSuggestion"],"query":[{"key":"showModelsBeginCollection","value":"<boolean>","description":"Get purchase suggestions created and configured for the moment when the order starts to be captured."},{"key":"showModelsDuringCollection","value":"<boolean>","description":"Get purchase suggestions created and configured for the moment of capture."},{"key":"showModelsPromotionApplication","value":"<boolean>","description":"Get purchase suggestions created and configured for the promotion application time."},{"key":"purchaseSuggestionTypes","value":"<byte>","description":"Byte array with the desired purchase suggestion types:\n\n |||\n |-- -|-- -|\n |1 - Stock Rupture|Products cut into separation due to lack of stock. |\n |2 - Corporate|Records of products suggested by the company.|\n |3 - Abandoned Purchase|Purchase suggestion generated from a purchase canceled by abandonment.|\n |4 - Reserved Order|When saving an order, if the `savesReserveOrder` attribute (defined in the business rule) is disabled, a purchase suggestion is generated.|\n |5 - Cut Products|When cutting a product purchased during capture, it can be turned into a purchase suggestion.|\n |6 - Customized|Product records generated especially for the owner of the order, according to their purchasing activities.|\n |7 - Quotation Request|When generating a quotation request, a purchase suggestion is generated with its content, after its cancellation.|"},{"key":"sortOptionsPurchaseSuggestionTypes","value":"<integer>","description":"Ordering options for purchase suggestions:\n\n |||\n |-- |-- |\n |1 - Draft|Orders by not expired.|\n |2 - Last Update|Order by last modified.|"}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"displayOrder\": \"Display order\",\r\n \"name\": \"Buy Suggestion Name\",\r\n \"purchaseSuggestionDetails\": [ // Purchase suggestion details list\r\n {\r\n \"displayOrder\": \"Display order\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // It must be included in multiples of x\"\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"suggestedQuantity\": \"Suggested Quantity\"\r\n }\r\n ],\r\n \"purchaseSuggestionType\": { // Purchase Suggestion Type - Possible values in glossary (Types of Purchasing Suggestions)\r\n \"id\": \"Purchase Suggestion Type Code\",\r\n \"description\": \"Description of purchase suggestion type\"\r\n }\r\n }\r\n ]"},{"id":"0d6c4ff9-9591-4b4d-a265-0ebc5f9b5da4","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/purchaseSuggestion?showModelsBeginCollection=<boolean>&showModelsDuringCollection=<boolean>&showModelsPromotionApplication=<boolean>&purchaseSuggestionTypes=<byte>&sortOptionsPurchaseSuggestionTypes=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","purchaseSuggestion"],"query":[{"key":"showModelsBeginCollection","value":"<boolean>","description":"Get purchase suggestions created and configured for the moment when the order starts to be captured."},{"key":"showModelsDuringCollection","value":"<boolean>","description":"Get purchase suggestions created and configured for the moment of capture."},{"key":"showModelsPromotionApplication","value":"<boolean>","description":"Get purchase suggestions created and configured for the promotion application time."},{"key":"purchaseSuggestionTypes","value":"<byte>","description":"Byte array with the desired purchase suggestion types:\n\n |||\n |-- -|-- -|\n |1 - Stock Rupture|Products cut into separation due to lack of stock. |\n |2 - Corporate|Records of products suggested by the company.|\n |3 - Abandoned Purchase|Purchase suggestion generated from a purchase canceled by abandonment.|\n |4 - Reserved Order|When saving an order, if the `savesReserveOrder` attribute (defined in the business rule) is disabled, a purchase suggestion is generated.|\n |5 - Cut Products|When cutting a product purchased during capture, it can be turned into a purchase suggestion.|\n |6 - Customized|Product records generated especially for the owner of the order, according to their purchasing activities.|\n |7 - Quotation Request|When generating a quotation request, a purchase suggestion is generated with its content, after its cancellation.|"},{"key":"sortOptionsPurchaseSuggestionTypes","value":"<integer>","description":"Ordering options for purchase suggestions:\n\n |||\n |-- |-- |\n |1 - Draft|Orders by not expired.|\n |2 - Last Update|Order by last modified.|"}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"displayOrder\": 2,\n \"name\": \"Automated Test - Purchase Suggestion 1\",\n \"purchaseSuggestionDetails\": [\n {\n \"displayOrder\": 1,\n \"multipleSaleRestriction\": 1,\n \"pricePerUnitMeasurement\": 25,\n \"productCode\": 1,\n \"productName\": \"Product Kit Home - 1\",\n \"quantityUnitMeasurement\": 1,\n \"suggestedQuantity\": 1\n }\n ],\n \"purchaseSuggestionType\": {\n \"id\": 2,\n \"description\": \"Corporate\"\n }\n },\n {\n \"displayOrder\": 2,\n \"name\": \"Automated Test - Suggestion Purchase 2\",\n \"purchaseSuggestionDetails\": [\n {\n \"displayOrder\": 2,\n \"multipleSaleRestriction\": 1,\n \"pricePerUnitMeasurement\": 26,\n \"productCode\": 1,\n \"productName\": \"Product Kit Home - 2\",\n \"quantityUnitMeasurement\": 1,\n \"suggestedQuantity\": 1\n }\n ],\n \"purchaseSuggestionType\": {\n \"id\": 2,\n \"description\": \"Corporate\"\n }\n }\n ]"}],"_postman_id":"963ee964-3638-4dd8-ae78-9bdffdfaa865"}],"id":"9750ddfc-8c03-462d-84db-32e06997b69d","description":"<p>While taking an order, the application can <a href=\"#181c00f5-3925-42b5-8c31-b01d81d1fe02\">get purchase suggestions</a> for the user. A purchase suggestion is generated from certain situations (eg when an order is booked, saved as a quote, or even when a product is cut due to lack of stock), creating a list of items that the user can add to the order . </p>\n<p> <strong>Observation</strong></p>\n<p> There is a deprecated endpoint, to get the wish list. Instead of calling an endpoint to get the wish list, the application generates one when the custom purchase suggestion type is chosen.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"dcd0f3c5-3538-4e60-8c5a-f64cd3431135"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"db1b37f8-2a84-4a70-92fd-2f8c6d2136e8"}}],"_postman_id":"9750ddfc-8c03-462d-84db-32e06997b69d"},{"name":"4.2 Get Points Campaign","item":[{"name":"Consult frequent flyer/point program","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c6b6d8bb-7f2b-40c7-aee0-f4d1cfe0f915"}}],"id":"3969f2fb-17f5-4b7b-ba1e-ac8670730717","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/pointsProgram","description":"<p>This call is used to query the frequent flyer/point programs available for the order. </p>\n<p> When there is no points program available, the system should display the message \"Point program not found for this order.\"</p>\n<p> In the return object, you get the value of the <code>code</code> attribute, which will be passed in the value of the <code>mileageId</code> parameter in the next call.</p>\n","urlObject":{"path":["api","orders",":id","pointsProgram"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"e0984106-1a1c-44b5-b647-fd145c29dbec","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/pointsProgram","host":["{{baseUrl}}"],"path":["api","orders",":id","pointsProgram"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 27 Nov 2020 14:41:08 GMT"},{"key":"Content-Length","value":"62"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Mileage program code\",\n \"name\": \"Name of frequent flyer program\"\n }\n ]"},{"id":"2c691a13-e329-43fd-81b0-7de334b8eef1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/pointsProgram","host":["{{baseUrl}}"],"path":["api","orders",":id","pointsProgram"],"variable":[{"key":"id","value":"16276137","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 27 Nov 2020 14:41:08 GMT"},{"key":"Content-Length","value":"62"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 1,\n \"name\": \"Mileage Program 1\"\n },\n {\n \"code\": 2,\n \"name\": \"Mileage Program 2\"\n }\n ]"}],"_postman_id":"3969f2fb-17f5-4b7b-ba1e-ac8670730717"},{"name":"See items available for redemption","id":"512f6bb0-3116-401e-8029-b4758ebb7276","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId/details","description":"<p>This call is used to consult the items available in the frequent flyer/points program.</p>\n","urlObject":{"path":["api","orders",":id","pointsProgram",":mileageId","details"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"b5d78e91-4bc6-469e-b4d0-b52b98760da5","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"c2128f43-e84c-48f8-9e37-77694eca6210","description":{"content":"<p><strong>(Required)</strong> Mileage/points program code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"mileageId"}]}},"response":[{"id":"847e2484-2967-49aa-86f0-d43a17437304","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId/details","host":["{{baseUrl}}"],"path":["api","orders",":id","pointsProgram",":mileageId","details"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"mileageId","value":"<integer>","description":"**(Required)** Mileage/points program code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 27 Nov 2020 14:43:30 GMT"},{"key":"Content-Length","value":"535"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Mileage program code\",\n \"name\": \"Name of frequent flyer program\",\n \"details\": { // Mileage program details\n \"remainingPoints\": \"Remaining Points\",\n \"orderUsedPoints\": \"Points used in current order\",\n \"otherOrdersUsedPoints\": \"Points used in other orders\",\n \"recoveredProducts\": [ // List of recovered products\n {\n \"code\": \"Redeemed product code\",\n \"name\": \"Name of redeemed product\",\n \"requiredPoints\": \"Required Points\",\n \"requiredPointsUnit\": \"Amount of unit points required\",\n \"associatedItemCode\": \"Associated item code\",\n \"associatedItemQuantity\": \"Associated item quantity\", \n \"associatedItemNotUsed\": \"Indicates if the associated item was not used\"\n }\n ],\n \"availableProducts\": [ // List of available products\n {\n \"code\": \"Available product code\",\n \"name\": \"Available product name\",\n \"requiredPoints\": \"Required Points\",\n \"requiredPointsUnit\": \"Amount of unit points required\",\n \"associatedItemNotUsed\": \"Indicates if the associated item was not used\"\n }\n ]\n }\n }"},{"id":"33de3ee7-5a1d-4da0-92dd-5995e255c2ad","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId/details","host":["{{baseUrl}}"],"path":["api","orders",":id","pointsProgram",":mileageId","details"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"mileageId","value":"<integer>","description":"**(Required)** Mileage/points program code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 27 Nov 2020 14:43:30 GMT"},{"key":"Content-Length","value":"535"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 1,\n \"name\": \"Mileage Program 1\",\n \"details\": {\n \"remainingPoints\": 185,\n \"orderUsedPoints\": 10,\n \"otherOrdersUsedPoints\": 5,\n \"recoveredProducts\": [\n {\n \"code\": 14,\n \"name\": \"Product 14\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3651,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 17,\n \"name\": \"Product 17\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3652,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": true\n },\n {\n \"code\": 22,\n \"name\": \"Product 22\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3653,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": true\n },\n {\n \"code\": 23,\n \"name\": \"Product 23\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3654,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": false\n },\n { \n \"code\": 24,\n \"name\": \"Product 24\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3655,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": true\n },\n {\n \"code\": 25,\n \"name\": \"Product 25\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3656,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": true\n },\n {\n \"code\": 27,\n \"name\": \"Product 27\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1, \n \"associatedItemCode\": 3657,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": true\n },\n {\n \"code\": 28,\n \"name\": \"Product 28\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3658,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": true\n },\n {\n \"code\": 29,\n \"name\": \"Product 29\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3659,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": true \n },\n {\n \"code\": 32,\n \"name\": \"Product 32\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemCode\": 3660,\n \"associatedItemQuantity\": 1,\n \"associatedItemNotUsed\": true\n }\n ],\n \"availableProducts\": [\n {\n \"code\": 14,\n \"name\": \"Product 14\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 17,\n \"name\": \"Product 17\",\n \"requiredPoints\": 1, \n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 22,\n \"name\": \"Product 22\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 23,\n \"name\": \"Product 23\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 24,\n \"name\": \"Product 24\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 25,\n \"name\": \"Product 25\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 27,\n \"name\": \"Product 27\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 28,\n \"name\": \"Product 28\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n }, \n {\n \"code\": 29,\n \"name\": \"Product 29\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n },\n {\n \"code\": 32,\n \"name\": \"Product 32\",\n \"requiredPoints\": 1,\n \"requiredPointsUnit\": 1,\n \"associatedItemNotUsed\": false\n }\n ]\n }\n }"}],"_postman_id":"512f6bb0-3116-401e-8029-b4758ebb7276"},{"name":"redeem items","id":"c532dfa2-5ee5-4823-941d-fe306bb863d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"<integer>","description":"<p>Product code.</p>\n","type":"text"},{"key":"name","value":"<string>","description":"<p>Product's name.</p>\n","type":"text"},{"key":"requiredPoints","value":"<integer>","description":"<p>Points needed.</p>\n","type":"text"},{"key":"associatedItemCode","value":"<integer>","description":"<p>Associated item code.</p>\n","type":"text"},{"key":"associatedItemQuantity","value":"<integer>","description":"<p>Quantity of the associated item.</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId/recover","description":"<p>This call is used to redeem items available in a frequent flyer/points program. </p>\n<p> For each desired item, the respective parameters must be sent in the call body.</p>\n","urlObject":{"path":["api","orders",":id","pointsProgram",":mileageId","recover"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"580b122f-0aa6-40d7-9b25-11d2993c39a7","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"995024c2-0c54-49be-b7b0-25be6176830e","description":{"content":"<p><strong>(Required)</strong> Mileage/points program code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"mileageId"}]}},"response":[{"id":"e275f532-dee3-4f46-aa7f-784cecf432e8","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"<integer>","description":"Product code.","type":"text"},{"key":"name","value":"<string>","description":"Product&#39;s name.","type":"text"},{"key":"requiredPoints","value":"<integer>","description":"Points needed.","type":"text"},{"key":"associatedItemCode","value":"<integer>","description":"Associated item code.","type":"text"},{"key":"associatedItemQuantity","value":"<integer>","description":"Quantity of the associated item.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId/recover","host":["{{baseUrl}}"],"path":["api","orders",":id","pointsProgram",":mileageId","recover"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Mandatory)**\n\n Request code."},{"key":"mileageId","value":"<integer>","description":"**(Mandatory)**\n\n Mileage/points program code."}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"number\": \"Order number\",\n \"businessInformation\": { // Business Information\n \"paid\": \"Indicates if the order has already been paid\",\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\n \"itemsQuantity\": \"Quantity of items included in the order\",\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\n \"pointsQuantity\": \"Amount of points earned on order\",\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\n \"tableValue\": \"Product table value\",\n \"marketValue\": \"Product value practiced\",\n \"netValue\": \"Net product value\",\n \"businessModelCode\": \"Business rule code\",\n \"businessModelName\": \"Business Rule Name\",\n \"functionCode\": \"Person&#39;s Function Code\",\n \"simulatedValue\": \"Simulated order value\",\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\n \"simulatedOrderPoints\": \"Simulated order point value\",\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\n \"distributionCenterCode\": \"Distribution center code\",\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\n \"id\": \"Value type code\",\n \"description\": \"Description of value type\"\n },\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\n \"flexBalanceAvailable\": \"Available flex budget amount\",\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\n \"proposedNetValue\": \"Proposed trading value\",\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \n },\n \"businessStructure\": { // Business Structure\n \"businessStructureCode\": \"Business Structure Code\"\n },\n \"items\": [ // List of items included in the order\n {\n \"number\": \"Item number\",\n \"productCode\": \"Product code\",\n \"productName\": \"Product Name\",\n \"quantity\": \"Quantity of item on order\",\n \"unitTableValue\": \"Unit table value\",\n \"unitMarketValue\": \"Unit value practiced\",\n \"unitNetValue\": \"Net unit value\",\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\n \"associatedItem\": \"Indicates if the product is associated with another\",\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\n \"id\": \"Source code of associated item\",\n \"description\": \"Description of the associated item&#39;s origin\"\n },\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\n \"profitabilityValue\": \"Profitability Value\",\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\n \"id\": \"Item source code\",\n \"description\": \"Description of the item&#39;s origin\"\n },\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\n \"id\": \"Embedded item source code\",\n \"description\": \"Description of the embedded item&#39;s origin\"\n },\n \"promotionCode\": \"Promotion code\",\n \"promotionDescription\": \"Description of the promotion\",\n \"order\": \"Order\",\n \"collectionDate\": \"Date of collection\",\n \"orderCycle\": \"Capture cycle\",\n \"programPointsCode\": \"Point program code\",\n \"programPointsDescription\": \"Description of points program\",\n \"notificationCode\": \"Notification code\",\n \"productCode\": \"Embedded product code\"\n },\n \"isMaterialKit\": \"Indicates the material is a kit\",\n \"productDescription\": \"Product description\",\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\n \"id\": \"Unit of measurement code\",\n \"description\": \"Description of the unit of measure\"\n },\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\n \"flexNegotiation\": { // Product price negotiation\n \"minValue\": \"Minimum value the product must have\",\n \"maxValue\": \"Maximum value the product should have\",\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\n \"proposedNetValue\": \"Proposed Net Value\" ,\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\n \"id\": \"Negotiation status code\",\n \"description\": \"Description of trading status\"\n },\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\n },\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\n }\n ],\n \"cutItems\": [ // Cut Items\n {\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\n \"id\": \"Cut item type code\",\n \"description\": \"Description of cropped item type\"\n },\n \"productCode\": \"Product code\",\n \"productName\": \"Product Name\",\n \"quantity\": \"Product quantity\",\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\n \"id\": \"Cut ratio code\",\n \"description\": \"Description of the reason of cut\"\n },\n \"unitTableValue\": \"Unit table value\",\n \"unitMarketValue\": \"Unit value practiced\",\n \"isMaterialKit\": \"Indicates the material is a kit\",\n \"productDescription\": \"Product description\",\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\n }\n ],\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\n }"},{"id":"697aa313-5182-4fa3-b0ad-b4d31c7b3f9f","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"23","description":"Product code.","type":"text"},{"key":"name","value":"<nomeDoProduto>","description":"Product&#39;s name.","type":"text"},{"key":"requiredPoints","value":"1","description":"Points needed.","type":"text"},{"key":"associatedItemCode","value":"3654","description":"Associated item code.","type":"text"},{"key":"associatedItemQuantity","value":"1","description":"Quantity of the associated item.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId/recover","host":["{{baseUrl}}"],"path":["api","orders",":id","pointsProgram",":mileageId","recover"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Mandatory)**\n\n Request code."},{"key":"mileageId","value":"1","description":"**(Mandatory)**\n\n Mileage/points program code."}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"number\": 16276137,\n \"businessInformation\": {\n \"paid\": false,\n \"orderingCycle\": 202011,\n \"marketingCycle\": 202011,\n \"itemsQuantity\": 0,\n \"productsQuantity\": 0,\n \"pointsQuantity\": 0,\n \"minimumPointsQuantity\": 11100,\n \"tableValue\": 0,\n \"marketValue\": 0,\n \"netValue\": 0,\n \"businessModelCode\": 5,\n \"businessModelName\": \"Business Model - Final Consumer\",\n \"functionCode\": 9,\n \"simulatedValue\": 0,\n \"simulatedPoints\": 14223,\n \"simulatedOrderPoints\": 0,\n \"simulatedValueProfitabilityGifts\": 0,\n \"distributionCenterCode\": 1,\n \"isWithdrawalCenter\": false,\n \"minimumPointsQuantityConsideredOrder\": 0,\n \"minimumOrderType\": {\n \"id\": 1,\n \"description\": \"Monetary\"\n },\n \"allowChangeIncorporatedItemQuantity\": true,\n \"flexBalanceAvailable\": 0,\n \"flexBalanceAmountConsumed\": 0,\n \"flexBalanceUpdatedAvailable\": 0,\n \"proposedNetValue\": 0,\n \"allowFlexNegotiation\": false\n },\n \"businessStructure\": {\n \"businessStructureCode\": 30\n },\n \"items\": [\n {\n \"number\": 1,\n \"productCode\": 23,\n \"productName\": \"Product 01\",\n \"quantity\": 1,\n \"unitTableValue\": 18,\n \"unitMarketValue\": 18,\n \"unitNetValue\": 18,\n \"unitPointsQuantity\": 1800,\n \"unitKitPointsQuantity\": 0,\n \"unitMultilevelPointsQuantity\": 0,\n \"associatedItem\": true,\n \"associatedItemRequired\": false,\n \"associatedItemOrigin\": {\n \"id\": 3,\n \"description\": \"Start Kit\"\n },\n \"simulatedValueProfitability\": 18,\n \"simulatedValueProfitabilityUnit\": 18,\n \"profitabilityValue\": 0,\n \"origin\": {\n \"id\": 1,\n \"description\": \"Sale\"\n }, \n \"isBloquedRemoveItem\": false,\n \"isBlockedEditQuantity\": true,\n \"confirmAssociatedItemDeletion\": false,\n \"associatedItemOriginDetails\": {\n \"origin\": {\n \"id\": 3,\n \"description\": \"Start Kit\"\n },\n \"promotionCode\": 12351,\n \"promotionDescription\": \"Promotion 01\",\n \"order\": 12345,\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\n \"orderCycle\": 202001,\n \"programPointsCode\": 2,\n \"programPointsDescription\": \"Points Program 01\",\n \"notificationCode\": 2,\n \"productCode\": 32\n },\n \"isMaterialKit\": false,\n \"productDescription\": \"Product 01\",\n \"hasDiscountValue\": false,\n \"hasAppliedProfitabilityValueAddItem\": false,\n \"multipleSaleRestriction\": 1,\n \"displayItemWithDiscountPromotion\": false,\n \"unitMeasurementType\": {\n \"id\": 1,\n \"description\": \"un\"\n },\n \"quantityUnitMeasurement\": 1,\n \"pricePerUnitMeasurement\": 18,\n \"flexNegotiation\": {\n \"minValue\": 17.99,\n \"maxValue\": 19.99,\n \"initialUnitNetValue\": 18,\n \"proposedUnitNetValue\": 0,\n \"proposedNetValue\": 0,\n \"status\": {\n \"id\": 1,\n \"description\": \"Not traded\" \n },\n \"allowFlexNegotiation\": true\n },\n \"isClosedBoxProduct\": false,\n \"isPromotionRequirementProduct\": false\n }\n ],\n \"cutItems\": [\n {\n \"type\": {\n \"id\": 3,\n \"description\": \"Embedded\"\n },\n \"productCode\": 17,\n \"productName\": \"Product 02\",\n \"quantity\": 1,\n \"cutReason\": {\n \"id\": 2,\n \"description\": \"Price not registered\"\n },\n \"unitTableValue\": 0,\n \"unitMarketValue\": 0,\n \"isMaterialKit\": false, \n \"productDescription\": \"Product 02\",\n \"isClosedBoxProduct\": false,\n \"isPromotionRequirementProduct\": false\n },\n {\n \"type\": {\n \"id\": 3,\n \"description\": \"Embedded\"\n },\n \"productCode\": 22,\n \"productName\": \"Product 03\",\n \"quantity\": 1,\n \"cutReason\": {\n \"id\": 8,\n \"description\": \"Discontinued product\"\n },\n \"unitTableValue\": 0,\n \"unitMarketValue\": 0,\n \"isMaterialKit\": false,\n \"productDescription\": \"Product 03\",\n \"isClosedBoxProduct\": false, \n \"isPromotionRequirementProduct\": false\n }\n ],\n \"externalPreAuthorization\": false,\n \"allRewardsPromotion\": false\n }"}],"_postman_id":"c532dfa2-5ee5-4823-941d-fe306bb863d7"},{"name":"Remove frequent flyer/point program","id":"e4e875ae-978f-47c6-bfd9-f8fb25976470","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"recovered Items","value":"[{\"code\":\"<integer>\",\"associatedItemCode\":\"<integer>\"}]","description":"<p>List of redeemed items. </p>\n<p> -<code>code</code>: Item code;</p>\n<p> -<code>associatedItemCode</code>: Code of the associated item.</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId","description":"<p>This call is used to remove a product list from a frequent flyer/points program from the order.</p>\n","urlObject":{"path":["api","orders",":id","pointsProgram",":mileageId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Request code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Mileage/points program code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"mileageId"}]}},"response":[{"id":"e6580906-9714-4b32-b8d6-4cd5088f5568","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"recovered Items","value":"[{\"code\":\"<integer>\",\"name\":\"<string>\",\"requiredPoints\":\"<integer>\",\"associatedItemCode\":\"<integer>\",\"associatedItemQuantity\":\"<integer>\"}]","description":"List of redeemed items. \n\n -`code`: Item code;\n\n -`name`: Item name;\n\n -`requiredPoints`: Number of points needed to redeem the item;\n\n -`associatedItemCode`: Code of the associated item;\n\n -`associatedItemQuantity`: Quantity of the associated item.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId","host":["{{baseUrl}}"],"path":["api","orders",":id","pointsProgram",":mileageId"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Mandatory)**\n\n Request code."},{"key":"mileageId","value":"<integer>","description":"**(Mandatory)**\n\n Mileage/points program code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276137,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 0,\r\n \"productsQuantity\": 0,\r\n \"pointsQuantity\": 0,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 0,\r\n \"marketValue\": 0,\r\n \"netValue\": 0,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 0,\r\n \"simulatedPoints\": 14223,\r\n \"simulatedOrderPoints\": 0,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 0,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23,\r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\"\r\n }, \r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Not traded\" \r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ]\r\n }"},{"id":"1241d660-5414-4cbf-9b4d-de7b1ea71f5e","name":"Response Parameter Details","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"recovered Items","value":"[{\"code\":\"<integer>\",\"name\":\"<string>\",\"requiredPoints\":\"<integer>\",\"associatedItemCode\":\"<integer>\",\"associatedItemQuantity\":\"<integer>\"}]","description":"List of redeemed items. \n\n -`code`: Item code;\n\n -`name`: Item name;\n\n -`requiredPoints`: Number of points needed to redeem the item;\n\n -`associatedItemCode`: Code of the associated item;\n\n -`associatedItemQuantity`: Quantity of the associated item.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/pointsProgram/:mileageId","host":["{{baseUrl}}"],"path":["api","orders",":id","pointsProgram",":mileageId"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Mandatory)**\n\n Request code."},{"key":"mileageId","value":"<integer>","description":"**(Mandatory)**\n\n Mileage/points program code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ]\r\n }"}],"_postman_id":"e4e875ae-978f-47c6-bfd9-f8fb25976470"}],"id":"448ed7cf-5e84-4ea4-8e88-4bc709a2bc7a","description":"<h1 id=\"what-is-a-points-campaign\">What is a Points Campaign?</h1>\n<p> The points campaign is a way for the company to gain customer loyalty by awarding points when purchasing products. These points can later be exchanged for other products.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2e4a2959-822f-403a-aeac-c6a0cd7d64c5"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"e7c3582e-b0d3-48f8-9063-c609575a390f"}}],"_postman_id":"448ed7cf-5e84-4ea4-8e88-4bc709a2bc7a"},{"name":"4.3 Obtain Conditional Sale","item":[{"name":"See conditional sales conditions","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"444f2293-0ab6-4326-9d96-f63a12ed3b69"}}],"id":"8112fb4e-82a0-4c96-8444-e0c0430a48a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/conditionalSales","description":"<p>This call is used to query the conditional sales terms available for an order. </p>\n<p> In the return object, we get the value of the <code>conditionalSaleCode</code> property, which will be passed in the value of the <code>idConditionalSale</code> parameter in the next call.</p>\n","urlObject":{"path":["api","orders",":id","conditionalSales"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"1a98c1c8-e991-4d4d-bb8f-6875796b4cae","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"b9f84b33-62d8-435e-add1-6bbcf2b68347","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/conditionalSales","host":["{{baseUrl}}"],"path":["api","orders",":id","conditionalSales"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"conditionalSaleCode\": 2,\r\n \"conditionalSaleName\": \"Conditional Sale 1\",\r\n \"conditionalSaleType\": {\r\n \"id\": 1,\r\n \"description\": \"Total value of products on order\"\r\n },\r\n \"liberatedCondition\": true,\r\n \"reachedPercentageRelease\": 133.333333333333334,\r\n \"valueMissingRelease\": -50\r\n },\r\n {\r\n \"conditionalSaleCode\": \"3\",\r\n \"conditionalSaleName\": \"Conditional Sale 1\",\r\n \"conditionalSaleType\": {\r\n \"id\": 1,\r\n \"description\": \"Total value of products on order\"\r\n },\r\n \"liberatedCondition\": true,\r\n \"reachedPercentageRelease\": 133.333333333333334,\r\n \"valueMissingRelease\": -50\r\n }\r\n ]"},{"id":"cae2c2d4-37c1-42ee-a979-b7888c6170fb","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/conditionalSales","host":["{{baseUrl}}"],"path":["api","orders",":id","conditionalSales"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 30 Nov 2020 19:53:52 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"conditionalSaleCode\": \"Conditional sales code\",\r\n \"conditionalSaleName\": \"Conditional Sale Name\",\r\n \"conditionalSaleType\": { // Type of conditional sale - Possible values in the glossary (Types of Conditional Sale)\r\n \"id\": \"Code of conditional sale type\",\r\n \"description\": \"Description of the conditional sale type\"\r\n },\r\n \"liberatedCondition\": \"Indicates whether the conditional sale has been released - all conditions have been met\",\r\n \"reachedPercentageRelease\": \"Percentage reached\",\r\n \"valueMissingRelease\": \"Remaining value to reach the conditional sale\"\r\n }\r\n ]"}],"_postman_id":"8112fb4e-82a0-4c96-8444-e0c0430a48a3"},{"name":"Consult conditional sale items","id":"4352846a-0a46-437a-bd7f-550c001d0695","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/conditionalSales/:idConditionalSale/items","description":"<p>This call is used to query items that are part of a conditional sale.</p>\n","urlObject":{"path":["api","orders",":id","conditionalSales",":idConditionalSale","items"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"d1c29ba4-8a01-4f1f-8e91-b5957c5483e5","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"5d4c7fb5-b36d-4ece-8e2e-1129d8d1ddfb","description":{"content":"<p><strong>(Required)</strong> Conditional sale code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"idConditionalSale"}]}},"response":[{"id":"81a586dd-3095-4d63-be89-1df84936cbfa","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/conditionalSales/:idConditionalSale/items","host":["{{baseUrl}}"],"path":["api","orders",":id","conditionalSales",":idConditionalSale","items"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"idConditionalSale","value":"<integer>","description":"**(Required)** Conditional sale code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"conditionalSaleCode\": \"Conditional sales code\",\r\n \"conditionalSaleItems\": [ // List of items in the conditional sale (these items are available for purchase after the conditional sale is achieved)\r\n {\r\n \"maximumQuantity\": \"Maximum quantity allowed\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // It must be included in multiples of x\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Code of unit of measurement\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"unitPoints\": \"Points per product unit\",\r\n \"unitPrice\": \"Unit price of the product\"\r\n }\r\n ],\r\n \"conditionalSaleName\": \"Conditional Sale Name\",\r\n \"liberatedCondition\": \"Indicates whether the conditional sale has been released - all conditions have been met\",\r\n \"reachedPercentageRelease\": \"Percentage reached\",\r\n \"valueMissingRelease\": \"Remaining value to reach the conditional sale\"\r\n }\r\n ]"},{"id":"f4bb9b93-f5a8-4908-aa3c-90bd8b4bfc6d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/conditionalSales/:idConditionalSale/items","host":["{{baseUrl}}"],"path":["api","orders",":id","conditionalSales",":idConditionalSale","items"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"idConditionalSale","value":"<integer>","description":"**(Required)** Conditional sale code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"conditionalSaleCode\": 2,\n \"conditionalSaleItems\": [\n {\n \"maximumQuantity\": 2,\n \"multipleSaleRestriction\": 1,\n \"pricePerUnitMeasurement\": 94,\n \"productCode\": 6,\n \"productName\": \"Product 6\",\n \"quantityUnitMeasurement\": 2,\n \"unitMeasurementType\": {\n \"id\": 4,\n \"description\": \"mg\"\n },\n \"unitPoints\": 18800,\n \"unitPrice\": 188\n }\n ],\n \"conditionalSaleName\": \"Conditional sales test\",\n \"liberatedCondition\": false,\n \"reachedPercentageRelease\": 0,\n \"valueMissingRelease\": 0 \n }"}],"_postman_id":"4352846a-0a46-437a-bd7f-550c001d0695"}],"id":"5e9999d0-b8c7-4d28-8671-670114d847a8","description":"<h1 id=\"what-is-conditional-selling\">What is Conditional Selling?</h1>\n<p> Conditional Sales is a feature of the <strong>Let</strong> platform, where the company conditions the sale of one product to another. </p>\n<p> <strong>Example</strong>: The application allows the purchase of a shampoo only if the user buys two soaps and a sponge.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"acf16eaf-1007-4941-8228-3a844c12c2fa"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d68b3e0a-cd94-4352-b382-57bc4d60ac44"}}],"_postman_id":"5e9999d0-b8c7-4d28-8671-670114d847a8"},{"name":"4.4 Include Item (*)","item":[{"name":"Browse products","id":"456cdc16-53ba-435f-ae24-d772e9599f90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/products?codeOrName=<string>&includeOptions=priceDetails&includeOptions=isClosedBoxProduct&page=<integer>&pageSize=<integer>","description":"<p>This call is used to query products to be included in an order. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","orders",":id","products"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Item code or description.</p>\n","type":"text/plain"},"key":"codeOrName","value":"<string>"},{"description":{"content":"<p>Product price details.</p>\n","type":"text/plain"},"key":"includeOptions","value":"priceDetails"},{"description":{"content":"<p>It says if the product must be purchased in a sealed box. </p>\n<p> E.g.: If a shampoo comes in closed boxes with 10 units, the user can only buy the product in multiples of 10.</p>\n","type":"text/plain"},"key":"includeOptions","value":"isClosedBoxProduct"},{"description":{"content":"<p>Page number to be returned</p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page</p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"e91d7996-d061-4302-ae04-c3280d43e6e9","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"1c2c4912-3ab3-4b06-a235-19ad809e4239","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/products?codeOrName=<string>&includeOptions=priceDetails&includeOptions=isClosedBoxProduct&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","products"],"query":[{"key":"codeOrName","value":"<string>","description":"Item code or description."},{"key":"includeOptions","value":"priceDetails","description":"Product price details."},{"key":"includeOptions","value":"isClosedBoxProduct","description":"It says if the product must be purchased in a sealed box. \n\n E.g.: If a shampoo comes in closed boxes with 10 units, the user can only buy the product in multiples of 10."},{"key":"page","value":"<integer>","description":"Desired page number."},{"key":"pageSize","value":"<integer>","description":"Number of items on each page."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Record-Count","value":"1"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Tue, 01 Dec 2020 16:23:15 GMT"},{"key":"Content-Length","value":"292"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Product code\",\n \"name\": \"Product name\",\n \"type\": { // Product Relationship Type - Possible Glossary Values (Product Relationship Types)\n \"id\": \"Product relationship type code\",\n \"description\": \"Description of product relationship type\"\n },\n \"unitNetValue\": \"Net unit value\",\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\n \"unitTableValue\": \"Unit table value\",\n \"unitMarketValue\": \"Unit value practiced\", \n \"profitabilityValue\": \"Profitability Value\",\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\n \"id\": \"Unit of measurement code\",\n \"description\": \"Description of the unit of measure\"\n },\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\"\n }\n ]"},{"id":"f5a4c655-f8b6-4d8d-bb0a-fb190042935f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/products?codeOrName=<string>&includeOptions=priceDetails&includeOptions=isClosedBoxProduct&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","products"],"query":[{"key":"codeOrName","value":"<string>","description":"Item code or description."},{"key":"includeOptions","value":"priceDetails","description":"Product price details."},{"key":"includeOptions","value":"isClosedBoxProduct","description":"It says if the product must be purchased in a sealed box. \n\n E.g.: If a shampoo comes in closed boxes with 10 units, the user can only buy the product in multiples of 10."},{"key":"page","value":"<integer>","description":"Desired page number."},{"key":"pageSize","value":"<integer>","description":"Number of items on each page."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Record-Count","value":"1"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Tue, 01 Dec 2020 16:23:15 GMT"},{"key":"Content-Length","value":"292"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 21,\n \"name\": \"Product 21\",\n \"type\": {\n \"id\": 3,\n \"description\": \"Associated product\"\n },\n \"unitNetValue\": 206,\n \"unitPointsQuantity\": 20600,\n \"simulatedValueProfitabilityUnit\": 206,\n \"hasAppliedProfitabilityValueAddItem\": false,\n \"unitTableValue\": 206,\n \"unitMarketValue\": 206,\n \"profitabilityValue\": 0,\n \"hasDiscountValue\": false,\n \"multipleSaleRestriction\": 1,\n \"unitMeasurementType\": {\n \"id\": 3,\n \"description\": \"g\"\n },\n \"quantityUnitMeasurement\": 1, \n \"pricePerUnitMeasurement\": 206,\n \"isClosedBoxProduct\": false\n }\n ]"}],"_postman_id":"456cdc16-53ba-435f-ae24-d772e9599f90"},{"name":"Add/Change/Remove Item","id":"f1787076-4d95-4b1a-b303-5d3a99139d8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"productCode","value":"<string>","description":"<p>Product code.</p>\n","type":"text"},{"key":"productModelCode","value":"<string>","description":"<p>Model product code.</p>\n","type":"text"},{"key":"quantity","value":"<integer>","description":"<p>Quantity of the product. </p>\n<p> If the intention is to remove the item in question, this parameter must have the value \"0\". If the value \"0\" is passed without the item in question being present in the request, the endpoint will return an error.</p>\n","type":"text"},{"key":"sellerCode","value":"<integer>","description":"<p>Code of the employee who helped the owner of the order.</p>\n","type":"text"},{"key":"origin","value":"<integer>","description":"<p>Product origin:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Sale</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Donation</td>\n</tr>\n</tbody>\n</table>\n</div>","type":"text"},{"key":"number","value":"<integer>","description":"<p>Order item number.</p>\n","type":"text"},{"key":"confirmedAssociatedItemDeletion","value":"<boolean>","description":"<p>This parameter indicates whether the item in question should be deleted from the current order only or forever. If the value <code>true</code> is passed, the item leaves the list of embedded items and no longer appears in future orders from the user who owns the order. If the value <code>false</code> is passed, the item is excluded only from the current order, being incorporated in future orders of the user that owns the order.</p>\n","type":"text"},{"key":"paymentPlanCode","value":"<integer>","description":"<p>Payment plan code.</p>\n","type":"text"},{"key":"removeItem","value":"<boolean>","description":"<p>Indicates whether the application should remove the item from the order. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter should only be sent together with the <code>quantity</code> parameter, when its value is <code>0</code></p>\n","type":"text"}]},"url":"{{baseUrl}}/api/orders/:id/items?eventChangeQuantity=changeDefault&eventChangeQuantity=replaceQuantity&eventChangeQuantity=sumQuantity","description":"<p>If an error occurs when adding/modifying/removing an item, the entire order object must be retrieved to identify which items were successfully added, changed or removed. For this, the application must call the endpoint to <a href=\"#b9fe1a1e-f9ac-4448-b166-c28d6d31618d\">get order status</a>. This API always returns the entire object of the request being captured; therefore, after order completion/cancellation, this object will no longer exist. </p>\n<p> The API only considers the value of the <code>eventChangeQuantity</code> parameter when it is used to change the quantity of an item. </p>\n<p> <strong>Heads up</strong></p>\n<p> The parameters documented in the call body make up just one object. The API, however, is configured to receive a list of objects. Therefore, the content of the call body must be sent in a JSON file.</p>\n","urlObject":{"path":["api","orders",":id","items"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>Default</strong></p>\n<p> <strong>Heads up</strong></p>\n<p> If the <a href=\"#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7\">business rule</a> works with barcodes (<code>usesBarcode</code> = <code>true</code>), the application always adds the amount. If it doesn't use barcode (<code>usesBarcode</code>= <code>false</code>), the setting is defined by the capture medium.</p>\n","type":"text/plain"},"key":"eventChangeQuantity","value":"changeDefault"},{"description":{"content":"<p>Replaces the current quantity of the product with the value being passed in the call.</p>\n","type":"text/plain"},"key":"eventChangeQuantity","value":"replaceQuantity"},{"description":{"content":"<p>Sums the current quantity of the product with the one being passed in the call.</p>\n","type":"text/plain"},"key":"eventChangeQuantity","value":"sumQuantity"}],"variable":[{"description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"3ce783f3-2060-4edf-b8fc-3c511e3ab256","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"productCode","value":"","description":"Product code.","type":"text"},{"key":"productModelCode","value":"","description":"Model product code.","type":"text"},{"key":"quantity","value":"","description":"Quantity of the product. \n\n If the intention is to remove the item in question, this parameter must have the value \"0\". If the value \"0\" is passed without the item in question being present in the request, the endpoint will return an error.","type":"text"},{"key":"sellerCode","value":"","description":"Code of the employee who helped the owner of the order.","type":"text"},{"key":"origin","value":"","description":"Product origin:\n\n |||\n |-- |-- |\n |1|Sale|\n |2|Donation|","type":"text"},{"key":"number","value":"","description":"Order item number.","type":"text"},{"key":"confirmedAssociatedItemDeletion","value":"","description":"In case of a removal, this parameter indicates whether the item in question should be deleted only from the current order or forever. If the value `true` is passed, the item leaves the list of embedded items and no longer appears in future orders from the user who owns the order. If the value `false` is passed, the item is excluded only from the current order, being incorporated in future orders of the user that owns the order. \n\n **Heads up**\n\n For this to work, such functionality needs to be enabled in the business rule.","type":"text"},{"key":"cutProductCode","value":"","description":"In case of a removal, product code cut off.","type":"text"},{"key":"cutProductQuantity","value":"","description":"In case of a removal, quantity of cut product.","type":"text"},{"key":"paymentPlanCode","value":"","description":"Payment plan code.","type":"text"},{"key":"removeItem","value":"<boolean>","description":"Indicates whether the application should remove the item from the order. \n\n **Heads up**\n\n This parameter should only be sent together with the `quantity` parameter, when its value is `0`","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/items?eventChangeQuantity=changeDefault&eventChangeQuantity=replaceQuantity&eventChangeQuantity=sumQuantity","host":["{{baseUrl}}"],"path":["api","orders",":id","items"],"query":[{"key":"eventChangeQuantity","value":"changeDefault","description":"Default value. \n\n **Heads up**\n\n If the [business rule](#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7) works with barcodes (`usesBarcode` = `true`), the application always adds the amount. If it doesn&#39;t use barcode (`usesBarcode`= `false`), the setting is defined by the capture medium."},{"key":"eventChangeQuantity","value":"replaceQuantity","description":"Replaces the current quantity of the product with the value being passed in the call."},{"key":"eventChangeQuantity","value":"sumQuantity","description":"Sums the current quantity of the product with the one being passed in the call."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 27 Nov 2020 15:30:50 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"70f94e2c-0868-461a-9a99-d0550796a1a6","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"productCode","value":"","description":"Product code.","type":"text"},{"key":"productModelCode","value":"","description":"Model product code.","type":"text"},{"key":"quantity","value":"","description":"Quantity of the product. \n\n If the intention is to remove the item in question, this parameter must have the value \"0\". If the value \"0\" is passed without the item in question being present in the request, the endpoint will return an error.","type":"text"},{"key":"sellerCode","value":"","description":"Code of the employee who helped the owner of the order.","type":"text"},{"key":"origin","value":"","description":"Product origin:\n\n |||\n |-- |-- |\n |1|Sale|\n |2|Donation|","type":"text"},{"key":"number","value":"","description":"Order item number.","type":"text"},{"key":"confirmedAssociatedItemDeletion","value":"","description":"In case of a removal, this parameter indicates whether the item in question should be deleted only from the current order or forever. If the value `true` is passed, the item leaves the list of embedded items and no longer appears in future orders from the user who owns the order. If the value `false` is passed, the item is excluded only from the current order, being incorporated in future orders of the user that owns the order. \n\n **Heads up**\n\n For this to work, such functionality needs to be enabled in the business rule.","type":"text"},{"key":"cutProductCode","value":"","type":"text"},{"key":"cutProductQuantity","value":"","type":"text"},{"key":"paymentPlanCode","value":"","description":"Payment plan code.","type":"text"},{"key":"removeItem","value":"<boolean>","description":"Indicates whether the application should remove the item from the order. \n\n **Heads up**\n\n This parameter should only be sent together with the `quantity` parameter, when its value is `0`","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/items?eventChangeQuantity=replaceQuantity","host":["{{baseUrl}}"],"path":["api","orders",":id","items"],"query":[{"key":"eventChangeQuantity","value":"changeDefault","description":"Default value. \n\n **Heads up**\n\n If the [business rule](#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7) works with barcodes (`usesBarcode` = `true`), the application always adds the amount. If it doesn&#39;t use barcode (`usesBarcode`= `false`), the setting is defined by the capture medium.","disabled":true},{"key":"eventChangeQuantity","value":"replaceQuantity","description":"Replaces the current quantity of the product with the value being passed in the call."},{"key":"eventChangeQuantity","value":"sumQuantity","description":"Sums the current quantity of the product with the one being passed in the call.","disabled":true}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 27 Nov 2020 15:30:50 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 23\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 23\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 17\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 17\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 22\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 22\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n } \r\n }\r\n }"}],"_postman_id":"f1787076-4d95-4b1a-b303-5d3a99139d8c"},{"name":"Get model product","id":"a4475513-de78-4529-98d3-e004c32fb040","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/products/:productModelId/models","urlObject":{"path":["api","orders",":id","products",":productModelId","models"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"322f6ac9-aa24-4b6f-868d-575506878b40","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"b63e1e44-2274-48dd-995b-0aac0c4af784","description":{"content":"<p><strong>(Required)</strong> Model product code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"productModelId"}]}},"response":[{"id":"cd21fd54-442d-4155-9f5b-fb0a07b2b4c3","name":"Response Product Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/products/:productModelId/models","host":["{{baseUrl}}"],"path":["api","orders",":id","products",":productModelId","models"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"productModelId","value":"<integer>","description":"**(Required)** Model product code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"41ccaac7-58a6-46c3-909e-df3a30d29de1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/products/:productModelId/models","host":["{{baseUrl}}"],"path":["api","orders",":id","products",":productModelId","models"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"productModelId","value":"<integer>","description":"**(Required)** Model product code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a4475513-de78-4529-98d3-e004c32fb040"},{"name":"Obtain replacement product","id":"a2391204-eb47-4e67-bbff-262a537e26cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/replacementProducts/:productId","description":"<p>This call is used to query the substitute products related to an item when the item is cut due to lack of stock.</p>\n","urlObject":{"path":["api","orders",":id","replacementProducts",":productId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"bf70bd10-2c3e-41c0-862d-d60e5bde56d6","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"3faefd83-ec37-44a8-a9ff-16424f1a1567","description":{"content":"<p><strong>(Required)</strong> Product code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"productId"}]}},"response":[{"id":"b4d4fd9a-07c5-4a15-8dbe-a484f3a3d5f8","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/replacementProducts/:productId","host":["{{baseUrl}}"],"path":["api","orders",":id","replacementProducts",":productId"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"productId","value":"<integer>","description":"**(Required)** Product code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unityPrice\": \"Unit Price\"\r\n }\r\n ]"},{"id":"f4a21b1d-8502-4ac7-a671-31dac7f0e865","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/replacementProducts/:productId","host":["{{baseUrl}}"],"path":["api","orders",":id","replacementProducts",":productId"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"productId","value":"<integer>","description":"**(Required)** Product code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 10300,\r\n \"productCode\": 2,\r\n \"productDescription\": \"Product Kit Home - 2\",\r\n \"productName\": \"Product Kit Home - 2\",\r\n \"unityPrice\": 103\r\n },\r\n {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 20002,\r\n \"productCode\": 3,\r\n \"productDescription\": \"Product Kit Home - 3\",\r\n \"productName\": \"Product Kit Home - 3\",\r\n \"unityPrice\": 200.02\r\n }\r\n ]"}],"_postman_id":"a2391204-eb47-4e67-bbff-262a537e26cb"},{"name":"Export order item template","id":"fba0d1cf-17f7-4962-8008-f4cba68fbf2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/exportTemplate","urlObject":{"path":["api","orders",":id","exportTemplate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"8a6627b3-1b3e-4ca2-be6f-0213096fa473","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"f5779447-0cfd-4ada-97e0-fb215d98c129","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/exportTemplate","host":["{{baseUrl}}"],"path":["api","orders",":id","exportTemplate"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"url\":\"Template download URL\"\r\n }"},{"id":"aa27251d-ba7a-4162-b13e-87b3faf23c94","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/exportTemplate","host":["{{baseUrl}}"],"path":["api","orders",":id","exportTemplate"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"url\": \"https://inovadevsgi.geravd.com.br/Temp/ItensPedido_974d4ed58-aa30-43b8-adc6-8265a77c71e11.xls\"\r\n }"}],"_postman_id":"fba0d1cf-17f7-4962-8008-f4cba68fbf2e"},{"name":"Import order item template","id":"d97fc85f-bf11-4d46-a247-208cb7ee767f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"filet","value":"<binary>","description":"<p>File with list of items.</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/orders/:id/items/import","urlObject":{"path":["api","orders",":id","items","import"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"699adaae-632b-4034-a12d-8227e66cf713","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"a64d3087-9c6a-40a6-b7bd-a58f32781afd","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"filet","value":"<binary>","description":"File with list of items.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/items/import","host":["{{baseUrl}}"],"path":["api","orders",":id","items","import"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"importRows\": [\r\n {\r\n \"containsError\": true,\r\n \"error\": {\r\n \"code\": \"\",\r\n \"description\": \"Product code 1 (Home Kit Product - 1) cut into 1 unit(s) (Insufficient stock).\"\r\n },\r\n \"importRow\": {\r\n \"code\": \"1\",\r\n \"quantity\": \"1\"\r\n },\r\n \"rowDescription\": \"1|1\",\r\n \"rowNumber\": 2\r\n },\r\n {\r\n \"containsError\": false,\r\n \"importRow\": {\r\n \"code\": \"2\",\r\n \"quantity\": \"1\"\r\n },\r\n \"rowDescription\": \"2|1\",\r\n \"rowNumber\": 3\r\n },\r\n {\r\n \"containsError\": false,\r\n \"importRow\": {\r\n \"code\": \"3\",\r\n \"quantity\": \"1\"\r\n },\r\n \"rowDescription\": \"3|1\",\r\n \"rowNumber\": 4\r\n }\r\n ],\r\n \"quantityImportRowsError\": 1,\r\n \"quantityImportRowsSuccess\": 2,\r\n \"returnObject\": {\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18, \r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23,\r\n \"productName\": \"Product 23\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\"\r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351, \r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 23\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\" \r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Not traded\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": { \r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 17\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 17\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n }, \r\n \"productCode\": 22,\r\n \"productName\": \"Product 22\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 22\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"allRewardsPromotion\": false\r\n }\r\n }"},{"id":"ae1ab8fc-8d3d-48e9-b025-88955394b928","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"filet","value":"<binary>","description":"File with list of items.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/items/import","host":["{{baseUrl}}"],"path":["api","orders",":id","items","import"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"importRows\": [ // List of imported rows\r\n {\r\n \"containsError\": \"Indicates if the line contains an error\",\r\n \"error\": { // Error found in line\r\n \"code\": \"Error code\",\r\n \"description\": \"Error description\"\r\n },\r\n \"importRow\": { // Imported row\r\n \"code\": \"Item code\",\r\n \"quantity\": \"Item quantity\"\r\n },\r\n \"rowDescription\": \"Row description\",\r\n \"rowNumber\": \"Row number\"\r\n }\r\n ],\r\n \"quantityImportRowsError\": \"Amount of rows with errors\",\r\n \"quantityImportRowsSuccess\": \"Amount of successful rows\",\r\n \"returnObject\": { // Return object \r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\", \r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\", \r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }\r\n }"}],"_postman_id":"d97fc85f-bf11-4d46-a247-208cb7ee767f"}],"id":"883a0e20-66da-447b-835b-cfa6b09407cc","description":"<p>In this step, the user can consult an item and add it - if the user already has the code of an item he wants to add, he can do it directly - or change/remove an item already added to the order. In this step, the endpoints of model product, cut items, and substitute product are also documented. </p>\n<h3 id=\"addchangeremove-item\">Add/Change/Remove Item</h3>\n<p> In the body of the call, there is an attribute that deserves attention:</p>\n<ul>\n<li><code>confirmedAssociatedItemDeletion</code>: This attribute indicates whether the item in question should be deleted from the current order only or forever. If the value <code>true</code> is passed, the item leaves the list of embedded items and no longer appears in future orders from the user who owns the order. If the value <code>false</code> is passed, the item is excluded only from the current order, being incorporated in future orders of the user that owns the order.</li>\n</ul>\n<p> If the business rule is configured to allow permanent deletion of an embedded item, the <code>confirmAssociatedItemDeletion</code> attribute is returned in the return object of this call. If the value of this attribute is <code>true</code>, the application should display an alert to the user, asking whether deleting this item should permanently remove the product from the list of embedded items or not. If this feature is enabled, when deleting the item after questioning, the <code>confirmedAssociatedItemDeletion</code> parameter must be passed the value <code>true</code> or <code>false</code> when making the call. </p>\n<p> After adding/changing/removing an item, if the user wants to add more items, it will be necessary to return to the step of <a href=\"#bb902331-f210-4be8-935b-a6267da050f7\">Get Conditional Sale</a>. Otherwise, proceed to <a href=\"#4aaf1923-3028-4443-ac64-94901c29e78b\">next step</a>. </p>\n<h3 id=\"model-product\">Model Product</h3>\n<p> When there are variations of the same product (red, pink, black lipstick), a Model Product is created. This product is associated with its variations, which can be obtained from the <a href=\"#a12d4fab-add3-4910-8772-8352fcc168d2\">model products query</a>. </p>\n<h3 id=\"cut-product\">Cut Product</h3>\n<p> There are several reasons for a product to be cut from an order. The most common of these is the lack of units in stock. In this case, the system performs the cut when inserting the product, as it will not be possible to make the sale. The cut can also occur for gifts (products that are of the donation type) or Home Kit items (products that are incorporated). </p>\n<p> To find out if there are hacked products associated with the order, the application must <a href=\"#b9fe1a1e-f9ac-4448-b166-c28d6d31618d\">get order status</a>. The cut products will be returned inside the <code>array</code> <code>cutItems</code>. </p>\n<h3 id=\"substitute-product\">Substitute Product</h3>\n<p> When registering a product, it is possible to link it to a material. The substitute product will be used in cases where the material is out of stock. </p>\n<p> To get the replacement product in case of out of stock, the application must call the endpoint <a href=\"#f0c6b3ab-d170-4a75-8a0c-e131660a5256\">below</a>. </p>\n<h3 id=\"import-order\">Import Order</h3>\n<p> The user can choose to import a file with all the items they want. The application can <a href=\"#61021992-4660-4bf1-8074-5e2bdf5d8e4f\">export a template</a> for the user to fill in the desired information. Then the application should <a href=\"#4761e093-941f-4e0c-a529-093f5335bb75\">import the order file</a>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"400e2e02-a91a-4f28-afe2-972b8e57afd3"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"fedd0f75-4ba3-4bc9-a743-8bb51dc93e3c"}}],"_postman_id":"883a0e20-66da-447b-835b-cfa6b09407cc"},{"name":"Order VI (*)","item":[{"name":"Item Payment Plans","item":[{"name":"View product payment plans","id":"1d3ea111-a5a0-4d36-905e-079aa673e3df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/item/:numberOrderItemId/paymentPlans?paymentMode=<integer>","urlObject":{"path":["api","orders",":id","item",":numberOrderItemId","paymentPlans"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Payment Mode Filter.</p>\n","type":"text/plain"},"key":"paymentMode","value":"<integer>"}],"variable":[{"id":"312fb20a-2cc3-47a1-a980-e6c3a02da003","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"906b20e8-3684-4d61-93e7-43ebeb263f94","description":{"content":"<p><strong>(Required)</strong> Item code in the order.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"numberOrderItemId"}]}},"response":[{"id":"3014a48b-9655-4262-ba79-b758200436fd","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/item/:numberOrderItemId/paymentPlans?paymentMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","item",":numberOrderItemId","paymentPlans"],"query":[{"key":"paymentMode","value":"<integer>","description":"Payment Mode Filter."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"numberOrderItemId","value":"<integer>","description":"**(Required)** Item code in the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"contingentPaymentPlans\": [], // List of contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\", \r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ]"},{"id":"ff3feb3e-b9c4-49a2-80bc-6aa5bece4566","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/item/:numberOrderItemId/paymentPlans?paymentMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","item",":numberOrderItemId","paymentPlans"],"query":[{"key":"paymentMode","value":"<integer>","description":"Payment Mode Filter."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"numberOrderItemId","value":"<integer>","description":"**(Required)** Item code in the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"administrateTax\": 2,\n \"code\": 19,\n \"creditTreatment\": {\n \"description\": \"Check credit\",\n \"id\": 1\n },\n \"externalPaymentMethod\": {\n \"description\": \"No\",\n \"id\": 0\n },\n \"isBlocked\": false,\n \"marketingMessages\": [\n {\n \"priority\": 0,\n \"text\": \"Message when selecting the receiving plan\"\n }\n ],\n \"minimumInstallmentAmount\": 0,\n \"name\": \"5x\",\n \"paymentInfo\": [\n {\n \"installments\": [\n 1, \n two,\n 3,\n 4,\n 5\n ],\n \"installmentsQuantity\": 5\n }\n ],\n \"paymentMode\": {\n \"description\": \"Boleto\",\n \"id\": 1\n },\n \"productCode\": 21,\n \"showCreditConsumptionData\": {\n \"description\": \"Yes\",\n \"id\": 1\n },\n \"type\": {\n \"description\": \"Postpaid\",\n \"id\": 2\n }\n }\n ]"}],"_postman_id":"1d3ea111-a5a0-4d36-905e-079aa673e3df"},{"name":"Change product payment plan","id":"04d747f9-950e-4d95-af09-ecd3ce4b075d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"<p>Payment plan code.</p>\n"},{"key":"paymentModeId","value":"<integer>","description":"<p>Payment method code.</p>\n"},{"key":"creditCardType","value":"<integer>","description":"<p>Credit card type. </p>\n<p> It must only be passed when the method of payment is credit card.</p>\n"},{"key":"installmentsQuantity","value":"<integer>","description":"<p>Number of installments. It should only be passed when the payment mode has multiple payments.</p>\n"},{"key":"productCode","value":"<integer>","description":"<p>Product code.</p>\n"}]},"url":"{{baseUrl}}/api/orders/:id/item/:numberOrderItemId/paymentPlansByOrderItem","description":"<p>This call is used to change the payment plan for a specific product on order.</p>\n","urlObject":{"path":["api","orders",":id","item",":numberOrderItemId","paymentPlansByOrderItem"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"7f152467-4712-4099-8589-8f3c6a71b6f4","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Request code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"ccd28866-1f89-448d-8174-f4d13b08e7db","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Item code in the order.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"numberOrderItemId"}]}},"response":[{"id":"6bce8713-7897-4c70-b1c4-1b4ed6429c00","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"Payment plan code."},{"key":"paymentModeId","value":"<integer>","description":"Payment method code."},{"key":"creditCardType","value":"<integer>","description":"Credit card type. \n\n It must only be passed when the method of payment is credit card."},{"key":"installmentsQuantity","value":"<integer>","description":"Number of installments. It should only be passed when the payment mode has multiple payments."},{"key":"productCode","value":"<integer>","description":"Product code."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/item/:numberOrderItemId/paymentPlansByOrderItem","host":["{{baseUrl}}"],"path":["api","orders",":id","item",":numberOrderItemId","paymentPlansByOrderItem"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"numberOrderItemId","value":"<integer>","description":"**(Required)** Item code in the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\", \r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\", \r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n }, \r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67, \r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": { \r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n }\r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\", \r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n }, \r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ]\r\n }"},{"id":"244702f8-ebd9-4c95-a13d-f0d2beaca15e","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"Payment plan code."},{"key":"paymentModeId","value":"<integer>","description":"Payment method code."},{"key":"creditCardType","value":"<integer>","description":"Credit card type. \n\n It must only be passed when the method of payment is credit card."},{"key":"installmentsQuantity","value":"<integer>","description":"Number of installments. It should only be passed when the payment mode has multiple payments."},{"key":"productCode","value":"<integer>","description":"Product code."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/item/:numberOrderItemId/paymentPlansByOrderItem","host":["{{baseUrl}}"],"path":["api","orders",":id","item",":numberOrderItemId","paymentPlansByOrderItem"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"numberOrderItemId","value":"<integer>","description":"**(Required)** Item code in the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option \r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can come to win in the request\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders promotions displayed\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\", \r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans payment by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit consumption data configuration - Possible values in the glossary (Credit consumption data settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user chose a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types) \r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\", \r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if it does not currently exist inventory\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Updated total values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Value original of the residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\", \r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n } \r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of promotion\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"}],"_postman_id":"04d747f9-950e-4d95-af09-ecd3ce4b075d"}],"id":"42f74e88-18d7-411b-bd3e-e817f27e113e","description":"<p>If the user wants to change the payment plan for some item, the application must call the endpoint to get the payment plans for the desired item. After selecting a payment mode by the user, the application must call the endpoint to change the payment plan for the item in question. </p>\n<p> If the user only wants to negotiate the value of the product, the application must go to the <a href=\"#bf028b49-5df7-4da7-a567-228b53f17d54\">next step</a>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"fe84884a-5143-4b58-948f-28204da61f2c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5ef98945-4db4-41c9-8c96-00d60f2cf428"}}],"_postman_id":"42f74e88-18d7-411b-bd3e-e817f27e113e"},{"name":"Negotiate Item Value","item":[{"name":"Consult last purchase","id":"5969b09d-3877-45d0-a9f0-97e3ad9f5085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/product/:productId/lastPurchase","description":"<p>This call is used to obtain data from the last purchase of a product.</p>\n","urlObject":{"path":["api","orders",":id","product",":productId","lastPurchase"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"57c29ce2-4a17-4029-8fe9-f5e84494836b","description":{"content":"<p>(<strong>Required</strong>) Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"b3a3393a-ccbb-45ef-be2a-07a38604e4cc","description":{"content":"<p>(<strong>Required</strong>) Product code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"productId"}]}},"response":[{"id":"179a2378-ec34-4b0f-8867-3dc9b3519dcc","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/product/:productId/lastPurchase","host":["{{baseUrl}}"],"path":["api","orders",":id","product",":productId","lastPurchase"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"(**Required**) Order code."},{"key":"productId","value":"<integer>","description":"(**Required**) Product code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"averageNetValue\": \"Average Net Value\",\r\n \"orderCode\": \"Order code\",\r\n \"orderEventDate\": \"Order date\",\r\n \"paymentPlan\": \"Payment Plan\",\r\n \"paymentPlanCode\": \"Payment Plan Code\",\r\n \"personCode\": \"Order owner user code\",\r\n \"productCode\": \"Product code\",\r\n \"quantity\": \"Product quantity\"\r\n }"},{"id":"827795b1-afe1-4bf6-b8df-aa56b947298d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/product/:productId/lastPurchase","host":["{{baseUrl}}"],"path":["api","orders",":id","product",":productId","lastPurchase"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"(**Required**) Order code."},{"key":"productId","value":"<integer>","description":"(**Required**) Product code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"averageNetValue\": 52.65,\r\n \"orderCode\": 18758923,\r\n \"orderEventDate\": \"2021-02-28T09:18:09.673Z\",\r\n \"paymentPlan\": \"1x\",\r\n \"paymentPlanCode\": 7,\r\n \"personCode\": 2701,\r\n \"productCode\": 15,\r\n \"quantity\": 25\r\n }"}],"_postman_id":"5969b09d-3877-45d0-a9f0-97e3ad9f5085"},{"name":"Generate trading intent","id":"a377c3b4-a53e-4bb1-8646-58be278fd2b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"proposedNetValue","value":"<double>","description":"<p>Value proposed by the user.</p>\n"},{"key":"isProposedNetValueConfirmed","value":"<boolean>","description":"<p>Confirms the negotiation of the product value.</p>\n"}]},"url":"{{baseUrl}}/api/orders/:id/items/:number/flexNegotiation","description":"<p>This call creates or updates the trade price of a product in the order.</p>\n","urlObject":{"path":["api","orders",":id","items",":number","flexNegotiation"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"1e805813-e31c-4e23-9bfd-d9d99b625813","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"acfa9d4e-32df-4059-984a-a3c751a2582c","description":{"content":"<p><strong>(Required)</strong> Item code in the order.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"number"}]}},"response":[{"id":"0d4138fe-429d-4a91-9dfe-66757a5a941a","name":"Response Parameter Details","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"proposedNetValue","value":"<double>","description":"Value proposed by the user."},{"key":"isProposedNetValueConfirmed","value":"<boolean>","description":"Confirms the negotiation of the product value."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/items/:number/flexNegotiation","host":["{{baseUrl}}"],"path":["api","orders",":id","items",":number","flexNegotiation"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"number","value":"<integer>","description":"**(Required)** Item code in the order."}]}},"status":"created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Description of destiny\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion\r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of product\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Type of promotion award\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Shows suggestions for promotions\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Code of destiny\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n }, \r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\",\r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ], \r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Code of type of payment plan\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user has chosen a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\", \r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types)\r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Value of the discount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\",\r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if there is currently no stock\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of the promotion\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available in the account of debt\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the promotion conquered\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"a4c2a9c7-c08f-4456-8449-e5f0afce90af","name":"OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"proposedNetValue","value":"<double>","description":"Value proposed by the user."},{"key":"isProposedNetValueConfirmed","value":"<boolean>","description":"Confirms the negotiation of the product value."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/items/:number/flexNegotiation","host":["{{baseUrl}}"],"path":["api","orders",":id","items",":number","flexNegotiation"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"number","value":"<integer>","description":"**(Required)** Item code in the order."}]}},"status":"created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 19,\r\n \"proposedNetValue\": 19,\r\n \"status\": {\r\n \"id\": 3,\r\n \"description\": \"Pre traded above price\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": { \r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\", \r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\", \r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n }, \r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67, \r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": { \r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n }\r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\", \r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n }, \r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ]\r\n }"}],"_postman_id":"a377c3b4-a53e-4bb1-8646-58be278fd2b3"},{"name":"Remove trade","id":"3802fcd0-f3da-45de-80ea-989c542cb6ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id/items/:number/flexNegotiation","description":"<p>This call removes the negotiated price of a product.</p>\n","urlObject":{"path":["api","orders",":id","items",":number","flexNegotiation"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"86718db6-55e1-4c7d-bc3b-6a3c595117f3","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"6ca0f224-cd7c-4526-9d3b-df5dd7f954e2","description":{"content":"<p><strong>(Required)</strong> Item code in the order.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"number"}]}},"response":[{"id":"69ea762b-1619-43c9-b1ca-221b031e8741","name":"Response Parameter Details","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/items/:number/flexNegotiation","host":["{{baseUrl}}"],"path":["api","orders",":id","items",":number","flexNegotiation"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"number","value":"<integer>","description":"**(Required)** Item code in the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Description of destiny\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion\r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of product\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Type of promotion award\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Shows suggestions for promotions\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Code of destiny\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n }, \r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\",\r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ], \r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Code of type of payment plan\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user has chosen a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\", \r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types)\r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Value of the discount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\",\r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if there is currently no stock\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of the promotion\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available in the account of debt\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the promotion conquered\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"abea9a87-dd46-4167-aee7-a8cd3e5855cc","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/items/:number/flexNegotiation","host":["{{baseUrl}}"],"path":["api","orders",":id","items",":number","flexNegotiation"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"number","value":"<integer>","description":"**(Required)** Item code in the order."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3,\r\n \"isGiftToChoose\": false, \r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1 \r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": { \r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": { \r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n { \r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\", \r\n \"id\": 2\r\n }\r\n }\r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87, \r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n }, \r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ]\r\n }"}],"_postman_id":"3802fcd0-f3da-45de-80ea-989c542cb6ce"}],"id":"e2157204-f047-47e8-9caf-9348ce15ee8d","description":"<p>In this step, depending on some <strong>Let</strong> settings, trading intentions for individual products can be generated. </p>\n<h2 id=\"does-user-have-permission-and-funding-to-trade\">Does User Have Permission and Funding to Trade?</h2>\n<p> First, you must verify that the user who is taking the order has the necessary permission and money to negotiate the value of a product. For this, the application must check the latest returned order object. In it, the following properties must be checked:</p>\n<ul>\n<li><p><code>businessInformation</code>:</p>\n</li>\n<li><p><code>allowFlexNegotiation</code>: Defines whether the user is actually allowed to trade the value of a product. It must be <code>true</code>;</p>\n</li>\n<li><p><code>flexBalanceUpdatedAvailable</code>: Shows the amount the user has to trade. It must be positive. This value is updated according to the use of flex budget by the user to trade products.</p>\n</li>\n</ul>\n<p> When taking an order, this value is not consumed - it is only used. Only at the end of the capture, when all trading intentions are actually confirmed by the application, this value will be consumed. If the user consumes this amount in another order before finalizing the current one, this one will be pending. </p>\n<h2 id=\"can-the-item-be-traded\">Can the Item Be Traded?</h2>\n<p> After confirming the user's ability to trade, it is necessary to verify that each product added can be traded:</p>\n<ul>\n<li><p><code>items</code>:</p>\n</li>\n<li><p>'item index':</p>\n</li>\n<li><p><code>flexNegotiation</code>:</p>\n</li>\n<li><p><code>allowFlexNegotiation</code>: Defines whether the product can be traded. It must be <code>true</code>.</p>\n</li>\n</ul>\n<p> If it is confirmed that the product in question can be traded, then such a possibility must be presented to the user. </p>\n<h2 id=\"negotiating-the-value-of-a-product\">Negotiating the Value of a Product</h2>\n<p> If the user chooses to trade a product - and has the necessary permissions and conditions to do so -, a series of information must be obtained by the application and shown to the user:</p>\n<ul>\n<li><p><code>items</code>:</p>\n</li>\n<li><p>'item index':</p>\n</li>\n<li><p><code>flexNegotiation</code>:</p>\n</li>\n<li><p><code>initialUnitNetValue</code>: Initial value of the product (Ex.: 60);</p>\n</li>\n<li><p><code>maxValue</code>: Maximum value allowed for the product (Ex.: 120);</p>\n</li>\n<li><p><code>minValue</code>: Minimum value allowed for the product (Ex.: 0);</p>\n</li>\n<li><p><code>proposedNetValue</code>: Total value proposed by the user. This value is equal to <code>proposedUnitNetValue</code> x amount of item added (Ex.: 70 x 3 = 210);</p>\n</li>\n<li><p><code>proposedUnitNetValue</code>: Unit value proposed by the user.</p>\n</li>\n</ul>\n<h3 id=\"item-trading-status\">Item Trading Status</h3>\n<p> There is a property called <code>status</code> inside the <code>flexNegotiation</code> object of each item in the order. This property defines the status of the item in question:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>id</code></th>\n<th><code>description</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td><code>Not Traded</code></td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>PrenegotiatedBelowOrSamePrice</code></td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>PrenegotiatedAbovePrice</code></td>\n</tr>\n<tr>\n<td>4</td>\n<td><code>Negotiated</code></td>\n</tr>\n</tbody>\n</table>\n</div><p> When the item cannot - or has not yet been traded - status 1 will be adopted. When a trading intent is generated, status 2 or 3 will be adopted depending on the value defined by the user. When the deal is confirmed, status 4 will be adopted. </p>\n<h2 id=\"view-last-item-purchase\">View Last Item Purchase</h2>\n<p> Whenever the trading screen is opened, the application must <a href=\"#9798efaa-ac8f-49e4-bca1-8cff138ff2c3\">see the data of the last purchase of the item in question</a>, to make some information available on the trading screen. </p>\n<h2 id=\"generating-trading-intent\">Generating Trading Intent</h2>\n<p> After setting the required values and confirming the negotiation intent, the application should call the endpoint to <a href=\"#b8e60f30-75dd-4afa-89c4-44cd4f759536\">generate negotiation intent</a>. At this point, the value of the <code>isProposedNetValueConfirmed</code> parameter should be <code>false</code>. This indicates trading the product is just an intention. </p>\n<p> At the end of the capture (before calling the endpoint to <a href=\"#91364cb9-f0bc-4570-a88f-e838534dc0c6\">finalize the order</a>), the trading intentions generated during the capture must be revised, as the values of each product can be changed during capture. After confirming each of the negotiation intentions, the endpoint described above must be called again, with the value of the parameter <code>isProposedNetValueConfirmed</code> = <code>true</code>. This will confirm the deal for the product in question.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"74d69b64-cc5e-4e7b-9e20-74233146ea0d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"de990b8c-7389-4111-a721-17a880446ea5"}}],"_postman_id":"e2157204-f047-47e8-9caf-9348ce15ee8d"}],"id":"a7e1ae42-f2f6-460e-ab18-72cb034ec865","description":"<p>If the order is of type <strong>VI</strong>, there is an additional flow, in which it is possible to change payment plans for an item and negotiate the value of a product.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"f335792d-50bd-4519-9840-61aacbaf4090"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"8232f2f7-5850-4b5b-a8b5-05a515184355"}}],"_postman_id":"a7e1ae42-f2f6-460e-ab18-72cb034ec865"},{"name":"4.5 Add/Remove Discount Coupon","item":[{"name":"add coupon","id":"f3cf3fba-97a5-4b42-b20e-ed30989e2f2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"url":"{{baseUrl}}/api/orders/:id/cupom?coupon number=<long>","urlObject":{"path":["api","orders",":id","cupom"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Coupon code. </p>\n<p> <em>No punctuation/formatting</em></p>\n","type":"text/plain"},"key":"coupon number","value":"<long>"}],"variable":[{"id":"b8336d10-9c3d-42cc-9bfe-421afb7904c7","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"a5178b6f-29c9-49e3-9de7-558abe44abff","name":"OK","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/cupom?coupon number=<long>","host":["{{baseUrl}}"],"path":["api","orders",":id","cupom"],"query":[{"key":"coupon number","value":"<long>","description":"**(Required)** Coupon code. \n\n *No punctuation/formatting*"}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f3cf3fba-97a5-4b42-b20e-ed30989e2f2a"},{"name":"remove coupon","id":"872e0cb2-7d84-43e4-8fdd-973b3557f797","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id/cupom","urlObject":{"path":["api","orders",":id","cupom"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"354e3d46-f84a-4fd8-a6c3-87d48531d3e4","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"52a301b1-be7a-4594-9b00-73d6b162b413","name":"remove coupon","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/cupom","host":["{{baseUrl}}"],"path":["api","orders",":id","cupom"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"872e0cb2-7d84-43e4-8fdd-973b3557f797"}],"id":"25b854d7-3441-4420-a680-76d2751d2d3f","_postman_id":"25b854d7-3441-4420-a680-76d2751d2d3f","description":""},{"name":"4.6 Apply Simulated Promotion (Little to Win)","item":[],"id":"f524a07c-3477-45f5-a8be-dfe4200ce283","description":"<h1 id=\"what-is-mock-promotion\">What is Mock Promotion?</h1>\n<p> The system has a feature called \"Less to Win\". It displays partially won promotions for the order. For that, the application must call the <a href=\"#5fdfa956-aacc-44ab-afe3-3a68ea8c4255\">endpoint to apply promotions</a>, passing the value of the parameter <code>simulatedPromotion</code> as <code>true</code>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"995db992-1c98-4df5-b8fc-528d15f6d863"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c8fb2e99-47ab-4a7f-9bd1-07434fbe30fe"}}],"_postman_id":"f524a07c-3477-45f5-a8be-dfe4200ce283"}],"id":"9d7166c1-785c-4ca3-b4cf-f8073f7f1777","description":"<p>In this step, the main task of the application is to add items to the previously created - or returned - order. For this, several events can be added to the order (purchase suggestions, point campaigns, conditional sales, etc.).</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ff43957e-c735-45e3-983b-d6a3f6ab09a7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3f29af60-7632-4577-9933-a887cba2a764"}}],"_postman_id":"9d7166c1-785c-4ca3-b4cf-f8073f7f1777"},{"name":"Step 5 - Apply Promotion (*)","item":[{"name":"Apply promotion","id":"91610b04-e6cc-461a-8082-ea44a29f3479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"applicationMomentId","value":"1","description":"<p>Code at the time of application. The value signals that the products have already been added and the promotion is being applied after the inclusion of all items.</p>\n"},{"key":"simulatedPromotion","value":"<boolean>","description":"<ul>\n<li><p><code>true</code> Indicates that a simulation is being run (Like to Win);</p>\n</li>\n<li><p><code>false</code> Indicates that an application is actually being applied.</p>\n</li>\n</ul>\n"}]},"url":"{{baseUrl}}/api/orders/:id/promotions","description":"<p>In the return object, we have the application attributes that are:</p>\n<ul>\n<li><p><code>ValidPromotion</code>: List of valid promotions;</p>\n</li>\n<li><p><code>AcquiredPromotion</code>: List of conquered promotions; some important attributes:</p>\n</li>\n<li><p><code>Rewards</code>: List of prizes won because of the promotion;</p>\n</li>\n<li><p><code>deliveryDiscountPromotion</code>: List of shipping discounts earned because of the promotion;</p>\n</li>\n<li><p><code>mileagePromotion</code>: Mileage points earned because of the promotion. </p>\n</li>\n<li><p><code>PartialPromotions</code>: List of partially won promotions. </p>\n</li>\n<li><p><code>RewardsToChoosePromotions</code>: List of promotions with freebies/discount to choose (if there is such a list, it is mandatory to choose the freebie/discount with the amount defined in the return). </p>\n</li>\n<li><p><code>UnavailablePromotions</code>: List of unavailable promotions.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","orders",":id","promotions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"4d455fce-d371-4282-bd66-2538ed00bd5a","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"b3f2ef22-a961-4a13-9a72-709c37d57259","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"applicationMomentId","value":"1","description":"Code at the time of application. The value signals that the products have already been added and the promotion is being applied after the inclusion of all items."},{"key":"simulatedPromotion","value":"<boolean>","description":"* `true` Indicates that a simulation is being run (Like to Win);\n\n * `false` Indicates that an application is actually being applied."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/promotions","host":["{{baseUrl}}"],"path":["api","orders",":id","promotions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\", \r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { //\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\"\r\n }, \r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\", \r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\",\r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\", \r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details \r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Promotion description\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\", \r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\", \r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\", \r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\" \r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\", \r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\", \r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments) \r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values o glossary (External Payment Method)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\", \r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\", \r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment Plan Type - Possible Glossary Values (Payment Plan Types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [], //\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations) \r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [],\r\n \"mileagePromotion\": [],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion\r\n {\r\n \"discount\": \"Discount granted\", \r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n }, \r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"missingRequerimentsQuantity\": \"Amount of missing requirements to win the promotion\", // This field will contain the value of the &#39;QUANTITY OF MINIMUM REQUIREMENTS TO BE ACCOMPLISHED TO ACTIVATE THE PROMOTION&#39; field, of the promotions registration, minus the amount of requirements already achieved of the promotion on the order. \r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"requirements\": // List of conditions for the promotion to be achieved \r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates the product is a Kit\", \r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\",\r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\", \r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments) \r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values o glossary (External Payment Method)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\", \r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\", \r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment Plan Type - Possible Glossary Values (Payment Plan Types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\":\"Order owner code\" \r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user has chosen a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\", \r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types)\r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types) \r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\",\r\n \"giftValue\": \"Gift Value\", \r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\", \r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if there is currently no stock\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\" \r\n }\r\n ],\r\n \"totals\": { // Updated total values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\", \r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\", \r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\", \r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\" \r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\",\r\n \"promotionReorderCutItems\": [ // List of gifts won in the current order - in promotions that allow reorders - that were cut due to lack of stock. In future orders - when there is stock - such items will be incorporated\r\n {\r\n \"stateLine\": \"Indicates which action will be performed (1 - Add, 2 - Change, 3 - Delete)\",\r\n \"promotionCode\": \"Item related promotion code\",\r\n \"giftItemNumber\": \"Gift number chosen for the prize being redeemed\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ]\r\n }\r\n"},{"id":"c3fbf93b-c6b0-44de-920a-9abcb6bf2830","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"applicationMomentId","value":"1","description":"Code at the time of application. The value signals that the products have already been added and the promotion is being applied after the inclusion of all items."},{"key":"simulatedPromotion","value":"<boolean>","description":"* `true` Indicates that a simulation is being run (Like to Win);\n\n * `false` Indicates that an application is actually being applied."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/promotions","host":["{{baseUrl}}"],"path":["api","orders",":id","promotions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423, \r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n }, \r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23,\r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false, \r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\"\r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": { \r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 01\", \r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0, \r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Not traded\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17, \r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\" \r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false, \r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n }, \r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n }, \r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3,\r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": { \r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"partialPromotions\": [\r\n {\r\n \"missingRequirementsQuantity\": 1,\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true, \r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8 Prelude deo colonia\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500, \r\n \"productCode\": 8,\r\n \"productDescription\": \"Single-phase Jequiti I Desire Red Fruit Body Deodorant Oil, 200ml\",\r\n \"productName\": \"Prelude deo colonia\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9 Athena deo colonia 100 ml\",\r\n \"logicOperator\": {\r\n \"description\": \"And\", \r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Liquid Base Jequiti Ellas Beige Medium, 30ml\",\r\n \"productName\": \"Athena deo colonia 100 ml\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\", \r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 10 Native SPA Body Moisturizer 100ml\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Native SPA Body Moisturizer 100ml\", \r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ], \r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n { \r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n } \r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n { \r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true, \r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6, \r\n \"productDescription\": \"Deodorant Moisturizing Cream for Dry Areas Jequiti Vida Orchid and Hazelnut, 50g\",\r\n \"productName\": \"Soap blooms apple blossom\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Jequiti Aviva Noir Nude Brulée Enamel, 9ml\",\r\n \"productName\": \"Enamel Jequiti Aviva Noir Nude Brulée, 9ml\", \r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product short description\",\r\n \"productName\": \"Special Christmas Kit Product\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true, \r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206, \r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ], \r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Prelude deo colonia\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11, \r\n \"productCode\": 178,\r\n \"productName\": \"Prelude deo colonia\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ],\r\n \"promotionReorderCutItems\": [\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 781,\r\n \"giftItemNumber\": 1, \r\n \"productCode\": 1,\r\n \"productName\": \"Product 1\",\r\n \"quantity\": 1\r\n },\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 782,\r\n \"giftItemNumber\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product 2\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n }\r\n"}],"_postman_id":"91610b04-e6cc-461a-8082-ea44a29f3479"},{"name":"Redeem freebie/discount","id":"dd80151d-97f5-4839-80fa-79745298605f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"discount","value":"<boolean>","description":"<ul>\n<li><p><code>true</code> indicates redemption of a discount. </p>\n</li>\n<li><p><code>false</code> Indicates the redemption of a product.</p>\n</li>\n</ul>\n"},{"key":"rewardOptionProduct","value":"[{\"productCode\":\"<string>\"\"quantity\":\"<integer>\"}]","description":"<p>List of redeemed products:</p>\n<ul>\n<li><p><code>ProductCode</code>: Code of the product being redeemed;</p>\n</li>\n<li><p><code>Quantity</code>: Quantity to be redeemed.</p>\n</li>\n</ul>\n"}]},"url":"{{baseUrl}}/api/orders/:id/promotions/:promotionId/rewards/:giftNumber/:giftItemNumber","urlObject":{"path":["api","orders",":id","promotions",":promotionId","rewards",":giftNumber",":giftItemNumber"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"description":{"content":"<p><strong>(Required)</strong> Promotion code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"promotionId"},{"description":{"content":"<p><strong>(Required)</strong> Number of the award being redeemed.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"giftNumber"},{"description":{"content":"<p><strong>(Required)</strong> Gift number chosen for the prize being redeemed.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"giftItemNumber"}]}},"response":[{"id":"58628ed0-56fe-428b-aad6-d2c44d8193b0","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"discount","value":"<boolean>","description":"* `true` indicates redemption of a discount. \n\n * `false` Indicates the redemption of a product."},{"key":"rewardOptionProduct","value":"[{\"productCode\":\"<string>\"\"quantity\":\"<integer>\"},{\"productCode\":\"<string>\"\"quantity\":\"<integer>\"}]","description":"List of redeemed products:\n\n * `ProductCode`: Code of the product being redeemed;\n\n * `Quantity`: Quantity to be redeemed."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/promotions/:promotionId/rewards/:giftNumber/:giftItemNumber","host":["{{baseUrl}}"],"path":["api","orders",":id","promotions",":promotionId","rewards",":giftNumber",":giftItemNumber"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"promotionId","value":"<integer>","description":"**(Required)** Promotion code."},{"key":"giftNumber","value":"<integer>","description":"**(Required)** Number of the award being redeemed."},{"key":"giftItemNumber","value":"<integer>","description":"**(Required)** Gift number chosen for the prize being redeemed."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3,\r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ], \r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1, \r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1 \r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1 \r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n }\r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Dealer\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Promotion Test Freebie Or Discount\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 13\",\r\n \"promotion\": {\r\n \"code\": 774, \r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promotion 13\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 14\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promotion 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ],\r\n \"promotionReorderCutItems\": [\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 781,\r\n \"giftItemNumber\": 1,\r\n \"productCode\": 1,\r\n \"productName\": \"Product 1\",\r\n \"quantity\": 1\r\n },\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 782,\r\n \"giftItemNumber\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product 2\",\r\n \"quantity\": 1\r\n }\r\n ],\r\n \"marketingMessagesPromotion\": []\r\n }"},{"id":"8feb0061-552c-4f23-8cde-16c664935042","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"discount","value":"<boolean>","description":"* `true` indicates redemption of a discount. \n\n * `false` Indicates the redemption of a product."},{"key":"rewardOptionProduct","value":"[{\"productCode\":\"<string>\"\"quantity\":\"<integer>\"},{\"productCode\":\"<string>\"\"quantity\":\"<integer>\"}]","description":"List of redeemed products:\n\n * `ProductCode`: Code of the product being redeemed;\n\n * `Quantity`: Quantity to be redeemed."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/promotions/:promotionId/rewards/:giftNumber/:giftItemNumber","host":["{{baseUrl}}"],"path":["api","orders",":id","promotions",":promotionId","rewards",":giftNumber",":giftItemNumber"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"promotionId","value":"<integer>","description":"**(Required)** Promotion code."},{"key":"giftNumber","value":"<integer>","description":"**(Required)** Number of the award being redeemed."},{"key":"giftItemNumber","value":"<integer>","description":"**(Required)** Gift number chosen for the prize being redeemed."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values //\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Description of destiny\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can come to win in the request\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders promotions displayed\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\", \r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans payment by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit consumption data configuration - Possible values in the glossary (Credit consumption data settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user chose a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types) \r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\", \r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if it does not currently exist inventory\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Value original of the residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\", \r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n } \r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of promotion\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\",\r\n \"promotionReorderCutItems\": [ // List of gifts won in the current order - in promotions that allow reorders - that were cut due to lack of stock. In future orders - when there is stock - such items will be incorporated\r\n {\r\n \"stateLine\": \"Indicates which action will be performed (1 - Add, 2 - Change, 3 - Delete)\",\r\n \"promotionCode\": \"Item related promotion code\",\r\n \"giftItemNumber\": \"Gift number chosen for the prize being redeemed\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"marketingMessagesPromotion\": [] // List of marketing messages displayed when earning a promotion\r\n }"}],"_postman_id":"dd80151d-97f5-4839-80fa-79745298605f"},{"name":"Unapply promotion","id":"d90a3ae8-bcc8-410f-9ddd-531adb0c8799","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id/promotions","description":"<p>If the user decides to switch between a discount and a product, it is necessary to remove the redemption. </p>\n<p> Upon removal of a ransom, a new promotion application is required.</p>\n","urlObject":{"path":["api","orders",":id","promotions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"d7da7c1e-a835-41e9-bc86-55003e5011ec","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"024d3424-881f-469c-a2e4-f53b3b8344fb","name":"Response Parameter Details","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/promotions","host":["{{baseUrl}}"],"path":["api","orders",":id","promotions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values //\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\" \r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\",\r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Type code of value\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // Middle of external payment - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Plan type code of payment\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Settings of the promotion\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"618a900a-50ff-4cbf-83f5-6104bf1434e6","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/promotions","host":["{{baseUrl}}"],"path":["api","orders",":id","promotions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 19,\r\n \"proposedNetValue\": 19,\r\n \"status\": {\r\n \"id\": 3,\r\n \"description\": \"Pre traded above price\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": { \r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [],\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [ \r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\", \r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": { \r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n } \r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [ \r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n }\r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [], \r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33 \r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647, \r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ]\r\n }"}],"_postman_id":"d90a3ae8-bcc8-410f-9ddd-531adb0c8799"},{"name":"Remove freebie/discount","id":"4796b266-b4f6-44db-b044-1e3e7ac75445","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id/gifts/:giftNumber","urlObject":{"path":["api","orders",":id","gifts",":giftNumber"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"7311d34c-dd7a-4424-9c5d-3cfcfa3ab744","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"a52dd3cb-bf42-41d0-abba-ca78e42d7532","description":{"content":"<p><strong>(Required)</strong> Number of the award being redeemed.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"giftNumber"}]}},"response":[{"id":"5608a7f2-43e4-4d9a-97a0-72b61a0ef127","name":"Response Parameter Details","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/gifts/:giftNumber","host":["{{baseUrl}}"],"path":["api","orders",":id","gifts",":giftNumber"],"variable":[{"key":"id","value":"<integer>","description":"**(Required)** Order code."},{"key":"giftNumber","value":"<integer>","description":"**(Required)** Gift item number."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Description of destiny\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Type of promotion award\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Shows suggestions for promotions\",\r\n \"title\": \"Title of promotion\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"requirements\": // List of conditions for the promotion to be earned\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\",\r\n \"productCode\": \"Product code required\", \r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for the plan payment\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Configuration - Possible Glossary Values (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user has chosen a discount\",\r\n \"chosenProducts\": \"Indicates that the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types)\r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\",\r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Type value of gift - Possible values in the glossary (Types of value of gifts)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if there is currently no stock\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the checking account residual\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n { \r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\" \r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\",\r\n \"promotionReorderCutItems\": [ // List of gifts won in the current order - in promotions that allow reorders - that were cut due to lack of stock. In future orders - when there is stock - such items will be incorporated\r\n {\r\n \"stateLine\": \"Indicates which action will be performed (1 - Add, 2 - Change, 3 - Delete)\",\r\n \"promotionCode\": \"Item related promotion code\",\r\n \"giftItemNumber\": \"Gift number chosen for the prize being redeemed\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"marketingMessagesPromotion\": [] // List of marketing messages displayed when earning a promotion\r\n }"},{"id":"51a0c387-84b7-47fc-9277-60f70369fa3d","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/gifts/:giftNumber","host":["{{baseUrl}}"],"path":["api","orders",":id","gifts",":giftNumber"],"variable":[{"key":"id","value":"<integer>","description":"**(Required)** Order code."},{"key":"giftNumber","value":"<integer>","description":"**(Required)** Gift item number."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276266,\r\n \"representative\": {\r\n \"representativeCode\": 215\r\n },\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 16,\r\n \"productsQuantity\": 2,\r\n \"pointsQuantity\": 218212,\r\n \"minimumPointsQuantity\": 0,\r\n \"tableValue\": 2230.12,\r\n \"marketValue\": 2230.12,\r\n \"netValue\": 2182.12,\r\n \"businessModelCode\": 1,\r\n \"businessModelName\": \"Business Model 1\",\r\n \"functionCode\": 1,\r\n \"simulatedValue\": 1527.50,\r\n \"simulatedPoints\": 858840.00, \r\n \"simulatedOrderPoints\": 152750.00,\r\n \"simulatedValueProfitabilityGifts\": 38.00,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 70546,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0.0,\r\n \"flexBalanceAmountConsumed\": 0.0,\r\n \"flexBalanceUpdatedAvailable\": 0.0,\r\n \"proposedNetValue\": 0.0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 10\r\n }, \r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 2,\r\n \"productName\": \"Product Kit Home - 2\",\r\n \"quantity\": 10,\r\n \"unitTableValue\": 103.00,\r\n \"unitMarketValue\": 103.00,\r\n \"unitNetValue\": 100.78,\r\n \"unitPointsQuantity\": 10078,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": false,\r\n \"associatedItemRequired\": false,\r\n \"blockedEditPaymentPlan\": false,\r\n \"simulatedValueProfitability\": 705.50,\r\n \"simulatedValueProfitabilityUnit\": 70.55,\r\n \"profitabilityValue\": 324.50,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\"\r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": false,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Kit Home - 2\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": true,\r\n \"flexNegotiation\": {\r\n \"minValue\": 0.0,\r\n \"initialUnitNetValue\": 103.00,\r\n \"proposedUnitNetValue\": 0.0,\r\n \"proposedNetValue\": 0.0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Not traded\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": true\r\n },\r\n {\r\n \"number\": 2,\r\n \"productCode\": 3,\r\n \"productName\": \"Product Kit Home - 3\",\r\n \"quantity\": 6,\r\n \"unitTableValue\": 200.02,\r\n \"unitMarketValue\": 200.02,\r\n \"unitNetValue\": 195.72,\r\n \"unitPointsQuantity\": 19572,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": false,\r\n \"associatedItemRequired\": false,\r\n \"blockedEditPaymentPlan\": false,\r\n \"simulatedValueProfitability\": 822.00,\r\n \"simulatedValueProfitabilityUnit\": 137.00,\r\n \"profitabilityValue\": 378.12,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\"\r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": false,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Kit Home - 3\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": true,\r\n \"unitMeasurementType\": {\r\n \"id\": 5,\r\n \"description\": \"ml\"\r\n },\r\n \"quantityUnitMeasurement\": 10.00,\r\n \"pricePerUnitMeasurement\": 19.57,\r\n \"flexNegotiation\": {\r\n \"minValue\": 0.0,\r\n \"initialUnitNetValue\": 200.02,\r\n \"proposedUnitNetValue\": 0.0,\r\n \"proposedNetValue\": 0.0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Not traded\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": true\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": { \r\n \"id\": 1,\r\n \"description\": \"Sale\"\r\n },\r\n \"productCode\": 1,\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 6,\r\n \"cutReason\": {\r\n \"id\": 5,\r\n \"description\": \"Insufficient stock\"\r\n },\r\n \"unitTableValue\": 25.00,\r\n \"unitMarketValue\": 25.00,\r\n \"isMaterialKit\": true,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": true\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\" \r\n },\r\n \"productCode\": 1,\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 5,\r\n \"description\": \"Insufficient stock\"\r\n },\r\n \"unitTableValue\": 25.00,\r\n \"unitMarketValue\": 25.00,\r\n \"isMaterialKit\": true,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": true\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Lamborghini Male Deodorant Cologne, 100ml\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0.00,\r\n \"unitMarketValue\": 0.00,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Lamborghini Male Deodorant Cologne, 100ml\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Pencil lipstick\", \r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0.00,\r\n \"unitMarketValue\": 0.00,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deo Parfum Merci Male,100ml\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"productCode\": 4,\r\n \"productName\": \"95g bar soap\",\r\n \"quantity\": 1,\r\n \"number\": 5,\r\n \"promotion\": {\r\n \"code\": 575, \r\n \"title\": \"Promo test\",\r\n \"display\": true,\r\n \"suggest\": false,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647\r\n }\r\n }\r\n ],\r\n \"acquiredPromotion\": [\r\n {\r\n \"rewards\": [],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"code\": 580,\r\n \"title\": \"Reseller Mileage Test\",\r\n \"description\": \"Reseller Mileage Test\", \r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n },\r\n {\r\n \"rewards\": [],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"code\": 579,\r\n \"title\": \"Mileage Test\",\r\n \"description\": \"mileage test\",\r\n \"destination\": {\r\n \"id\": 2,\r\n \"description\": \"End Consumer\"\r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n },\r\n {\r\n \"rewards\": [],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"code\": 578,\r\n \"title\": \"Gift Or Discount Promotion Test\", \r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n },\r\n {\r\n \"rewards\": [\r\n {\r\n \"productCode\": 4,\r\n \"productName\": \"95g bar soap\",\r\n \"quantity\": 1,\r\n \"discount\": 0.0,\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Toast\"\r\n }, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Shampoo Jequiti Fyo Professional DD Cream, 250ml\"\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"code\": 575,\r\n \"title\": \"Promo test\",\r\n \"description\": \"Trial promotion\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"display\": true,\r\n \"suggest\": false,\r\n \"displayMissingItemsToWin\": true\r\n },\r\n {\r\n \"rewards\": [\r\n {\r\n \"productCode\": 3,\r\n \"productName\": \"Product Kit Home - 3\",\r\n \"quantity\": 6,\r\n \"discount\": 4.30,\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Kit Home - 3\"\r\n },\r\n {\r\n \"productCode\": 2,\r\n \"productName\": \"Home Kit Product - 2\",\r\n \"quantity\": 10,\r\n \"discount\": 2.22,\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Kit Home - 2\"\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"code\": 570,\r\n \"title\": \"Scenario 2\",\r\n \"description\": \"Products: 2 and 3\", \r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n }\r\n ],\r\n \"unavailablePromotions\": [],\r\n \"partialPromotions\": [\r\n {\r\n \"requirements\": [],\r\n \"code\": 581,\r\n \"title\": \"Reseller Mileage Test\",\r\n \"description\": \"Reseller Mileage Test\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\" \r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 1,\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n }\r\n ],\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"giftNumber\": 2,\r\n \"giftItemNumber\": 1,\r\n \"giftValueType\": {\r\n \"id\": 1,\r\n \"description\": \"Items\"\r\n },\r\n \"giftValue\": 10.00,\r\n \"chosenDiscount\": false,\r\n \"unavaiableDiscount\": false,\r\n \"message\": \"\",\r\n \"productsToChoose\": [\r\n {\r\n \"productCode\": 1,\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": true,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 2,\r\n \"productName\": \"Product Kit Home - 2\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Kit Home - 2\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 3, \r\n \"productName\": \"Product Kit Home - 3\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Kit Home - 3\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 4,\r\n \"productName\": \"95g bar soap\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 10,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Shampoo Jequiti Fyo Professional DD Cream, 250ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 5,\r\n \"productName\": \"Liquid Soap 100ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Vida Orchid and Hazelnut Moisturizing Deodorant Body Lotion, 475ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 6,\r\n \"productName\": \"Soap blooms apple blossom\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deodorant Moisturizing Cream for Dry Areas Jequiti Vida Orchid and Hazelnut, 50g\",\r\n \"isReorderAllowed\": false \r\n },\r\n {\r\n \"productCode\": 7,\r\n \"productName\": \"Club 6 deocolonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": true,\r\n \"productDescription\": \"Hydration and silkiness.\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 8,\r\n \"productName\": \"Prelude deo colonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Single-phase Jequiti I Desire Red Fruit Body Deodorant Oil, 200ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 9,\r\n \"productName\": \"Athena deo colonia 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Liquid Base Jequiti Ellas Beige Medium, 30ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 10,\r\n \"productName\": \"Native SPA Body Moisturizer 100ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 11,\r\n \"productName\": \"Aflorá deo colonia apple blossom 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Antibacterial Moisturizing Soap\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 12,\r\n \"productName\": \"Club 6 deocolonia casino 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Sensi Milk Moisturizing Soap by Almonds, 90g\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 13,\r\n \"productName\": \"Arbo deodorant deo colonia 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Returns lost nutrients to hair, leaving them soft and hydrated for longer.\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 14,\r\n \"productName\": \"Velvet Cristal Deo Colonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Velvet Cristal Deo Colonia (Eudora)\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 15,\r\n \"productName\": \"Hibiscus Flower Body Moisturizer\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Hibiscus Flower Body Hydrant (Eudora)\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 16,\r\n \"productName\": \"Aurien deo colonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Best treatment for chemically treated hair\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 17,\r\n \"productName\": \"Lamborghini Male Deodorant Cologne, 100ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Lamborghini Male Deodorant Cologne, 100ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 18,\r\n \"productName\": \"Deo Colonia Sprey Perfumed Hibiscus (Eudora))\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deo Colonia Sprey Perfumed Hibiscus (Eudora))\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 19,\r\n \"productName\": \"Flower Apple Body Moisturizer Rental (Eudora)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Apple Blossom Body Moisturizer (Eudora)\"\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 20,\r\n \"productName\": \"Frag liquid soap. Apple Blossom (Eudora)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Frag liquid soap. Apple Blossom (Eudora)\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 21,\r\n \"productName\": \"Neo Stage Exfoliating Cream (Eudora)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Neo Stage Exfoliating Cream (Eudora)\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 22,\r\n \"productName\": \"Pencil lipstick\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deo Parfum Merci Male,100ml \",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 23,\r\n \"productName\": \"Batton Soul kis\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Description: Sensual wood.\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 24,\r\n \"productName\": \"Eco sport deocolonia 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Fougere sexy.\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 25,\r\n \"productName\": \"Club Kit 6\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Sensi Micellar Water, 150 ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 26,\r\n \"productName\": \"Kiss me batton mate\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Sensi Moisturizing Facial Lotion - For the Mixed to Oily, 50g\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 27,\r\n \"productName\": \"Adriane Galisteu Female Deodorant Cologne, 100ml(76487) \",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Adriane Galisteu Female Deodorant Cologne, 100ml(76487) \",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 28,\r\n \"productName\": \"L&#39;Essence de France Ciel de Paris Women&#39;s Deodorant Cologne, 50ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0, \r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"L&#39;Essence de France Ciel de Paris Women&#39;s Deodorant Cologne, 50ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 29,\r\n \"productName\": \"Patricia Abravanel Female Deodorant Cologne, 25ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Patricia Abravanel Female Deodorant Cologne, 25ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 30,\r\n \"productName\": \"kiss gift kit\", \r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Vinyl Jequiti Lipstick Ellas Karen Bachini Red Atomic, 3.7g\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 31,\r\n \"productName\": \"Soul kiss me\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Retractable tip! No sharpener needed. \",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 32,\r\n \"productName\": \"Eudora Eau de Perfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Eudora Eau de Perfum\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 33,\r\n \"productName\": \"Deluxe Eudora Eau de Perfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deluxe Eudora Eau de Perfum\", \r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 34,\r\n \"productName\": \"Aurien Niegra Eudora\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Aurien Niegra Eudora\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 35,\r\n \"productName\": \"Impression Eau de Perfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Impression Eau de Perfum\", \r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 36,\r\n \"productName\": \"Coffe Woman (O Apothecary)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Coffe Woman (O Apothecary)\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 37,\r\n \"productName\": \"Shadow Papetes \",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \" Applicator brush for striking outlines! \",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 38,\r\n \"productName\": \"Coffe Man (the Apothecary)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Coffe Man (the Apothecary)\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 39,\r\n \"productName\": \"Malbeck deo Colonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Malbeck deo Colonia\", \r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 40,\r\n \"productName\": \"Malbec deo colonia Ferrari\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Malbec deo colonia Ferrari\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 41,\r\n \"productName\": \"ZAAD Vision\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"ZAAD Vision\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 42,\r\n \"productName\": \"ZAAD MONDO\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"ZAAD MONDO\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 43,\r\n \"productName\": \"Lily Eau de Perfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Lily Eau de Perfum\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 44,\r\n \"productName\": \"Liquid base make b, adaptable\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Base liquid make b, adaptable\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 45,\r\n \"productName\": \"liquid base make b air pawer\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Description 45\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 46,\r\n \"productName\": \"Kaiak deo Colonia Male\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Kaiak deo Male Colony\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 47,\r\n \"productName\": \"Kaiak deo colonia Adventure Men\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Description 47\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 48,\r\n \"productName\": \"Long Duration Liquid Concealer (Eudora)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Long Duration Liquid Concealer (Eudora)\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 49,\r\n \"productName\": \"Kaiak deo Colonia Feminina\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Kaiak deo Colonia Feminina\",\r\n \"isReorderAllowed\": false \r\n },\r\n {\r\n \"productCode\": 50,\r\n \"productName\": \"Enamel Jequiti Aviva Noir Nude Brulée, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Aviva Noir Nude Brulée Enamel, 9ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 51,\r\n \"productName\": \"Enamel Jequiti Aviva Norway, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Enamel Jequiti Aviva Norway, 9ml\", \r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 52,\r\n \"productName\": \"Jequiti Aviva Silk Base Enamel, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Aviva Silk Base Enamel, 9ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 53,\r\n \"productName\": \"Enamel Jequiti Aviva California, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Enamel Jequiti Aviva California, 9ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 54,\r\n \"productName\": \"Necessaire Jequiti Ellas \",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Necessaire Jequiti Ellas \",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 55,\r\n \"productName\": \"212 Man\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Perfume imported - 212 - male\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 56,\r\n \"productName\": \"212 Woman\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": true,\r\n \"productDescription\": \"Imported perfume - 212 - female\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 57,\r\n \"productName\": \"Hugo Boss Night 150Ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Hugo Boss Night 150Ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 58,\r\n \"productName\": \"Hugo Boss Eau de Peffum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Hugo Boss Eau de Peffum\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 59,\r\n \"productName\": \"TOMMY MALE EAU DE COLOGNE\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"MALE TOMMY EAU DE COLOGNE\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 60,\r\n \"productName\": \"TOMMY GIRL FEMALE EAU DE COLOGNE\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"TOMMY GIRL FEMALE EAU DE COLOGNE\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 61,\r\n \"productName\": \"Les infusions de Prada Iris Male Cédre Eau de Parfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Les infusions de Prada Iris Male Cédre Eau de Parfum\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 62,\r\n \"productName\": \"Candy L&#39;eau Femme Prada - Female Perfume - Eau de Toilette 80ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Candy L&#39;eau Femme Prada - Female Perfume - Eau de Toilette 80ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 63,\r\n \"productName\": \"Candy Florale Prada - Female Perfume - Eau de Toilette 30ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Candy Florale Prada - Female Perfume - Eau de Toilette 30ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 95,\r\n \"productName\": \"Product 95\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Description 95\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 178,\r\n \"productName\": \"Special Christmas Kit Product\", \r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product short description\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 2050,\r\n \"productName\": \"Test Product\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Test\",\r\n \"isReorderAllowed\": false\r\n }\r\n ],\r\n \"chosenProducts\": true,\r\n \"code\": 580,\r\n \"title\": \"Test Dealer Mileage\",\r\n \"description\": \"Reseller Mileage Test\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n },\r\n {\r\n \"giftNumber\": 2,\r\n \"giftItemNumber\": 1,\r\n \"giftValueType\": {\r\n \"id\": 1,\r\n \"description\": \"Items\"\r\n },\r\n \"giftValue\": 2.00,\r\n \"chosenDiscount\": false,\r\n \"unavaiableDiscount\": false,\r\n \"message\": \"\",\r\n \"productsToChoose\": [\r\n {\r\n \"productCode\": 1,\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": true,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 2,\r\n \"productName\": \"Product Kit Home - 2\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Kit Start - 2\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 3,\r\n \"productName\": \"Product Kit Home - 3\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Kit Home - 3\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 4,\r\n \"productName\": \"95g bar soap\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Shampoo Jequiti Fyo Professional DD Cream, 250ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 5,\r\n \"productName\": \"Liquid Soap 100ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Vida Orchid and Hazelnut Moisturizing Deodorant Body Lotion, 475ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 6,\r\n \"productName\": \"Soap blooms apple blossom\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deodorant Moisturizing Cream for Dry Areas Jequiti Vida Orchid and Hazelnut, 50g\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 7,\r\n \"productName\": \"Club 6 deocolonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": true,\r\n \"productDescription\": \"Hydration and silkiness.\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 8,\r\n \"productName\": \"Prelude deo colonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Single-phase Jequiti I Desire Red Fruit Body Deodorant Oil, 200ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 9,\r\n \"productName\": \"Athena deo colonia 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Liquid Base Jequiti Ellas Beige Medium, 30ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 10,\r\n \"productName\": \"Native SPA Body Moisturizer 100ml\",\r\n \"value\": 1.0, \r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 11,\r\n \"productName\": \"Aflorá deo colonia apple blossom 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Antibacterial Moisturizing Soap\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 12,\r\n \"productName\": \"Club 6 deocolonia casino 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Sensi Almond Milk Moisturizing Soap, 90g\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 13,\r\n \"productName\": \"Arbo deodorant deo colonia 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Returns lost nutrients to hair, leaving them soft and hydrated for longer.\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 14, \r\n \"productName\": \"Velvet Cristal Deo Colonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Velvet Cristal Deo Colonia (Eudora)\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 15,\r\n \"productName\": \"Hibiscus Flower Body Moisturizer\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Hibiscus Flower Body Hydrant (Eudora)\",\r\n \"isReorderAllowed\": true\r\n },\r\n { \r\n \"productCode\": 16,\r\n \"productName\": \"Aurien deo colonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Best treatment for chemically treated hair\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 17,\r\n \"productName\": \"Lamborghini Male Deodorant Cologne, 100ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Lamborghini Male Deodorant Cologne, 100ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 18,\r\n \"productName\": \"Deo Colonia Sprey Perfumed Hibiscus (Eudora))\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deo Colonia Sprey Perfumed Hibiscus (Eudora))\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 19,\r\n \"productName\": \"Flower Apple Body Moisturizer Rental (Eudora)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Apple Blossom Body Moisturizer (Eudora)\"\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 20,\r\n \"productName\": \"Frag liquid soap. Apple Blossom (Eudora)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Frag liquid soap. Apple Blossom (Eudora)\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 21,\r\n \"productName\": \"Neo Stage Exfoliating Cream (Eudora)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Neo Stage Exfoliating Cream (Eudora)\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 22,\r\n \"productName\": \"Pencil lipstick\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deo Parfum Merci Male,100ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 23,\r\n \"productName\": \"Batton Soul kis\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Description: Sensual wood.\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 24,\r\n \"productName\": \"Eco sport deocolonia 100 ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Sensual Fougere.\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 25,\r\n \"productName\": \"Club Kit 6\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Sensi Micellar Water, 150 ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 26,\r\n \"productName\": \"Kiss me batton mate\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Jequiti Sensi Moisturizing Facial Lotion - Mixed to Oily Hair, 50g\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 27,\r\n \"productName\": \"Adriane Galisteu Female Deodorant Cologne, 100ml(76487) \",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Adriane Galisteu Female Deodorant Cologne, 100ml(76487) \",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 28,\r\n \"productName\": \"L&#39;Essence de France Ciel de Paris Women&#39;s Deodorant Cologne, 50ml \",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"L&#39;Essence de France Ciel de Paris Women&#39;s Deodorant Cologne, 50ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 29,\r\n \"productName\": \"Patricia Abravanel Female Deodorant Cologne, 25ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Patricia Abravanel Female Deodorant Cologne, 25ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n { \r\n \"productCode\": 30,\r\n \"productName\": \"kiss gift kit\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Vinyl Jequiti Lipstick Ellas Karen Bachini Red Atomic, 3.7g\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 31,\r\n \"productName\": \"Soul kiss me\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Retractable tip! No sharpener needed. \",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 32,\r\n \"productName\": \"Eudora Eau de Perfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Eudora Eau de Perfum\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 33,\r\n \"productName\": \"Deluxe Eudora Eau de Perfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deluxe Eau de Perfum Eudora\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 34,\r\n \"productName\": \"Aurien Niegra Eudora\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Aurien Niegra Eudora\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 35,\r\n \"productName\": \"Impression Eau de Perfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Impression Eau de Perfume\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 36,\r\n \"productName\": \"Coffe Woman (O Apothecary)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Coffe Woman (O Apothecary)\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 37,\r\n \"productName\": \"Shadow Papetes \",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \" Applicator brush for striking outlines! \",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 38,\r\n \"productName\": \"Coffe Man (the Apothecary)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Coffe Man (the Apothecary)\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 39,\r\n \"productName\": \"Malbeck deo Colonia\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Malbeck deo Colonia\", \r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 40,\r\n \"productName\": \"Malbec deo colonia Ferrari\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Malbec deo colonia Ferrari\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 41,\r\n \"productName\": \"ZAAD Vision\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"ZAAD Vision\", \r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 42,\r\n \"productName\": \"ZAAD MONDO\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"ZAAD MONDO\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 43,\r\n \"productName\": \"Lily Eau de Perfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Lily Eau de Perfum\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 44,\r\n \"productName\": \"Liquid base make b, adaptable\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Base liquid make b, adaptable\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 45,\r\n \"productName\": \"liquid base make b air pawer\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Description 45\", \r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 46,\r\n \"productName\": \"Kaiak deo Colonia Male\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Kaiak deo Male Colony\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 47,\r\n \"productName\": \"Kaiak deo colonia Adventure Men\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Description 47\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 48,\r\n \"productName\": \"Long Duration Liquid Concealer (Eudora)\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Long Duration Liquid Concealer (Eudora)\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 49,\r\n \"productName\": \"Kaiak deo Colonia Feminina\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Kaiak deo Colonia Feminina\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 50,\r\n \"productName\": \"Enamel Jequiti Aviva Noir Nude Brulée, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Aviva Noir Nude Brulée Enamel, 9ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 51,\r\n \"productName\": \"Enamel Jequiti Aviva Norway, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Enamel Jequiti Aviva Norway, 9ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 52,\r\n \"productName\": \"Jequiti Aviva Silk Base Enamel, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Aviva Silk Base Enamel, 9ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 53,\r\n \"productName\": \"Enamel Jequiti Aviva California, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Enamel Jequiti Aviva California, 9ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 54,\r\n \"productName\": \"Necessaire Jequiti Ellas \",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Necessaire Jequiti Ellas \",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 55,\r\n \"productName\": \"212 Man\",\r\n \"value\": 1.0, \r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Imported perfume - 212 - male\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 56,\r\n \"productName\": \"212 Woman\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": true,\r\n \"productDescription\": \"Imported perfume - 212 - female\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 57,\r\n \"productName\": \"Hugo Boss Night 150Ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Hugo Boss Night 150Ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 58,\r\n \"productName\": \"Hugo Boss Eau de Peffum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Hugo Boss Eau de Peffum\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 59,\r\n \"productName\": \"TOMMY MALE EAU DE COLOGNE\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"MALE TOMMY EAU DE COLOGNE\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 60,\r\n \"productName\": \"TOMMY GIRL FEMALE EAU DE COLOGNE\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"TOMMY GIRL FEMALE EAU DE COLOGNE\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 61,\r\n \"productName\": \"Les infusions de Prada Iris Male Cédre Eau de Parfum\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Les infusions de Prada Iris Male Cédre Eau de Parfum\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 62,\r\n \"productName\": \"Candy L&#39;eau Femme Prada - Female Perfume - Eau de Toilette 80ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Candy L&#39;eau Femme Prada - Female Perfume - Eau de Toilette 80ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 63,\r\n \"productName\": \"Candy Florale Prada - Female Perfume - Eau de Toilette 30ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Candy Florale Prada - Female Perfume - Eau de Toilette 30ml\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 95,\r\n \"productName\": \"Product 95\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": true,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product Description 95\", \r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 178,\r\n \"productName\": \"Special Christmas Kit Product\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product short description\",\r\n \"isReorderAllowed\": true\r\n },\r\n {\r\n \"productCode\": 2050,\r\n \"productName\": \"Test Product\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Test\", \r\n \"isReorderAllowed\": true\r\n }\r\n ],\r\n \"chosenProducts\": false,\r\n \"code\": 579,\r\n \"title\": \"Mileage Test\",\r\n \"description\": \"Mileage test\",\r\n \"destination\": {\r\n \"id\": 2,\r\n \"description\": \"End Consumer\"\r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n },\r\n {\r\n \"giftNumber\": 1,\r\n \"giftItemNumber\": 1,\r\n \"giftValueType\": {\r\n \"id\": 1,\r\n \"description\": \"Items\"\r\n },\r\n \"giftValue\": 6.00,\r\n \"discountNumber\": 2,\r\n \"discountDescription\": \"2 - Order\",\r\n \"chosenDiscount\": false,\r\n \"unavaiableDiscount\": false,\r\n \"message\": \"\",\r\n \"productsToChoose\": [\r\n {\r\n \"productCode\": 6,\r\n \"productName\": \"Soap blooms apple blossom\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Deodorant Moisturizing Cream for Dry Areas Jequiti Vida Orchid and Hazelnut, 50g\",\r\n \"isReorderAllowed\": false \r\n },\r\n {\r\n \"productCode\": 50,\r\n \"productName\": \"Enamel Jequiti Aviva Noir Nude Brulée, 9ml\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Jequiti Aviva Noir Nude Brulée Enamel, 9ml\",\r\n \"isReorderAllowed\": false\r\n },\r\n {\r\n \"productCode\": 178,\r\n \"productName\": \"Special Christmas Kit Product\",\r\n \"value\": 1.0,\r\n \"chosenQuantity\": 0,\r\n \"unavailable\": false,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product short description\", \r\n \"isReorderAllowed\": false\r\n }\r\n ],\r\n \"chosenProducts\": false,\r\n \"discountToChoose\": [\r\n {\r\n \"code\": 0,\r\n \"auxiliaryDescription\": \"\",\r\n \"value\": 10.00,\r\n \"rewardType\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n },\r\n \"discountTargetType\": {\r\n \"id\": 4,\r\n \"description\": \"Order\"\r\n },\r\n \"isMaterialKit\": false\r\n }\r\n ],\r\n \"code\": 578,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n }\r\n ],\r\n \"totals\": {\r\n \"productsValue\": 2182.12,\r\n \"deliveryTax\": 0.0,\r\n \"collectionFee\": 0.0,\r\n \"creditCheckingAccountValue\": 1366.46,\r\n \"debitCheckingAccountValue\": 0.0,\r\n \"taxesValue\": 0.0,\r\n \"commissionValue\": -654.62,\r\n \"totalValue\": 161.04,\r\n \"simulatedNetValue\": 152748.40,\r\n \"checkingAccountTotalValue\": -1366.46,\r\n \"checkingAccountValue\": -1366.46,\r\n \"checkingAccountOriginalValue\": -1366.46,\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"totalValueWithoutDiscount\": 161.04,\r\n \"totalProductValueWithoutDiscount\": 2182.12,\r\n \"promotionDiscount\": 0.00,\r\n \"negotiationDiscount\": 0.0\r\n },\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 1,\r\n \"description\": \"Capture\",\r\n \"dateCreated\": \"2020-12-10T13:51:01.04Z\",\r\n \"orderPendings\": [\r\n { \r\n \"code\": 12,\r\n \"description\": \"Recovered\"\r\n },\r\n {\r\n \"code\": 11,\r\n \"description\": \"Created\"\r\n }\r\n ],\r\n \"canChangeOrderPaymentPlan\": false,\r\n \"isPendingWaitingCreditCardInfo\": false\r\n },\r\n \"paymentPlansProduct\": [],\r\n \"marketingMessagesPromotion\": [],\r\n \"allRewardsPromotion\": false,\r\n \"promotionReorderCutItems\": [\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 781,\r\n \"giftItemNumber\": 1,\r\n \"productCode\": 1,\r\n \"productName\": \"Product 1\", \r\n \"quantity\": 1\r\n },\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 782,\r\n \"giftItemNumber\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product 2\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n }"}],"_postman_id":"4796b266-b4f6-44db-b044-1e3e7ac75445"}],"id":"2b6b6eab-2f27-4f2c-a9d5-aec864161c6b","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a4020632-ab9b-4ca7-bb7a-6f94b4572a1e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"4a65509a-0f9e-4580-b032-7fadba105bf9"}}],"_postman_id":"2b6b6eab-2f27-4f2c-a9d5-aec864161c6b","description":""},{"name":"Step 6 - Delivery/Withdrawal (*)","item":[{"name":"6.1 Set Address","item":[{"name":"Withdrawal","item":[],"id":"39ea3466-53dc-4af6-8c8e-80d0285b9927","description":"<p>This flow is applied when the user chooses to withdraw the order on a CD. </p>\n<p> In this case, the application must call the endpoint of <a href=\"#b70eac9e-10c6-4d8b-baef-b3fafed8152a\">address selection</a>, passing the parameter <code>isWithdrawalCenter</code> with the value <code>true</code>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c75ecd15-bfa5-4258-b2f0-84c1c6c4a3e9"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"93b9fb81-aadc-4c98-804b-fd8f4461f57b"}}],"_postman_id":"39ea3466-53dc-4af6-8c8e-80d0285b9927"},{"name":"Delivery","item":[{"name":"Consult support centers","id":"757ea1bc-57ff-4ebe-9b32-3dea2b79be37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/supportCenter?geographicalStructureCode=<integer>&page=<integer>&pageSize=<integer>","description":"<p>This call is used to get the support centers available to pick up the order. </p>\n<p> In the return object of this endpoint, each support center has a property called <code>code</code> (code of the store where the order will be picked up). The value of this property must be passed in the value of the <code>peopleCode</code> parameter on the endpoint of <a href=\"#b70eac9e-10c6-4d8b-baef-b3fafed8152a\">address selection</a>. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","orders",":id","supportCenter"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Geographical structure code.</p>\n","type":"text/plain"},"key":"geographicalStructureCode","value":"<integer>"},{"description":{"content":"<p>Page number to be returned</p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page</p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"437953c2-d223-48e0-92e1-23659ba2fc15","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"028e038c-a0da-4046-9e88-8a663f677933","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/supportCenter?geographicalStructureCode=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","supportCenter"],"query":[{"key":"geographicalStructureCode","value":"<integer>","description":"Geographical structure code."},{"key":"page","value":"<integer>","description":"Desired page number."},{"key":"pageSize","value":"<integer>","description":"Number of items on each page."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"address\": \"Address of the support center\",\n \"code\": \"Code from the support center\",\n \"maximumTimeOrdersInSuportCenter\": \"Maximum number of days for order withdrawal\",\n \"name\": \"Name of support center\",\n \"selected\": \"Indicates if the support center is selected\",\n \"supportCenterHours\": [ // Support center opening hours\n {\n \"dayWeek\": { // Day of the week\n \"id\": \"Weekday code\",\n \"description\": \"Description of the day of the week\"\n }\n }\n ],\n \"supportCenterPeoples\": [ // People responsible for the support center\n {\n \"code\": \"Person&#39;s code\", \n \"emails\": [ // Person&#39;s email list\n {\n \"email\": \"Email\",\n \"type\": { // Email Type - Possible Glossary Values (Email Types)\n \"description\": \"Description of email type\",\n \"id\": \"Email type code\"\n }\n }\n ],\n \"name\": \"Person&#39;s name\",\n \"telephones\": [ // Person&#39;s phone list\n {\n \"telephone\": \"Person&#39;s phone\",\n \"type\": { // Phone Type - Possible Glossary Values (Phone Types)\n \"description\": \"Description of phone type\",\n \"id\": \"Phone type code\"\n }\n }\n ] \n }\n ],\n \"supportCenterStatus\": \"Support Center Status\",\n \"supportCenterStatusDomain\": { // Support Center Situations - Possible Glossary Values (Support Center Situations)\n \"description\": \"Description of the situation\",\n \"id\": \"Status code\"\n }\n }\n ]"},{"id":"13283420-3e90-47d9-9706-15409c16d07f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/supportCenter?geographicalStructureCode=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","supportCenter"],"query":[{"key":"geographicalStructureCode","value":"<integer>","description":"Geographical structure code."},{"key":"page","value":"<integer>","description":"Desired page number."},{"key":"pageSize","value":"<integer>","description":"Number of items on each page."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"address\": \"RUA JOÃO NUNES 999 COMPL.: 1 - LAGOÃO - ARARANGUÁ - SC - BRAZIL - CEP: 88904-288\",\r\n \"code\": 2137,\r\n \"maximumTimeOrdersInSuportCenter\": 3,\r\n \"name\": \"8377791963 COMPANY 1\",\r\n \"selected\": false,\r\n \"supportCenterHours\": [\r\n {\r\n \"dayWeek\": {\r\n \"id\": 1,\r\n \"description\": \"Sunday\"\r\n }\r\n },\r\n {\r\n \"dayWeek\": {\r\n \"id\": 7,\r\n \"description\": \"Saturday\"}\r\n }\r\n ],\r\n \"supportCenterPeoples\": [\r\n {\r\n \"code\": 371,\r\n \"emails\": [ \r\n {\r\n \"email\": \"8377791963@MAILINATOR.COM\",\r\n \"type\": {\r\n \"description\": \"Commercial\",\r\n \"id\": 3\r\n }\r\n }\r\n ],\r\n \"name\": \"João da Silva\",\r\n \"telephones\": [\r\n {\r\n \"telephone\": \"1999999999\",\r\n \"type\": {\r\n \"description\": \"Commercial\",\r\n \"id\": 4\r\n }\r\n },\r\n {\r\n \"telephone\": \"198888888\",\r\n \"type\": {\r\n \"description\": \"Alternative commercial\",\r\n \"id\": 5\r\n }\r\n }\r\n ]\r\n } \r\n ],\r\n \"supportCenterStatus\": 1,\r\n \"supportCenterStatusDomain\": {\r\n \"description\": \"Active\",\r\n \"id\": 1\r\n }\r\n }\r\n ]"}],"_postman_id":"757ea1bc-57ff-4ebe-9b32-3dea2b79be37"}],"id":"85d9de3f-03be-4f97-a50e-83561709f9b5","description":"<p>This flow is applied when the user has not chosen to withdraw the order on a CD. In this case, the order must be delivered to an address registered by the customer, or picked up at a support center. </p>\n<p> The first step is to obtain the addresses for <a href=\"#eafc4071-2c4e-4e09-9e16-0586592467aa\">delivery</a> and <a href=\"#8e7208b3-c786-4bbe-8a69-2fa85c4227b9\">support centers</a>, through the respective endpoints. </p>\n<h2 id=\"support-center\">Support Center</h2>\n<p> If the user selects a call center, the application should call the endpoint of <a href=\"#b70eac9e-10c6-4d8b-baef-b3fafed8152a\">address selection</a>, passing the call center information obtained earlier. </p>\n<h2 id=\"delivery-address\">Delivery address</h2>\n<p> If the user does not want to pick up the order at a helpdesk, a delivery address must be defined. </p>\n<h3 id=\"register-address\">Register Address</h3>\n<p> If the user does not have any delivery address registered, it is necessary to register one. For this, it is necessary to consult the part of <a href=\"#502bb577-20f4-49da-ac67-9b0c2df764a5\">Delivery Address</a>. </p>\n<h3 id=\"select-address\">Select Address</h3>\n<p> If the user already has delivery addresses registered, just call the endpoint <a href=\"#b70eac9e-10c6-4d8b-baef-b3fafed8152a\">address selection</a>, passing the selected address information.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1786d649-976f-43e8-a357-63210792c52f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"79bdf2c4-ae10-43c4-9d9a-ead6f1f5cdf7"}}],"_postman_id":"85d9de3f-03be-4f97-a50e-83561709f9b5"},{"name":"Consult delivery/pick-up addresses","id":"7ec64fd2-6ba4-4289-91a2-8242da18007d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/deliveryAddresses","urlObject":{"path":["api","Orders",":id","deliveryAddresses"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"799cca71-8b9d-4f84-826e-5943837ed21f","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"e6968e6d-671e-4960-8e88-3237fc59685f","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/deliveryAddresses","host":["{{baseUrl}}"],"path":["api","Orders",":id","deliveryAddresses"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"additionalAddressDetails\": \"Additional Address Details\",\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\n \"areaCode\": \"Area Code\",\n \"externalStructureCode\": \"External Structure Code\",\n \"formattedAddress\": \"Formatted address\",\n \"number\": \"Number\",\n \"people\": { // Person associated with the address\n \"code\": \"Code of the person associated with the address\",\n \"name\": \"Name of person associated with address\"\n },\n \"readOnly\": \"Cannot be edited; only consulted\",\n \"regionCode\": \"Region code\",\n \"selected\": \"Indicates the shipping address is selected\",\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \n \"id\": \"Address type code\",\n \"description\": \"Description of address type\"\n }\n }\n ]"},{"id":"4b0d6ac0-73dc-41d0-8fc8-96cd8c1d366f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/deliveryAddresses","host":["{{baseUrl}}"],"path":["api","Orders",":id","deliveryAddresses"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"additionalAddressDetails\": \"Address 1\",\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\",\r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 - SANTA CÂNDIDA - CURITIBA - PR - BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"User 216\"\r\n },\r\n \"readOnly\": true,\r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n }\r\n ]"}],"_postman_id":"7ec64fd2-6ba4-4289-91a2-8242da18007d"},{"name":"Select delivery/pickup address","id":"fe0f20fa-2365-4940-b4ae-7cd445d74646","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"peopleCode","value":"<integer>","description":"<p>Store code of the support center (legal entity) where the order will be picked up. </p>\n<p> <strong>Important</strong></p>\n<p> It is only passed when the delivery address is a support center.</p>\n"},{"key":"addressTypeId","value":"<integer>","description":"<p>Address type code. </p>\n<p> <strong>Important</strong></p>\n<p> When the delivery address is a support center, this value must be fixed = 2 (Business Address).</p>\n"},{"key":"isWithdrawalCenter","value":"<boolean>","description":"<p>Must be <code>true</code> if delivery mode is CD.</p>\n"},{"key":"isSupportCenter","value":"<boolean>","description":"<p>Must be <code>true</code> if the shipping address is a support center.</p>\n"}]},"url":"{{baseUrl}}/api/orders/:id/deliveryAddresses","urlObject":{"path":["api","orders",":id","deliveryAddresses"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"a592adfc-203f-4546-95d4-4d7c8cbd4cc3","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"84b74d7f-6b23-4657-9cc7-779834298c17","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"peopleCode","value":"<integer>","description":"Store code of the support center (legal entity) where the order will be picked up. \n\n **Important**\n\n It is only passed when the delivery address is a support center."},{"key":"addressTypeId","value":"<integer>","description":"Address type code. \n\n **Important**\n\n When the delivery address is a support center, this value must be fixed = 2 (Business Address)."},{"key":"isWithdrawalCenter","value":"<boolean>","description":"Must be `true` if delivery mode is CD."},{"key":"isSupportCenter","value":"<boolean>","description":"Must be `true` if the shipping address is a support center."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/deliveryAddresses","host":["{{baseUrl}}"],"path":["api","orders",":id","deliveryAddresses"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\", \r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 - SANTA CÂNDIDA - CURITIBA - PR - BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"ADRIANO TEST\"\r\n },\r\n \"readOnly\": true,\r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n },\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8, \r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\", \r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0 \r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\", \r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n }\r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2, \r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\", \r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ],\r\n \"deliveryOption\": {\r\n \"code\": 1,\r\n \"description\": \"PAC - PR\",\r\n \"name\": \"PAC - PR\", \r\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\r\n \"scheduledDeliveryType\": {\r\n \"id\": 0,\r\n \"description\": \"Normal\"\r\n },\r\n \"selected\": true,\r\n \"term\": 8,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"value\": 10\r\n },\r\n \"withdrawalsOptions\": {\r\n \"deliveryOptionCode\": 1\r\n },\r\n \"promotionReorderCutItems\": [\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 781,\r\n \"giftItemNumber\": 1,\r\n \"productCode\": 1,\r\n \"productName\": \"Product 1\",\r\n \"quantity\": 1\r\n },\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 782,\r\n \"giftItemNumber\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product 2\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n }"},{"id":"d77853d8-c57e-4598-be7a-35e45b779a15","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"peopleCode","value":"<integer>","description":"Store code of the support center (legal entity) where the order will be picked up. \n\n **Important**\n\n It is only passed when the delivery address is a support center."},{"key":"addressTypeId","value":"<integer>","description":"Address type code. \n\n **Important**\n\n When the delivery address is a support center, this value must be fixed = 2 (Business Address)."},{"key":"isWithdrawalCenter","value":"<boolean>","description":"Must be `true` if delivery mode is CD."},{"key":"isSupportCenter","value":"<boolean>","description":"Must be `true` if the shipping address is a support center."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/deliveryAddresses","host":["{{baseUrl}}"],"path":["api","orders",":id","deliveryAddresses"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option \r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can come to win in the request\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders promotions displayed\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\", \r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans payment by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit consumption data configuration - Possible values in the glossary (Credit consumption data settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user chose a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types) \r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\", \r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if it does not currently exist inventory\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Value original of the residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\", \r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n } \r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of promotion\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"deliveryAddress\": { // Delivery address\r\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\r\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"areaCode\": \"Area Code\",\r\n \"externalStructureCode\": \"Code of external structure\",\r\n \"formattedAddress\": \"Formatted address\",\r\n \"number\": \"Number\",\r\n \"people\": { // Person associated with address\r\n \"code\": \"Code of the person associated with the address\",\r\n \"name\": \"Name of person associated with address\"\r\n },\r\n \"readOnly\": \"Cannot be edited; only consulted\",\r\n \"regionCode\": \"Region code\",\r\n \"selected\": \"Indicates the shipping address is selected\",\r\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \r\n \"id\": \"Address type code\",\r\n \"description\": \"Description of address type\"\r\n }\r\n },\r\n \"withdrawalsOptions\": { // Withdrawals Options\r\n \"deliveryOptionCode\": \"Delivery Option Code\"\r\n },\r\n \"deliveryOption\": { // Delivery mode\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of delivery type scheduled\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of delivery days\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of delivery type\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n },\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\",\r\n \"promotionReorderCutItems\": [ // List of gifts won in the current order - in promotions that allow reorders - that were cut due to lack of stock. In future orders - when there is stock - such items will be incorporated\r\n {\r\n \"stateLine\": \"Indicates which action will be performed (1 - Add, 2 - Change, 3 - Delete)\",\r\n \"promotionCode\": \"Item related promotion code\",\r\n \"giftItemNumber\": \"Gift number chosen for the prize being redeemed\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ]\r\n }"}],"_postman_id":"fe0f20fa-2365-4940-b4ae-7cd445d74646"}],"id":"93cd07d2-8153-48a3-999d-b9f970ec071f","description":"<p>In this step, the application must follow one of the two flows (<strong>Delivery</strong>or<strong>Withdrawal</strong>), depending on the delivery mode obtained previously.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"77245186-a653-4ad3-a274-d111b2b9810a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3c977630-5db2-47e6-a267-9c92401ae4de"}}],"_postman_id":"93cd07d2-8153-48a3-999d-b9f970ec071f"},{"name":"6.2 Delivery Options","item":[{"name":"Consult delivery options","id":"992c50d5-1d09-4465-a361-baa1dcf66f27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/deliveryOptions","urlObject":{"path":["api","Orders",":id","deliveryOptions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"a367d567-870c-4a2e-bbaf-6a50c65435c1","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"dbb1de40-6b3b-41bb-93c5-75963f153243","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/deliveryOptions","host":["{{baseUrl}}"],"path":["api","Orders",":id","deliveryOptions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of scheduled delivery type\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of delivery days\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of the type of delivery\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n }\r\n ]"},{"id":"0c90c3e0-62f3-4f72-8d5b-993086e02205","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/deliveryOptions","host":["{{baseUrl}}"],"path":["api","Orders",":id","deliveryOptions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 1,\n \"description\": \"PAC -PR\",\n \"name\": \"PAC- PR\",\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\n \"scheduledDeliveryType\": {\n \"id\": 0,\n \"description\": \"Normal\"\n },\n \"selected\": true,\n \"term\": 8,\n \"type\": {\n \"id\": 3,\n \"description\": \"Delivery\"\n },\n \"value\": 10\n }\n ]"}],"_postman_id":"992c50d5-1d09-4465-a361-baa1dcf66f27"},{"name":"See scheduled delivery options","id":"d633f331-b288-4bd7-bfe1-3ed4b50bc298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/scheduledDeliveryOptions","urlObject":{"path":["api","Orders",":id","scheduledDeliveryOptions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"e3791af6-fe99-4810-a7fa-928b1bee8909","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"7dac8e3b-a649-4006-a689-6b132c920ff8","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/scheduledDeliveryOptions","host":["{{baseUrl}}"],"path":["api","Orders",":id","scheduledDeliveryOptions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"date\": \"Date\",\r\n \"orderCode\": \"Order code\",\r\n \"scheduledDeliveryPeriods\": [ // List of available delivery periods\r\n {\r\n \"deliveryOptions\": [ // List of available delivery options\r\n {\r\n \"code\": \"Delivery option code\",\r\n \"name\": \"Delivery option name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"selected\": \"Indicates if this option is selected\",\r\n \"term\": \"Amount of delivery days\",\r\n \"value\": \"Cost of delivery\"\r\n }\r\n ],\r\n \"description\": \"Description of delivery mode\",\r\n \"period\": { // Scheduled delivery period - Possible values in glossary (Scheduled Delivery Periods)\r\n \"id\": \"Scheduled delivery period code\",\r\n \"description\": \"Description of scheduled delivery period\"\r\n }\r\n }\r\n ]\r\n }\r\n ]"},{"id":"0b35e3cf-31a6-471d-83d8-141ccac1bb0b","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/scheduledDeliveryOptions","host":["{{baseUrl}}"],"path":["api","Orders",":id","scheduledDeliveryOptions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"date\": \"2020-12-22T03:00:00Z\",\r\n \"orderCode\": 18579945,\r\n \"scheduledDeliveryPeriods\": [\r\n {\r\n \"deliveryOptions\": [\r\n {\r\n \"code\": 8,\r\n \"name\": \"Transporter X -BR- 1 - RS SC SP\",\r\n \"scheduledDate\": \"0001-01-01T00:00:00Z\",\r\n \"selected\": false,\r\n \"term\": 0,\r\n \"value\": 100\r\n }\r\n ],\r\n \"description\": \"from 7:19 am to 12:19 pm\",\r\n \"period\": {\r\n \"id\": 0,\r\n \"description\": \"Morning\"\r\n }\r\n },\r\n {\r\n \"deliveryOptions\": [\r\n { \r\n \"code\": 8,\r\n \"name\": \"Transporter X -BR- 1 - RS SC SP\",\r\n \"scheduledDate\": \"0001-01-01T00:00:00Z\",\r\n \"selected\": false,\r\n \"term\": 0,\r\n \"value\": 100\r\n }\r\n ],\r\n \"description\": \"from 6pm to 8pm\",\r\n \"period\": {\r\n \"id\": 2,\r\n \"description\": \"Night\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"date\": \"2020-12-29T03:00:00Z\",\r\n \"orderCode\": 18579945,\r\n \"scheduledDeliveryPeriods\": [\r\n {\r\n \"deliveryOptions\": [\r\n {\r\n \"code\": 8, \r\n \"name\": \"Transporter X -BR- 1 - RS SC SP\",\r\n \"scheduledDate\": \"0001-01-01T00:00:00Z\",\r\n \"selected\": false,\r\n \"term\": 0,\r\n \"value\": 100\r\n }\r\n ],\r\n \"description\": \"from 7:19 am to 12:19 pm\",\r\n \"period\": {\r\n \"id\": 0,\r\n \"description\": \"Morning\"\r\n }\r\n },\r\n {\r\n \"deliveryOptions\": [\r\n {\r\n \"code\": 8,\r\n \"name\": \"Transporter X -BR- 1 - RS SC SP\",\r\n \"scheduledDate\": \"0001-01-01T00:00:00Z\",\r\n \"selected\": false,\r\n \"term\": 0,\r\n \"value\": 100\r\n } \r\n ],\r\n \"description\": \"from 6pm to 8pm\",\r\n \"period\": {\r\n \"id\": 2,\r\n \"description\": \"Night\"\r\n }\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"d633f331-b288-4bd7-bfe1-3ed4b50bc298"},{"name":"Select delivery options","id":"470936e7-52d0-404e-8e5d-45376dfe2546","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"deliveryOptionCode","value":"<integer>","description":"<p>Code of selected shipping option.</p>\n"},{"key":"scheduledDate","value":"<dateTime>","description":"<p>Scheduled delivery date.</p>\n"},{"key":"scheduledDatePart","value":"<integer>","description":"<p>Delivery period code.</p>\n"}]},"url":"{{baseUrl}}/api/orders/:id/deliveryOptions","urlObject":{"path":["api","orders",":id","deliveryOptions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"21138614-2842-4605-92e2-9752fa7b2c2b","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"36fc8d4e-917a-4231-b165-20f3b0850295","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"deliveryOptionCode","value":"<integer>","description":"Code of selected shipping option."},{"key":"scheduledDate","value":"<dateTime>","description":"Scheduled delivery date."},{"key":"scheduledDatePart","value":"<integer>","description":"Delivery period code. GET CODES???"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/deliveryOptions","host":["{{baseUrl}}"],"path":["api","orders",":id","deliveryOptions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option \r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can come to win in the request\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders promotions displayed\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\", \r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans payment by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit consumption data configuration - Possible values in the glossary (Credit consumption data settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user chose a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types) \r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\", \r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if it does not currently exist inventory\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Value original of the residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\", \r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n } \r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of promotion\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"deliveryAddress\": { // Delivery address\r\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\r\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"areaCode\": \"Area Code\",\r\n \"externalStructureCode\": \"Code of external structure\",\r\n \"formattedAddress\": \"Formatted address\",\r\n \"number\": \"Number\",\r\n \"people\": { // Person associated with address\r\n \"code\": \"Code of the person associated with the address\",\r\n \"name\": \"Name of person associated with address\"\r\n },\r\n \"readOnly\": \"Cannot be edited; only consulted\",\r\n \"regionCode\": \"Region code\",\r\n \"selected\": \"Indicates the shipping address is selected\",\r\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \r\n \"id\": \"Address type code\",\r\n \"description\": \"Description of address type\"\r\n }\r\n },\r\n \"deliveryOption\": { // Delivery mode\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of scheduled delivery type\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of days of delivery time\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of delivery type\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n },\r\n \"withdrawalsOptions\": { // Withdrawals Options\r\n \"deliveryOptionCode\": \"Delivery Option Code\"\r\n },\r\n \"promotionReorderCutItems\": [ // List of gifts won in the current order - in promotions that allow reorders - that were cut due to lack of stock. In future orders - when there is stock - such items will be incorporated\r\n {\r\n \"stateLine\": \"Indicates which action will be performed (1 - Add, 2 - Change, 3 - Delete)\",\r\n \"promotionCode\": \"Item related promotion code\",\r\n \"giftItemNumber\": \"Gift number chosen for the prize being redeemed\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"e812996f-ccf4-446a-b378-51710a1ff4af","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"deliveryOptionCode","value":"<integer>","description":"Code of selected shipping option."},{"key":"scheduledDate","value":"<dateTime>","description":"Scheduled delivery date."},{"key":"scheduledDatePart","value":"<integer>","description":"Delivery period code. GET CODES???"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/deliveryOptions","host":["{{baseUrl}}"],"path":["api","orders",":id","deliveryOptions"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\", \r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 - SANTA CÂNDIDA - CURITIBA - PR - BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"ADRIANO TEST\"\r\n },\r\n \"readOnly\": true,\r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n },\r\n \"deliveryOption\": {\r\n \"code\": 1,\r\n \"description\": \"PAC - PR\",\r\n \"name\": \"PAC - PR\",\r\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\r\n \"scheduledDeliveryType\": {\r\n \"id\": 0,\r\n \"description\": \"Normal\"\r\n },\r\n \"selected\": true,\r\n \"term\": 8,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"value\": 10\r\n },\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the plan receivement\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n } \r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false, \r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ],\r\n \"promotionReorderCutItems\": [\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 781,\r\n \"giftItemNumber\": 1,\r\n \"productCode\": 1,\r\n \"productName\": \"Product 1\",\r\n \"quantity\": 1\r\n },\r\n { \r\n \"stateLine\": 1,\r\n \"promotionCode\": 782,\r\n \"giftItemNumber\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product 2\",\r\n \"quantity\": 1\r\n }\r\n ],\r\n \"withdrawalsOptions\": {\r\n \"deliveryOptionCode\": 1\r\n }\r\n }"}],"_postman_id":"470936e7-52d0-404e-8e5d-45376dfe2546"}],"id":"8187436b-3b59-44bc-a888-c8779e92cb10","description":"<p>After defining the delivery/pick-up address, the application must define the shipping mode chosen by the user. </p>\n<h2 id=\"delivery-options\">Delivery Options</h2>\n<p> First, the application must get the shipping options through the endpoint to <a href=\"#13693065-c176-40bf-bc29-c63d30a21adc\">get shipping options</a>. </p>\n<h3 id=\"scheduled-delivery\">Scheduled Delivery</h3>\n<p> The application must also validate if there is any delivery option of type <code>Scheduled</code>. For this, the <code>scheduledDeliveryType</code> property of the return object from the previous call must have <code>id</code> = 2. In this case, the application <a href=\"#100ccf34-ed71-479f-9cdb-01e1401697d5\">get scheduled delivery options</a>. </p>\n<h2 id=\"select-delivery-option\">Select Delivery Option</h2>\n<p> After setting the delivery option by the user, the application must select it through <a href=\"#81954cda-7785-4f01-b7c6-aa3feb72efcb\">this endpoint</a>. </p>\n<h3 id=\"normal-or-express-delivery\">Normal or Express Delivery</h3>\n<p> If the selected delivery option is <strong>Normal</strong>or<strong>Express</strong>, the application must send only the <code>deliveryOptionCode</code> parameter in the call indicated above. </p>\n<h3 id=\"scheduled-delivery-1\">Scheduled Delivery</h3>\n<p> If the selected delivery option is <strong>Scheduled</strong>, the application must send all parameters (<code>ScheduledDate</code>, <code>ScheduledDatePart</code> and <code>deliveryOptionCode</code>) in the call indicated above.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"93e6595f-c59e-4671-a7af-76a66e45f79f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2aed40bc-4b80-4368-80de-a178df9537b5"}}],"_postman_id":"8187436b-3b59-44bc-a888-c8779e92cb10"}],"id":"2b09c978-06c1-4d0a-8adb-0edb83cc6a4d","description":"<p>In this step, the delivery or pick-up address of the order will be defined, along with the shipping option. </p>\n<h2 id=\"get-delivery-mode\">Get Delivery Mode</h2>\n<p> If the order is of type <strong>POS</strong>, the application must define the delivery mode at this time of capture. To do this, you need to <a href=\"#6854d75b-c2f9-460c-a3f2-dee6ebbef514\">get the business rule delivery mode</a>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ea04606d-28ae-4c10-96af-2ca8f6a2e5d4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ad24d9a2-3006-4b99-8b93-cb60e467acbc"}}],"_postman_id":"2b09c978-06c1-4d0a-8adb-0edb83cc6a4d"},{"name":"Step 7 - Payment (*)","item":[{"name":"Use CCR","item":[{"name":"Change CCR Value","id":"e6378bea-0f09-455c-91e1-b50badfefe4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"url":"{{baseUrl}}/api/orders/:id/checkingAccount?value=<double>","urlObject":{"path":["api","orders",":id","checkingAccount"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Desired value.</p>\n","type":"text/plain"},"key":"value","value":"<double>"}],"variable":[{"id":"1622e458-b45e-4ce7-91fe-207711096816","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"ab169b7c-e437-4ab0-94e4-6326d7988db7","name":"Response Parameter Details","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/checkingAccount?value=<double>","host":["{{baseUrl}}"],"path":["api","orders",":id","checkingAccount"],"query":[{"key":"value","value":"<double>","description":"**(Required)** Desired value."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Discount on promotions\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n }"},{"id":"2faa135b-453e-48c1-8b7b-39ebf01eba61","name":"OK","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/checkingAccount?value=<double>","host":["{{baseUrl}}"],"path":["api","orders",":id","checkingAccount"],"query":[{"key":"value","value":"<double>","description":"**(Required)** Desired value."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": 0,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 154.20,\r\n \"totalValueWithoutDiscount\": 114.33\r\n }"}],"_postman_id":"e6378bea-0f09-455c-91e1-b50badfefe4b"}],"id":"23796c66-c268-4d8a-b840-d888e404721d","description":"<p>This flow must be followed when the user who owns the order has residual current account credit. </p>\n<h2 id=\"get-ccr\">Get CCR</h2>\n<p> To use CCR, the user must have a positive amount in his residual current account. To check if this condition is true, the application must get the value of the <code>checkingAccountValue</code> property in the callback object for <a href=\"#c40ec00f-735c-4554-82eb-7ef670f54f95\">get updated total values</a>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"81eddaa4-2f29-4d19-8ec6-9b5a4a47c2e4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"0329e189-3485-4a0c-aff2-f6bf75f136fa"}}],"_postman_id":"23796c66-c268-4d8a-b840-d888e404721d"},{"name":"Consult order payment plans","id":"b737dede-e6f7-469a-8999-c8ef3d9231a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/paymentPlans?paymentMode=<integer>","description":"<p>In this call, the API obtains a list of all payment plans available for the user to use to capture the order.</p>\n","urlObject":{"path":["api","Orders",":id","paymentPlans"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Payment method.</p>\n","type":"text/plain"},"key":"paymentMode","value":"<integer>"}],"variable":[{"id":"ec16440a-fce5-400e-8e9f-411fd59247ee","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"0ca8b98a-be6a-48e9-8dc1-674dcdf41865","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/paymentPlans","host":["{{baseUrl}}"],"path":["api","Orders",":id","paymentPlans"],"query":[{"key":"paymentMode","value":"<integer>","description":"Payment method.","disabled":true}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Record-Count","value":"18"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Thu, 10 Dec 2020 14:18:55 GMT"},{"key":"Content-Length","value":"1048"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 17,\n \"name\": \"Currency(BRL)\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 11,\n \"description\": \"In Kind\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0, \n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 24,\n \"name\": \"Debit Card\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n }, \n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 25,\n \"name\": \"To match\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 8,\n \"description\": \"To match\"\n }, \n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 10,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 71,\n \"name\": \"prepay slip\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3, \n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 1,\n \"description\": \"Boleto\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [], \n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 78,\n \"name\": \"Card x\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 1,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\" \n }\n },\n {\n \"code\": 10,\n \"name\": \"Credit - Up to 3x S/J - EICC\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }, \n \"creditCardType\": {\n \"id\": 3,\n \"description\": \"Flag 3\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 17,\n \"description\": \"Flag 17\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": { \n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [\n {\n \"priority\": 0,\n \"text\": \"Message when selecting the receiving plan\"\n }\n ],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [\n {\n \"code\": 12,\n \"name\": \"3x (Renegotiation only - Do not change)\",\n \"isBlocked\": false\n },\n {\n \"code\": 26,\n \"name\": \"1x C 21 Deadline Payment\",\n \"isBlocked\": false\n },\n {\n \"code\": 80,\n \"name\": \"Post CEF Bill\",\n \"isBlocked\": false\n }\n ],\n \"minimumInstallmentAmount\": 10,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 11,\n \"name\": \"Credit - Up to 5x S/J - Test-QAA\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 1,\n \"description\": \"Check credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 5,\n \"installments\": [\n 1,\n two,\n 3,\n 4,\n 5\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 5,\n \"installments\": [\n 1,\n two,\n 3,\n 4,\n 5\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 5,\n \"description\": \"Flag 5\"\n },\n \"installmentsQuantity\": 5,\n \"installments\": [\n 1,\n two,\n 3,\n 4,\n 5\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [\n { \n \"code\": 80,\n \"name\": \"Post CEF Bill\",\n \"isBlocked\": false\n }\n ],\n \"minimumInstallmentAmount\": 20,\n \"showCreditConsumptionData\": {\n \"id\": 1,\n \"description\": \"Yes\"\n }\n },\n {\n \"code\": 16,\n \"name\": \"Deposit account\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [ \n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 3,\n \"description\": \"Deposit\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 10,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 1,\n \"description\": \"Yes\" \n }\n },\n {\n \"code\": 23,\n \"name\": \"Debit x\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 1, \n \"installments\": [\n 1\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 1,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 37,\n \"name\": \"Card - PgE No - 3x\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 61,\n \"name\": \"Money -Post\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 1,\n \"description\": \"Check credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 11,\n \"description\": \"In Kind\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 1,\n \"description\": \"Yes\"\n }\n }, \n {\n \"code\": 62,\n \"name\": \"Debit m\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [ \n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 70,\n \"name\": \"Test Check\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 2,\n \"description\": \"Check\" \n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 77,\n \"name\": \"Credit - Up to 3x S/J\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": { \n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false, \n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 80,\n \"name\": \"Post CEF Bill\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 1,\n \"description\": \"Boleto\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 1.5,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n }, \n {\n \"code\": 83,\n \"name\": \"Test 1\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9, \n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 16,\n \"description\": \"Other 2\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 84,\n \"name\": \"Debit c\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n }, \n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n }, \n \"externalPaymentMethod\": {\n \"id\": 12,\n \"description\": \"API x\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 0.1,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 0.1,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 85,\n \"name\": \"API X Credit\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9, \n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 12,\n \"description\": \"API X\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"contingentPaymentPlans\": [],\n \"minimumInstallmentAmount\": 2000,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n }\n ]"},{"id":"c5458d6a-5a98-488b-8448-755ff61ccbc5","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/paymentPlans?paymentMode=<integer>","host":["{{baseUrl}}"],"path":["api","Orders",":id","paymentPlans"],"query":[{"key":"paymentMode","value":"<integer>","description":"Form of payment."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // List of contingency payment plans. If any problems occur with the plan chosen at the time of payment, these contingency plans will be activated\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan \r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\", \r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ]"}],"_postman_id":"b737dede-e6f7-469a-8999-c8ef3d9231a6"},{"name":"Consult payment plans by product","id":"4f662985-79cb-419f-a94d-34546659315f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct?paymentMode=<integer>","urlObject":{"path":["api","orders",":id","paymentPlansByProduct"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Payment method.</p>\n","type":"text/plain"},"key":"paymentMode","value":"<integer>"}],"variable":[{"id":"b2502a47-c7c7-4b8c-ab5e-cfe2d68fae41","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"34de60b0-43a4-4627-83c0-8c469545c8fa","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct?paymentMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentPlansByProduct"],"query":[{"key":"paymentMode","value":"<integer>","description":"Payment method."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"contingentPaymentPlans\": [], // List of contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setup - Possible values in the glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ]"},{"id":"d60d1e21-a84d-4c79-8818-a1c9ea5a60cb","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct?paymentMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentPlansByProduct"],"query":[{"key":"paymentMode","value":"<integer>","description":"Payment method."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Record-Count","value":"0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Thu, 10 Dec 2020 14:33:13 GMT"},{"key":"Content-Length","value":"67"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 17,\n \"name\": \"Currency(BRL)\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 11,\n \"description\": \"In Kind\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0, \n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 24,\n \"name\": \"Debit Card\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [ \n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n { \n \"code\": 25,\n \"name\": \"To match\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 8,\n \"description\": \"To match\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 10,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 71,\n \"name\": \"prepay slip\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 1,\n \"description\": \"Boleto\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n } \n },\n {\n \"code\": 78,\n \"name\": \"Card x\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n } \n ],\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 1,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 10,\n \"name\": \"Credit - Up to 3x S/J - EICC\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n },\n {\n \"paymentMode\": { \n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 3,\n \"description\": \"Flag 3\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [ \n 1\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 17,\n \"description\": \"Flag 17\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n }, \n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [\n {\n \"priority\": 0,\n \"text\": \"Message when selecting the receiving plan\"\n }\n ],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 10,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 11,\n \"name\": \"Credit - Up to 5x S/J - Test-QAA\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 1,\n \"description\": \"Check credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 5,\n \"installments\": [\n 1,\n two,\n 3,\n 4,\n 5\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 5,\n \"installments\": [\n 1,\n two,\n 3,\n 4,\n 5\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 5,\n \"description\": \"Flag 5\"\n },\n \"installmentsQuantity\": 5,\n \"installments\": [\n 1,\n two,\n 3,\n 4,\n 5\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 20,\n \"showCreditConsumptionData\": {\n \"id\": 1,\n \"description\": \"Yes\"\n }\n },\n {\n \"code\": 16,\n \"name\": \"Deposit account\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": { \n \"id\": 3,\n \"description\": \"Deposit\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 10,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 1,\n \"description\": \"Yes\"\n }\n },\n {\n \"code\": 23,\n \"name\": \"Debit x\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n },\n {\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 1,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 37,\n \"name\": \"Card - PgE No - 3x\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n }, \n {\n \"code\": 61,\n \"name\": \"Money -Post\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 1,\n \"description\": \"Check credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 11,\n \"description\": \"In Kind\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 1,\n \"description\": \"Yes\"\n }\n },\n {\n \"code\": 62,\n \"name\": \"Debit m\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 70,\n \"name\": \"Test Check\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n { \n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 2,\n \"description\": \"Check\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n } \n },\n {\n \"code\": 77,\n \"name\": \"Credit - Up to 3x S/J\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 80,\n \"name\": \"Post CEF Bill\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n }, \n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 1,\n \"description\": \"Boleto\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 1.5,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 83,\n \"name\": \"Test 1\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"installmentsQuantity\": 1, \n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 16,\n \"description\": \"Other 2\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 84,\n \"name\": \"Debit c\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 12,\n \"description\": \"API x\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 0.1,\n \"minimumInstallmentAmount\": 0.1,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 85,\n \"name\": \"API X Credit\", \n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 12,\n \"description\": \"API X\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 2000,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n }\n ]"}],"_postman_id":"4f662985-79cb-419f-a94d-34546659315f"},{"name":"Select order payment plan","id":"b0b10cd3-4ed7-44ac-bf24-a25b41995edc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"<p>Payment plan code chosen by the user.</p>\n"},{"key":"paymentModeId","value":"<integer>","description":"<p>Payment method code.</p>\n"},{"key":"creditCardType","value":"<integer>","description":"<p>Credit card type.</p>\n"},{"key":"installmentsQuantity","value":"<integer>","description":"<p>Number of installments. </p>\n<p> <strong>Heads up</strong></p>\n<p> It must be passed only when the payment method has installments.</p>\n"}]},"url":"{{baseUrl}}/api/orders/:id/paymentPlans?updateItensSamePaymentPlan=<boolean>","description":"<p>After the user has selected the payment plan, the application should send this call to define the selected payment plan. </p>\n<p> The parameters passed in the call body are taken from the call response above.</p>\n","urlObject":{"path":["api","orders",":id","paymentPlans"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Updates all items that have the same payment plan as the order.</p>\n","type":"text/plain"},"key":"updateItensSamePaymentPlan","value":"<boolean>"}],"variable":[{"id":"c610b5b3-39cf-485d-8b1f-54e4de5485fc","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"dac2d044-3a28-4a39-9970-1ee74c15bccd","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"Payment plan code chosen by the user."},{"key":"paymentModeId","value":"<integer>","description":"Payment method code."},{"key":"creditCardType","value":"<integer>","description":"Credit card type."},{"key":"installmentsQuantity","value":"<integer>","description":"Number of installments."},{"key":"productCode","value":"<integer>","description":"Product code."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentPlans?updateItensSamePaymentPlan=<boolean>","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentPlans"],"query":[{"key":"updateItensSamePaymentPlan","value":"<boolean>","description":"Updates all items that have the same payment plan as the order."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"tableValue\": \"Order table value\",\r\n \"marketValue\": \"Purchase value of the order\",\r\n \"netValue\": \"Net order value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\" ,\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum amount of installments\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Consumption Data Settings Credit)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option \r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can come to win in the request\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders promotions displayed\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\", \r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans payment by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit consumption data configuration - Possible values in the glossary (Credit consumption data settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user chose a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types) \r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\", \r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if it does not currently exist inventory\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Value original of the residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\", \r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n } \r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of promotion\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"deliveryAddress\": { // Delivery address\r\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\r\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"areaCode\": \"Area Code\",\r\n \"externalStructureCode\": \"Code of external structure\",\r\n \"formattedAddress\": \"Formatted address\",\r\n \"number\": \"Number\",\r\n \"people\": { // Person associated with address\r\n \"code\": \"Code of the person associated with the address\",\r\n \"name\": \"Name of person associated with address\"\r\n },\r\n \"readOnly\": \"Cannot be edited; only consulted\",\r\n \"regionCode\": \"Region code\",\r\n \"selected\": \"Indicates the shipping address is selected\",\r\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \r\n \"id\": \"Address type code\",\r\n \"description\": \"Description of address type\"\r\n }\r\n },\r\n \"deliveryOption\": { // Delivery mode\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of scheduled delivery type\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of days of delivery time\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of delivery type\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n },\r\n \"withdrawalsOptions\": { // Withdrawals Options\r\n \"deliveryOptionCode\": \"Delivery Option Code\"\r\n },\r\n \"promotionReorderCutItems\": [ // List of gifts won in the current order - in promotions that allow reorders - that were cut due to lack of stock. In future orders - when there is stock - such items will be incorporated\r\n {\r\n \"stateLine\": \"Indicates which action will be performed (1 - Add, 2 - Change, 3 - Delete)\",\r\n \"promotionCode\": \"Item related promotion code\",\r\n \"giftItemNumber\": \"Gift number chosen for the prize being redeemed\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"3ecc2033-48bc-4f4c-be81-1a215cb77bd0","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"Payment plan code chosen by the user."},{"key":"paymentModeId","value":"<integer>","description":"Payment method code."},{"key":"creditCardType","value":"<integer>","description":"Credit card type."},{"key":"installmentsQuantity","value":"<integer>","description":"Number of installments."},{"key":"productCode","value":"<integer>","description":"Product code."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentPlans?updateItensSamePaymentPlan=<boolean>","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentPlans"],"query":[{"key":"updateItensSamePaymentPlan","value":"<boolean>","description":"Updates all items that have the same payment plan as the order."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\", \r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 - SANTA CÂNDIDA - CURITIBA - PR - BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"ADRIANO TEST\"\r\n },\r\n \"readOnly\": true,\r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n },\r\n \"deliveryOption\": {\r\n \"code\": 1,\r\n \"description\": \"PAC - PR\",\r\n \"name\": \"PAC - PR\",\r\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\r\n \"scheduledDeliveryType\": {\r\n \"id\": 0,\r\n \"description\": \"Normal\"\r\n },\r\n \"selected\": true,\r\n \"term\": 8,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"value\": 10\r\n },\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the plan receivement\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n } \r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false, \r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ],\r\n \"promotionReorderCutItems\": [\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 781,\r\n \"giftItemNumber\": 1,\r\n \"productCode\": 1,\r\n \"productName\": \"Product 1\",\r\n \"quantity\": 1\r\n },\r\n { \r\n \"stateLine\": 1,\r\n \"promotionCode\": 782,\r\n \"giftItemNumber\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product 2\",\r\n \"quantity\": 1\r\n }\r\n ],\r\n \"withdrawalsOptions\": {\r\n \"deliveryOptionCode\": 1\r\n }\r\n }"}],"_postman_id":"b0b10cd3-4ed7-44ac-bf24-a25b41995edc"},{"name":"Select payment plan by product","id":"80e64952-436d-4382-b1d3-df318cba53f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"<p>Code of payment plan chosen.</p>\n"},{"key":"paymentModeId","value":"<integer>","description":"<p>Code of the chosen payment model.</p>\n"},{"key":"creditCardType","value":"<integer>","description":"<p>Credit card type. </p>\n<p> <strong>Heads up</strong></p>\n<p> It must only be passed when the payment method is credit/debit card.</p>\n"},{"key":"installmentsQuantity","value":"<integer>","description":"<p>Number of installments. </p>\n<p> <strong>Heads up</strong></p>\n<p> It must be passed only when the payment method has installments.</p>\n"},{"key":"productCode","value":"<integer>","description":"<p>Product code.</p>\n"}]},"url":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct","description":"<p>This call is used to select a payment plan for a product.</p>\n","urlObject":{"path":["api","orders",":id","paymentPlansByProduct"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f2e07ce3-b99c-460a-a676-f7bc02639607","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"28859e84-66cb-4d84-8fa2-36a5f8283f86","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"Code of payment plan chosen."},{"key":"paymentModeId","value":"<integer>","description":"Code of the chosen payment model."},{"key":"creditCardType","value":"<integer>","description":"Credit card type. \n\n **Heads up**\n\n It must only be passed when the payment method is credit/debit card."},{"key":"installmentsQuantity","value":"<integer>","description":"Number of installments. \n\n **Heads up**\n\n It must be passed only when the payment method has installments."},{"key":"productCode","value":"<integer>","description":"Product code."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentPlansByProduct"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option \r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can come to win in the request\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders promotions displayed\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\", \r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans payment by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit consumption data configuration - Possible values in the glossary (Credit consumption data settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user chose a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types) \r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\", \r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if it does not currently exist inventory\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Value original of the residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\", \r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n } \r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of promotion\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"deliveryAddress\": { // Delivery address\r\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\r\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"areaCode\": \"Area Code\",\r\n \"externalStructureCode\": \"Code of external structure\",\r\n \"formattedAddress\": \"Formatted address\",\r\n \"number\": \"Number\",\r\n \"people\": { // Person associated with address\r\n \"code\": \"Code of the person associated with the address\",\r\n \"name\": \"Name of person associated with address\"\r\n },\r\n \"readOnly\": \"Cannot be edited; only consulted\",\r\n \"regionCode\": \"Region code\",\r\n \"selected\": \"Indicates the shipping address is selected\",\r\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \r\n \"id\": \"Address type code\",\r\n \"description\": \"Description of address type\"\r\n }\r\n },\r\n \"deliveryOption\": { // Delivery mode\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of scheduled delivery type\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of days of delivery time\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of delivery type\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n },\r\n \"withdrawalsOptions\": { // Withdrawals Options\r\n \"deliveryOptionCode\": \"Delivery Option Code\"\r\n },\r\n \"promotionReorderCutItems\": [ // List of gifts won in the current order - in promotions that allow reorders - that were cut due to lack of stock. In future orders - when there is stock - such items will be incorporated\r\n {\r\n \"stateLine\": \"Indicates which action will be performed (1 - Add, 2 - Change, 3 - Delete)\",\r\n \"promotionCode\": \"Item related promotion code\",\r\n \"giftItemNumber\": \"Gift number chosen for the prize being redeemed\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"8d50b816-67a7-4121-8ea4-84a729ba7bc8","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"paymentPlanCode","value":"<integer>","description":"Code of payment plan chosen."},{"key":"paymentModeId","value":"<integer>","description":"Code of the chosen payment model."},{"key":"creditCardType","value":"<integer>","description":"Credit card type. \n\n **Heads up**\n\n It must only be passed when the payment method is credit/debit card."},{"key":"installmentsQuantity","value":"<integer>","description":"Number of installments. \n\n **Heads up**\n\n It must be passed only when the payment method has installments."},{"key":"productCode","value":"<integer>","description":"Product code."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentPlansByProduct"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\", \r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 - SANTA CÂNDIDA - CURITIBA - PR - BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"ADRIANO TEST\"\r\n },\r\n \"readOnly\": true,\r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n },\r\n \"deliveryOption\": {\r\n \"code\": 1,\r\n \"description\": \"PAC - PR\",\r\n \"name\": \"PAC - PR\",\r\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\r\n \"scheduledDeliveryType\": {\r\n \"id\": 0,\r\n \"description\": \"Normal\"\r\n },\r\n \"selected\": true,\r\n \"term\": 8,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"value\": 10\r\n },\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the plan receivement\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n } \r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false, \r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ],\r\n \"promotionReorderCutItems\": [\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 781,\r\n \"giftItemNumber\": 1,\r\n \"productCode\": 1,\r\n \"productName\": \"Product 1\",\r\n \"quantity\": 1\r\n },\r\n { \r\n \"stateLine\": 1,\r\n \"promotionCode\": 782,\r\n \"giftItemNumber\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product 2\",\r\n \"quantity\": 1\r\n }\r\n ],\r\n \"withdrawalsOptions\": {\r\n \"deliveryOptionCode\": 1\r\n }\r\n }"}],"_postman_id":"80e64952-436d-4382-b1d3-df318cba53f7"},{"name":"calculate installments","id":"442a91dd-caaa-429c-b0b8-49c2bb505fb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/installments?paymentPlanCode=<integer>&paymentModeId=<integer>&installmentsQuantity=<integer>&creditCardType=<integer>&productCode=<integer>","urlObject":{"path":["api","Orders",":id","installments"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Payment plan code.</p>\n","type":"text/plain"},"key":"paymentPlanCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Payment method code.</p>\n","type":"text/plain"},"key":"paymentModeId","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Credit card type.</p>\n","type":"text/plain"},"key":"installmentsQuantity","value":"<integer>"},{"description":{"content":"<p>Number of installments.</p>\n","type":"text/plain"},"key":"creditCardType","value":"<integer>"},{"description":{"content":"<p>Product code.</p>\n","type":"text/plain"},"key":"productCode","value":"<integer>"}],"variable":[{"id":"7a9befac-2201-4288-8d58-9b441f1278a6","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"595c663a-9529-4cab-89fa-bb3f086abb19","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/installments?paymentPlanCode=<integer>&paymentModeId=<integer>&installmentsQuantity=<integer>&creditCardType=<integer>&productCode=<integer>","host":["{{baseUrl}}"],"path":["api","Orders",":id","installments"],"query":[{"key":"paymentPlanCode","value":"<integer>","description":"**(Required)** Payment plan code."},{"key":"paymentModeId","value":"<integer>","description":"**(Required)** Payment method code."},{"key":"installmentsQuantity","value":"<integer>","description":"**(Required)** Credit card type."},{"key":"creditCardType","value":"<integer>","description":"Number of installments."},{"key":"productCode","value":"<integer>","description":"Product code."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"number\": \"Portion number\",\r\n \"value\": \"Value of the installment\",\r\n \"dueDate\": \"Deadline for payment of the installment\",\r\n \"blocked\": \"Indicates if the installment is blocked (this happens when the payment does not reach the stipulated minimum amount)\"\r\n }\r\n ]"},{"id":"8ed48aa4-9f46-4c7d-87c4-abee61cc64d9","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/installments?paymentPlanCode=<integer>&paymentModeId=<integer>&installmentsQuantity=<integer>&creditCardType=<integer>&productCode=<integer>","host":["{{baseUrl}}"],"path":["api","Orders",":id","installments"],"query":[{"key":"paymentPlanCode","value":"<integer>","description":"**(Required)** Payment plan code."},{"key":"paymentModeId","value":"<integer>","description":"**(Required)** Payment method code."},{"key":"installmentsQuantity","value":"<integer>","description":"**(Required)** Credit card type."},{"key":"creditCardType","value":"<integer>","description":"Number of installments."},{"key":"productCode","value":"<integer>","description":"Product code."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"number\": 1,\r\n \"value\": 760.72,\r\n \"dueDate\": \"2021-01-09T00:00:00Z\",\r\n \"blocked\": false\r\n },\r\n {\r\n \"number\": 2,\r\n \"value\": 411.05,\r\n \"dueDate\": \"2021-02-08T00:00:00Z\",\r\n \"blocked\": false\r\n },\r\n {\r\n \"number\": 3,\r\n \"value\": 296.7,\r\n \"dueDate\": \"2021-03-10T00:00:00Z\",\r\n \"blocked\": false\r\n }\r\n ]"}],"_postman_id":"442a91dd-caaa-429c-b0b8-49c2bb505fb6"},{"name":"Updated total values","id":"f7dda3db-50af-4aea-a727-6db3f5895e82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/totals?collectionSystem={{collectionSystem}}","description":"<p>This call is used to get the most up-to-date totals for the order.</p>\n","urlObject":{"path":["api","Orders",":id","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Capture system code.</p>\n","type":"text/plain"},"key":"collectionSystem","value":"{{collectionSystem}}"}],"variable":[{"id":"38abb403-1b22-4590-b8fe-f94933ed91bb","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"db549d63-b4e3-4ac9-90c8-d35ade458b20","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/totals?collectionSystem={{collectionSystem}}","host":["{{baseUrl}}"],"path":["api","Orders",":id","totals"],"query":[{"key":"collectionSystem","value":"{{collectionSystem}}","description":"Capture system code."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Discount on promotions\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n }"},{"id":"95fc32e4-d8a8-4414-bce3-4300af76ea38","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders/:id/totals?collectionSystem={{collectionSystem}}","host":["{{baseUrl}}"],"path":["api","Orders",":id","totals"],"query":[{"key":"collectionSystem","value":"{{collectionSystem}}","description":"Capture system code."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"allowsCheckingAccountAdjustment\": true,\n \"checkingAccountOriginalValue\": -39.87,\n \"checkingAccountTotalValue\": -39.87,\n \"checkingAccountValue\": -39.87,\n \"collectionFee\": 0,\n \"commissionValue\": -61.8,\n \"creditCheckingAccountValue\": 39.87,\n \"debitCheckingAccountValue\": 0,\n \"deliveryTax\": 10,\n \"negotiationDiscount\": 0,\n \"productsValue\": 206,\n \"promotionDiscount\": 0,\n \"simulatedNetValue\": 14420,\n \"taxesValue\": 0,\n \"totalProductValueWithoutDiscount\": 206,\n \"totalValue\": 114.33,\n \"totalValueWithoutDiscount\": 114.33\n }"}],"_postman_id":"f7dda3db-50af-4aea-a727-6db3f5895e82"},{"name":"Remove payment plan by product","id":"a9f85934-5257-449e-94b0-72f2fe9d42fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct?listProductCode=<integer>","description":"<p>This call is used to remove a payment plan for a product.</p>\n","urlObject":{"path":["api","orders",":id","paymentPlansByProduct"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Product code related to the payment plan. </p>\n<p> The application must send a <code>listProductCode</code> parameter for each product. </p>\n<p> E.g.: listProductCode=&amp;listProductCode=</p>\n","type":"text/plain"},"key":"listProductCode","value":"<integer>"}],"variable":[{"id":"6fad919a-49b3-4ae2-b70c-4a7ac245c3c7","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Request code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"9ab0fb91-25ae-49ca-a5a2-691db78eb746","name":"Response Parameter Details","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct?listProductCode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentPlansByProduct"],"query":[{"key":"listProductCode","value":"<integer>","description":"**(Mandatory)**\n\n Product code related to the payment plan. \n\n The application must send a `listProductCode` parameter for each product. \n\n E.g.: listProductCode=<integer>&amp;listProductCode=<integer>"}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Mandatory)**\n\n Request code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\"\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Tax administrative\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // contingency payment plans\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\":\"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings) \r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option \r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion \r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Promotion Prize Type Code\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can come to win in the request\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders promotions displayed\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [\r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\", \r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Description of required product\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans payment by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\" ,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit consumption data configuration - Possible values in the glossary (Credit consumption data settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user chose a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types) \r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\", \r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of the type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if it does not currently exist inventory\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Value original of the residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\", \r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n } \r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Title of promotion\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"deliveryAddress\": { // Delivery address\r\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\r\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"areaCode\": \"Area Code\",\r\n \"externalStructureCode\": \"Code of external structure\",\r\n \"formattedAddress\": \"Formatted address\",\r\n \"number\": \"Number\",\r\n \"people\": { // Person associated with address\r\n \"code\": \"Code of the person associated with the address\",\r\n \"name\": \"Name of person associated with address\"\r\n },\r\n \"readOnly\": \"Cannot be edited; only consulted\",\r\n \"regionCode\": \"Region code\",\r\n \"selected\": \"Indicates the shipping address is selected\",\r\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \r\n \"id\": \"Address type code\",\r\n \"description\": \"Description of address type\"\r\n }\r\n },\r\n \"deliveryOption\": { // Delivery mode\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of scheduled delivery type\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of days of delivery time\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of delivery type\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n },\r\n \"withdrawalsOptions\": { // Withdrawals Options\r\n \"deliveryOptionCode\": \"Delivery Option Code\"\r\n },\r\n \"promotionReorderCutItems\": [ // List of gifts won in the current order - in promotions that allow reorders - that were cut due to lack of stock. In future orders - when there is stock - such items will be incorporated\r\n {\r\n \"stateLine\": \"Indicates which action will be performed (1 - Add, 2 - Change, 3 - Delete)\",\r\n \"promotionCode\": \"Item related promotion code\",\r\n \"giftItemNumber\": \"Gift number chosen for the prize being redeemed\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"},{"id":"cd9f9d66-0601-4495-b3b8-83c2f83a8d5d","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentPlansByProduct?listProductCode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentPlansByProduct"],"query":[{"key":"listProductCode","value":"<integer>","description":"**(Mandatory)**\n\n Product code related to the payment plan. \n\n The application must send a `listProductCode` parameter for each product. \n\n E.g.: listProductCode=<integer>&amp;listProductCode=<integer>"}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\":[1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\", \r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n {\r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3, \r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n },\r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\", \r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 - SANTA CÂNDIDA - CURITIBA - PR - BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"ADRIANO TEST\"\r\n },\r\n \"readOnly\": true,\r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n },\r\n \"deliveryOption\": {\r\n \"code\": 1,\r\n \"description\": \"PAC - PR\",\r\n \"name\": \"PAC - PR\",\r\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\r\n \"scheduledDeliveryType\": {\r\n \"id\": 0,\r\n \"description\": \"Normal\"\r\n },\r\n \"selected\": true,\r\n \"term\": 8,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"value\": 10\r\n },\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n } \r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the plan receivement\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1\r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n } \r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Gift Or Discount Promotion Test\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false, \r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n }\r\n ],\r\n \"promotionReorderCutItems\": [\r\n {\r\n \"stateLine\": 1,\r\n \"promotionCode\": 781,\r\n \"giftItemNumber\": 1,\r\n \"productCode\": 1,\r\n \"productName\": \"Product 1\",\r\n \"quantity\": 1\r\n },\r\n { \r\n \"stateLine\": 1,\r\n \"promotionCode\": 782,\r\n \"giftItemNumber\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product 2\",\r\n \"quantity\": 1\r\n }\r\n ],\r\n \"withdrawalsOptions\": {\r\n \"deliveryOptionCode\": 1\r\n }\r\n }"}],"_postman_id":"a9f85934-5257-449e-94b0-72f2fe9d42fc"},{"name":"Select contingency payment plan","id":"8f10b7ba-920a-4258-8c85-e6b1abfe51c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/orders/:id/contingentPaymentPlans/:code","urlObject":{"path":["api","orders",":id","contingentPaymentPlans",":code"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"68251913-6de0-4da1-80d6-6b797a55e374","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"aabe63cb-fa48-4881-ae78-019e75399812","description":{"content":"<p><strong>(Required)</strong> Contingency payment plan code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"code"}]}},"response":[{"id":"dde45c31-49d1-4d8d-8ebf-8b10665fcb0c","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/contingentPaymentPlans/:code","host":["{{baseUrl}}"],"path":["api","orders",":id","contingentPaymentPlans",":code"],"variable":[{"key":"id","value":"<integer>","description":"**(Required)** Order code."},{"key":"code","value":"<integer>","description":"**(Required)** Contingency plan code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"number\": \"Portion number\",\r\n \"value\": \"Value of the installment\",\r\n \"dueDate\": \"Deadline for payment of the installment\",\r\n \"blocked\": \"Indicates if the installment is blocked (this happens when the payment does not reach the stipulated minimum amount)\"\r\n }\r\n ]"},{"id":"f6c7c8f0-1cf0-45b1-9387-5d596a8fbcd5","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/contingentPaymentPlans/:code","host":["{{baseUrl}}"],"path":["api","orders",":id","contingentPaymentPlans",":code"],"variable":[{"key":"id","value":"<integer>","description":"**(Required)** Order code."},{"key":"code","value":"<integer>","description":"**(Required)** Contingency plan code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"number\": 1,\r\n \"value\": 760.72,\r\n \"dueDate\": \"2021-01-09T00:00:00Z\",\r\n \"blocked\": false\r\n },\r\n {\r\n \"number\": 2,\r\n \"value\": 411.05,\r\n \"dueDate\": \"2021-02-08T00:00:00Z\",\r\n \"blocked\": false\r\n },\r\n {\r\n \"number\": 3,\r\n \"value\": 296.7,\r\n \"dueDate\": \"2021-03-10T00:00:00Z\",\r\n \"blocked\": false\r\n }\r\n ]"}],"_postman_id":"8f10b7ba-920a-4258-8c85-e6b1abfe51c7"},{"name":"Remove contingency payment plan","id":"fed14320-62ec-43e2-a962-a2ff5a30e078","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id/contingentPaymentPlans","urlObject":{"path":["api","orders",":id","contingentPaymentPlans"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"e342b5f2-1156-49bc-99c8-edc4321d52b8","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"c9330ce9-cd98-4b08-bbee-b3c519b4bb0f","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/contingentPaymentPlans","host":["{{baseUrl}}"],"path":["api","orders",":id","contingentPaymentPlans"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fed14320-62ec-43e2-a962-a2ff5a30e078"}],"id":"57dd5996-0279-4ba8-8f5a-236607cca4d7","description":"<p>In this step, a series of definitions related to the payment of the order will be carried out. </p>\n<h2 id=\"order-vi\">Order VI?</h2>\n<p> If the request is of type <strong>VI</strong>, the application should skip to the step of <a href=\"#15c91e6e-31c6-4795-88bf-94d63e11cd8b\">Finishing</a>. </p>\n<h2 id=\"get-payment-plans\">Get Payment Plans</h2>\n<p> To get the order payment plans, the application must call the endpoint to <a href=\"#d1251c31-bb9d-4524-844f-acd03525a025\">see order payment plans</a>. To get payment plans by product, the application must call the endpoint to <a href=\"#7162094f-909f-4b34-b1a7-67771a3be911\">see payment plans by product</a>. </p>\n<p> After obtaining the payment plans, the application must obtain the <a href=\"#c40ec00f-735c-4554-82eb-7ef670f54f95\">updated total amounts</a> of the order. </p>\n<h3 id=\"pos-request\">POS Request?</h3>\n<p> If the order is <strong>POS</strong>, the application must select the [multiple payments] method(#7af2c07c-d293-4de8-8c54-534d55814f51) automatically, regardless of the number of payment methods that will be used in the order. To do this, it is necessary to select a payment plan with the type of payment method (<code>paymentMode</code> -&gt; <code>id</code>) equal to <code>14</code>. </p>\n<h2 id=\"define-payment-plans\">Define Payment Plans</h2>\n<p> After choosing the user, the application must <a href=\"#90b6cc83-2ec6-4252-a83b-f3921de05d57\">select payment plan for the order</a>. </p>\n<p> If the user wants to change the payment plan for a specific product, the application must <a href=\"#b2daee54-9b50-4190-97d9-48ed2bea916e\">select payment plan by product</a>. </p>\n<h3 id=\"contingency-payment-plans\">Contingency Payment Plans</h3>\n<p> After selecting the payment plan for the order -if configured- a list of contingency plans (<code>contingentPaymentPlans: []</code>) will be returned that the user has the option to [select](#050c3047-f610-43fd-a8fd -b34f003dea78). If for any reason the payment plan chosen for the order is refused, the contingency plan will be used. </p>\n<h3 id=\"installments\">Installments</h3>\n<p> Whenever the user chooses a payment method, the application must <a href=\"#a978c64b-7d53-41ce-a4dc-36033092304e\">calculate the installments</a> to obtain the fees and the like. After calculating these installments, the application must select the respective payment plan (for the order or for a product) again, so that the information is updated. </p>\n<h2 id=\"update-values\">Update Values</h2>\n<p> After defining the payment plans, the application must retrieve the <a href=\"#c40ec00f-735c-4554-82eb-7ef670f54f95\">updated total amounts</a> of the order again.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7a26fbe8-7e25-44ab-84ee-0b3838a0ec79"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d7656ded-eeae-4ad0-9543-684f03e2576a"}}],"_postman_id":"57dd5996-0279-4ba8-8f5a-236607cca4d7"},{"name":"Step 8 - Completion","item":[{"name":"Order VI - Completion Validation (*)","item":[{"name":"Validate order completion","id":"b471500c-16d6-47d8-899b-71de2307743f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/ClosedOrderValidation/:Id","description":"<p>This call is used to check if an order can be finalized.</p>\n","urlObject":{"path":["api","orders","ClosedOrderValidation",":Id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"789465bd-3926-4618-9d85-dd7b22cd5539","description":{"content":"<p>(<strong>Required</strong>) Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"Id"}]}},"response":[{"id":"5fb8fd3b-2b52-416a-8091-68b871d287a6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/ClosedOrderValidation/:Id","host":["{{baseUrl}}"],"path":["api","orders","ClosedOrderValidation",":Id"],"variable":[{"key":"Id","value":"{{codigoPedido}}","description":"(**Required**) Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b471500c-16d6-47d8-899b-71de2307743f"}],"id":"c6dc1fd3-caf9-4edf-b1f0-2ce3561ea940","description":"<p>If the order is of type <strong>VI</strong>, the application must <a href=\"#03a3921c-3d03-4627-9c52-3d50347329af\">validate order completion</a> before finalizing it.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"484dac13-f5b9-461c-993b-52d037fd3c49"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d11c6938-b069-4964-bd14-adccac7156ba"}}],"_postman_id":"c6dc1fd3-caf9-4edf-b1f0-2ce3561ea940"},{"name":"Generate Budget","item":[{"name":"Request name for order","id":"abcaaf57-c8f3-44ef-96e9-27d9620e6e24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/quotationName","urlObject":{"path":["api","orders","quotationName"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"a9b3c154-f401-4952-817e-23eaf97280de","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/quotationName"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"\"Budget Name\""},{"id":"b94aafef-0dfd-49a5-a93e-d85415a92dfa","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/quotationName"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"\"Budget 12/10/2020 12:00\""}],"_postman_id":"abcaaf57-c8f3-44ef-96e9-27d9620e6e24"},{"name":"generate budget","id":"862ae4f6-8086-4bc3-b1b7-b2c0a09a7921","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/orders/:id/quotation?quotationName=<string>","urlObject":{"path":["api","orders",":id","quotation"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Name of the purchase suggestion that will be generated from the order.</p>\n","type":"text/plain"},"key":"quotationName","value":"<string>"}],"variable":[{"id":"7638e6c9-7865-4dfc-9e4c-2deeff2e3056","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"73e7ba19-44bc-4143-b676-ea9b349115af","name":"generate budget","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/quotation?quotationName=<string>","host":["{{baseUrl}}"],"path":["api","orders",":id","quotation"],"query":[{"key":"quotationName","value":"<string>","description":"**(Required)** Name of the purchase suggestion that will be generated from the order."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"created","code":201,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"862ae4f6-8086-4bc3-b1b7-b2c0a09a7921"}],"id":"4301a9f8-c3f8-4867-93c0-45965ac1bbae","description":"<p>When generating the quote for the order, its lifecycle ends here, this order will be canceled and turned into a purchase suggestion with the type <a href=\"#2512a779-0a23-42e0-97c6-93104cc6183a\">Budget Order</a>.</p>\n","_postman_id":"4301a9f8-c3f8-4867-93c0-45965ac1bbae"},{"name":"Complete Order (*)","item":[{"name":"finalize order","id":"885c89ea-aa8d-4201-9a2d-79664ce0fcdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/orders/:id/closed","urlObject":{"path":["api","orders",":id","closed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"1e594b3f-4f2f-446c-990c-1c0eacb9fe62","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"d1cab0db-823f-4363-a75c-56401e30c73d","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/closed","host":["{{baseUrl}}"],"path":["api","orders",":id","closed"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 16276089,\r\n \"businessInformation\": {\r\n \"paid\": false,\r\n \"orderingCycle\": 202011,\r\n \"marketingCycle\": 202011,\r\n \"itemsQuantity\": 1,\r\n \"productsQuantity\": 1,\r\n \"pointsQuantity\": 1800,\r\n \"minimumPointsQuantity\": 11100,\r\n \"tableValue\": 18,\r\n \"marketValue\": 18,\r\n \"netValue\": 18,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"functionCode\": 9,\r\n \"simulatedValue\": 18,\r\n \"simulatedPoints\": 12423,\r\n \"simulatedOrderPoints\": 1800,\r\n \"simulatedValueProfitabilityGifts\": 0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"minimumPointsQuantityConsideredOrder\": 1800,\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"flexBalanceAvailable\": 0,\r\n \"flexBalanceAmountConsumed\": 0,\r\n \"flexBalanceUpdatedAvailable\": 0,\r\n \"proposedNetValue\": 0,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30\r\n },\r\n \"items\": [\r\n {\r\n \"number\": 1,\r\n \"productCode\": 23, \r\n \"productName\": \"Product 01\",\r\n \"quantity\": 1,\r\n \"unitTableValue\": 18,\r\n \"unitMarketValue\": 18,\r\n \"unitNetValue\": 18,\r\n \"unitPointsQuantity\": 1800,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"associatedItem\": true,\r\n \"associatedItemRequired\": false,\r\n \"associatedItemOrigin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"simulatedValueProfitability\": 18,\r\n \"simulatedValueProfitabilityUnit\": 18,\r\n \"profitabilityValue\": 0,\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Sale\" \r\n },\r\n \"isBloquedRemoveItem\": false,\r\n \"isBlockedEditQuantity\": true,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"associatedItemOriginDetails\": {\r\n \"origin\": {\r\n \"id\": 3,\r\n \"description\": \"Start Kit\"\r\n },\r\n \"promotionCode\": 12351,\r\n \"promotionDescription\": \"Promotion 01\",\r\n \"order\": 12345,\r\n \"collectionDate\": \"2020-11-18T20:53:26.074Z\",\r\n \"orderCycle\": 202001,\r\n \"programPointsCode\": 2,\r\n \"programPointsDescription\": \"Points Program 01\",\r\n \"notificationCode\": 2,\r\n \"productCode\": 32\r\n },\r\n \"isMaterialKit\": false, \r\n \"productDescription\": \"Product 01\",\r\n \"hasDiscountValue\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"unitMeasurementType\": {\r\n \"id\": 1,\r\n \"description\": \"un\"\r\n },\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 18,\r\n \"flexNegotiation\": {\r\n \"minValue\": 17.99,\r\n \"maxValue\": 19.99,\r\n \"initialUnitNetValue\": 18,\r\n \"proposedUnitNetValue\": 0,\r\n \"proposedNetValue\": 0,\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"No negotiated\"\r\n },\r\n \"allowFlexNegotiation\": true\r\n },\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"cutItems\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 17,\r\n \"productName\": \"Product 02\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 2,\r\n \"description\": \"Price not registered\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 02\",\r\n \"isClosedBoxProduct\": false,\r\n \"isPromotionRequirementProduct\": false\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Embedded\"\r\n },\r\n \"productCode\": 22,\r\n \"productName\": \"Product 03\",\r\n \"quantity\": 1,\r\n \"cutReason\": {\r\n \"id\": 8,\r\n \"description\": \"Discontinued product\"\r\n },\r\n \"unitTableValue\": 0,\r\n \"unitMarketValue\": 0,\r\n \"isMaterialKit\": false,\r\n \"productDescription\": \"Product 03\",\r\n \"isClosedBoxProduct\": false, \r\n \"isPromotionRequirementProduct\": false\r\n }\r\n ],\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 7,\r\n \"description\": \"Reserved\",\r\n \"dateCreated\": \"2020-11-13T16:24:05.197Z\"\r\n },\r\n \"allRewardsPromotion\": false,\r\n \"paymentPlans\": {\r\n \"administrateTax\": 0,\r\n \"code\": 17,\r\n \"contingentPaymentPlans\": [\r\n {\r\n \"code\": 37,\r\n \"name\": \"Card -PgE No- 3x\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1,\r\n two,\r\n 3\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\" \r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"administrateTax\": 0,\r\n \"contingentPaymentPlans\": [],\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n {\r\n \"code\": 61,\r\n \"name\": \"Money -Post\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 1,\r\n \"description\": \"Check credit\"\r\n },\r\n \"paymentInfo\": [ \r\n {\r\n \"installmentsQuantity\": 1,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 11,\r\n \"description\": \"In Kind\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"administrateTax\": 0,\r\n \"contingentPaymentPlans\": [],\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\" \r\n }\r\n }\r\n ],\r\n \"creditTreatment\": {\r\n \"description\": \"Ignore credit - does not consume credit\",\r\n \"id\": 3\r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"Currency(BRL)\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1] ,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"In Kind\",\r\n \"id\": 11\r\n },\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"type\": {\r\n \"description\": \"Prepaid\",\r\n \"id\": 1\r\n }\r\n },\r\n \"acquiredPromotion\": [\r\n {\r\n \"code\": 568,\r\n \"deliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3, \r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Product code 1\",\r\n \"destination\": {\r\n \"id\": 1,\r\n \"description\": \"Reseller\"\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"itemOrderDeliveryDiscountPromotion\": [\r\n {\r\n \"discount\": 10,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Percentage Discount\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [\r\n { \r\n \"points\": 100,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Miles\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": 2147483647,\r\n \"rewards\": [\r\n {\r\n \"discount\": 3,\r\n \"isGiftToChoose\": false,\r\n \"isMaterialKit\": true,\r\n \"productCode\": 1,\r\n \"productDescription\": \"Product Kit Home - 1\",\r\n \"productName\": \"Product Kit Home - 1\",\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Absolute discount\"\r\n }, \r\n \"suggest\": true,\r\n \"title\": \"Promo Scenario 01\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"PR\",\r\n \"addressLevel2\": \"CURITIBA\",\r\n \"addressLevel3\": \"SANTA CÂNDIDA\",\r\n \"addressLevel4\": \"RUA IZIDORO WOSCH\",\r\n \"areaCode\": \"82650-500\",\r\n \"externalStructureCode\": \"\",\r\n \"formattedAddress\": \"RUA IZIDORO WOSCH 491 - SANTA CÂNDIDA - CURITIBA - PR - BRAZIL - CEP: 82650-500\",\r\n \"number\": \"491\",\r\n \"people\": {\r\n \"code\": 216,\r\n \"name\": \"ADRIANO TEST\"\r\n },\r\n \"readOnly\": true, \r\n \"regionCode\": 316220,\r\n \"selected\": true,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n }\r\n },\r\n \"deliveryOption\": {\r\n \"code\": 1,\r\n \"description\": \"PAC -PR\",\r\n \"name\": \"PAC- PR\",\r\n \"scheduledDate\": \"2020-12-02T03:00:00Z\",\r\n \"scheduledDeliveryType\": {\r\n \"id\": 0,\r\n \"description\": \"Normal\"\r\n },\r\n \"selected\": true,\r\n \"term\": 8,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"value\": 10 \r\n },\r\n \"partialPromotions\": [\r\n {\r\n \"code\": 577,\r\n \"description\": \"Products: 7,8,9,10\",\r\n \"destination\": {\r\n \"description\": \"Reseller\",\r\n \"id\": 1\r\n },\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"requirements\":\r\n [\r\n {\r\n \"description\": \"Product 8\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 9500,\r\n \"productCode\": 8,\r\n \"productDescription\": \"Product 8\",\r\n \"productName\": \"Product 8\",\r\n \"unityPrice\": 95\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 9\",\r\n \"logicOperator\": {\r\n \"description\": \"And\",\r\n \"id\": 1\r\n },\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 3000,\r\n \"productCode\": 9,\r\n \"productDescription\": \"Product 9\",\r\n \"productName\": \"Product 9\",\r\n \"unityPrice\": 30\r\n },\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n },\r\n {\r\n \"description\": \"Product 10\",\r\n \"missingValue\": 1,\r\n \"productRequired\": {\r\n \"isKit\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"points\": 6700,\r\n \"pricePerUnitMeasurement\": 33.5,\r\n \"productCode\": 10,\r\n \"productDescription\": \"\",\r\n \"productName\": \"Product 10\",\r\n \"quantityUnitMeasurement\": 2,\r\n \"unitMeasurementType\": {\r\n \"description\": \"Box\",\r\n \"id\": 2\r\n },\r\n \"unityPrice\": 67,\r\n \"valueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n }\r\n }\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Scenario 5\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [\r\n {\r\n \"administrateTax\": 2,\r\n \"code\": 19,\r\n \"creditTreatment\": {\r\n \"description\": \"Check credit\",\r\n \"id\": 1 \r\n },\r\n \"externalPaymentMethod\": {\r\n \"description\": \"No\",\r\n \"id\": 0\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"minimumInstallmentAmount\": 0,\r\n \"name\": \"5x\",\r\n \"paymentInfo\": [\r\n {\r\n \"installments\": [1, 2, 3, 4, 5],\r\n \"installmentsQuantity\": 5\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"description\": \"Boleto\",\r\n \"id\": 1 \r\n },\r\n \"productCode\": 21,\r\n \"showCreditConsumptionData\": {\r\n \"description\": \"Yes\",\r\n \"id\": 1\r\n },\r\n \"type\": {\r\n \"description\": \"Postpaid\",\r\n \"id\": 2\r\n }\r\n }\r\n ],\r\n \"representative\": {\r\n \"representativeCode\": 216\r\n },\r\n \"rewardsToChoosePromotions\": [\r\n {\r\n \"chosenDiscount\": true,\r\n \"chosenProducts\": false,\r\n \"code\": 578,\r\n \"description\": \"Gift Or Discount Promotion Test\",\r\n \"destination\": {\r\n \"description\": \"Dealer\",\r\n \"id\": 1\r\n },\r\n \"discountDescription\": \"2 - Order\",\r\n \"discountNumber\": 2,\r\n \"discountToChoose\": [\r\n {\r\n \"auxiliaryDescription\": \"\",\r\n \"code\": 0,\r\n \"discountTargetType\": {\r\n \"description\": \"Order\",\r\n \"id\": 4\r\n },\r\n \"isMaterialKit\": false,\r\n \"rewardType\": {\r\n \"description\": \"Percentage Discount\",\r\n \"id\": 3\r\n },\r\n \"value\": 10\r\n }\r\n ],\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"giftItemNumber\": 1,\r\n \"giftNumber\": 1,\r\n \"giftValue\": 6,\r\n \"giftValueType\": {\r\n \"description\": \"Items\",\r\n \"id\": 1\r\n },\r\n \"isCupomPromotion\": false,\r\n \"message\": \"\",\r\n \"orderExhibition\": 2147483647,\r\n \"productsToChoose\": [\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 6,\r\n \"productDescription\": \"Product 6\",\r\n \"productName\": \"Product 6\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 50,\r\n \"productDescription\": \"Product 50\",\r\n \"productName\": \"Product 50\",\r\n \"unavailable\": true,\r\n \"value\": 1\r\n },\r\n {\r\n \"chosenQuantity\": 0,\r\n \"isMaterialKit\": false,\r\n \"isReorderAllowed\": false,\r\n \"productCode\": 178,\r\n \"productDescription\": \"Product 178\",\r\n \"productName\": \"Product 178\",\r\n \"unavailable\": false,\r\n \"value\": 1\r\n }\r\n ],\r\n \"suggest\": true,\r\n \"title\": \"Promotion Test Freebie Or Discount\",\r\n \"unavaiableDiscount\": false\r\n }\r\n ],\r\n \"totals\": {\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"checkingAccountOriginalValue\": -39.87,\r\n \"checkingAccountTotalValue\": -39.87,\r\n \"checkingAccountValue\": -39.87,\r\n \"collectionFee\": 0,\r\n \"commissionValue\": -61.8,\r\n \"creditCheckingAccountValue\": 39.87,\r\n \"debitCheckingAccountValue\": 0,\r\n \"deliveryTax\": 10,\r\n \"negotiationDiscount\": 0,\r\n \"productsValue\": 206,\r\n \"promotionDiscount\": 0,\r\n \"simulatedNetValue\": 14420,\r\n \"taxesValue\": 0,\r\n \"totalProductValueWithoutDiscount\": 206,\r\n \"totalValue\": 114.33,\r\n \"totalValueWithoutDiscount\": 114.33\r\n },\r\n \"unavailablePromotions\": [\r\n {\r\n \"code\": 575,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"isCupomPromotion\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": false,\r\n \"title\": \"Promo test\"\r\n }\r\n ],\r\n \"validPromotion\": [\r\n {\r\n \"number\": 6,\r\n \"productCode\": 8,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 774,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": false,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 1\r\n },\r\n {\r\n \"number\": 11,\r\n \"productCode\": 178,\r\n \"productName\": \"Product 8\",\r\n \"promotion\": {\r\n \"code\": 781,\r\n \"display\": true,\r\n \"displayMissingItemsToWin\": true,\r\n \"orderExhibition\": 2147483647,\r\n \"suggest\": true,\r\n \"title\": \"Promocao 2701 Qt 10 Product 14\"\r\n },\r\n \"quantity\": 2\r\n } \r\n ],\r\n \"promotionReorderCutItems\": [],\r\n \"deliveryInformation\": {\r\n \"carrierCode\": 213,\r\n \"carrierName\": \"CARRIER X\",\r\n \"originalScheduledDeliveryDate\": \"2020-12-02T00:00:00Z\",\r\n \"scheduledDeliveryDate\": \"2020-12-02T00:00:00Z\"\r\n },\r\n \"withdrawalsOptions\": {\r\n \"deliveryOptionCode\": 1\r\n }\r\n }"},{"id":"c932d0b9-ab96-48ea-a492-f11159dd174a","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/closed","host":["{{baseUrl}}"],"path":["api","orders",":id","closed"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Order number\",\r\n \"businessInformation\": { // Business Information\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"minimumPointsQuantity\": \"Minimum order value (in points or currency) so that the capture can be completed\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Name\",\r\n \"functionCode\": \"Person&#39;s Function Code\",\r\n \"simulatedValue\": \"Simulated order value\",\r\n \"simulatedPoints\": \"Simulated value of points that the owner of the order currently has\",\r\n \"simulatedOrderPoints\": \"Simulated order point value\",\r\n \"simulatedValueProfitabilityGifts\":\"Total profit forecast from order gifts\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order should be picked up at a distribution center\",\r\n \"minimumPointsQuantityConsideredOrder\": \"Minimum value (in points or currency) reached at the time of capture\", // Always returns an integer value. If the amount is to be converted to currency, a division is performed by 100\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Allows you to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\",\r\n \"flexBalanceAvailable\": \"Available flex budget amount\",\r\n \"flexBalanceAmountConsumed\": \"Amount of flex budget consumed in the order\",\r\n \"flexBalanceUpdatedAvailable\": \"Updated amount of available flex budget\",\r\n \"proposedNetValue\": \"Proposed trading value\",\r\n \"allowFlexNegotiation\": \"Allows the user to use flex budget\" \r\n },\r\n \"businessStructure\": { // Business Structure\r\n \"businessStructureCode\": \"Business Structure Code\"\r\n },\r\n \"items\": [ // List of items included in the order\r\n {\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"associatedItemOrigin\": { // Origin of associated item - Possible values in glossary (Embedded Item Origins)\r\n \"id\": \"Source code of associated item\",\r\n \"description\": \"Description of the associated item&#39;s origin\"\r\n },\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"origin\": { // Item Origin - Possible Glossary Values (Product Origins)\r\n \"id\": \"Item source code\",\r\n \"description\": \"Description of the item&#39;s origin\"\r\n },\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"associatedItemOriginDetails\": { // Embedded Item Origin Details\r\n \"origin\": { // Origin of associated item - Possible values in glossary (Origins of Embedded Item)\r\n \"id\": \"Embedded item source code\",\r\n \"description\": \"Description of the embedded item&#39;s origin\"\r\n },\r\n \"promotionCode\": \"Promotion code\",\r\n \"promotionDescription\": \"Description of the promotion\",\r\n \"order\": \"Order\",\r\n \"collectionDate\": \"Date of collection\",\r\n \"orderCycle\": \"Capture cycle\",\r\n \"programPointsCode\": \"Point program code\",\r\n \"programPointsDescription\": \"Description of points program\",\r\n \"notificationCode\": \"Notification code\",\r\n \"productCode\": \"Embedded product code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"unitMeasurementType\": { // Type of unit of measure - Possible values in glossary (Units of Measure for Product)\r\n \"id\": \"Unit of measurement code\",\r\n \"description\": \"Description of the unit of measure\"\r\n },\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\",\r\n \"flexNegotiation\": { // Product price negotiation\r\n \"minValue\": \"Minimum value the product must have\",\r\n \"maxValue\": \"Maximum value the product should have\",\r\n \"initialUnitNetValue\": \"Initial net unit value of the product\",\r\n \"proposedUnitNetValue\": \"Proposed Net Unit Value\",\r\n \"proposedNetValue\": \"Proposed Net Value\" ,\r\n \"status\": { // Product Price Negotiation Status - Possible values in the glossary (Product Value Negotiation Status)\r\n \"id\": \"Negotiation status code\",\r\n \"description\": \"Description of trading status\"\r\n },\r\n \"allowFlexNegotiation\": \"Indicates whether the user can negotiate the product&#39;s value\"\r\n },\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"cutItems\": [ // Cut Items\r\n {\r\n \"type\": { // Type of item clipped - Possible values in glossary (Types of item clipped)\r\n \"id\": \"Cut item type code\",\r\n \"description\": \"Description of cropped item type\"\r\n },\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\",\r\n \"cutReason\": { // Cut Reason - Possible Glossary Values (Product Cut Reasons)\r\n \"id\": \"Cut ratio code\",\r\n \"description\": \"Description of the reason of cut\"\r\n },\r\n \"unitTableValue\": \"Unit table value\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productDescription\": \"Product description\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\"\r\n }\r\n ],\r\n \"externalPreAuthorization\": \"Indicates if the order has previous external authorization\",\r\n \"orderBusinessStatus\": { // Order business status - Possible values in glossary (Order Business Status)\r\n \"code\": \"Order status code\",\r\n \"description\": \"Description of the commercial status of the order\",\r\n \"dateCreated\": \"Order creation date\",\r\n \"canChangeOrderPaymentPlan\": \"Indicates whether the funding method can change the payment plan after order completion\",\r\n \"isPendingWaitingCreditCardInfo\": \"Indicates if the application is waiting to collect data from a credit card\",\r\n \"orderPendings\": [ // Pending list that the order has to be approved, continuing the flow\r\n {\r\n \"code\": \"Pending code\",\r\n \"description\": \"Description of to-do\"\r\n }\r\n ]\r\n },\r\n \"paymentPlans\": { // Default payment plan chosen for the order\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Payment plan code\",\r\n \"contingentPaymentPlans\": [], // List of contingency payment plans. If any problems occur with the plan chosen at the time of payment, these contingency plans will be activated\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for the marketing plan payment\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Description of settings\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n },\r\n \"acquiredPromotion\": [ // List of earned promotions\r\n {\r\n \"code\": \"Code of the earned promotion\",\r\n \"deliveryDiscountPromotion\": [ // List of promotions won by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"description\": \"Description of the achieved promotion\",\r\n \"destination\": { // Promotion destination - Possible values in glossary (Promotion destinations)\r\n \"id\": \"Destination code\",\r\n \"description\": \"Destination description\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Displays the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"itemOrderDeliveryDiscountPromotion\": [ // List of items with discounts earned by the selected delivery option\r\n {\r\n \"discount\": \"Discount\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"mileagePromotion\": [ // List of conquered promotions that generate points\r\n {\r\n \"points\": \"Amount of points earned\",\r\n \"type\": { // Type of award\r\n \"id\": \"Award Type Code\",\r\n \"description\": \"Description of award type\"\r\n }\r\n }\r\n ],\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"rewards\": [ // List of prizes awarded by the promotion\r\n {\r\n \"discount\": \"Discount granted\",\r\n \"isGiftToChoose\": \"Indicates if the prize is a gift\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"quantity\": \"Product quantity\"\r\n }\r\n ],\r\n \"type\": { // Award type of the won promotion - Possible values in the glossary (Promotion Award Types)\r\n \"id\": \"Type of promotion award\",\r\n \"description\": \"Description of promotion prize type\"\r\n },\r\n \"suggest\": \"Shows suggestions for promotions\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ], \r\n \"partialPromotions\": [ // List of promotions not yet reached\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"requirements\": // List of conditions for the promotion to be achieved\r\n [ \r\n {\r\n \"description\": \"Description of the condition of winning the promotion\",\r\n \"logicOperator\": { // Logical operator - Possible values in glossary (Logical Operators)\r\n \"description\": \"Description of the logical operator\",\r\n \"id\": \"Logical operator code\"\r\n },\r\n \"missingValue\": \"Value required for the condition to be satisfied\",\r\n \"productRequired\": { // Product required\r\n \"isKit\": \"Indicates if the product is a Kit\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"points\": \"Amount of points the product is worth\",\r\n \"productCode\": \"Product code required\",\r\n \"productDescription\": \"Product description required\",\r\n \"productName\": \"Required product name\",\r\n \"unityPrice\": \"Unit price of product required\"\r\n },\r\n \"valueType\": { // Value Type - Possible Glossary Values (Value Types)\r\n \"description\": \"Description of value type\",\r\n \"id\": \"Value type code\"\r\n }\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": [ // List of payment plans by product\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Code of payment plan by product\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Name of the plan payment\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"productCode\": \"Product code associated with payment plan\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Code of the configuration\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"representative\": { // Order owner\r\n \"representativeCode\": \"Order owner code\"\r\n },\r\n \"rewardsToChoosePromotions\": [ // List of available rewards\r\n {\r\n \"chosenDiscount\": \"Indicates that the user has chosen a discount\",\r\n \"chosenProducts\": \"Indicates the user has chosen products\",\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of promotion\",\r\n \"destination\": { // Destination of the promotion\r\n \"description\": \"Destination description\",\r\n \"id\": \"Destination code\"\r\n },\r\n \"discountDescription\": \"Discount description\",\r\n \"discountNumber\": \"Discount number\",\r\n \"discountToChoose\": [ // List of available discounts\r\n {\r\n \"auxiliaryDescription\": \"Auxiliary Description\",\r\n \"code\": \"Discount code\",\r\n \"discountTargetType\": { // Discount Target Type - Possible Glossary Values (Discount Target Types)\r\n \"description\": \"Description of target type\",\r\n \"id\": \"Target Type Code\"\r\n },\r\n \"isMaterialKit\": \"Indicates the material is a kit\", \r\n \"rewardType\": { // Reward Type - Possible Glossary Values (Reward Types)\r\n \"description\": \"Description of the type of award\",\r\n \"id\": \"Award Type Code\"\r\n },\r\n \"value\": \"Discount amount\"\r\n }\r\n ],\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"giftItemNumber\": \"Gift Item Number\",\r\n \"giftNumber\": \"Gift number\",\r\n \"giftValue\": \"Gift Value\",\r\n \"giftValueType\": { // Gift Value Type - Possible values in the glossary (Gift Value Types)\r\n \"description\": \"Description of type of gift value\",\r\n \"id\": \"Gift Value Type Code\"\r\n },\r\n \"isCupomPromotion\": \"Indicates that the promotion is obtained through a coupon\",\r\n \"message\": \"Message\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"productsToChoose\": [ // List of available products\r\n {\r\n \"chosenQuantity\": \"Chosen Quantity\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isReorderAllowed\": \"Indicates that the product can be incorporated into a future order if there is currently no stock\",\r\n \"productCode\": \"Product code\",\r\n \"productDescription\": \"Product description\",\r\n \"productName\": \"Product Name\",\r\n \"unavailable\": \"Indicates if the item is available\",\r\n \"value\": \"Product value\"\r\n }\r\n ],\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\",\r\n \"unavaiableDiscount\": \"Indicates if the discount is unavailable\"\r\n }\r\n ],\r\n \"totals\": { // Total order values\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it is possible to edit the residual checking account value\",\r\n \"checkingAccountOriginalValue\": \"Original value of residual current account\",\r\n \"checkingAccountTotalValue\": \"Total value of the residual current account\",\r\n \"checkingAccountValue\": \"Updated residual current account value\",\r\n \"collectionFee\": \"Payment Plan Charge Rate\",\r\n \"commissionValue\": \"Commission Value\",\r\n \"creditCheckingAccountValue\": \"Total amount available on credit account\",\r\n \"debitCheckingAccountValue\": \"Total amount available on debit account\",\r\n \"deliveryTax\": \"Delivery rate\",\r\n \"negotiationDiscount\": \"Negotiated discount\",\r\n \"productsValue\": \"Value of products\",\r\n \"promotionDiscount\": \"Promotion Discount\",\r\n \"simulatedNetValue\": \"Simulated net value\",\r\n \"taxesValue\": \"Value of taxes\",\r\n \"totalProductValueWithoutDiscount\": \"Total value of products without discount\",\r\n \"totalValue\": \"Total Value\",\r\n \"totalValueWithoutDiscount\": \"Total value without discount\"\r\n },\r\n \"unavailablePromotions\": [ // List of unavailable promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n }\r\n ],\r\n \"validPromotion\": [ // List of valid promotions for the order\r\n {\r\n \"number\": \"Valid promotion number\",\r\n \"productCode\": \"Product code that activates the promotion\",\r\n \"productName\": \"Name of the product that activates the promotion\",\r\n \"promotion\": { // Promotion settings\r\n \"code\": \"Promotion code\",\r\n \"display\": \"Indicates if the application displays the won promotion\",\r\n \"displayMissingItemsToWin\": \"Indicates if the application shows the missing items for a promotion to be won\",\r\n \"orderExhibition\": \"Orders the displayed promotions\",\r\n \"suggest\": \"Indicates whether the application shows the promotion as a suggestion that the person can win in the order\",\r\n \"title\": \"Promotion title\"\r\n },\r\n \"quantity\": \"Amount of product needed to win the promotion\"\r\n }\r\n ],\r\n \"deliveryAddress\": { // Delivery address. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n \"addressLevel0\": \"Name of the geographic structure referring to level 0 of the address\",\r\n \"addressLevel1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"addressLevel2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"addressLevel3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"addressLevel4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"areaCode\": \"Area Code\",\r\n \"externalStructureCode\": \"External Structure Code\",\r\n \"formattedAddress\": \"Formatted address\",\r\n \"number\": \"Number\",\r\n \"people\": { // Person associated with address\r\n \"code\": \"Code of the person associated with the address\",\r\n \"name\": \"Name of person associated with address\"\r\n },\r\n \"readOnly\": \"Cannot be edited; only consulted\",\r\n \"regionCode\": \"Region code\",\r\n \"selected\": true,\r\n \"type\": { // Address Type - Possible Glossary Values (Address Types) - In this scenario, only residential, business and delivery addresses are accepted. \r\n \"id\": \"Address type code\",\r\n \"description\": \"Description of address type\"\r\n }\r\n },\r\n \"deliveryOption\": { // Delivery mode\r\n \"code\": \"Delivery mode code\",\r\n \"description\": \"Description of delivery mode\",\r\n \"name\": \"Delivery mode name\",\r\n \"scheduledDate\": \"Scheduled delivery date\",\r\n \"scheduledDeliveryType\": { // Scheduled Delivery Type - Possible Glossary Values (Scheduled Delivery Types)\r\n \"id\": \"Scheduled delivery type code\",\r\n \"description\": \"Description of scheduled delivery type\"\r\n },\r\n \"selected\": \"Indicates if the delivery option is selected\",\r\n \"term\": \"Amount of days of delivery time\",\r\n \"type\": { // Delivery Type - Possible Glossary Values (Delivery Types)\r\n \"id\": \"Delivery type code\",\r\n \"description\": \"Description of delivery type\"\r\n },\r\n \"value\": \"Cost of delivery\"\r\n },\r\n \"deliveryInformation\": { // Delivery Information\r\n \"carrierCode\": \"Carrier Code\",\r\n \"carrierName\": \"Carrier Name\",\r\n \"originalScheduledDeliveryDate\": \"Original delivery date\",\r\n \"scheduledDeliveryDate\": \"Updated delivery date\"\r\n },\r\n \"withdrawalsOptions\": { // Withdrawals Options\r\n \"deliveryOptionCode\": \"Delivery Option Code\"\r\n },\r\n \"allRewardsPromotion\": \"Indicates if all available gifts have already been chosen\"\r\n }"}],"_postman_id":"885c89ea-aa8d-4201-9a2d-79664ce0fcdf"},{"name":"Validate pending payment","id":"8172afc2-77bd-4ba5-8aea-623e6f7c2461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/paymentInformationRequired","urlObject":{"path":["api","orders",":id","paymentInformationRequired"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"1d85cd64-1329-4c41-b88d-9b66a45327e7","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"9866b503-537b-404c-aec1-71ab5feeae79","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentInformationRequired","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentInformationRequired"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"cardOptions\": [ // List of credit card details\r\n {\r\n \"cardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"quantityOfInstallments\": [] // Quantity of installments\r\n }\r\n ],\r\n \"netValue\": \"Total value\",\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"id\": \"Code of payment method\",\r\n \"description\": \"Description of payment method\"\r\n },\r\n \"fraudPrevention\": { // Anti-fraud prevention information\r\n \"fingerPrint\": { \r\n \"app\": \"Application code responsible for anti-fraud analysis\",\r\n \"sessionID\": \"Order unique ID\",\r\n \"url\": \"URL of the application responsible for anti-fraud analysis\"\r\n }\r\n }\r\n }\r\n"},{"id":"7413b63a-6eec-47c3-8732-5c4262c19b14","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/paymentInformationRequired","host":["{{baseUrl}}"],"path":["api","orders",":id","paymentInformationRequired"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"cardOptions\": [\r\n {\r\n \"cardType\": {\r\n \"id\": \"1\",\r\n \"description\": \"Flag 1\"\r\n },\r\n \"quantityOfInstallments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"netValue\": 1677.05,\r\n \"paymentMode\": {\r\n \"id\": \"6\",\r\n \"description\": \"Card\"\r\n },\r\n \"fraudPrevention\": {\r\n \"fingerPrint\": {\r\n \"app\": \"Application X\",\r\n \"sessionID\": \"CJNF-HHDFN-3874NBYJD-F\",\r\n \"url\": \"https://example.com\"\r\n }\r\n }\r\n }\r\n"}],"_postman_id":"8172afc2-77bd-4ba5-8aea-623e6f7c2461"},{"name":"Register credit card information","id":"4a870f98-a701-4078-b0b9-d49da95b67d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"card","value":"{\"cardNumber\":\"<string>\"\"securityCode\":\"<string>\",\"cardHolder\":{\"name\":\"<string>\"\"phoneNumber\":\"<string>\",\"documentNumber\":\"<string>\"},\"expirationMonth\":\"<integer>\",\"expirationYear\":\"<integer>\",\"cardType\":\"<integer>\"}","description":"<p>Card information. </p>\n<ul>\n<li><code>cardNumber</code>: Card number;</li>\n<li><code>securityCode</code>: Security code;</li>\n<li><code>cardHolder</code>: Card owner:</li>\n<li><code>name</code>: Name;</li>\n<li><code>phoneNumber</code>: Phone number;</li>\n<li><code>documentNumber</code>: Document number;</li>\n<li><code>expirationMonth</code>: Expiration month;</li>\n<li><code>expirationYear</code>: Expiration year;</li>\n<li><code>cardType</code>: Flag.</li>\n</ul>\n"},{"key":"sessionID","value":"<string>","description":"<p>Unique order ID. Used for anti-fraud validations.</p>\n"},{"key":"paymentMode","value":"<integer>","description":"<p>Form of payment.</p>\n"},{"key":"amount","value":"<double>","description":"<p>Value.</p>\n"},{"key":"installments","value":"<integer>","description":"<p>Installments.</p>\n"},{"key":"urlReturn","value":"<string>","description":"<p>Return URL.</p>\n"},{"key":"appReturnDebit","value":"{\"application\":\"<string>\"\"parameters\":\"<string>\"}","description":"<p>Debit returned by the application. </p>\n<ul>\n<li><code>application</code>: Application;</li>\n<li><code>parameters</code>: Parameters.</li>\n</ul>\n"},{"key":"marketPayDate","value":"{\"externalPaymentMethod\":\"<integer>\",\"externalStoreIdentifier\":\"<string>\",\"externalPaymentResult\":\"<integer>\",\"application\":\"<string>\"\"parameters\":\"<string>\",\"paymentPlanType\":\"<integer>\"}","description":"<p>Paid Market Data. </p>\n<ul>\n<li><code>externalPaymentMethod</code>: External payment method;</li>\n<li><code>externalStoreIdentifier</code>: External store identifier;</li>\n<li><code>externalPaymentResult</code>: External payment result;</li>\n<li><code>application</code>: Application;</li>\n<li><code>parameters</code>: Parameters;</li>\n<li><code>paymentPlanType</code>: Payment plan type.</li>\n</ul>\n"}]},"url":"{{baseUrl}}/api/orders/:id/singlePayment","urlObject":{"path":["api","orders",":id","singlePayment"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"77b7763d-6c6a-4f0a-849d-441bb1fa9099","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"card","value":"{\"cardNumber\":\"<string>\"\"securityCode\":\"<string>\",\"cardHolder\":{\"name\":\"<string>\"\"phoneNumber\":\"<string>\",\"documentNumber\":\"<string>\"},\"expirationMonth\":\"<integer>\",\"expirationYear\":\"<integer>\",\"cardType\":\"<integer>\"}","description":"Card information. \n\n * `cardNumber`: Card number;\n * `securityCode`: Security code;\n * `cardHolder`: Card owner:\n * `name`: Name;\n * `phoneNumber`: Phone number;\n * `documentNumber`: Document number;\n * `expirationMonth`: Expiration month;\n * `expirationYear`: Expiration year;\n * `cardType`: Flag."},{"key":"sessionID","value":"<string>","description":"Unique order ID. Used for anti-fraud validations."},{"key":"paymentMode","value":"<integer>","description":"Form of payment."},{"key":"amount","value":"<double>","description":"Value."},{"key":"installments","value":"<integer>","description":"Installments."},{"key":"urlReturn","value":"<string>","description":"Return URL."},{"key":"appReturnDebit","value":"{\"application\":\"<string>\"\"parameters\":\"<string>\"}","description":"Debit returned by the application. \n\n * `application`: Application;\n * `parameters`: Parameters."},{"key":"marketPayDate","value":"{\"externalPaymentMethod\":\"<integer>\",\"externalStoreIdentifier\":\"<string>\",\"externalPaymentResult\":\"<integer>\",\"application\":\"<string>\"\"parameters\":\"<string>\",\"paymentPlanType\":\"<integer>\"}","description":"Paid Market Data. \n\n * `externalPaymentMethod`: External payment method;\n * `externalStoreIdentifier`: External store identifier;\n * `externalPaymentResult`: External payment result;\n * `application`: Application;\n * `parameters`: Parameters;\n * `paymentPlanType`: Payment plan type."}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/singlePayment","host":["{{baseUrl}}"],"path":["api","orders",":id","singlePayment"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"redirect","code":302,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4a870f98-a701-4078-b0b9-d49da95b67d7"}],"id":"15f9b280-27df-4980-93d5-28bcb13c7a91","description":"<p>When the order is finalized, its life cycle in fundraising ends, but depending on the payment method chosen, the order will remain pending, waiting for more information. </p>\n<p> <strong>Observation</strong>\n If a <a href=\"#7af2c07c-d293-4de8-8c54-534d55814f51\">payment with the forms \"13-A combine\" or \"14-Multiples\"</a> is entered, step 9 must be performed.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"78a175f1-cf59-4116-9d0d-0c5097fc40c7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6b92a7b3-26fb-4ad2-aab0-bae9f51ba0f9"}}],"_postman_id":"15f9b280-27df-4980-93d5-28bcb13c7a91"}],"id":"75eb5e1a-2003-4426-bd7c-80ca5bfd342d","description":"<p>At this stage the order will be finalized, or saved as a quote. </p>\n<p> <strong>Heads up</strong></p>\n<p> If the order is of type <strong>VI</strong> and some trading intention has been generated, it is necessary to confirm the intentions. This need is fully documented in the [Negotiate Item Value] step(#bf028b49-5df7-4da7-a567-228b53f17d54). </p>\n<h2 id=\"save-request-quote\">Save Request Quote</h2>\n<p> When finalizing the order, there is the option to save it as a quote. This generates a suggested purchase list with the items included and cancels the order. To do this, the application must <a href=\"#38861083-723a-472e-a030-f0a2f9c85d91\">request a name for the order from the user</a>. After user definition, the <a href=\"#ccca433b-63e0-4502-9920-82ba59f77f05\">budget must be generated</a>. </p>\n<h2 id=\"checkout\">Checkout</h2>\n<p> If the user agrees with the review of the order, the application must <a href=\"#91364cb9-f0bc-4570-a88f-e838534dc0c6\">finalize order</a>. </p>\n<h2 id=\"pos-request\">POS Request?</h2>\n<p> If the order is <strong>POS</strong>, the application must <a href=\"#91364cb9-f0bc-4570-a88f-e838534dc0c6\">complete the order</a> and proceed directly to [Step 9 - Payment Distribution](#afc6bc6f-7ce2 -49aa-a9f3-0f7f33fb047e). </p>\n<h2 id=\"ec-request\">EC Request?</h2>\n<p> If the order is of type <strong>EC</strong>, the application must follow an extra flow. </p>\n<p> Right after the order is completed, the application must check the value of the <code>isPendingWaitingCreditCardInfo</code> parameter. If it is equal to <code>true</code>, it indicates that the user chose to pay the order with a card, so the application must <a href=\"#f5ad0490-e448-4a3c-8a47-5b95fed3be16\">validate pending payment</a>. This will return the card information, from which data must be collected from the customer. After collecting these data, the application must <a href=\"#083ec857-a695-4d70-a26f-41c058bb98f8\">record card data</a>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"be949bb7-8418-47de-87fa-6e7fb2342f52"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5e7ae2f7-6608-482d-b26d-42585a111f4f"}}],"_postman_id":"75eb5e1a-2003-4426-bd7c-80ca5bfd342d"},{"name":"Step 9 - Payment Distribution","item":[{"name":"Consult multiple payment plans","id":"9def6f82-745c-414c-a16c-d474d85f2eee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans?collectionModeList={{collectionMode}}&modeProcessPresential=<boolean>&paymentPlansOrderCenter=<boolean>&includeOptions=AllPaymentPlans","description":"<p>This call is used to query the multiple payment plans available for an order. </p>\n<p> In this call, there are two scenarios: <strong>EC</strong>and<strong>PDV</strong>. So there are two examples for each scenario.</p>\n","urlObject":{"path":["api","orders",":id","multiplePaymentPlans"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Funding method code.</p>\n","type":"text/plain"},"key":"collectionModeList","value":"{{collectionMode}}"},{"description":{"content":"<p>Filters payment plans that are related to an external payment entity whose configured processing mode is in-person or non-presential. </p>\n<p> <em><code>false</code> (Default): default*<em>EC</em></em>;</p>\n<p> <em><code>true</code>: default*<em>POS</em></em>.</p>\n","type":"text/plain"},"key":"modeProcessPresential","value":"<boolean>"},{"description":{"content":"<p>Filters payment plans that are of the <code>order center</code> type. </p>\n<ul>\n<li><p><code>true</code>: Brings payment plans of type <code>central order</code>;</p>\n</li>\n<li><p><code>false</code>: Brings up payment plans that are not of the <code>order center</code> type;</p>\n</li>\n<li><p>If not sent: Brings all payment plans.</p>\n</li>\n</ul>\n","type":"text/plain"},"key":"paymentPlansOrderCenter","value":"<boolean>"},{"description":{"content":"<p>Only used in <strong>POS</strong>.</p>\n","type":"text/plain"},"key":"includeOptions","value":"AllPaymentPlans"}],"variable":[{"id":"9e85d323-b5c4-4d25-b1b7-0067608536ce","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"bfbfe3cb-c070-4cc8-8a17-8d444994a1d1","name":"Ok - EC","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans?collectionModeList={{collectionMode}}","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans"],"query":[{"key":"collectionModeList","value":"{{collectionMode}}","description":"**(Required)** Funding method code."},{"key":"modeProcessPresential","value":"<boolean>","description":"Filters payment plans that are related to an external payment entity whose configured processing mode is in-person or non-presential. \n\n *`false` (Default): default**EC**;\n\n *`true`: default**POS**.","disabled":true},{"key":"paymentPlansOrderCenter","value":"<boolean>","description":"Filters payment plans that are of the `order center` type. \n\n * `true`: Brings payment plans of type `central order`;\n\n * `false`: Brings up payment plans that are not of the `order center` type;\n\n * If not sent: Brings all payment plans.","disabled":true},{"key":"includeOptions","value":"AllPaymentPlans","description":"Only used in **POS**.","disabled":true}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"administrateTax\": 1.5,\n \"creditCardsAvailable\": [\n {\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 0,\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }\n },\n {\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 0,\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }\n },\n { \n \"creditCardType\": {\n \"id\": 3,\n \"description\": \"Bandria 3\"\n },\n \"installmentsQuantity\": 0,\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }\n },\n {\n \"creditCardType\": {\n \"id\": 4,\n \"description\": \"Bandria 4\"\n },\n \"installmentsQuantity\": 0,\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }\n }\n ],\n \"isOrderEditable\": false,\n \"maximumCredCardAmount\": 5,\n \"orderNumber\": 16276285,\n \"paymentPlansAvailable\": [\n {\n \"code\": 17,\n \"name\": \"Currency(BRL)\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 11,\n \"description\": \"In Kind\"\n }, \n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 24,\n \"name\": \"Debit Card\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\" \n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 10,\n \"description\": \"Debit Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"Not\"\n }\n },\n {\n \"code\": 25,\n \"name\": \"To match\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 1,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 8,\n \"description\": \"To match\"\n }, \n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 10,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 71,\n \"name\": \"prepay slip\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – no consumes credit\"\n },\n \"paymentInfo\": [\n {\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1,\n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 1,\n \"description\": \"Boleto\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 0,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": { \n \"id\": 0,\n \"description\": \"No\"\n }\n },\n {\n \"code\": 78,\n \"name\": \"Card x\",\n \"type\": {\n \"id\": 1,\n \"description\": \"Prepaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1, \n two,\n 3\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"externalPaymentMethod\": {\n \"id\": 0,\n \"description\": \"No\"\n },\n \"isBlocked\": false,\n \"marketingMessages\": [],\n \"administrateTax\": 1,\n \"minimumInstallmentAmount\": 0,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n }\n ],\n \"paymentDistributionRecords\": [\n {\n \"amount\": 1060.38,\n \"code\": 17,\n \"distributionCodeDetails\": 6527,\n \"creditCardsAvailable\": [\n {\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 0,\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }\n },\n {\n \"creditCardType\": {\n \"id\": 2,\n \"description\": \"Flag 2\"\n },\n \"installmentsQuantity\": 0,\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }\n },\n {\n \"creditCardType\": {\n \"id\": 3,\n \"description\": \"Bandria 3\"\n },\n \"installmentsQuantity\": 0,\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }\n },\n {\n \"creditCardType\": {\n \"id\": 4,\n \"description\": \"Bandria 4\"\n },\n \"installmentsQuantity\": 0,\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n }\n }\n ], \n \"installmentSelected\": 1,\n \"paymentPlanSelected\": {\n \"code\": 10,\n \"name\": \"Credit - Up to 3x S/J - EICC\",\n \"type\": {\n \"id\": 2,\n \"description\": \"Postpaid\"\n },\n \"creditTreatment\": {\n \"id\": 3,\n \"description\": \"Ignore credit – does not consume credit\"\n },\n \"paymentInfo\": [\n {\n \"paymentMode\": {\n \"id\": 6,\n \"description\": \"Card\"\n },\n \"creditCardType\": {\n \"id\": 1,\n \"description\": \"Flag 1\"\n },\n \"installmentsQuantity\": 3,\n \"installments\": [\n 1\n ]\n }\n ],\n \"paymentMode\": {\n \"id\": 9,\n \"description\": \"Other\"\n },\n \"externalPaymentMethod\": {\n \"id\": 2,\n \"description\": \"Other\"\n },\n \"isBlocked\": false,\n \"flagSelectionSystem\": true,\n \"installmentSelectionSystem\": true,\n \"marketingMessages\": [\n {\n \"priority\": 0,\n \"text\": \"Message when selecting the receiving plan\"\n }\n ],\n \"administrateTax\": 0, \n \"minimumInstallmentAmount\": 10,\n \"showCreditConsumptionData\": {\n \"id\": 0,\n \"description\": \"No\"\n }\n },\n \"points\": 13791,\n \"product\": {\n \"associatedItem\": false,\n \"associatedItemRequired\": false,\n \"blockedEditPaymentPlan\": false,\n \"checkingAccount\": 0,\n \"confirmAssociatedItemDeletion\": false,\n \"displayItemWithDiscountPromotion\": false,\n \"hasAppliedProfitabilityValueAddItem\": false,\n \"hasDiscountValue\": false,\n \"isBlockedEditQuantity\": false,\n \"isBloquedRemoveItem\": false,\n \"isClosedBoxProduct\": false, \n \"isMaterialKit\": false,\n \"isPromotionRequirementProduct\": false,\n \"multipleSaleRestriction\": 0,\n \"number\": 2,\n \"productCode\": 3,\n \"productName\": \"Product Kit Home - 3\",\n \"profitabilityValue\": 0,\n \"quantity\": 6,\n \"simulatedValueProfitability\": 0,\n \"simulatedValueProfitabilityUnit\": 0,\n \"unitKitPointsQuantity\": 0,\n \"unitMarketValue\": 176.73,\n \"unitMultilevelPointsQuantity\": 0,\n \"unitNetValue\": 176.73,\n \"unitPointsQuantity\": 17673,\n \"unitTableValue\": 200.02\n },\n \"statusPayment\": {\n \"approved\": false, \n \"cancel\": false,\n \"failed\": false,\n \"notProcess\": false,\n \"numberPayment\": 535,\n \"refused\": false,\n \"waitingApproved\": true,\n \"waitingCancel\": false\n }\n }\n ]\n }"},{"id":"64d7362d-7485-4b15-82ef-97950efbf37b","name":"Ok - POS","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans?collectionModeList={{collectionMode}}&modeProcessPresential=false&paymentPlansOrderCenter=true&includeOptions=AllPaymentPlans","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans"],"query":[{"key":"collectionModeList","value":"{{collectionMode}}","description":"**(Required)** Funding method code."},{"key":"modeProcessPresential","value":"false","description":"Filters payment plans that are related to an external payment entity whose configured processing mode is in-person or non-presential. \n\n *`false` (Default): default**EC**;\n\n *`true`: default**POS**."},{"key":"paymentPlansOrderCenter","value":"true","description":"Filters payment plans that are of the `order center` type. \n\n * `true`: Brings payment plans of type `central order`;\n\n * `false`: Brings up payment plans that are not of the `order center` type;\n\n * If not sent: Brings all payment plans."},{"key":"includeOptions","value":"AllPaymentPlans","description":"Only used in **POS**."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"administrateTax\": 1.5,\r\n \"creditCardsAvailable\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n { \r\n \"creditCardType\": {\r\n \"id\": 3,\r\n \"description\": \"Bandria 3\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 4,\r\n \"description\": \"Bandria 4\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n }\r\n ],\r\n \"isOrderEditable\": false,\r\n \"maximumCredCardAmount\": 5,\r\n \"orderNumber\": 16276285,\r\n \"paymentPlansAvailable\": [\r\n {\r\n \"code\": 17,\r\n \"name\": \"Currency(BRL)\",\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Prepaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"installmentsQuantity\": 1,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 11,\r\n \"description\": \"In Kind\"\r\n }, \r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n {\r\n \"code\": 24,\r\n \"name\": \"Debit Card\",\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Prepaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\" \r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"installmentsQuantity\": 1,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 10,\r\n \"description\": \"Debit Card\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"Not\"\r\n }\r\n },\r\n {\r\n \"code\": 25,\r\n \"name\": \"To match\",\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Prepaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"installmentsQuantity\": 1,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 8,\r\n \"description\": \"To match\"\r\n }, \r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"administrateTax\": 10,\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n {\r\n \"code\": 71,\r\n \"name\": \"prepay slip\",\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Prepaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – no consumes credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1,\r\n two,\r\n 3\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 1,\r\n \"description\": \"Boleto\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": { \r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n {\r\n \"code\": 78,\r\n \"name\": \"Card x\",\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Prepaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1, \r\n two,\r\n 3\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"administrateTax\": 1,\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n }\r\n ],\r\n \"paymentPlans\": [\r\n { \r\n \"code\": 71,\r\n \"name\": \"prepay slip\",\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Prepaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1,\r\n two,\r\n 3\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 1,\r\n \"description\": \"Boleto\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n {\r\n \"code\": 78,\r\n \"name\": \"Card x\",\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Prepaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\" \r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1,\r\n two,\r\n 3\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"isBlocked\": false,\r\n \"marketingMessages\": [], \r\n \"administrateTax\": 1,\r\n \"minimumInstallmentAmount\": 0,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n }\r\n ],\r\n \"paymentDistributionRecords\": [\r\n {\r\n \"amount\": 1060.38,\r\n \"code\": 17,\r\n \"distributionCodeDetails\": 6527,\r\n \"creditCardsAvailable\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 3,\r\n \"description\": \"Bandria 3\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n { \r\n \"creditCardType\": {\r\n \"id\": 4,\r\n \"description\": \"Bandria 4\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n }\r\n ],\r\n \"installmentSelected\": 1,\r\n \"paymentPlanSelected\": {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n \"points\": 13791,\r\n \"product\": {\r\n \"associatedItem\": false,\r\n \"associatedItemRequired\": false,\r\n \"blockedEditPaymentPlan\": false,\r\n \"checkingAccount\": 0,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"hasDiscountValue\": false,\r\n \"isBlockedEditQuantity\": false,\r\n \"isBloquedRemoveItem\": false,\r\n \"isClosedBoxProduct\": false,\r\n \"isMaterialKit\": false,\r\n \"isPromotionRequirementProduct\": false,\r\n \"multipleSaleRestriction\": 0,\r\n \"number\": 2,\r\n \"productCode\": 3,\r\n \"productName\": \"Product Kit Home - 3\",\r\n \"profitabilityValue\": 0,\r\n \"quantity\": 6,\r\n \"simulatedValueProfitability\": 0,\r\n \"simulatedValueProfitabilityUnit\": 0, \r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMarketValue\": 176.73,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"unitNetValue\": 176.73,\r\n \"unitPointsQuantity\": 17673,\r\n \"unitTableValue\": 200.02\r\n },\r\n \"statusPayment\": {\r\n \"approved\": false,\r\n \"cancel\": false,\r\n \"failed\": false,\r\n \"notProcess\": false,\r\n \"numberPayment\": 535,\r\n \"refused\": false,\r\n \"waitingApproved\": true,\r\n \"waitingCancel\": false\r\n }\r\n }\r\n ]\r\n }"},{"id":"f065a696-b722-404c-a542-b1f97fe15419","name":"Response Parameter Details - EC","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans?collectionModeList={{collectionMode}}","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans"],"query":[{"key":"collectionModeList","value":"{{collectionMode}}","description":"**(Required)** Funding method code."},{"key":"modeProcessPresential","value":"<boolean>","description":"Filters payment plans that are related to an external payment entity whose configured processing mode is in-person or non-presential. \n\n *`false` (Default): default**EC**;\n\n *`true`: default**POS**.","disabled":true},{"key":"paymentPlansOrderCenter","value":"<boolean>","description":"Filters payment plans that are of the `order center` type. \n\n * `true`: Brings payment plans of type `central order`;\n\n * `false`: Brings up payment plans that are not of the `order center` type;\n\n * If not sent: Brings all payment plans.","disabled":true},{"key":"includeOptions","value":"AllPaymentPlans","description":"Only used in **POS**.","disabled":true}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"administrateTax\": \"Administrative tax\",\n \"creditCardsAvailable\": [ // List of available credit cards\n {\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\n \"id\": \"flag code\",\n \"description\": \"flag description\"\n },\n \"installmentsQuantity\": \"Amount of installments\",\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\n \"description\": \"Description of payment method\",\n \"id\": \"Payment method code\"\n }\n }\n ],\n \"isOrderEditable\": \"Indicates whether the order can be edited\",\n \"maximumCredCardAmount\": \"Maximum number of credit cards for payment distribution\",\n \"orderNumber\": \"Order number\",\n \"paymentPlansAvailable\": [ // Payment Plans Available\n {\n \"administrateTax\": \"Administrative tax\",\n \"code\": \"Payment plan code\",\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\n \"description\": \"Description of credit treatment\",\n \"id\": \"Credit handling code\"\n },\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\n \"description\": \"Description of external payment method\",\n \"id\": \"Payment method code external\"\n },\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\n \"name\": \"Payment plan name\",\n \"paymentInfo\": [ // Payment information\n {\n \"installments\": [], // Installments\n \"installmentsQuantity\": \"Number of installments\"\n }\n ],\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\n \"description\": \"Description of payment method\",\n \"id\": \"Payment method code\" \n },\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\n \"description\": \"Configuration description\",\n \"id\": \"Configuration code\"\n },\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\n \"description\": \"Description of payment plan type\",\n \"id\": \"Payment plan type code\"\n }\n }\n ],\n \"paymentDistributionRecords\": [ // List of payment distribution records\n {\n \"amount\": \"Payment amount\",\n \"code\":\"Payment plan code\", \n \"distributionCodeDetails\": \"Payment distribution identifier code\",\n \"creditCardsAvailable\": [ // List of available credit cards\n {\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\n \"id\": \"flag code\",\n \"description\": \"flag description\"\n },\n \"installmentsQuantity\": \"Amount of installments\",\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\n \"description\": \"Description of payment method\",\n \"id\": \"Payment method code\"\n }\n }\n ],\n \"installmentSelected\": \"Number of Installments selected\",\n \"paymentPlanSelected\": { // Payment Plan Selected\n \"code\": \"Code of selected payment plan\",\n \"name\": \"Name of selected payment plan\",\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\n \"description\": \"Description of payment plan type\",\n \"id\": \"Payment plan type code\"\n },\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\n \"description\": \"Description of credit treatment\",\n \"id\": \"Credit handling code\"\n },\n \"paymentInfo\": [ // Payment Information\n {\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\n \"description\": \"Description of payment method\",\n \"id\": \"Payment method code\"\n },\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\n \"id\": \"flag code\",\n \"description\": \"flag description\"\n },\n \"installments\": [], // Installments\n \"installmentsQuantity\": \"Number of installments\"\n }\n ],\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\n \"id\": \"Description of payment method\",\n \"description\": \"Code of the form of payment\"\n },\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\n \"description\": \"Description of external payment method\",\n \"id\": \"External payment method code\"\n },\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\n \"flagSelectionSystem\": \"Indicates whether it is necessary to inform the flag in the internal application or in the external payment broker\",\n \"installmentSelectionSystem\": \"Indicates whether it is necessary to inform the amount of installments in the internal application or in the external payment broker\",\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\n \"administrateTax\": \"Tax administrative\",\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\n \"description\": \"Configuration description\",\n \"id\": \"Configuration code\"\n }\n },\n \"points\": \"Points that represent the payment amount\",\n \"product\": { // Product associated with payment\n \"associatedItem\": \"Indicates if the product is associated with another\",\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\n \"bloquedEditPaymentPlan\": \"Indicates whether editing the product payment plan is blocked\",\n \"checkingAccount\": \"Account value residual current prorated by the product\",\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\n \"isMaterialKit\": \"Indicates the material is a kit\",\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\", \n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // It must be included in multiples of x,\n \"number\": \"Item number\",\n \"productCode\": \"Product code\",\n \"productName\": \"Product Name\",\n \"profitabilityValue\": \"Profitability Value\",\n \"quantity\": \"Quantity of item on order\",\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\",\n \"unitMarketValue\": \"Unit value practiced\",\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\", \n \"unitNetValue\": \"Net unit value\",\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\n \"unitTableValue\": \"Unit Table Value\"\n },\n \"statusPayment\": { // Payment status\n \"approved\": \"Indicates if the payment was approved\",\n \"cancel\": \"Indicates if the payment was cancelled\",\n \"failed\": \"Indicates if the payment failed\",\n \"notProcess\": \"Indicates if the payment was not processed\",\n \"refused\": \"Indicates if the payment was refused\",\n \"waitingApproved\": \"Indicates if the payment is awaiting approval\",\n \"waitingCancel\": \"Indicates if the payment is waiting to be canceled\"\n }\n }\n ] \n }"},{"id":"f070a99b-16dc-4abd-b717-8a9c48c87817","name":"Response Parameter Details - POS","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans?collectionModeList={{collectionMode}}&modeProcessPresential=false&paymentPlansOrderCenter=true&includeOptions=AllPaymentPlans","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans"],"query":[{"key":"collectionModeList","value":"{{collectionMode}}","description":"**(Required)** Funding method code."},{"key":"modeProcessPresential","value":"false","description":"Filters payment plans that are related to an external payment entity whose configured processing mode is in-person or non-presential. \n\n *`false` (Default): default**EC**;\n\n *`true`: default**POS**."},{"key":"paymentPlansOrderCenter","value":"true","description":"Filters payment plans that are of the `order center` type. \n\n * `true`: Brings payment plans of type `central order`;\n\n * `false`: Brings up payment plans that are not of the `order center` type;\n\n * If not sent: Brings all payment plans."},{"key":"includeOptions","value":"AllPaymentPlans","description":"Only used in **POS**."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"administrateTax\": \"Administrative tax\",\r\n \"creditCardsAvailable\": [ // List of available credit cards\r\n {\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installmentsQuantity\": \"Amount of installments\",\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n }\r\n }\r\n ],\r\n \"isOrderEditable\": \"Indicates whether the order of payments can be changed\",\r\n \"maximumCredCardAmount\": \"Maximum number of credit cards for payment distribution\",\r\n \"orderNumber\": \"Order number\",\r\n \"paymentPlansAvailable\": [ // Payment Plans Available\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Payment plan code\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"Payment method code external\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\" \r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"paymentPlans\": [ // Extra payment plans available\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Payment plan code\", \r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan) \r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"paymentDistributionRecords\": [ // List of payment distribution records \r\n {\r\n \"amount\": \"Payment amount\",\r\n \"code\":\"Payment plan code\",\r\n \"distributionCodeDetails\": \"Payment distribution identifier code\",\r\n \"creditCardsAvailable\": [ // List of available credit cards\r\n {\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installmentsQuantity\": \"Amount of installments\",\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Code of the form of payment\"\r\n }\r\n }\r\n ],\r\n \"installmentSelected\": \"Number of selected installments\",\r\n \"paymentPlanSelected\": { // Payment Plan Selected\r\n \"code\": \"Code of selected payment plan\",\r\n \"name\": \"Name of selected payment plan\",\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n },\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Code of treatment credit\"\r\n },\r\n \"paymentInfo\": [ // Payment Information\r\n {\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment method - Possible values in glossary (Payment Methods - Payment Plan)\r\n \"id\": \"Description of payment method\",\r\n \"description\": \"Payment method code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"flagSelectionSystem\": \"Indicates whether it is necessary to inform the flag in the internal application or in the external payment broker\",\r\n \"installmentSelectionSystem\": \"Indicates whether it is necessary to inform the amount of installments in the internal application or in the external broker of payment\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"administrateTax\": \"Administrative tax\",\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n }\r\n },\r\n \"points\": \"Points that represent the payment amount\",\r\n \"product\": { // Product associated with payment\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\", \r\n \"bloquedEditPaymentPlan\": \"Indicates whether editing the product payment plan is blocked\",\r\n \"checkingAccount\": \"Residual checking account value prorated by the product\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\", \r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // It must be included in multiples of x,\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\", \r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitTableValue\": \"Unit Table Value\"\r\n },\r\n \"statusPayment\": { // Payment status\r\n \"approved\": \"Indicates if the payment was approved\",\r\n \"cancel\": \"Indicates if the payment was cancelled\",\r\n \"failed\": \"Indicates if the payment failed\",\r\n \"notProcess\": \"Indicates if the payment was not processed\",\r\n \"refused\": \"Indicates if the payment was refused\",\r\n \"waitingApproved\": \"Indicates if the payment awaits approval\",\r\n \"waitingCancel\": \"Indicates if the payment is waiting to be canceled\"\r\n }\r\n }\r\n ]\r\n }"}],"_postman_id":"9def6f82-745c-414c-a16c-d474d85f2eee"},{"name":"Select multiple payment plan","id":"63631cc0-239d-4d7e-8cc2-ba7331f196c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"distributionCodeDetails","value":"<integer>","description":"<p>Payment distribution identifier code.</p>\n"},{"key":"amount","value":"<integer>","description":"<p>Payment amount.</p>\n","type":"text"},{"key":"paymentPlanCodeSelected","value":"<integer>","description":"<p>Selected payment plan code.</p>\n","type":"text"},{"key":"productCode","value":"<integer>","description":"<p>Product code associated with the payment plan.</p>\n","type":"text"},{"key":"creditCardFlagSelected","value":"<integer>","description":"<p>Selected card flag.</p>\n","type":"text"},{"key":"installment Selected","value":"<integer>","description":"<p>Number of selected parcels.</p>\n","type":"text"},{"key":"isTicketDistributionPlan","value":"<boolean>","description":"<p>Indicates if the payment method does not have a brand.</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans","description":"<p>This call is used to select a multiple payment method. </p>\n<p> <strong>Heads up</strong></p>\n<p> The parameters documented in the call body make up just one object. The API, however, is configured to receive a list of objects. Therefore, the content of the call body must be sent in a JSON file.</p>\n","urlObject":{"path":["api","orders",":id","multiplePaymentPlans"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"ff23f20a-3231-4d71-b67f-96ef50373d81","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Request code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"be4c2ed3-3285-4376-83ba-3ffe56e7c5a7","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"distributionCodeDetails","value":"<integer>","description":"Payment distribution identifier code."},{"key":"amount","value":"<integer>","description":"Payment amount.","type":"text"},{"key":"paymentPlanCodeSelected","value":"<integer>","description":"Selected payment plan code.","type":"text"},{"key":"productCode","value":"<integer>","description":"Product code associated with the payment plan.","type":"text"},{"key":"creditCardFlagSelected","value":"<integer>","description":"Selected card flag.","type":"text"},{"key":"installment Selected","value":"<integer>","description":"Number of selected parcels.","type":"text"},{"key":"isTicketDistributionPlan","value":"<boolean>","description":"Indicates if the payment method does not have a brand.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Mandatory)**\n\n Request code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"amount\": \"Payment amount\",\r\n \"creditCardFlagSelected\": { // Card Flag Selected\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"id\": \"Code of payment method\",\r\n \"description\": \"Description of payment method\"\r\n }\r\n },\r\n \"creditCardsAvailable\": [ // List of available credit cards \r\n {\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installmentsQuantity\": \"Amount of installments\",\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n }\r\n }\r\n ], \r\n \"distributionCodeDetails\": \"Payment distribution identifier code\",\r\n \"paymentPlansAvailable\": [ // Payment Plans Available\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Payment plan code\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods) \r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments \r\n \"installmentsQuantity\": \"Number of installments\",\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n }\r\n }\r\n ], \r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\", \r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"paymentPlanSelected\": { // Payment Plan Selected\r\n \"code\": \"Code of selected payment plan\",\r\n \"name\": \"Name of selected payment plan\",\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n },\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments) \r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"paymentInfo\": [ // Payment Information\r\n {\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\", \r\n \"description\": \"flag description\"\r\n },\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"id\": \"Description of payment method\",\r\n \"description\": \"Payment method code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\", \r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"flagSelectionSystem\": \"Indicates whether it is necessary to inform the flag in the internal application or in the external payment broker\",\r\n \"installmentSelectionSystem\": \"Indicates whether it is necessary to inform the amount of installments in the internal application or in the external payment broker\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"administrateTax\": \"Administrative tax\",\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\", \r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n }\r\n },\r\n \"product\": { // Product associated with payment\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"bloquedEditPaymentPlan\": \"Indicates whether editing the product payment plan is blocked\",\r\n \"checkingAccount\": \"Residual checking account value prorated by the product\", \r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\", \r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\", \r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitTableValue\": \"Unit Table Value\"\r\n },\r\n \"statusPayment\": { // Payment status\r\n \"approved\": \"Indicates if the payment was approved\",\r\n \"cancel\": \"Indicates if the payment was cancelled\", \r\n \"failed\": \"Indicates if the payment failed\",\r\n \"notProcess\": \"Indicates if the payment was not processed\",\r\n \"numberPayment\": \"External payment code\",\r\n \"refused\": \"Indicates if the payment was refused\",\r\n \"waitingApproved\": \"Indicates if the payment is awaiting approval\",\r\n \"waitingCancel\": \"Indicates if the payment is waiting to be canceled\"\r\n }\r\n }\r\n ]\r\n"},{"id":"9cdd1f65-d170-4e7e-a2f7-75f8788d3942","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"distributionCodeDetails","value":"<integer>","description":"Payment distribution identifier code."},{"key":"amount","value":"<integer>","description":"Payment amount.","type":"text"},{"key":"paymentPlanCodeSelected","value":"<integer>","description":"Selected payment plan code.","type":"text"},{"key":"productCode","value":"<integer>","description":"Product code associated with the payment plan.","type":"text"},{"key":"creditCardFlagSelected","value":"<integer>","description":"Selected card flag.","type":"text"},{"key":"installment Selected","value":"<integer>","description":"Number of selected parcels.","type":"text"},{"key":"isTicketDistributionPlan","value":"<boolean>","description":"Indicates if the payment method does not have a brand.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Mandatory)**\n\n Request code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"amount\": 1060.38,\r\n \"creditCardFlagSelected\": {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n \"creditCardsAvailable\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 0, \r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": { \r\n \"id\": 3,\r\n \"description\": \"Bandria 3\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 4,\r\n \"description\": \"Bandria 4\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6, \r\n \"description\": \"Card\"\r\n }\r\n }\r\n ],\r\n \"distributionCodeDetails\": 6527,\r\n \"paymentPlansAvailable\": [\r\n {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n }, \r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ], \r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n } \r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n }\r\n ],\r\n \"paymentPlanSelected\": {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3, \r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ] \r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\" \r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n \"product\": {\r\n \"associatedItem\": false,\r\n \"associatedItemRequired\": false,\r\n \"blockedEditPaymentPlan\": false,\r\n \"checkingAccount\": 0,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"displayItemWithDiscountPromotion\": false, \r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"hasDiscountValue\": false,\r\n \"isBlockedEditQuantity\": false,\r\n \"isBloquedRemoveItem\": false,\r\n \"isClosedBoxProduct\": false,\r\n \"isMaterialKit\": false,\r\n \"isPromotionRequirementProduct\": false,\r\n \"multipleSaleRestriction\": 0,\r\n \"number\": 2,\r\n \"productCode\": 3,\r\n \"productName\": \"Product Kit Home - 3\",\r\n \"profitabilityValue\": 0,\r\n \"quantity\": 6,\r\n \"simulatedValueProfitability\": 0, \r\n \"simulatedValueProfitabilityUnit\": 0,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMarketValue\": 176.73,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"unitNetValue\": 176.73,\r\n \"unitPointsQuantity\": 17673,\r\n \"unitTableValue\": 200.02\r\n },\r\n \"statusPayment\": {\r\n \"approved\": false,\r\n \"cancel\": false,\r\n \"failed\": false,\r\n \"notProcess\": false,\r\n \"numberPayment\": 535,\r\n \"refused\": false,\r\n \"waitingApproved\": true, \r\n \"waitingCancel\": false\r\n }\r\n },\r\n {\r\n \"amount\": 100.50,\r\n \"creditCardFlagSelected\": {\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n \"creditCardsAvailable\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 1, \r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\" \r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 3,\r\n \"description\": \"Bandria 3\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 4,\r\n \"description\": \"Bandria 4\"\r\n }, \r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n }\r\n ],\r\n \"distributionCodeDetails\": 6527,\r\n \"paymentPlansAvailable\": [\r\n {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": { \r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [ \r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n { \r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n }\r\n ],\r\n \"paymentPlanSelected\": {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2, \r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n }, \r\n \"installmentsQuantity\": 1,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true, \r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n \"product\": {\r\n \"associatedItem\": false,\r\n \"associatedItemRequired\": false,\r\n \"blockedEditPaymentPlan\": false, \r\n \"checkingAccount\": 0,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"hasDiscountValue\": false,\r\n \"isBlockedEditQuantity\": false,\r\n \"isBloquedRemoveItem\": false,\r\n \"isClosedBoxProduct\": false,\r\n \"isMaterialKit\": false,\r\n \"isPromotionRequirementProduct\": false,\r\n \"multipleSaleRestriction\": 0,\r\n \"number\": 2,\r\n \"productCode\": 2,\r\n \"productName\": \"Product Kit Home - 2\", \r\n \"profitabilityValue\": 0,\r\n \"quantity\": 6,\r\n \"simulatedValueProfitability\": 0,\r\n \"simulatedValueProfitabilityUnit\": 0,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMarketValue\": 176.73,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"unitNetValue\": 176.73,\r\n \"unitPointsQuantity\": 17673,\r\n \"unitTableValue\": 200.02\r\n },\r\n \"statusPayment\": {\r\n \"approved\": false,\r\n \"cancel\": false,\r\n \"failed\": false,\r\n \"notProcess\": false, \r\n \"numberPayment\": 536,\r\n \"refused\": false,\r\n \"waitingApproved\": true,\r\n \"waitingCancel\": false\r\n }\r\n }\r\n ]\r\n"}],"_postman_id":"63631cc0-239d-4d7e-8cc2-ba7331f196c6"},{"name":"Register payment information","id":"33a723ba-bafc-41a9-9fab-b60ddcd24e2e","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"distributionCodeDetails","value":"<integer>","description":"<p>Payment distribution identifier code.</p>\n"},{"key":"installment Selected","value":"<integer>","description":"<p>Number of selected parcels.</p>\n","type":"text"},{"key":"paymentPlanCodeSelected","value":"<integer>","description":"<p>Selected payment plan code.</p>\n","type":"text"},{"key":"paymentDetails","value":"{\"card\":{\"cardNumber\":\"<string>\"\"securityCode\":\"<string>\",\"expirationMonth\":\"<integer>\",\"expirationYear\":\"<integer>\",\"cardHolder\":{\"name\":\"<string>\"\"phoneNumber\":\"<string>\",\"documentNumber\":\"<string>\"}}}","description":"<ul>\n<li><code>card</code>: Card information:</li>\n<li><code>cardHolder</code>: Cardholder information:</li>\n<li><code>name</code>: Name of the cardholder;</li>\n<li><code>documentNumber</code>: Identification document number;</li>\n<li><code>phoneNumber</code>: Phone number. </li>\n<li><code>cardNumber</code>: Card number;</li>\n<li><code>expirationMonth</code>: Expiration month;</li>\n<li><code>expirationYear</code>: Expiration year;</li>\n<li><code>securityCode</code>: Security code.</li>\n</ul>\n","type":"text"}]},"url":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans/payment?Finishing Payment=<boolean>&sessionid=<string>","description":"<p>This call is used to collect multiple payment information. </p>\n<p> <strong>Heads up</strong></p>\n<p> The parameters documented in the call body make up just one object. The API, however, is configured to receive a list of objects. Therefore, the content of the call body must be sent in a JSON file.</p>\n","urlObject":{"path":["api","orders",":id","multiplePaymentPlans","payment"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Indicates if payment is complete.</p>\n","type":"text/plain"},"key":"Finishing Payment","value":"<boolean>"},{"description":{"content":"<p>Unique order ID. Used for anti-fraud validations.</p>\n","type":"text/plain"},"key":"sessionid","value":"<string>"}],"variable":[{"description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[{"id":"2d19aad9-9cd4-4b63-a606-121e2d82911f","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"distributionCodeDetails","value":"<integer>","description":"Payment distribution identifier code."},{"key":"installment Selected","value":"<integer>","description":"Number of selected parcels.","type":"text"},{"key":"paymentPlanCodeSelected","value":"<integer>","description":"Selected payment plan code.","type":"text"},{"key":"paymentDetails","value":"{\"card\":{\"cardNumber\":\"<string>\"\"securityCode\":\"<string>\",\"expirationMonth\":\"<integer>\",\"expirationYear\":\"<integer>\",\"cardHolder\":{\"name\":\"<string>\"\"phoneNumber\":\"<string>\",\"documentNumber\":\"<string>\"}}}","description":"* `card`: Card information:\n * `cardHolder`: Cardholder information:\n * `name`: Name of the cardholder;\n * `documentNumber`: Identification document number;\n * `phoneNumber`: Phone number. \n * `cardNumber`: Card number;\n * `expirationMonth`: Expiration month;\n * `expirationYear`: Expiration year;\n * `securityCode`: Security code.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans/payment?Finishing Payment=<boolean>&sessionid=<string>","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans","payment"],"query":[{"key":"Finishing Payment","value":"<boolean>","description":"Defines if payment is complete."},{"key":"sessionid","value":"<string>","description":"Unique order ID. Used for anti-fraud validations."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"amount\": \"Payment amount\",\r\n \"creditCardsAvailable\": [ // List of available credit cards\r\n {\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installmentsQuantity\": \"Amount of installments\",\r\n \"paymentMode\": { // Payment method - Possible values in the glossary (Payment Methods - Flag)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n }\r\n }\r\n ],\r\n \"creditCardFlagSelected\": { // Card Flag Selected \r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"id\": \"Code of payment method\",\r\n \"description\": \"Description of payment method\"\r\n }\r\n },\r\n \"distributionCodeDetails\": \"Payment distribution identifier code\",\r\n \"installmentSelected\": \"Number of Installments Chosen\",\r\n \"numberPayment\": \"External payment code\",\r\n \"paymentDetails\": { // Payment Details\r\n \"amount\": \"Payment amount\", \r\n \"card\": { // Card data\r\n \"cardHolder\": { // Cardholder\r\n \"name\": \"Name of holder\",\r\n \"phoneNumber\": \"Holder&#39;s phone number\",\r\n \"documentNumber\": \"Cardholder&#39;s Document Number (CPF)\"\r\n },\r\n \"cardNumber\": \"Card number\",\r\n \"cardType\": \"Card flag code\",\r\n \"expirationMonth\": \"Validity Month\",\r\n \"expirationYear\": \"Expiration Year\",\r\n \"securityCode\": \"Security code\"\r\n },\r\n \"installments\": \"Amount of installments\",\r\n \"paymentMode\": \"Payment method\"\r\n },\r\n \"paymentPlanSelected\": { // Payment Plan Selected\r\n \"code\": \"Code of the plan selected payment\",\r\n \"name\": \"Name of selected payment plan\",\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n },\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\", \r\n \"id\": \"Payment method code\"\r\n },\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"id\": \"Description of payment method\",\r\n \"description\": \"Payment method code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods) \r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"flagSelectionSystem\": \"Indicates whether it is necessary to inform the flag in the internal application or in the external payment broker\",\r\n \"installmentSelectionSystem\": \"Indicates whether it is necessary to inform the amount of installments in the internal application or in the external payment broker\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"administrateTax\": \"Administrative tax\",\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"showCreditConsumptionData\": { // Consumption data configuration credit - Possible values in the glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n }\r\n },\r\n \"paymentPlansAvailable\": [ // Payment Plans Available\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Payment plan code\",\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\",\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of the payment\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n }\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Description of settings\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"points\": \"Points that represent the payment amount\",\r\n \"product\": { // Product associated with payment\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"bloquedEditPaymentPlan\": \"Indicates whether editing the product payment plan is blocked\",\r\n \"checkingAccount\": \"Value of residual current account prorated by the product\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied to the product inclusion\",\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\", \r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // It must be included in multiples of x,\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"quantity\": \"Quantity of item on order\",\r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\", \r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitTableValue\": \"Unit Table Value\"\r\n },\r\n \"statusPayment\": { // Payment status\r\n \"approved\": \"Indicates if the payment was approved\",\r\n \"cancel\": \"Indicates if the payment was cancelled\",\r\n \"failed\": \"Indicates if the payment failed\",\r\n \"notProcess\": \"Indicates if the payment was not processed\",\r\n \"numberPayment\": \"External payment code\",\r\n \"refused\": \"Indicates if the payment was refused\",\r\n \"waitingApproved\": \"Indicates if the payment is awaiting approval\",\r\n \"waitingCancel\": \"Indicates if the payment is waiting to be canceled\" \r\n }\r\n }\r\n ]"},{"id":"1cec9454-e094-4491-8721-957cd7793c61","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"distributionCodeDetails","value":"<integer>","description":"Payment distribution identifier code."},{"key":"installment Selected","value":"<integer>","description":"Number of selected parcels."},{"key":"paymentPlanCodeSelected","value":"<integer>","description":"Selected payment plan code.","type":"text"},{"key":"paymentDetails","value":"{\"card\":{\"cardNumber\":\"<string>\"\"securityCode\":\"<string>\",\"expirationMonth\":\"<integer>\",\"expirationYear\":\"<integer>\",\"cardHolder\":{\"name\":\"<string>\"\"phoneNumber\":\"<string>\",\"documentNumber\":\"<string>\"}}}","description":"* `card`: Card information:\n * `cardHolder`: Cardholder information:\n * `name`: Name of the cardholder;\n * `documentNumber`: Identification document number;\n * `phoneNumber`: Phone number. \n * `cardNumber`: Card number;\n * `expirationMonth`: Expiration month;\n * `expirationYear`: Expiration year;\n * `securityCode`: Security code.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans/payment?Finishing Payment=<boolean>&sessionid=<string>","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans","payment"],"query":[{"key":"Finishing Payment","value":"<boolean>","description":"Indicates if payment is complete."},{"key":"sessionid","value":"<string>","description":"Unique order ID. Used for anti-fraud validations."}],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"amount\": 800,\r\n \"creditCardsAvailable\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n }, \r\n {\r\n \"creditCardType\": {\r\n \"id\": 3,\r\n \"description\": \"Bandria 3\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 4,\r\n \"description\": \"Bandria 4\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n }\r\n ],\r\n \"creditCardFlagSelected\": {\r\n \"creditCardType\": { \r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n \"distributionCodeDetails\": 6509,\r\n \"installmentSelected\": 1,\r\n \"numberPayment\": 534,\r\n \"paymentDetails\": {\r\n \"amount\": 800,\r\n \"card\": {\r\n \"cardHolder\": {\r\n \"name\": \"João da Silva\",\r\n \"phoneNumber\": \"11999999999\",\r\n \"documentNumber\": \"07575181768\"\r\n },\r\n \"cardNumber\": \"**** **** **** 8720\",\r\n \"cardType\": 1,\r\n \"expirationMonth\": 7,\r\n \"expirationYear\": 2022,\r\n \"securityCode\": \"***\"\r\n },\r\n \"installments\": 1,\r\n \"paymentMode\": 6\r\n },\r\n \"paymentPlanSelected\": {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": { \r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message to select the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n \"paymentPlansAvailable\": [\r\n {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [ \r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n }\r\n ],\r\n \"points\": 69298,\r\n \"statusPayment\": {\r\n \"approved\": false,\r\n \"cancel\": false,\r\n \"failed\": false,\r\n \"notProcess\": false,\r\n \"numberPayment\": 535,\r\n \"refused\": false,\r\n \"waitingApproved\": true,\r\n \"waitingCancel\": false\r\n }\r\n },\r\n {\r\n \"amount\": 110.9,\r\n \"creditCardFlagSelected\": {\r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n \"distributionCodeDetails\": 6510,\r\n \"installmentSelected\": 1,\r\n \"numberPayment\": 534,\r\n \"paymentDetails\": {\r\n \"amount\": 110.9,\r\n \"card\": {\r\n \"cardHolder\": {\r\n \"name\": \"João da Silva\",\r\n \"phoneNumber\": \"11999999999\",\r\n \"documentNumber\": \"07575181768\"\r\n },\r\n \"cardNumber\": \"**** **** **** 3078\",\r\n \"cardType\": 2,\r\n \"expirationMonth\": 3,\r\n \"expirationYear\": 2021,\r\n \"securityCode\": \"***\"\r\n },\r\n \"installments\": 1,\r\n \"paymentMode\": 6\r\n },\r\n \"paymentPlanSelected\": {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n \"paymentPlansAvailable\": {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ], \r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n \"points\": 69298,\r\n \"product\": {\r\n \"associatedItem\": false,\r\n \"associatedItemRequired\": false,\r\n \"blockedEditPaymentPlan\": false,\r\n \"checkingAccount\": 0,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"hasDiscountValue\": false,\r\n \"isBlockedEditQuantity\": false,\r\n \"isBloquedRemoveItem\": false,\r\n \"isClosedBoxProduct\": false,\r\n \"isMaterialKit\": false,\r\n \"isPromotionRequirementProduct\": false,\r\n \"multipleSaleRestriction\": 0, \r\n \"number\": 2,\r\n \"productCode\": 3,\r\n \"productName\": \"Product Kit Home - 3\",\r\n \"profitabilityValue\": 0,\r\n \"quantity\": 6,\r\n \"simulatedValueProfitability\": 0,\r\n \"simulatedValueProfitabilityUnit\": 0,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMarketValue\": 176.73,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"unitNetValue\": 176.73,\r\n \"unitPointsQuantity\": 17673,\r\n \"unitTableValue\": 200.02\r\n },\r\n \"statusPayment\": {\r\n \"approved\": false,\r\n \"cancel\": false,\r\n \"failed\": false,\r\n \"notProcess\": false,\r\n \"numberPayment\": 535,\r\n \"refused\": false,\r\n \"waitingApproved\": true,\r\n \"waitingCancel\": false\r\n }\r\n }\r\n ]"}],"_postman_id":"33a723ba-bafc-41a9-9fab-b60ddcd24e2e"},{"name":"Consult payment status","id":"e4884aa6-394d-4f70-a053-b89025067e98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/externalPayment/:number/status","description":"<p>This call is used to query the approval status of a payment.</p>\n","urlObject":{"path":["api","orders",":id","externalPayment",":number","status"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"4aebafe3-de8a-493d-8bb3-4725fb983eb5","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"ca3ff4f8-8111-4bfe-92bd-8eead99228cb","description":{"content":"<p><strong>(Required)</strong> External payment code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"number"}]}},"response":[{"id":"fb94d6bb-25a6-40fb-8394-73900885ea56","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/externalPayment/:number/status","host":["{{baseUrl}}"],"path":["api","orders",":id","externalPayment",":number","status"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"number","value":"<integer>","description":"**(Required)** External payment code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"approved\": \"Indicates if the payment was approved\",\r\n \"cancel\": \"Indicates if the payment was cancelled\",\r\n \"failed\": \"Indicates if the payment failed\",\r\n \"notProcess\": \"Indicates if the payment was not processed\",\r\n \"numberPayment\": \"External payment code\",\r\n \"refused\": \"Indicates if the payment was refused\",\r\n \"waitingApproved\": \"Indicates if the payment is awaiting approval\",\r\n \"waitingCancel\": \"Indicates if the payment is waiting to be canceled\"\r\n }"},{"id":"0b99b1ca-1795-4608-9161-e173a85ae969","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/externalPayment/:number/status","host":["{{baseUrl}}"],"path":["api","orders",":id","externalPayment",":number","status"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"number","value":"<integer>","description":"**(Required)** External payment code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"approved\": false,\r\n \"cancel\": false,\r\n \"failed\": false,\r\n \"notProcess\": false,\r\n \"numberPayment\": 535,\r\n \"refused\": false,\r\n \"waitingApproved\": true,\r\n \"waitingCancel\": false\r\n }"}],"_postman_id":"e4884aa6-394d-4f70-a053-b89025067e98"},{"name":"Remove multiple payment plan","id":"7ee0d446-05d4-47de-aee4-25c6b7e504e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans/:code","description":"<p>This call is used to remove a multiple payment plan from an order.</p>\n","urlObject":{"path":["api","orders",":id","multiplePaymentPlans",":code"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"bb344c14-e622-4473-b6a3-d05da0c83e46","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"},{"id":"fde4236e-d1da-47ce-8c8a-ab6dba63ec3a","description":{"content":"<p><strong>(Required)</strong> Payment plan code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"code"}]}},"response":[{"id":"44fea093-18d2-47b8-bf67-327519c30590","name":"Response Parameter Details","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans/:code","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans",":code"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"code","value":"<integer>","description":"**(Required)** Payment plan code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"amount\": \"Payment amount\",\r\n \"creditCardFlagSelected\": { // Card Flag Selected\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"id\": \"Code of payment method\",\r\n \"description\": \"Description of payment method\"\r\n }\r\n },\r\n \"creditCardsAvailable\": [ // List of available credit cards\r\n {\r\n \"creditCardType\": { // Card flag - Possible values in the glossary (flags of Card)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installmentsQuantity\": \"Amount of installments\",\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n }\r\n }\r\n ],\r\n \"distributionCodeDetails\": \"Payment distribution identifier code\",\r\n \"paymentPlansAvailable\": [ // Payment Plans Available\r\n {\r\n \"administrateTax\": \"Administrative tax\",\r\n \"code\": \"Payment plan code\",\r\n \"creditTreatment\": { // Treatment of credit - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods)\r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"name\": \"Payment plan name\",\r\n \"paymentInfo\": [ // Payment information\r\n {\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\",\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n }\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\",\r\n \"id\": \"Payment method code\"\r\n },\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n },\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n }\r\n }\r\n ],\r\n \"paymentPlanSelected\": { // Payment Plan Selected\r\n \"code\": \"Payment plan code selected\",\r\n \"name\": \"Name of selected payment plan\",\r\n \"type\": { // Payment plan type - Possible values in glossary (Payment plan types)\r\n \"description\": \"Description of payment plan type\",\r\n \"id\": \"Payment plan type code\"\r\n },\r\n \"creditTreatment\": { // Credit Treatment - Possible values in the glossary (Credit Treatments)\r\n \"description\": \"Description of credit treatment\",\r\n \"id\": \"Credit handling code\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Brand)\r\n \"description\": \"Description of payment method\", \r\n \"id\": \"Payment method code\"\r\n },\r\n \"creditCardType\": { // Card Flag - Possible values in the glossary (Card Flags)\r\n \"id\": \"flag code\",\r\n \"description\": \"flag description\"\r\n },\r\n \"installments\": [], // Installments\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentMode\": { // Payment Method - Possible values in the glossary (Payment Methods - Payment Plan)\r\n \"id\": \"Description of payment method\",\r\n \"description\": \"Payment method code\"\r\n },\r\n \"externalPaymentMethod\": { // External payment method - Possible values in the glossary (External Payment Methods) \r\n \"description\": \"Description of external payment method\",\r\n \"id\": \"External payment method code\"\r\n },\r\n \"isBlocked\": \"Indicates if the payment plan is unavailable to be used in the current context of the order\",\r\n \"flagSelectionSystem\": \"\",\r\n \"installmentSelectionSystem\": \"\",\r\n \"marketingMessages\": [], // List of marketing messages displayed for payment plan\r\n \"administrateTax\": \"Administrative tax\",\r\n \"minimumInstallmentAmount\": \"Minimum Installment Value\",\r\n \"showCreditConsumptionData\": { // Credit Consumption Data Setting - Possible values in glossary (Credit Consumption Data Settings)\r\n \"description\": \"Configuration description\",\r\n \"id\": \"Configuration code\"\r\n }\r\n },\r\n \"product\": { // Product associated with payment\r\n \"associatedItem\": \"Indicates if the product is associated with another\",\r\n \"associatedItemRequired\": \"Indicates whether the associated product should be purchased\",\r\n \"bloquedEditPaymentPlan\": \"Indicates whether editing the product payment plan is blocked\",\r\n \"checkingAccount\": \"Residual checking account value prorated by the product\",\r\n \"confirmAssociatedItemDeletion\": \"Indicates the product will be removed forever\",\r\n \"displayItemWithDiscountPromotion\": \"Indicates if the item has any promotion discount\",\r\n \"hasDiscountValue\": \"Indicates if the product has a discount\",\r\n \"hasAppliedProfitabilityValueAddItem\": \"Indicates whether the order owner&#39;s profitability is applied in the inclusion of the product\",\r\n \"isBloquedRemoveItem\": \"Indicates whether the item can be removed\",\r\n \"isBloquedEditQuantity\": \"Indicates whether the item quantity can be edited\",\r\n \"isClosedBoxProduct\": \"Indicates that the product is sold in a closed box, with x units\",\r\n \"isMaterialKit\": \"Indicates the material is a kit\",\r\n \"isPromotionRequirementProduct\": \"Indicates if the product is a requirement for a promotion\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // It must be included in multiples of x,\r\n \"number\": \"Item number\",\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"profitabilityValue\": \"Profitability Value\",\r\n \"quantity\": \"Quantity of item on order\", \r\n \"simulatedValueProfitability\": \"Simulated Profitability Value\",\r\n \"simulatedValueProfitabilityUnit\": \"Simulated Profitability Value per unit\",\r\n \"unitKitPointsQuantity\": \"Amount of points earned per product unit in relation to the kit\",\r\n \"unitMarketValue\": \"Unit value practiced\",\r\n \"unitMultilevelPointsQuantity\": \"Amount of points earned per product unit in a multilevel environment\",\r\n \"unitNetValue\": \"Net unit value\",\r\n \"unitPointsQuantity\": \"Amount of points earned per product unit\",\r\n \"unitTableValue\": \"Unit Table Value\"\r\n },\r\n \"statusPayment\": { // Payment status\r\n \"approved\": \"Indicates if the payment was approved\",\r\n \"cancel\": \"Indicates if the payment has been cancelled\",\r\n \"failed\": \"Indicates if the payment failed\",\r\n \"notProcess\": \"Indicates if the payment was not processed\",\r\n \"numberPayment\": \"External payment code\",\r\n \"refused\": \"Indicates if the payment was refused\",\r\n \"waitingApproved\": \"Indicates if the payment is awaiting approval\",\r\n \"waitingCancel\": \"Indicates if the payment is waiting to be canceled\"\r\n }\r\n }\r\n ]"},{"id":"3abf6fae-3bdb-4196-85a1-d01fd5f4e230","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/multiplePaymentPlans/:code","host":["{{baseUrl}}"],"path":["api","orders",":id","multiplePaymentPlans",":code"],"variable":[{"key":"id","value":"{{codigoPedido}}","description":"**(Required)** Order code."},{"key":"code","value":"<integer>","description":"**(Required)** Payment plan code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"amount\": 1060.38,\r\n \"creditCardFlagSelected\": {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n \"creditCardsAvailable\": [\r\n {\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n { \r\n \"creditCardType\": {\r\n \"id\": 2,\r\n \"description\": \"Flag 2\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 3,\r\n \"description\": \"Bandria 3\"\r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n },\r\n {\r\n \"creditCardType\": {\r\n \"id\": 4,\r\n \"description\": \"Bandria 4\" \r\n },\r\n \"installmentsQuantity\": 0,\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n }\r\n }\r\n ],\r\n \"distributionCodeDetails\": 6527,\r\n \"paymentPlansAvailable\": [\r\n {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": { \r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n }\r\n ],\r\n \"paymentPlanSelected\": {\r\n \"code\": 10,\r\n \"name\": \"Credit - Up to 3x S/J - EICC\",\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Postpaid\"\r\n },\r\n \"creditTreatment\": {\r\n \"id\": 3,\r\n \"description\": \"Ignore credit – does not consume credit\"\r\n },\r\n \"paymentInfo\": [\r\n {\r\n \"paymentMode\": {\r\n \"id\": 6,\r\n \"description\": \"Card\"\r\n },\r\n \"creditCardType\": {\r\n \"id\": 1,\r\n \"description\": \"Flag 1\"\r\n },\r\n \"installmentsQuantity\": 3,\r\n \"installments\": [\r\n 1\r\n ]\r\n }\r\n ],\r\n \"paymentMode\": {\r\n \"id\": 9,\r\n \"description\": \"Other\"\r\n },\r\n \"externalPaymentMethod\": {\r\n \"id\": 2,\r\n \"description\": \"Other\"\r\n },\r\n \"isBlocked\": false,\r\n \"flagSelectionSystem\": true,\r\n \"installmentSelectionSystem\": true,\r\n \"marketingMessages\": [\r\n {\r\n \"priority\": 0,\r\n \"text\": \"Message when selecting the receiving plan\"\r\n }\r\n ],\r\n \"administrateTax\": 0,\r\n \"minimumInstallmentAmount\": 10,\r\n \"showCreditConsumptionData\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n }\r\n },\r\n \"product\": {\r\n \"associatedItem\": false,\r\n \"associatedItemRequired\": false,\r\n \"blockedEditPaymentPlan\": false, \r\n \"checkingAccount\": 0,\r\n \"confirmAssociatedItemDeletion\": false,\r\n \"displayItemWithDiscountPromotion\": false,\r\n \"hasAppliedProfitabilityValueAddItem\": false,\r\n \"hasDiscountValue\": false,\r\n \"isBlockedEditQuantity\": false,\r\n \"isBloquedRemoveItem\": false,\r\n \"isClosedBoxProduct\": false,\r\n \"isMaterialKit\": false,\r\n \"isPromotionRequirementProduct\": false,\r\n \"multipleSaleRestriction\": 0,\r\n \"number\": 2,\r\n \"productCode\": 3,\r\n \"productName\": \"Product Kit Home - 3\",\r\n \"profitabilityValue\": 0,\r\n \"quantity\": 6,\r\n \"simulatedValueProfitability\": 0,\r\n \"simulatedValueProfitabilityUnit\": 0,\r\n \"unitKitPointsQuantity\": 0,\r\n \"unitMarketValue\": 176.73,\r\n \"unitMultilevelPointsQuantity\": 0,\r\n \"unitNetValue\": 176.73,\r\n \"unitPointsQuantity\": 17673,\r\n \"unitTableValue\": 200.02\r\n },\r\n \"statusPayment\": {\r\n \"approved\": false,\r\n \"cancel\": false,\r\n \"failed\": false,\r\n \"notProcess\": false,\r\n \"numberPayment\": 535,\r\n \"refused\": false,\r\n \"waitingApproved\": true,\r\n \"waitingCancel\": false\r\n }\r\n }\r\n ]"}],"_postman_id":"7ee0d446-05d4-47de-aee4-25c6b7e504e6"}],"id":"ad94dfc2-31a8-4b64-a81d-e55b7ac09b16","description":"<p>If you choose to split the payment into multiple ways, the application must define the payment distribution for the order. In this case, the following flow must be followed:</p>\n<h3 id=\"multiple-pay-plans\">Multiple Pay Plans</h3>\n<p> First, the application must <a href=\"#ced28d6f-a800-46a1-967d-79c5b3936ef3\">get the multiple payment plans</a> and make them available to the user. Then the application must <a href=\"#0585e5ff-726e-4d90-963d-d63cbcdc2146\">select multiple payment plans</a> chosen by the user. After defining the plans, you need to <a href=\"#237a21f5-1c9c-4b26-992b-d995d4fbec2d\">collect payment information</a>. </p>\n<h3 id=\"installments\">Installments</h3>\n<p> Whenever the user chooses a payment method, the application must <a href=\"#a978c64b-7d53-41ce-a4dc-36033092304e\">calculate the installments</a> to obtain the fees and the like. After calculating these installments, the application must select the respective payment plan (for the order or for a product) again, so that the information is updated. </p>\n<h3 id=\"payment-status\">Payment Status</h3>\n<p> Between payment collections, the application may <a href=\"#f1caeebb-eb69-47d8-8355-1119b8ed00e9\">see approval status of a payment</a> in progress. </p>\n<h3 id=\"remove-payment\">Remove Payment</h3>\n<p> At any time, the user can choose <a href=\"#25fe760b-45a1-46f5-ab64-1f4cedf98e0d\">remove a payment method</a></p>\n<h2 id=\"order-summary\">Order Summary</h2>\n<p> The last step is to show the <a href=\"#b9fe1a1e-f9ac-4448-b166-c28d6d31618d\">order summary</a> to the user. At this point, the person capturing can choose to edit a series of characteristics of the order, or finish the capture.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e141308c-4e1d-481a-9330-fa558c707f70"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2bca5187-0c95-48bb-8f47-ffd397fed7ee"}}],"_postman_id":"ad94dfc2-31a8-4b64-a81d-e55b7ac09b16"}],"id":"9e49d134-bbd6-4f4b-849e-df87e61f813a","description":"<p>One of the ways to capture a sales order within the platform is through the Online APIs, where all events, features and validations of the capture are analyzed in real time, ensuring more consistency and reliability that the products have stock, prices, promotions and others factors that guarantee the successful completion of the order. </p>\n<p> This topic describes the sequence of APIs that must be called in a complete 9-step order capture flow. There is a minimum flow that must be done so that the order can be generated within the platform, to indicate this flow, a marker (*) was added in the minimum steps that must be performed. </p>\n<p> These APIs must be called after an <a href=\"#c0bd1aa3-2b15-4458-93c7-bacf781f8660\">Authentication</a> is performed. </p>\n<p> <strong>Note</strong>: A request can only be handled for the same owner in one session at a time. When having another session trying to handle the request, it will bring down the first session. EG: When initiating a request on a desktop and handling it on a mobile device, the session will be inactive and a <code>205 Reset Content</code> error will be returned. </p>\n<p> Some information such as Capture System, Origin System and Capture Means must be defined for the application and used during all capture stages. These values can be used with their default values for an online capture; if you need to customize to differentiate the application's orders, contact the specialist responsible for your account. </p>\n<p> The default values for the Shopping Cart:</p>\n<ul>\n<li><code>collectionSystem</code> = 3 - <code>Store Capture System</code>;</li>\n<li><code>originSystem</code> = 3 - <code>Virtual Store Origin System</code>;</li>\n<li><code>collectionMode</code> = 5 - <code>Online Store Capture Medium</code>.</li>\n</ul>\n<p> The possible values of each parameter are described in the respective glossary tables (<a href=\"#f95e8393-c576-48bf-94c6-b9471386f2b3\">Uptake Systems</a>, <a href=\"#f23b96ea-fb96-4022-92a4-c614aa7ab7ff\">Source Systems</a>, <a href=\"#cb8c2f7b-6f1b-4729-b9c1-aba89e7f6767\">Means of Capture</a>). </p>\n<h3 id=\"main-return-codes-that-apis-can-return-in-these-9-steps\">Main Return Codes that API's can return in these 9 steps</h3>\n<ul>\n<li><p><code>205 Reset Content</code>: During capture, when this code is returned, the application must return to step <a href=\"#13eea15c-c065-4fb0-a0c0-19bb9b104b04\">Initiate Order</a>. This code indicates that the request session has expired; this occurs after a pre-determined time of no activity on the order or when the order is changed by another application. </p>\n</li>\n<li><p><code>400 Bad Request</code>: Any error message corresponding to a mandatory parameter or business rule that blocks the operation will return a <code>400</code> exception;</p>\n</li>\n<li><p><code>403 Forbidden</code>: This error will be returned when a person is not authorized to access the API in question.</p>\n</li>\n</ul>\n<h3 id=\"order-types\">Order Types</h3>\n<p> There are two types of possible orders, which can be captured in three different ways. </p>\n<p> Requests:</p>\n<ul>\n<li><p><strong>End Consumer</strong> Order (<strong>CF</strong>): When using an end consumer business rule, the order becomes an end consumer order. These orders can nominate a person who has a Reseller role on the platform to be remunerated. This remuneration only occurs through registrations and parameterizations on the <strong>LET</strong>platform;</p>\n</li>\n<li><p>Reseller Order:</p>\n</li>\n</ul>\n<p> Types of funding:</p>\n<ul>\n<li><p><strong>e-Commerce</strong> (<strong>EC</strong>): In <strong>EC</strong>orders, inform the delivery option (delivery or withdrawal) desired by the customer at the beginning of the order;</p>\n</li>\n<li><p><strong>Point of Sales</strong> (<strong>POS</strong>): <strong>POS</strong> orders are necessarily in person. The delivery option is informed at the end of the order and the order is divided into several forms of payment;</p>\n</li>\n<li><p><strong>Indirect Sales</strong> (<strong>VI</strong>): In <strong>VI</strong> orders, the payment methods are informed at the beginning of the order, and for each product, which payment method will be used is already defined.</p>\n</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"871fd819-81b5-4783-a836-d1f33ab359ac"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"afafe85a-9f84-4329-a3a0-db9b0e101dfc"}}],"_postman_id":"9e49d134-bbd6-4f4b-849e-df87e61f813a"},{"name":"Order Capture Flow - Offiline","item":[{"name":"indirect sale","item":[{"name":"products","item":[{"name":"{{baseUrl}}/api/IndirectSales/products","id":"13f93616-0bfb-427d-954a-4b8464fcdc6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/products?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","products"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"66000aa8-f3fb-4bb3-9c27-d8b9aece41e7","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/products?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","products"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"ee355c5a-c1cf-464d-bcc6-522299e1ff8d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/products?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","products"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"ean\": \"<string>\",\n \"allowsOrderPaymentPlan\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"ean\": \"<string>\",\n \"allowsOrderPaymentPlan\": \"<integer>\"\n }\n ]"}],"_postman_id":"13f93616-0bfb-427d-954a-4b8464fcdc6f"},{"name":"{{baseUrl}}/api/IndirectSales/products/totals","id":"d5efd03e-a72a-4b76-9b83-546b92692569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/products/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","products","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"08b116b6-96eb-481a-9398-afe4c9f03db9","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/products/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","products","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"f5cd9367-27e3-4795-873a-b712c448f715","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/products/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","products","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"d5efd03e-a72a-4b76-9b83-546b92692569"}],"id":"b771b3a8-d834-42d9-970b-9780e1571a46","_postman_id":"b771b3a8-d834-42d9-970b-9780e1571a46","description":""},{"name":"products Structures","item":[{"name":"{{baseUrl}}/api/IndirectSales/productsStructures","id":"f212a3a4-53b8-41b2-a2da-bdfa41b95a2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/productsStructures?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","productsStructures"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"a162c292-5512-4a63-9590-e3a0026e28dd","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productsStructures?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productsStructures"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"parentCode\": \"<integer>\",\n \"availableOnlineStore\": \"<integer>\",\n \"level\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"parentCode\": \"<integer>\",\n \"availableOnlineStore\": \"<integer>\",\n \"level\": \"<integer>\"\n }\n ]"},{"id":"16485da7-0c79-4313-8603-631e589afef5","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productsStructures?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productsStructures"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"f212a3a4-53b8-41b2-a2da-bdfa41b95a2d"},{"name":"{{baseUrl}}/api/IndirectSales/productsStructures/totals","id":"431a1c64-22be-4dab-a5e4-c241ca932955","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/productsStructures/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","productsStructures","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"fdb23dc6-57bb-4114-a7e5-4abf26bbeae5","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productsStructures/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productsStructures","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"195dae91-75c5-482e-b953-5d08788a5251","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productsStructures/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productsStructures","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"431a1c64-22be-4dab-a5e4-c241ca932955"}],"id":"e36e8d0a-7bac-4486-ac49-129a2510bd2b","_postman_id":"e36e8d0a-7bac-4486-ac49-129a2510bd2b","description":""},{"name":"structures products","item":[{"name":"{{baseUrl}}/api/IndirectSales/structuresProducts","id":"6958fb49-45cf-44f8-b19f-a238f04206b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/structuresProducts?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","structuresProducts"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"dfdf5bdd-6bbf-4e4d-a8e4-4a182c708e31","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/structuresProducts?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","structuresProducts"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\"\n }\n ]"},{"id":"8329367a-b2f7-45aa-a5b4-cab4b5448bed","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/structuresProducts?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","structuresProducts"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"6958fb49-45cf-44f8-b19f-a238f04206b3"},{"name":"{{baseUrl}}/api/IndirectSales/structuresProducts/totals","id":"005a8549-8e5a-4b1b-a5ad-c936532224fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/structuresProducts/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","structuresProducts","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"cca369d5-acea-40d1-8cfb-a638402719af","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/structuresProducts/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","structuresProducts","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"d0184870-5195-46e1-ab03-c8965aa46017","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/structuresProducts/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","structuresProducts","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"005a8549-8e5a-4b1b-a5ad-c936532224fa"}],"id":"0df4a8cd-38e2-475f-b2f8-1ed29729547d","_postman_id":"0df4a8cd-38e2-475f-b2f8-1ed29729547d","description":""},{"name":"products Payment Plans","item":[{"name":"{{baseUrl}}/api/IndirectSales/productsPaymentPlans","id":"4c1788f1-e7be-4ed3-a42d-e5e9d5549702","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/productsPaymentPlans?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","productsPaymentPlans"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"e1a868a8-2baf-4393-9030-559026d39f3d","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productsPaymentPlans?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productsPaymentPlans"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"94109581-7600-4ca7-aee9-d8a202760f25","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productsPaymentPlans?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productsPaymentPlans"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"productCode\": \"<integer>\",\n \"paymentPlanCode\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"paymentPlanCode\": \"<integer>\"\n }\n ]"}],"_postman_id":"4c1788f1-e7be-4ed3-a42d-e5e9d5549702"},{"name":"{{baseUrl}}/api/IndirectSales/productsPaymentPlans/totals","id":"07f9271f-aba2-460b-ada5-ae035976456b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/productsPaymentPlans/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","productsPaymentPlans","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"9eed61f6-2d70-4114-8ff9-d0998865ea72","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productsPaymentPlans/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productsPaymentPlans","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"b5402017-4983-461f-8c2b-75b75cae8ced","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productsPaymentPlans/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productsPaymentPlans","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"07f9271f-aba2-460b-ada5-ae035976456b"}],"id":"3c8465af-9051-41c6-ad8c-a381f5507f0c","_postman_id":"3c8465af-9051-41c6-ad8c-a381f5507f0c","description":""},{"name":"payment plans","item":[{"name":"{{baseUrl}}/api/IndirectSales/paymentPlans","id":"f3413196-cfc6-4468-a74f-21df0ffb0dfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/paymentPlans?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","paymentPlans"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"c71ddfef-fb66-4da9-a610-ad9973e6a8d6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/paymentPlans?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","paymentPlans"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"paymentMethod\": \"<integer>\",\n \"administrateTax\": \"<double>\",\n \"minimumAmountPoints\": \"<integer>\",\n \"maximumAmountPoints\": \"<integer>\",\n \"minimumTotalAmount\": \"<double>\",\n \"maximumTotalAmount\": \"<double>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"paymentMethod\": \"<integer>\",\n \"administrateTax\": \"<double>\",\n \"minimumAmountPoints\": \"<integer>\",\n \"maximumAmountPoints\": \"<integer>\",\n \"minimumTotalAmount\": \"<double>\",\n \"maximumTotalAmount\": \"<double>\"\n }\n ]"},{"id":"ff4e66ab-d564-4d72-9ac8-85d3885143a2","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/paymentPlans?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","paymentPlans"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"f3413196-cfc6-4468-a74f-21df0ffb0dfa"},{"name":"{{baseUrl}}/api/IndirectSales/paymentPlans/totals","id":"e8b24d31-e67b-4028-a31d-cbb600fe4f08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/paymentPlans/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","paymentPlans","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"fec298e2-bec4-4ebc-ac21-a33d60bfc17e","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/paymentPlans/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","paymentPlans","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"423e53ce-7bac-4882-9c15-0160b6a38ab6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/paymentPlans/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","paymentPlans","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"e8b24d31-e67b-4028-a31d-cbb600fe4f08"}],"id":"78f59984-3e49-4198-b89d-ea0728676a98","_postman_id":"78f59984-3e49-4198-b89d-ea0728676a98","description":""},{"name":"system Parameters","item":[{"name":"{{baseUrl}}/api/IndirectSales/systemParameters","id":"03c73bbd-ce9a-4b2f-9af8-c6254d9d22a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/systemParameters?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","systemParameters"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"a42dbb80-0403-484f-88f3-9447b4007c4d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/systemParameters?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","systemParameters"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\"\n },\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]"},{"id":"8f801857-83fd-4bfb-b047-c014c62886cc","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/systemParameters?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","systemParameters"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"03c73bbd-ce9a-4b2f-9af8-c6254d9d22a8"},{"name":"{{baseUrl}}/api/IndirectSales/systemParameters/totals","id":"0f1228e8-e1ba-45d6-a98c-dc124e6d59cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/systemParameters/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","systemParameters","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"afd4f75e-1c7d-406e-990c-715236ea0c09","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/systemParameters/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","systemParameters","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"1855305b-20f0-4f0a-ad16-bacf8d35f4ea","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/systemParameters/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","systemParameters","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"0f1228e8-e1ba-45d6-a98c-dc124e6d59cf"}],"id":"05d0926e-4705-4f4c-9ae7-3f095b72731b","_postman_id":"05d0926e-4705-4f4c-9ae7-3f095b72731b","description":""},{"name":"order models","item":[{"name":"{{baseUrl}}/api/IndirectSales/orderModels","id":"bb9dfd33-8fec-4b05-88dc-403d86c4e2e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/orderModels?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","orderModels"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"35699f28-ec5c-4bce-882c-361e21f592b7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/orderModels?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","orderModels"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"showInOrderingStart\": \"<integer>\",\n \"showWhenFieldingAnOrder\": \"<integer>\",\n \"showWhenApplyingPromotion\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"showInOrderingStart\": \"<integer>\",\n \"showWhenFieldingAnOrder\": \"<integer>\",\n \"showWhenApplyingPromotion\": \"<integer>\"\n }\n ]"},{"id":"f4c6b8e7-26bc-4976-8c67-17327ee347bb","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/orderModels?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","orderModels"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"bb9dfd33-8fec-4b05-88dc-403d86c4e2e0"},{"name":"{{baseUrl}}/api/IndirectSales/orderModels","id":"0e52ba37-41c8-44a1-a3b6-b50402b2477b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"{\"personCode\":\"<integer>\"\"items\":[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"}]}","description":"<p>undefined</p>\n"},{"key":"1","value":"{\"personCode\":\"<integer>\"\"items\":[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"}]}","description":"<p>undefined</p>\n"}]},"url":"{{baseUrl}}/api/IndirectSales/orderModels","urlObject":{"path":["api","IndirectSales","orderModels"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"bdc3586a-23f5-4783-82d2-379794331a97","name":"NoContent","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"{\"personCode\":\"<integer>\"\"items\":[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"}]}","description":"undefined"},{"key":"1","value":"{\"personCode\":\"<integer>\"\"items\":[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"}]}","description":"undefined"}]},"url":"{{baseUrl}}/api/IndirectSales/orderModels"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ece6d2d0-f857-4245-a4b3-0b713bf21eb6","name":"BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"{\"personCode\":\"<integer>\"\"items\":[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"}]}","description":"undefined"},{"key":"1","value":"{\"personCode\":\"<integer>\"\"items\":[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\"}]}","description":"undefined"}]},"url":"{{baseUrl}}/api/IndirectSales/orderModels"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"0e52ba37-41c8-44a1-a3b6-b50402b2477b"},{"name":"{{baseUrl}}/api/IndirectSales/orderModels/totals","id":"dc5c0218-c45b-4b49-b8cf-7d5c756eea9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/orderModels/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","orderModels","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"f8ef3b93-1d82-4ff0-9b49-ed531507da32","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/orderModels/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","orderModels","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"b8cd68b9-6532-481b-8757-dc2e2ea3a42b","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/orderModels/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","orderModels","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"dc5c0218-c45b-4b49-b8cf-7d5c756eea9b"}],"id":"0caf6541-6cd6-4585-9755-17a62c5b3614","_postman_id":"0caf6541-6cd6-4585-9755-17a62c5b3614","description":""},{"name":"order Model Items","item":[{"name":"{{baseUrl}}/api/IndirectSales/orderModelItems","id":"f6f666e2-7c19-4e08-9afd-20b767710134","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/orderModelItems?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","orderModelItems"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"d0e88d43-d482-41a3-8e79-7293cc7edd04","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/orderModelItems?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","orderModelItems"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"orderModelCode\": \"<integer>\",\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n },\n {\n \"orderModelCode\": \"<integer>\",\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n }\n ]"},{"id":"36db4f24-8898-40ad-9dc6-e4f2d8c71bf1","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/orderModelItems?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","orderModelItems"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"f6f666e2-7c19-4e08-9afd-20b767710134"},{"name":"{{baseUrl}}/api/IndirectSales/orderModelItems/totals","id":"5de89e76-2c43-40f7-95c8-a878a22b67e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/orderModelItems/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","orderModelItems","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"e8751b09-4c8e-4315-ab14-c81836c6e1d6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/orderModelItems/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","orderModelItems","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"d27330ab-ce50-4a63-8ed1-c5991b0f6624","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/orderModelItems/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","orderModelItems","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"5de89e76-2c43-40f7-95c8-a878a22b67e3"}],"id":"b84f8330-1169-4882-8df0-63bccaf2f9c0","_postman_id":"b84f8330-1169-4882-8df0-63bccaf2f9c0","description":""},{"name":"promotions","item":[{"name":"{{baseUrl}}/api/IndirectSales/promotions","id":"2ddc46bf-1173-4a62-b93d-b41ec8a4df08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotions?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotions"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"85cc5f7e-42ec-43b6-ac8d-a714b6a80cc6","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotions?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotions"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"efceb007-c541-4349-a61d-e8a0cd5a184b","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotions?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotions"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"text\": \"<string>\",\n \"type\": \"<integer>\",\n \"show\": \"<integer>\",\n \"suggest\": \"<integer>\",\n \"considerDiscountsOtherPromotion\": \"<integer>\",\n \"usageLimit\": \"<integer>\",\n \"requirementScopeType\": \"<integer>\",\n \"requirementScopeCode\": \"<integer>\",\n \"scopeConsiderRequirementReturn\": \"<integer>\",\n \"scopeConsiderRequirementGroup\": \"<integer>\",\n \"cumulative\": \"<integer>\",\n \"productEarnedQuantityReducer\": \"<integer>\",\n \"startEarnedQuantityProduct\": \"<integer>\",\n \"endEarnedQuantityProduct\": \"<integer>\",\n \"orderRequirementValueType\": \"<integer>\",\n \"orderRequirementTargetType\": \"<integer>\",\n \"productCodeOrderRequirement\": \"<integer>\",\n \"structureCodeOrderRequirement\": \"<integer>\",\n \"enforcementPriority\": \"<integer>\",\n \"earnPreviousRequirements\": \"<integer>\",\n \"suggestItems\": \"<integer>\",\n \"minimumNecessaryRequiriments\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"text\": \"<string>\",\n \"type\": \"<integer>\",\n \"show\": \"<integer>\",\n \"suggest\": \"<integer>\",\n \"considerDiscountsOtherPromotion\": \"<integer>\",\n \"usageLimit\": \"<integer>\",\n \"requirementScopeType\": \"<integer>\",\n \"requirementScopeCode\": \"<integer>\",\n \"scopeConsiderRequirementReturn\": \"<integer>\",\n \"scopeConsiderRequirementGroup\": \"<integer>\",\n \"cumulative\": \"<integer>\",\n \"productEarnedQuantityReducer\": \"<integer>\",\n \"startEarnedQuantityProduct\": \"<integer>\",\n \"endEarnedQuantityProduct\": \"<integer>\",\n \"orderRequirementValueType\": \"<integer>\",\n \"orderRequirementTargetType\": \"<integer>\",\n \"productCodeOrderRequirement\": \"<integer>\",\n \"structureCodeOrderRequirement\": \"<integer>\",\n \"enforcementPriority\": \"<integer>\",\n \"earnPreviousRequirements\": \"<integer>\",\n \"suggestItems\": \"<integer>\"\n }\n ]"}],"_postman_id":"2ddc46bf-1173-4a62-b93d-b41ec8a4df08"},{"name":"{{baseUrl}}/api/IndirectSales/promotions/totals","id":"9da49bf2-8c2c-45a4-8f78-be050620a2ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotions/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotions","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"fc7d5c8d-c9cf-4e62-abc4-9039fcf605ed","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotions/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotions","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"dd553a73-1808-47ad-a0ab-341434c2b76f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotions/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotions","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"9da49bf2-8c2c-45a4-8f78-be050620a2ea"}],"id":"4e969a74-8cc3-4cb6-99c5-9dc9c312fad5","_postman_id":"4e969a74-8cc3-4cb6-99c5-9dc9c312fad5","description":""},{"name":"dependent Promotions","item":[{"name":"{{baseUrl}}/api/IndirectSales/dependentPromotions","id":"5d321ed5-0700-4e7b-a92c-f66adf79b61e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/dependentPromotions?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","dependentPromotions"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"1716e91d-5529-4174-ab5e-22f630a3467d","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/dependentPromotions?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","dependentPromotions"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"03cfdda3-c285-4577-9fba-43441a1a5db5","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/dependentPromotions?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","dependentPromotions"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"promotionCode\": \"<integer>\",\n \"dependentPromotionCode\": \"<integer>\",\n \"denied\": \"<integer>\"\n },\n {\n \"promotionCode\": \"<integer>\",\n \"dependentPromotionCode\": \"<integer>\",\n \"denied\": \"<integer>\"\n }\n ]"}],"_postman_id":"5d321ed5-0700-4e7b-a92c-f66adf79b61e"},{"name":"{{baseUrl}}/api/IndirectSales/dependentPromotions/totals","id":"63d77b16-05ee-47b0-80ea-0a16097e684a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/dependentPromotions/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","dependentPromotions","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"bde7e440-6435-4e7d-9e95-4a1af5af374c","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/dependentPromotions/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","dependentPromotions","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"8949fe13-1969-4228-bfb5-ab9f0aa34aae","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/dependentPromotions/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","dependentPromotions","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"63d77b16-05ee-47b0-80ea-0a16097e684a"}],"id":"4d411bf0-003c-42e4-9f8d-eb554e98b52c","_postman_id":"4d411bf0-003c-42e4-9f8d-eb554e98b52c","description":""},{"name":"Promotion Requirements Products","item":[{"name":"{{baseUrl}}/api/IndirectSales/promotionRequirementsProducts","id":"c53cc9a5-eb83-4998-9c16-e999ad7b8b3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionRequirementsProducts?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionRequirementsProducts"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"4d9173a9-b76f-4218-a3c3-0f1b399a1d35","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsProducts?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsProducts"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"1cb3f4f9-2f6d-46de-83ae-d8fd3d39bc51","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsProducts?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsProducts"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"promotionCode\": \"<integer>\",\n \"numberRequirementProduct\": \"<integer>\",\n \"requirementProductValueType\": \"<integer>\",\n \"requirementValue\": \"<double>\",\n \"differentIndicator\": \"<integer>\",\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\",\n \"logicalOperator\": \"<integer>\",\n \"classificationValue\": \"<integer>\",\n \"batchCoupon\": \"<integer>\"\n },\n {\n \"promotionCode\": \"<integer>\",\n \"numberRequirementProduct\": \"<integer>\",\n \"requirementProductValueType\": \"<integer>\",\n \"requirementValue\": \"<double>\",\n \"differentIndicator\": \"<integer>\",\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\",\n \"logicalOperator\": \"<integer>\",\n \"classificationValue\": \"<integer>\",\n \"batchCoupon\": \"<integer>\"\n }\n ]"}],"_postman_id":"c53cc9a5-eb83-4998-9c16-e999ad7b8b3e"},{"name":"{{baseUrl}}/api/IndirectSales/promotionRequirementsProducts/totals","id":"889b5610-c365-4acf-93e4-82871fef6770","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionRequirementsProducts/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionRequirementsProducts","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"c38f5cd1-fec5-43e2-9c80-cfb3ca8ece87","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsProducts/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsProducts","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"a5874219-d127-4c06-ae6b-4b0d8e745565","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsProducts/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsProducts","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"889b5610-c365-4acf-93e4-82871fef6770"}],"id":"3319cbd2-368c-4cc5-82c4-8f907624f07d","_postman_id":"3319cbd2-368c-4cc5-82c4-8f907624f07d","description":""},{"name":"promotion requirements orders","item":[{"name":"{{baseUrl}}/api/IndirectSales/promotionRequirementsOrders","id":"e4aeae24-5a31-4a43-b1c9-f5f96bf30c53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionRequirementsOrders?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionRequirementsOrders"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"1803636d-bfdb-4f23-a72b-97a54c0f975f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsOrders?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsOrders"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"promotionCode\": \"<integer>\",\n \"numberRequirementOrder\": \"<integer>\",\n \"startRange\": \"<double>\",\n \"endRange\": \"<double>\",\n \"earnedQuantity\": \"<integer>\"\n },\n {\n \"promotionCode\": \"<integer>\",\n \"numberRequirementOrder\": \"<integer>\",\n \"startRange\": \"<double>\",\n \"endRange\": \"<double>\",\n \"earnedQuantity\": \"<integer>\"\n }\n ]"},{"id":"0bd4d03c-77f8-4cad-bf2a-3c4c8cd3712e","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsOrders?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsOrders"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"e4aeae24-5a31-4a43-b1c9-f5f96bf30c53"},{"name":"{{baseUrl}}/api/IndirectSales/promotionRequirementsOrders/totals","id":"34b36030-cf98-4611-ae35-f579275c433a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionRequirementsOrders/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionRequirementsOrders","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"1f3376fb-8746-4439-a7b3-0096912b5986","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsOrders/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsOrders","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"c15af71d-54f5-4848-818f-169b2efcbc73","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsOrders/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsOrders","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"34b36030-cf98-4611-ae35-f579275c433a"}],"id":"0a231f2f-5526-4cb2-8146-e7b689ac320e","_postman_id":"0a231f2f-5526-4cb2-8146-e7b689ac320e","description":""},{"name":"promotion requirements payments","item":[{"name":"{{baseUrl}}/api/IndirectSales/promotionRequirementsPayments","id":"105612f1-7f6a-4361-b2f2-1fb8cfc02ece","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionRequirementsPayments?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionRequirementsPayments"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"b8f7195e-90fa-4c62-b969-396aff5719d2","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsPayments?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsPayments"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"e293b36f-cab2-4223-b0a0-aaa297ca82a0","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsPayments?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsPayments"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"promotionCode\": \"<integer>\",\n \"numberRequirementPayment\": \"<integer>\",\n \"paymentPlanCode\": \"<integer>\"\n },\n {\n \"promotionCode\": \"<integer>\",\n \"numberRequirementPayment\": \"<integer>\",\n \"paymentPlanCode\": \"<integer>\"\n }\n ]"}],"_postman_id":"105612f1-7f6a-4361-b2f2-1fb8cfc02ece"},{"name":"{{baseUrl}}/api/IndirectSales/promotionRequirementsPayments/totals","id":"ff21ad66-4eee-454c-bec2-6b48dac3ec1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionRequirementsPayments/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionRequirementsPayments","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"7efef3c0-86ef-4b5d-8c55-efa938605544","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsPayments/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsPayments","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"f552c810-3b53-4236-90fd-0849b83906e1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionRequirementsPayments/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionRequirementsPayments","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"ff21ad66-4eee-454c-bec2-6b48dac3ec1b"}],"id":"0bb4e27a-d442-4930-ad69-641707536328","_postman_id":"0bb4e27a-d442-4930-ad69-641707536328","description":""},{"name":"Promotion Prizes","item":[{"name":"{{baseUrl}}/api/IndirectSales/promotionPrizes","id":"4f5a6792-3e7e-43cb-b778-14f49927c5fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionPrizes?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionPrizes"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"9386d3e0-de47-45a3-8369-0c3e5632a9f9","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionPrizes?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionPrizes"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"promotionCode\": \"<integer>\",\n \"prizeNumber\": \"<integer>\",\n \"numberRequirementOrder\": \"<integer>\",\n \"prizeType\": \"<integer>\",\n \"giftValueType\": \"<integer>\",\n \"discountTargetType\": \"<integer>\",\n \"prizeValue\": \"<double>\",\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\",\n \"logicalOperator\": \"<integer>\"\n },\n {\n \"promotionCode\": \"<integer>\",\n \"prizeNumber\": \"<integer>\",\n \"numberRequirementOrder\": \"<integer>\",\n \"prizeType\": \"<integer>\",\n \"giftValueType\": \"<integer>\",\n \"discountTargetType\": \"<integer>\",\n \"prizeValue\": \"<double>\",\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\",\n \"logicalOperator\": \"<integer>\"\n }\n ]"},{"id":"d3ab9fd8-aa1b-4982-8148-3ba83b0683ed","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionPrizes?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionPrizes"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"4f5a6792-3e7e-43cb-b778-14f49927c5fe"},{"name":"{{baseUrl}}/api/IndirectSales/promotionPrizes/totals","id":"1d21efb6-553c-4a8c-8849-bfc60acbd116","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionPrizes/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionPrizes","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"e40b5bb6-3f71-4602-a203-cd4bd8aa865e","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionPrizes/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionPrizes","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"2823a2b3-528b-4268-9b1c-c0f013d187ea","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionPrizes/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionPrizes","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"1d21efb6-553c-4a8c-8849-bfc60acbd116"}],"id":"4144bbe6-3612-49c9-aec1-9ad8a62796db","_postman_id":"4144bbe6-3612-49c9-aec1-9ad8a62796db","description":""},{"name":"product Images","item":[{"name":"{{baseUrl}}/api/IndirectSales/productImages","id":"8610f340-0ad3-4768-979c-5b2401382e0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/productImages?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","productImages"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p><strong>(Required)</strong> Image type (P, M, G, GG)</p>\n","type":"text/plain"},"key":"imageType","value":"<string>"},{"description":{"content":"<p><strong>(Required)</strong> Image extension (jpg, png, etc... )</p>\n","type":"text/plain"},"key":"extension","value":"<string>"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"e1742027-b600-440d-b7d7-8e13640c7d3e","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productImages?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productImages"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"imageType","value":"<string>"},{"key":"extension","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"27742956-caa8-48e0-8884-2917d1f115f7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productImages?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productImages"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"imageType","value":"<string>"},{"key":"extension","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"productCode\": \"<integer>\",\n \"imageUrl\": \"<string>\"\n }"}],"_postman_id":"8610f340-0ad3-4768-979c-5b2401382e0e"},{"name":"{{baseUrl}}/api/IndirectSales/productImages/totals","id":"a57074cd-133e-4d71-bd7f-3e42b5b52ac8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/productImages/totals?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","productImages","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p><strong>(Required)</strong> Image type (P, M, G, GG, ZOOM)</p>\n","type":"text/plain"},"key":"imageType","value":"<string>"},{"description":{"content":"<p><strong>(Required)</strong> Image extension (jpg, png, etc... )</p>\n","type":"text/plain"},"key":"extension","value":"<string>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"d457daf5-6db4-4bc2-bf31-e51c0992e168","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productImages/totals?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productImages","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"imageType","value":"<string>"},{"key":"extension","value":"<string>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"de10c724-d723-4ddc-9d21-3fa80b7356a5","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productImages/totals?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productImages","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"imageType","value":"<string>"},{"key":"extension","value":"<string>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"a57074cd-133e-4d71-bd7f-3e42b5b52ac8"}],"id":"3296f986-d2ae-4323-9924-49455c42891f","_postman_id":"3296f986-d2ae-4323-9924-49455c42891f","description":""},{"name":"product classification values","item":[{"name":"{{baseUrl}}/api/IndirectSales/productClassificationValues","id":"d252d342-f3dc-44e9-94a2-03f8281b864f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/productClassificationValues?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","productClassificationValues"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"6cf3a709-ea6d-40fc-a65a-8691e09a9382","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productClassificationValues?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productClassificationValues"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"productCode\": \"<integer>\",\n \"classificationValue\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"classificationValue\": \"<integer>\"\n }\n ]"},{"id":"316b0be4-ed2f-4143-b79e-159d756c29f9","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productClassificationValues?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productClassificationValues"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"d252d342-f3dc-44e9-94a2-03f8281b864f"},{"name":"{{baseUrl}}/api/IndirectSales/productClassificationValues/totals","id":"cab68917-8f6e-4cf8-a8fb-c6901953d034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/productClassificationValues/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","productClassificationValues","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"69c3acc5-8f09-4b36-a45b-41f85c96108f","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productClassificationValues/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productClassificationValues","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"ec4c27d3-02c4-467c-a1b6-55bb6de6950d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/productClassificationValues/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","productClassificationValues","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"cab68917-8f6e-4cf8-a8fb-c6901953d034"}],"id":"0266ced1-c706-4007-bba8-efec5e7f69e4","_postman_id":"0266ced1-c706-4007-bba8-efec5e7f69e4","description":""},{"name":"classification Values","item":[{"name":"{{baseUrl}}/api/IndirectSales/classificationValues","id":"052b8167-7cef-462a-a221-9dd37b802d88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/classificationValues?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","classificationValues"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"d1a236a2-80fc-4953-845c-4c7cdbbcf6b3","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/classificationValues?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","classificationValues"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"09bd1321-db10-4792-85b7-357510db0e02","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/classificationValues?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","classificationValues"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"classificationValueNumber\": \"<integer>\",\n \"classificationValueDescription\": \"<string>\"\n },\n {\n \"classificationValueNumber\": \"<integer>\",\n \"classificationValueDescription\": \"<string>\"\n }\n ]"}],"_postman_id":"052b8167-7cef-462a-a221-9dd37b802d88"},{"name":"{{baseUrl}}/api/IndirectSales/classificationValues/totals","id":"12f2360f-71c0-48d7-b1f8-6631b85980f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/classificationValues/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","classificationValues","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"b0d5b0e8-9b31-4799-9652-80c5a56143d5","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/classificationValues/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","classificationValues","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"a2815837-3dbf-40e1-b340-ea97370f61fa","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/classificationValues/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","classificationValues","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"12f2360f-71c0-48d7-b1f8-6631b85980f3"}],"id":"9e468610-788e-4865-ae5f-549fc49f94dd","_postman_id":"9e468610-788e-4865-ae5f-549fc49f94dd","description":""},{"name":"user","item":[{"name":"{{baseUrl}}/api/IndirectSales/user","id":"8b0d53f7-9d09-40d6-8db2-9af8365ea255","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/user","urlObject":{"path":["api","IndirectSales","user"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"f49f1fe0-8f59-4b3a-8a33-c4e94103a3ac","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/user"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"f5dd358b-5f03-4df0-b731-f6631d0846e8","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"availableFlexValue\": \"<double>\",\n \"image\": \"<byte>\"\n }"}],"_postman_id":"8b0d53f7-9d09-40d6-8db2-9af8365ea255"},{"name":"{{baseUrl}}/api/IndirectSales/user/:id/saleRelationships","id":"d3a42640-3943-4f7e-8fd8-f3d90125d847","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/user/:id/saleRelationships?includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","user",":id","saleRelationships"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>include options (all)</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>include options (all)</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"a38a57a2-93f2-4312-8562-9dd55bc3b94b","description":{"content":"<p><strong>(Required)</strong> User code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"5810c1ad-4f9e-48fe-aca0-7492d5002bd5","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/user/:id/saleRelationships?includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","user",":id","saleRelationships"],"query":[{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"2330b37c-cdec-4097-9e17-6f08553e2003","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/user/:id/saleRelationships?includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","user",":id","saleRelationships"],"query":[{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"personType\": \"<integer>\",\n \"image\": \"<byte>\",\n \"document\": \"<string>\",\n \"documentType\": \"<integer>\",\n \"telephone\": \"<string>\",\n \"address\": \"<string>\",\n \"financialSituation\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"personType\": \"<integer>\",\n \"image\": \"<byte>\",\n \"document\": \"<string>\",\n \"documentType\": \"<integer>\",\n \"telephone\": \"<string>\",\n \"address\": \"<string>\",\n \"financialSituation\": \"<string>\"\n }\n ]"}],"_postman_id":"d3a42640-3943-4f7e-8fd8-f3d90125d847"}],"id":"c5fea7a7-7adf-4339-8d87-b4b161cbd642","_postman_id":"c5fea7a7-7adf-4339-8d87-b4b161cbd642","description":""},{"name":"people/{id}","item":[{"name":"{{baseUrl}}/api/IndirectSales/people/:id","id":"31a373a5-e77a-4d3a-90f9-2cc992675309","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/people/:id","urlObject":{"path":["api","IndirectSales","people",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"2957aa9a-1581-4d5e-8d90-2adb2eb396d8","description":{"content":"<p><strong>(Required)</strong> Person code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"0bbdbf61-0087-49b4-b6c1-f90fc552a4e0","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/people/:id","host":["{{baseUrl}}"],"path":["api","IndirectSales","people",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"1b2b3668-5e71-4a61-814e-e7782c0e2276","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/people/:id","host":["{{baseUrl}}"],"path":["api","IndirectSales","people",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"personCode\": \"<integer>\",\n \"personType\": \"<integer>\",\n \"name\": \"<string>\",\n \"nickname\": \"<string>\",\n \"cycle\": \"<integer>\",\n \"creditLimit\": \"<integer>\",\n \"creditBalance\": \"<integer>\",\n \"billable\": \"<integer>\",\n \"payable\": \"<integer>\",\n \"unpaid\": \"<integer>\",\n \"maximumCreditPercentage\": \"<double>\",\n \"minimumScore\": \"<integer>\",\n \"businessRuleCode\": \"<integer>\",\n \"warehouseCode\": \"<integer>\",\n \"promotionDiscountApplicationForm\": \"<integer>\",\n \"maximumFlexDiscountPercentage\": \"<double>\",\n \"maximumFlexIncreasePercentage\": \"<double>\",\n \"residualBankAccountValue\": \"<double>\",\n \"allocatesStock\": \"<integer>\",\n \"image\": \"<byte>\",\n \"document\": \"<string>\",\n \"documentType\": \"<integer>\",\n \"telephone\": \"<string>\",\n \"address\": \"<string>\",\n \"financialSituation\": \"<string>\",\n \"financialSituationCode\": \"<integer>\",\n \"negotiationAllowed\": \"<integer>\",\n \"deliveryAddresses\": [\n {\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"address\": \"<string>\",\n \"deliveryOptions\": [\n {\n \"code\": \"<integer>\",\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"detail\": \"<integer>\",\n \"detailText\": \"<string>\",\n \"term\": \"<integer>\",\n \"orderValueType\": \"<integer>\",\n \"orderValueSteps\": [\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ],\n \"scheduledDeliveryDays\": [\n \"<dateTime>\",\n \"<dateTime>\"\n ],\n \"scheduledDeliveryPeriods\": [\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"detail\": \"<integer>\",\n \"detailText\": \"<string>\",\n \"term\": \"<integer>\",\n \"orderValueType\": \"<integer>\",\n \"orderValueSteps\": [\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ],\n \"scheduledDeliveryDays\": [\n \"<dateTime>\",\n \"<dateTime>\"\n ],\n \"scheduledDeliveryPeriods\": [\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ]\n },\n {\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"address\": \"<string>\",\n \"deliveryOptions\": [\n {\n \"code\": \"<integer>\",\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"detail\": \"<integer>\",\n \"detailText\": \"<string>\",\n \"term\": \"<integer>\",\n \"orderValueType\": \"<integer>\",\n \"orderValueSteps\": [\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ],\n \"scheduledDeliveryDays\": [\n \"<dateTime>\",\n \"<dateTime>\"\n ],\n \"scheduledDeliveryPeriods\": [\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"detail\": \"<integer>\",\n \"detailText\": \"<string>\",\n \"term\": \"<integer>\",\n \"orderValueType\": \"<integer>\",\n \"orderValueSteps\": [\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ],\n \"scheduledDeliveryDays\": [\n \"<dateTime>\",\n \"<dateTime>\"\n ],\n \"scheduledDeliveryPeriods\": [\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"paymentPlans\": [\n {\n \"paymentPlanCode\": \"<integer>\"\n },\n {\n \"paymentPlanCode\": \"<integer>\"\n }\n ],\n \"productPrices\": [\n {\n \"productCode\": \"<integer>\",\n \"productType\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"minimumPrice\": \"<double>\",\n \"maximumPrice\": \"<double>\",\n \"adjustmentPercentage\": \"<double>\",\n \"productPurchaseType\": \"<integer>\",\n \"reasonForClosedBoxRestriction\": \"<integer>\",\n \"restrictionMultipleQuantity\": \"<integer>\",\n \"unitsPerBox\": \"<integer>\",\n \"suggestClosedBox\": \"<integer>\",\n \"suggestClosedBoxQuantity\": \"<integer>\",\n \"closedBoxProductCode\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"productType\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"minimumPrice\": \"<double>\",\n \"maximumPrice\": \"<double>\",\n \"adjustmentPercentage\": \"<double>\",\n \"productPurchaseType\": \"<integer>\",\n \"reasonForClosedBoxRestriction\": \"<integer>\",\n \"restrictionMultipleQuantity\": \"<integer>\",\n \"unitsPerBox\": \"<integer>\",\n \"suggestClosedBox\": \"<integer>\",\n \"suggestClosedBoxQuantity\": \"<integer>\",\n \"closedBoxProductCode\": \"<integer>\"\n }\n ],\n \"productStocks\": [\n {\n \"productCode\": \"<integer>\",\n \"availableQuantity\": \"<integer>\",\n \"applyQuotaOnGifts\": \"<integer>\",\n \"availableQuotasQuantity\": \"<integer>\",\n \"weight\": \"<double>\",\n \"volume\": \"<double>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"availableQuantity\": \"<integer>\",\n \"applyQuotaOnGifts\": \"<integer>\",\n \"availableQuotasQuantity\": \"<integer>\",\n \"weight\": \"<double>\",\n \"volume\": \"<double>\"\n }\n ],\n \"purchaseSuggestions\": [\n {\n \"purchaseSuggestionCode\": \"<integer>\",\n \"purchaseSuggestionName\": \"<string>\",\n \"items\": [\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n }\n ],\n \"personal\": \"<boolean>\",\n \"showInOrderingStart\": \"<integer>\",\n \"showWhenFieldingAnOrder\": \"<integer>\",\n \"showWhenApplyingPromotion\": \"<integer>\"\n },\n {\n \"purchaseSuggestionCode\": \"<integer>\",\n \"purchaseSuggestionName\": \"<string>\",\n \"items\": [\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n }\n ],\n \"personal\": \"<boolean>\",\n \"showInOrderingStart\": \"<integer>\",\n \"showWhenFieldingAnOrder\": \"<integer>\",\n \"showWhenApplyingPromotion\": \"<integer>\"\n }\n ],\n \"itemsToAdd\": [\n {\n \"itemToAddCode\": \"<integer>\",\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\",\n \"productType\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\",\n \"quantity\": \"<integer>\",\n \"required\": \"<integer>\",\n \"source\": \"<integer>\"\n },\n {\n \"itemToAddCode\": \"<integer>\",\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\",\n \"productType\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\",\n \"quantity\": \"<integer>\",\n \"required\": \"<integer>\",\n \"source\": \"<integer>\"\n }\n ],\n \"promotions\": [\n {\n \"promotionCode\": \"<integer>\",\n \"useQuantity\": \"<integer>\"\n },\n {\n \"promotionCode\": \"<integer>\",\n \"useQuantity\": \"<integer>\"\n }\n ],\n \"promotionsScopes\": [\n {\n \"scopeCode\": \"<integer>\",\n \"scopeConsiderRequirementReturn\": \"<integer>\",\n \"scopeConsiderRequirementGroup\": \"<integer>\",\n \"items\": [\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\"\n }\n ]\n },\n {\n \"scopeCode\": \"<integer>\",\n \"scopeConsiderRequirementReturn\": \"<integer>\",\n \"scopeConsiderRequirementGroup\": \"<integer>\",\n \"items\": [\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\"\n }\n ]\n }\n ]\n }"}],"_postman_id":"31a373a5-e77a-4d3a-90f9-2cc992675309"},{"name":"{{baseUrl}}/api/IndirectSales/people/:id/checkUpdateOrders","id":"0e9af951-160d-43cb-83a6-34ad6f1736e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/people/:id/checkUpdateOrders?lastLoadTimeUtc=<dateTime>","urlObject":{"path":["api","IndirectSales","people",":id","checkUpdateOrders"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"}],"variable":[{"id":"4790e200-80ce-4bb9-859c-f7c13242a8d0","description":{"content":"<p><strong>(Required)</strong> Person code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"ce1c2caf-976e-4774-8d1f-8c67b4dee722","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/people/:id/checkUpdateOrders?lastLoadTimeUtc=<dateTime>","host":["{{baseUrl}}"],"path":["api","IndirectSales","people",":id","checkUpdateOrders"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"update\": \"<boolean>\"\n }"},{"id":"aa265024-ac5b-43be-8cef-aa6899f77ef9","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/people/:id/checkUpdateOrders?lastLoadTimeUtc=<dateTime>","host":["{{baseUrl}}"],"path":["api","IndirectSales","people",":id","checkUpdateOrders"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"0e9af951-160d-43cb-83a6-34ad6f1736e8"},{"name":"{{baseUrl}}/api/IndirectSales/people/:id/:businessRoleCode/promotions","id":"7677cb28-7298-40ec-a931-cafc13eebacb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/people/:id/:businessRoleCode/promotions","urlObject":{"path":["api","IndirectSales","people",":id",":businessRoleCode","promotions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"8aaabd13-7430-483a-af37-5ea91dbe75f6","description":{"content":"<p><strong>(Required)</strong> Person code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"bfec3c2d-cccb-4853-87ba-5b602f5a7204","description":{"content":"<p><strong>(Required)</strong> Business Role code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"businessRoleCode"}]}},"response":[{"id":"f53e9a79-160d-49ec-9c87-d19a62c72249","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/people/:id/:businessRoleCode/promotions","host":["{{baseUrl}}"],"path":["api","IndirectSales","people",":id",":businessRoleCode","promotions"],"variable":[{"key":"id"},{"key":"businessRoleCode"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"personCode\": \"<integer>\",\n \"personType\": \"<integer>\",\n \"name\": \"<string>\",\n \"nickname\": \"<string>\",\n \"cycle\": \"<integer>\",\n \"creditLimit\": \"<integer>\",\n \"creditBalance\": \"<integer>\",\n \"billable\": \"<integer>\",\n \"payable\": \"<integer>\",\n \"unpaid\": \"<integer>\",\n \"maximumCreditPercentage\": \"<double>\",\n \"minimumScore\": \"<integer>\",\n \"businessRuleCode\": \"<integer>\",\n \"warehouseCode\": \"<integer>\",\n \"promotionDiscountApplicationForm\": \"<integer>\",\n \"maximumFlexDiscountPercentage\": \"<double>\",\n \"maximumFlexIncreasePercentage\": \"<double>\",\n \"residualBankAccountValue\": \"<double>\",\n \"allocatesStock\": \"<integer>\",\n \"image\": \"<byte>\",\n \"document\": \"<string>\",\n \"documentType\": \"<integer>\",\n \"telephone\": \"<string>\",\n \"address\": \"<string>\",\n \"financialSituation\": \"<string>\",\n \"financialSituationCode\": \"<integer>\",\n \"negotiationAllowed\": \"<integer>\",\n \"deliveryAddresses\": [\n {\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"address\": \"<string>\",\n \"deliveryOptions\": [\n {\n \"code\": \"<integer>\",\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"detail\": \"<integer>\",\n \"detailText\": \"<string>\",\n \"term\": \"<integer>\",\n \"orderValueType\": \"<integer>\",\n \"orderValueSteps\": [\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ],\n \"scheduledDeliveryDays\": [\n \"<dateTime>\",\n \"<dateTime>\"\n ],\n \"scheduledDeliveryPeriods\": [\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"detail\": \"<integer>\",\n \"detailText\": \"<string>\",\n \"term\": \"<integer>\",\n \"orderValueType\": \"<integer>\",\n \"orderValueSteps\": [\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ],\n \"scheduledDeliveryDays\": [\n \"<dateTime>\",\n \"<dateTime>\"\n ],\n \"scheduledDeliveryPeriods\": [\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ]\n },\n {\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"address\": \"<string>\",\n \"deliveryOptions\": [\n {\n \"code\": \"<integer>\",\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"detail\": \"<integer>\",\n \"detailText\": \"<string>\",\n \"term\": \"<integer>\",\n \"orderValueType\": \"<integer>\",\n \"orderValueSteps\": [\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ],\n \"scheduledDeliveryDays\": [\n \"<dateTime>\",\n \"<dateTime>\"\n ],\n \"scheduledDeliveryPeriods\": [\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"type\": \"<integer>\",\n \"typeText\": \"<string>\",\n \"detail\": \"<integer>\",\n \"detailText\": \"<string>\",\n \"term\": \"<integer>\",\n \"orderValueType\": \"<integer>\",\n \"orderValueSteps\": [\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"initialOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"finalOrderValue\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"value\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ],\n \"scheduledDeliveryDays\": [\n \"<dateTime>\",\n \"<dateTime>\"\n ],\n \"scheduledDeliveryPeriods\": [\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"period\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"periodText\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"startTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"endTime\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"paymentPlans\": [\n {\n \"paymentPlanCode\": \"<integer>\"\n },\n {\n \"paymentPlanCode\": \"<integer>\"\n }\n ],\n \"productPrices\": [\n {\n \"productCode\": \"<integer>\",\n \"productType\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"minimumPrice\": \"<double>\",\n \"maximumPrice\": \"<double>\",\n \"adjustmentPercentage\": \"<double>\",\n \"productPurchaseType\": \"<integer>\",\n \"reasonForClosedBoxRestriction\": \"<integer>\",\n \"restrictionMultipleQuantity\": \"<integer>\",\n \"unitsPerBox\": \"<integer>\",\n \"suggestClosedBox\": \"<integer>\",\n \"suggestClosedBoxQuantity\": \"<integer>\",\n \"closedBoxProductCode\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"productType\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"minimumPrice\": \"<double>\",\n \"maximumPrice\": \"<double>\",\n \"adjustmentPercentage\": \"<double>\",\n \"productPurchaseType\": \"<integer>\",\n \"reasonForClosedBoxRestriction\": \"<integer>\",\n \"restrictionMultipleQuantity\": \"<integer>\",\n \"unitsPerBox\": \"<integer>\",\n \"suggestClosedBox\": \"<integer>\",\n \"suggestClosedBoxQuantity\": \"<integer>\",\n \"closedBoxProductCode\": \"<integer>\"\n }\n ],\n \"productStocks\": [\n {\n \"productCode\": \"<integer>\",\n \"availableQuantity\": \"<integer>\",\n \"applyQuotaOnGifts\": \"<integer>\",\n \"availableQuotasQuantity\": \"<integer>\",\n \"weight\": \"<double>\",\n \"volume\": \"<double>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"availableQuantity\": \"<integer>\",\n \"applyQuotaOnGifts\": \"<integer>\",\n \"availableQuotasQuantity\": \"<integer>\",\n \"weight\": \"<double>\",\n \"volume\": \"<double>\"\n }\n ],\n \"purchaseSuggestions\": [\n {\n \"purchaseSuggestionCode\": \"<integer>\",\n \"purchaseSuggestionName\": \"<string>\",\n \"items\": [\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n }\n ],\n \"personal\": \"<boolean>\",\n \"showInOrderingStart\": \"<integer>\",\n \"showWhenFieldingAnOrder\": \"<integer>\",\n \"showWhenApplyingPromotion\": \"<integer>\"\n },\n {\n \"purchaseSuggestionCode\": \"<integer>\",\n \"purchaseSuggestionName\": \"<string>\",\n \"items\": [\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"order\": \"<integer>\"\n }\n ],\n \"personal\": \"<boolean>\",\n \"showInOrderingStart\": \"<integer>\",\n \"showWhenFieldingAnOrder\": \"<integer>\",\n \"showWhenApplyingPromotion\": \"<integer>\"\n }\n ],\n \"itemsToAdd\": [\n {\n \"itemToAddCode\": \"<integer>\",\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\",\n \"productType\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\",\n \"quantity\": \"<integer>\",\n \"required\": \"<integer>\",\n \"source\": \"<integer>\"\n },\n {\n \"itemToAddCode\": \"<integer>\",\n \"productCode\": \"<integer>\",\n \"structureCode\": \"<integer>\",\n \"productType\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\",\n \"quantity\": \"<integer>\",\n \"required\": \"<integer>\",\n \"source\": \"<integer>\"\n }\n ],\n \"promotions\": [\n {\n \"promotionCode\": \"<integer>\",\n \"useQuantity\": \"<integer>\"\n },\n {\n \"promotionCode\": \"<integer>\",\n \"useQuantity\": \"<integer>\"\n }\n ],\n \"promotionsScopes\": [\n {\n \"scopeCode\": \"<integer>\",\n \"scopeConsiderRequirementReturn\": \"<integer>\",\n \"scopeConsiderRequirementGroup\": \"<integer>\",\n \"items\": [\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\"\n }\n ]\n },\n {\n \"scopeCode\": \"<integer>\",\n \"scopeConsiderRequirementReturn\": \"<integer>\",\n \"scopeConsiderRequirementGroup\": \"<integer>\",\n \"items\": [\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\"\n },\n {\n \"productCode\": \"<integer>\",\n \"quantity\": \"<integer>\",\n \"points\": \"<integer>\",\n \"listPrice\": \"<double>\",\n \"chargedPrice\": \"<double>\",\n \"netPrice\": \"<double>\"\n }\n ]\n }\n ]\n }"},{"id":"0e48a8f4-19eb-4736-ab4a-e7ecb7e8cfe3","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/people/:id/:businessRoleCode/promotions","host":["{{baseUrl}}"],"path":["api","IndirectSales","people",":id",":businessRoleCode","promotions"],"variable":[{"key":"id"},{"key":"businessRoleCode"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"7677cb28-7298-40ec-a931-cafc13eebacb"}],"id":"1ea44ed3-1f3a-464f-b7b7-cdb3c67fbaf3","_postman_id":"1ea44ed3-1f3a-464f-b7b7-cdb3c67fbaf3","description":""},{"name":"client Application Parameters","item":[{"name":"{{baseUrl}}/api/IndirectSales/clientApplicationParameters","id":"83268c62-03bf-480b-a75d-2091a884b3b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/clientApplicationParameters?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","clientApplicationParameters"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"e0123e1e-4a9e-47e9-9362-d3da63a163ad","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/clientApplicationParameters?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","clientApplicationParameters"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"3cdd9bd8-157a-4657-a418-79dfd139f7e3","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/clientApplicationParameters?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","clientApplicationParameters"],"query":[{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"clientApplicationCode\": \"<integer>\",\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"domain\": \"<string>\",\n \"type\": \"<integer>\",\n \"countryCode\": \"<integer>\",\n \"initialVersion\": \"<integer>\",\n \"finalVersion\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"clientApplicationCode\": \"<integer>\",\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"domain\": \"<string>\",\n \"type\": \"<integer>\",\n \"countryCode\": \"<integer>\",\n \"initialVersion\": \"<integer>\",\n \"finalVersion\": \"<integer>\"\n }\n ]"}],"_postman_id":"83268c62-03bf-480b-a75d-2091a884b3b6"},{"name":"{{baseUrl}}/api/IndirectSales/clientApplicationParameters/totals","id":"e46df870-95c5-4428-a83f-f991f1fe916a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/clientApplicationParameters/totals?pageSize=<integer>","urlObject":{"path":["api","IndirectSales","clientApplicationParameters","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"7a8369d5-9d80-4250-bc0e-1b3f13da1f0f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/clientApplicationParameters/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","clientApplicationParameters","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"3cf5a56b-06c8-4257-8988-3310e5957309","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/clientApplicationParameters/totals?pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","clientApplicationParameters","totals"],"query":[{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"e46df870-95c5-4428-a83f-f991f1fe916a"}],"id":"de6e1de7-dda9-48e6-a314-cd9f7dc40e7b","_postman_id":"de6e1de7-dda9-48e6-a314-cd9f7dc40e7b","description":""},{"name":"texts","item":[{"name":"{{baseUrl}}/api/IndirectSales/texts","id":"f667d7db-04a8-47d5-8fca-f77eff2ad04f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/texts?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","texts"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"8dee6f1b-ef0f-47f2-9dae-8f47e9aaca46","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/texts?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","texts"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"key\": \"<string>\",\n \"description\": \"<string>\"\n },\n {\n \"key\": \"<string>\",\n \"description\": \"<string>\"\n }\n ]"},{"id":"623035ac-673c-4f6d-923c-457e96527646","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/texts?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","texts"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"f667d7db-04a8-47d5-8fca-f77eff2ad04f"},{"name":"{{baseUrl}}/api/IndirectSales/texts/totals","id":"1470b31e-f44d-4e61-a463-de458425942f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/texts/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","texts","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"191e49ff-67a0-4754-9cb3-fa0dff134c13","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/texts/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","texts","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"2971ff51-406b-463e-bd97-94e1ec945980","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/texts/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","texts","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"1470b31e-f44d-4e61-a463-de458425942f"}],"id":"95f0de9a-a3f0-4988-b878-92fd07918a8f","_postman_id":"95f0de9a-a3f0-4988-b878-92fd07918a8f","description":""},{"name":"domains","item":[{"name":"{{baseUrl}}/api/IndirectSales/domains","id":"6e3a7053-91b9-46c3-998d-1c32f3481df7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/domains?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","domains"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"442a7e8d-21a4-4d0b-9931-95fe13dab3b8","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/domains?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","domains"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"name\": \"<string>\",\n \"value\": \"<integer>\",\n \"description\": \"<string>\",\n \"order\": \"<integer>\"\n },\n {\n \"name\": \"<string>\",\n \"value\": \"<integer>\",\n \"description\": \"<string>\",\n \"order\": \"<integer>\"\n }\n ]"},{"id":"89740ef1-74bf-4683-9eb8-dff75fb5b648","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/domains?lastLoadTimeUtc=<dateTime>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","domains"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"6e3a7053-91b9-46c3-998d-1c32f3481df7"},{"name":"{{baseUrl}}/api/IndirectSales/domains/totals","id":"b5201dda-ac03-4349-a4ee-98007be6cdf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/domains/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","domains","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"1573fa26-c5c6-49d0-a87c-9313fe18d8b2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/domains/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","domains","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"},{"id":"a7ba5155-d810-4393-b3e5-e60a0d9f18dd","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/domains/totals?lastLoadTimeUtc=<dateTime>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","domains","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"b5201dda-ac03-4349-a4ee-98007be6cdf1"}],"id":"b9fa4ec6-784c-473b-9af9-adb8c63f7689","_postman_id":"b9fa4ec6-784c-473b-9af9-adb8c63f7689","description":""},{"name":"promotion Images","item":[{"name":"{{baseUrl}}/api/IndirectSales/promotionImages","id":"7041e5e7-91d5-4bde-8774-9714764732b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionImages?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionImages"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p><strong>(Required)</strong> Image type (P, M, G, GG)</p>\n","type":"text/plain"},"key":"imageType","value":"<string>"},{"description":{"content":"<p><strong>(Required)</strong> Image extension (jpg, png, etc... )</p>\n","type":"text/plain"},"key":"extension","value":"<string>"},{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"db6fdec4-7672-4455-b959-ac8fc4198d72","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionImages?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionImages"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"imageType","value":"<string>"},{"key":"extension","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"promotionCode\": \"<integer>\",\n \"imageUrl\": \"<string>\"\n }"},{"id":"18c6c988-c854-476e-86b5-2b73a469d360","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionImages?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionImages"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"imageType","value":"<string>"},{"key":"extension","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"7041e5e7-91d5-4bde-8774-9714764732b2"},{"name":"{{baseUrl}}/api/IndirectSales/promotionImages/totals","id":"e539eba1-fd46-411a-b135-b80f876ee6de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/promotionImages/totals?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&pageSize=<integer>","urlObject":{"path":["api","IndirectSales","promotionImages","totals"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Last load date time in UTC</p>\n","type":"text/plain"},"key":"lastLoadTimeUtc","value":"<dateTime>"},{"description":{"content":"<p><strong>(Required)</strong> Image type (P, M, G, GG)</p>\n","type":"text/plain"},"key":"imageType","value":"<string>"},{"description":{"content":"<p><strong>(Required)</strong> Image extension (jpg, png, etc... )</p>\n","type":"text/plain"},"key":"extension","value":"<string>"},{"description":{"content":"<p>page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"817185d7-9e5b-4bc9-9743-c92a3baf051d","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionImages/totals?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionImages","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"imageType","value":"<string>"},{"key":"extension","value":"<string>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"c8080078-7afa-4f3a-9b16-3692a10f34d2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/promotionImages/totals?lastLoadTimeUtc=<dateTime>&imageType=<string>&extension=<string>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","IndirectSales","promotionImages","totals"],"query":[{"key":"lastLoadTimeUtc","value":"<dateTime>"},{"key":"imageType","value":"<string>"},{"key":"extension","value":"<string>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"totalRecords\": \"<integer>\",\n \"pageQuantity\": \"<integer>\"\n }"}],"_postman_id":"e539eba1-fd46-411a-b135-b80f876ee6de"}],"id":"49f87d29-f450-450e-83e8-47cadb6c30d2","_postman_id":"49f87d29-f450-450e-83e8-47cadb6c30d2","description":""},{"name":"{{baseUrl}}/api/IndirectSales/personSearch","id":"7ae75cf0-0f2a-4efe-9910-b46ca3948afb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/IndirectSales/personSearch?code=<integer>&email=<string>&documentType=<integer>&document=<string>","urlObject":{"path":["api","IndirectSales","personSearch"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>person code</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Person email</p>\n","type":"text/plain"},"key":"email","value":"<string>"},{"description":{"content":"<p>document type</p>\n","type":"text/plain"},"key":"documentType","value":"<integer>"},{"description":{"content":"<p>document</p>\n","type":"text/plain"},"key":"document","value":"<string>"}],"variable":[]}},"response":[{"id":"d1c5faa9-463d-4395-8ebd-b024fc410869","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/personSearch?code=<integer>&email=<string>&documentType=<integer>&document=<string>","host":["{{baseUrl}}"],"path":["api","IndirectSales","personSearch"],"query":[{"key":"code","value":"<integer>"},{"key":"email","value":"<string>"},{"key":"documentType","value":"<integer>"},{"key":"document","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"personCode\": \"<integer>\",\n \"name\": \"<string>\",\n \"image\": \"<byte>\"\n }"},{"id":"c4dec62e-714c-44d5-bef8-57d7ca8048ed","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/personSearch?code=<integer>&email=<string>&documentType=<integer>&document=<string>","host":["{{baseUrl}}"],"path":["api","IndirectSales","personSearch"],"query":[{"key":"code","value":"<integer>"},{"key":"email","value":"<string>"},{"key":"documentType","value":"<integer>"},{"key":"document","value":"<string>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"},{"id":"c8239d7a-1fca-4be9-8302-086e06a1a4bb","name":"NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/IndirectSales/personSearch?code=<integer>&email=<string>&documentType=<integer>&document=<string>","host":["{{baseUrl}}"],"path":["api","IndirectSales","personSearch"],"query":[{"key":"code","value":"<integer>"},{"key":"email","value":"<string>"},{"key":"documentType","value":"<integer>"},{"key":"document","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"personCode\": \"<integer>\",\n \"name\": \"<string>\",\n \"image\": \"<byte>\"\n }"}],"_postman_id":"7ae75cf0-0f2a-4efe-9910-b46ca3948afb"},{"name":"{{baseUrl}}/api/IndirectSales/orders","id":"f7bfc426-6c3d-475d-a27a-6ad30151ac76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>"},{"key":"businessRuleCode","value":"<integer>"},{"key":"paymentPlanCode","value":"<integer>"},{"key":"deliveryAddressType","value":"<integer>"},{"key":"deliveryOptionCode","value":"<integer>"},{"key":"scheduledDeliveryDay","value":"<dateTime>"},{"key":"scheduledDeliveryPeriod","value":"<integer>"},{"key":"items","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"paymentPlanCode\":\"<integer>\",\"listPrice\":\"<double>\",\"chargedPrice\":\"<double>\",\"netPrice\":\"<double>\",\"netPriceBeforeFlex\":\"<double>\"\"itemToAddCode\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"paymentPlanCode\":\"<integer>\",\"listPrice\":\"<double>\",\"chargedPrice\":\"<double>\",\"netPrice\":\"<double>\",\"netPriceBeforeFlex\":\"<double>\"\"itemToAddCode\":\"<integer>\"}]"},{"key":"itemsgift","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"promotionCode\":\"<integer>\"\"prizeNumber\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"promotionCode\":\"<integer>\"\"prizeNumber\":\"<integer>\"}]"},{"key":"isQuotation","value":"<boolean>"},{"key":"quotationName","value":"<string>"}]},"url":"{{baseUrl}}/api/IndirectSales/orders","urlObject":{"path":["api","IndirectSales","orders"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"be70c5d7-d64f-49d4-9ec7-5eee6ddc211b","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>"},{"key":"businessRuleCode","value":"<integer>"},{"key":"paymentPlanCode","value":"<integer>"},{"key":"deliveryAddressType","value":"<integer>"},{"key":"deliveryOptionCode","value":"<integer>"},{"key":"scheduledDeliveryDay","value":"<dateTime>"},{"key":"scheduledDeliveryPeriod","value":"<integer>"},{"key":"items","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"paymentPlanCode\":\"<integer>\",\"listPrice\":\"<double>\",\"chargedPrice\":\"<double>\",\"netPrice\":\"<double>\",\"netPriceBeforeFlex\":\"<double>\"\"itemToAddCode\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"paymentPlanCode\":\"<integer>\",\"listPrice\":\"<double>\",\"chargedPrice\":\"<double>\",\"netPrice\":\"<double>\",\"netPriceBeforeFlex\":\"<double>\"\"itemToAddCode\":\"<integer>\"}]"},{"key":"itemsgift","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"promotionCode\":\"<integer>\"\"prizeNumber\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"promotionCode\":\"<integer>\"\"prizeNumber\":\"<integer>\"}]"},{"key":"isQuotation","value":"<boolean>"},{"key":"quotationName","value":"<string>"}]},"url":"{{baseUrl}}/api/IndirectSales/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"orderCode\": \"<integer>\",\n \"detail\": \"<string>\",\n \"statusCode\": \"<integer>\",\n \"statusDescription\": \"<string>\"\n }"},{"id":"575829ce-4ed5-44d0-b8a6-66f6a07862ea","name":"BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>"},{"key":"businessRuleCode","value":"<integer>"},{"key":"paymentPlanCode","value":"<integer>"},{"key":"deliveryAddressType","value":"<integer>"},{"key":"deliveryOptionCode","value":"<integer>"},{"key":"scheduledDeliveryDay","value":"<dateTime>"},{"key":"scheduledDeliveryPeriod","value":"<integer>"},{"key":"items","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"paymentPlanCode\":\"<integer>\",\"listPrice\":\"<double>\",\"chargedPrice\":\"<double>\",\"netPrice\":\"<double>\",\"netPriceBeforeFlex\":\"<double>\"\"itemToAddCode\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"paymentPlanCode\":\"<integer>\",\"listPrice\":\"<double>\",\"chargedPrice\":\"<double>\",\"netPrice\":\"<double>\",\"netPriceBeforeFlex\":\"<double>\"\"itemToAddCode\":\"<integer>\"}]"},{"key":"itemsgift","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"promotionCode\":\"<integer>\"\"prizeNumber\":\"<integer>\"},{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"promotionCode\":\"<integer>\"\"prizeNumber\":\"<integer>\"}]"},{"key":"isQuotation","value":"<boolean>"},{"key":"quotationName","value":"<string>"}]},"url":"{{baseUrl}}/api/IndirectSales/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"<string>\"\n }"}],"_postman_id":"f7bfc426-6c3d-475d-a27a-6ad30151ac76"}],"id":"b3e3de76-b856-4cb7-8bc9-b71e3ecfd376","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6f06a450-f32d-43eb-9e63-e8e70f64a5ea"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"f603efa2-580b-4bca-bc8a-9d026c8ca769"}}],"_postman_id":"b3e3de76-b856-4cb7-8bc9-b71e3ecfd376","description":""}],"id":"d2e25cdd-e332-485e-a2a7-37d663ce5e38","description":"<p>Another way to capture a sales order within the platform is through Offline APIs, where the application loads the data, performs sales events locally and then sends the completed order to the platform, but because it is not in real time, the platform can generate backlogs or reject an order if the information sent is not persisted with the rules available at the time the order is received, with this the consistency and reliability that the products have stock, prices, promotions and other factors are not guaranteed to the user at the time Offline sales, as they will only be validated when the platform receives all information.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"58e39776-78dc-4327-b069-1f4b7397ae9e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"379e9dfb-1aa8-424f-ba7a-4a77b71cf8d5"}}],"_postman_id":"d2e25cdd-e332-485e-a2a7-37d663ce5e38"},{"name":"Order Capture Flow - EDI (SOAP)","item":[],"id":"bf1d27ca-afb2-4d18-9971-9040eb291586","description":"<p>Another way to capture a sales order within the platform is through an EDI (Electronic Data Interchange) file that contains a standard defined by Gera to receive through one of the SOAPUI WebService, the file must be sent with the order data ready for platform, upon receiving the \"order request\", the platform can generate backlogs or reject an order, thus generating a return file with the problems or inconsistencies identified, with this the consistency and reliability that the products have stock, prices, promotions and other factors are not guaranteed to the user at the time of sale, as they will only be validated when the platform receives all information through the file and processes it.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"0bf7e76b-6ecb-4671-99a2-a19d11649b59"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d90ee8e6-3d99-4824-a97b-a1cbf7aa6787"}}],"_postman_id":"bf1d27ca-afb2-4d18-9971-9040eb291586"}],"id":"a0cd05ea-c9a5-421e-a003-1c883b448ff3","description":"<p>Order capture is the event in which the sales order is born and runs its cycle within the platform, receiving the products that the user intends to purchase, the gifts that the user can earn, available price negotiations for the products, available promotions for the commercial, geographic scope (\"scope\", profile, function, among others) in which the order is being placed, options for delivery or withdrawal of products, payment methods (boleto, debit/credit cards, duplicate, among others) it can be just 1 or several for the same order, budget generation or order completion.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"0c9d3b1c-f78d-459a-9d90-fe080fbfab1d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"974c4be6-76e3-4e71-9d61-30b1244f90b7"}}],"_postman_id":"a0cd05ea-c9a5-421e-a003-1c883b448ff3"},{"name":"Order Inquiry","item":[{"name":"Consult orders","id":"8e941a0c-318c-45ca-b944-3690105575cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders?number=<integer>&representativeCode=<integer>&indicatedPerson=<integer>&businessStatusCode=<integer>&businessStatusCodeDetail=<integer>&externalIntegrationStatus=<integer>&initialOrdering Cycle=<integer>&endOrderingCycle=<integer>&initialMarketingCycle=<integer>&finalMarketingCycle=<integer>&initialIndicatorCycle=<integer>&finalIndicatorCycle=<integer>&initialCancel Cycle=<integer>&endCancelCycle=<integer>&restrictedOrdering=<boolean>&initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&initialMarketingDate=<dateTime>&finalMarketingDate=<dateTime>&initialApprovalDate=<dateTime>&finalApprovalDate=<dateTime>&initialCancellationDate=<dateTime>&finalCancellationDate=<dateTime>&orderingTypes=<byte>&paid=<boolean>&paymentPlanCode=<integer>&businessModelCode=<integer>&businessStructureCode=<integer>&leaderCode=<integer>&searchAllNetwork=<boolean>&groupCode=<integer>&fiscal Status=<byte>&invoiceNumber=<integer>&initialBillingDate=<dateTime>&final BillingDate=<dateTime>&initialPickingLotCode=<integer>&finalPickingLotCode=<integer>&pickingLineCode=<integer>&distributionCenterCode=<integer>&initialBoxesQuantity=<integer>&finalBoxesQuantity=<integer>&initialDeliveryDate=<dateTime>&endDeliveryDate=<dateTime>&initialDraftTransportNumber=<integer>&finalDraftTransportNumber=<integer>&carrierCode=<integer>&supportCenterCode=<integer>&addressLevel1=<integer>&paymentMethods=<byte>&sortOptions=<string>&page=<integer>&pageSize=<integer>&vendorCode=<integer>&orderType=<byte>&includeOptions=availableAssets&includeOptions=canChangeOrderPaymentPlan&includeOptions=paymentTracking&includeOptions=billing status&includeOptions=creditDataHistory&includeOptions=renegotiationInformation&includeOptions=delivery Orders&includeOptions=consumerCommissionValue&includeOptions=indicator&includeOptions=sellerPictures&includeOptions=vendors&includeOptions=representative&includeOptions=businessInformation&includeOptions=businessStructure&includeOptions=billing information&includeOptions=pickingInformation&includeOptions=delivery information&includeOptions=representativePhone&includeOptions=deliveryAddress&includeOptions=contact information","description":"<p>This call is used to query orders. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter. </p>\n<p> <strong>Heads up</strong></p>\n<p> If no <code>includeOptions</code> parameter is sent, the application returns the following <code>includeOptions</code>:</p>\n<ul>\n<li><code>representative</code>;</li>\n<li><code>businessInformation</code>;</li>\n<li><code>businessStructure</code>;</li>\n<li><code>billingInformation</code>;</li>\n<li><code>pickingInformation</code>;</li>\n<li><code>deliveryInformation</code>;</li>\n<li><code>representativePhone</code>;</li>\n<li><code>deliveryAddress</code>;</li>\n<li><code>contactInformation</code>.</li>\n</ul>\n","urlObject":{"path":["api","Orders"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Request number.</p>\n","type":"text/plain"},"key":"number","value":"<integer>"},{"description":{"content":"<p>Order representative code.</p>\n","type":"text/plain"},"key":"representativeCode","value":"<integer>"},{"description":{"content":"<p>Code of the indicated person. </p>\n<p> <strong>Heads up</strong></p>\n<p> If the parameter <code>includeOptions = consumerCommissionValue</code> is sent, this parameter becomes mandatory.</p>\n","type":"text/plain"},"key":"indicatedPerson","value":"<integer>"},{"description":{"content":"<p>Order business status code. </p>\n<p> <a href=\"#243ec0b3-6d6e-4aad-974a-42b1f573b534\">Possible values</a></p>\n<p> <strong>Heads up</strong></p>\n<p> For each business status code, the application must send a <code>businessStatusCode</code> parameter. </p>\n<p> E.g.: &amp;businessStatusCode=&amp;businessStatusCode=</p>\n","type":"text/plain"},"key":"businessStatusCode","value":"<integer>"},{"description":{"content":"<p>Order business status detail code</p>\n<p> <strong>Heads up</strong></p>\n<p> For each business status detail code, the application must send a <code>businessStatusCodeDetail</code> parameter. </p>\n<p> E.g.: &amp;businessStatusCodeDetail=&amp;businessStatusCodeDetail=</p>\n","type":"text/plain"},"key":"businessStatusCodeDetail","value":"<integer>"},{"description":{"content":"<p>External integration situation. </p>\n<p> <a href=\"#e48d8424-f45d-4443-a687-9fc112f79477\">Possible values</a></p>\n","type":"text/plain"},"key":"externalIntegrationStatus","value":"<integer>"},{"description":{"content":"<p>Initial capture cycle.(202001)</p>\n","type":"text/plain"},"key":"initialOrdering Cycle","value":"<integer>"},{"description":{"content":"<p>Final cycle of grooming.(202001)</p>\n","type":"text/plain"},"key":"endOrderingCycle","value":"<integer>"},{"description":{"content":"<p>Initial marketing cycle.(202001)</p>\n","type":"text/plain"},"key":"initialMarketingCycle","value":"<integer>"},{"description":{"content":"<p>Final marketing cycle.(202001)</p>\n","type":"text/plain"},"key":"finalMarketingCycle","value":"<integer>"},{"description":{"content":"<p>Initial cycle used for the accounting of indicators related to the order.</p>\n","type":"text/plain"},"key":"initialIndicatorCycle","value":"<integer>"},{"description":{"content":"<p>Final cycle used for accounting of indicators related to the order.</p>\n","type":"text/plain"},"key":"finalIndicatorCycle","value":"<integer>"},{"description":{"content":"<p>Initial order cancellation cycle. Indicates in which cycle the order was canceled and when it will be deducted from the indicator calculation.</p>\n","type":"text/plain"},"key":"initialCancel Cycle","value":"<integer>"},{"description":{"content":"<p>Final order cancellation cycle. Indicates in which cycle the order was canceled and when it will be deducted from the indicator calculation.</p>\n","type":"text/plain"},"key":"endCancelCycle","value":"<integer>"},{"description":{"content":"<p>Indicates whether the order was captured in restricted capture.</p>\n","type":"text/plain"},"key":"restrictedOrdering","value":"<boolean>"},{"description":{"content":"<p>Initial funding date.</p>\n","type":"text/plain"},"key":"initialOrderingDate","value":"<dateTime>"},{"description":{"content":"<p>Final date of capture.</p>\n","type":"text/plain"},"key":"endOrderingDate","value":"<dateTime>"},{"description":{"content":"<p>Marketing start date.</p>\n","type":"text/plain"},"key":"initialMarketingDate","value":"<dateTime>"},{"description":{"content":"<p>Marketing end date.</p>\n","type":"text/plain"},"key":"finalMarketingDate","value":"<dateTime>"},{"description":{"content":"<p>Initial approval date.</p>\n","type":"text/plain"},"key":"initialApprovalDate","value":"<dateTime>"},{"description":{"content":"<p>Final date of approval.</p>\n","type":"text/plain"},"key":"finalApprovalDate","value":"<dateTime>"},{"description":{"content":"<p>Initial order cancellation date. Indicates on which date the order was canceled and when it will be deducted from the indicator calculation.</p>\n","type":"text/plain"},"key":"initialCancellationDate","value":"<dateTime>"},{"description":{"content":"<p>Final date of order cancellation. Indicates on which date the order was canceled and when it will be deducted from the indicator calculation.</p>\n","type":"text/plain"},"key":"finalCancellationDate","value":"<dateTime>"},{"description":{"content":"<p>Means of capture. </p>\n<p> <a href=\"#cb8c2f7b-6f1b-4729-b9c1-aba89e7f6767\">Possible values</a></p>\n","type":"text/plain"},"key":"orderingTypes","value":"<byte>"},{"description":{"content":"<p>Indicates whether the order has already been paid for.</p>\n","type":"text/plain"},"key":"paid","value":"<boolean>"},{"description":{"content":"<p>Payment plan code used.</p>\n","type":"text/plain"},"key":"paymentPlanCode","value":"<integer>"},{"description":{"content":"<p>Code of the business rule used in the order.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p>Code of the business structure used in the order.</p>\n","type":"text/plain"},"key":"businessStructureCode","value":"<integer>"},{"description":{"content":"<p>Leader's Code.</p>\n","type":"text/plain"},"key":"leaderCode","value":"<integer>"},{"key":"searchAllNetwork","value":"<boolean>"},{"description":{"content":"<p>Order allocation group code. </p>\n<p> <strong>Observation</strong></p>\n<p> Only in group concept installations.</p>\n","type":"text/plain"},"key":"groupCode","value":"<integer>"},{"description":{"content":"<p>Tax status of the order. </p>\n<p> <a href>Possible values</a></p>\n","type":"text/plain"},"key":"fiscal Status","value":"<byte>"},{"description":{"content":"<p>Order invoice number.</p>\n","type":"text/plain"},"key":"invoiceNumber","value":"<integer>"},{"description":{"content":"<p>Initial billing date.</p>\n","type":"text/plain"},"key":"initialBillingDate","value":"<dateTime>"},{"description":{"content":"<p>Final billing date.</p>\n","type":"text/plain"},"key":"final BillingDate","value":"<dateTime>"},{"description":{"content":"<p>Separation batch initial code.</p>\n","type":"text/plain"},"key":"initialPickingLotCode","value":"<integer>"},{"description":{"content":"<p>Final separation batch code.</p>\n","type":"text/plain"},"key":"finalPickingLotCode","value":"<integer>"},{"description":{"content":"<p>Separation line code.</p>\n","type":"text/plain"},"key":"pickingLineCode","value":"<integer>"},{"description":{"content":"<p>Distribution center code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p>Initial quantity of boxes.</p>\n","type":"text/plain"},"key":"initialBoxesQuantity","value":"<integer>"},{"description":{"content":"<p>Final quantity of boxes.</p>\n","type":"text/plain"},"key":"finalBoxesQuantity","value":"<integer>"},{"description":{"content":"<p>Delivery start date.</p>\n","type":"text/plain"},"key":"initialDeliveryDate","value":"<dateTime>"},{"description":{"content":"<p>Final delivery date.</p>\n","type":"text/plain"},"key":"endDeliveryDate","value":"<dateTime>"},{"description":{"content":"<p>Shipping note starting number.</p>\n","type":"text/plain"},"key":"initialDraftTransportNumber","value":"<integer>"},{"description":{"content":"<p>Final delivery note number.</p>\n","type":"text/plain"},"key":"finalDraftTransportNumber","value":"<integer>"},{"description":{"content":"<p>Carrier code.</p>\n","type":"text/plain"},"key":"carrierCode","value":"<integer>"},{"description":{"content":"<p>Call center code.</p>\n","type":"text/plain"},"key":"supportCenterCode","value":"<integer>"},{"description":{"content":"<p>Level 1 of the order delivery address.</p>\n","type":"text/plain"},"key":"addressLevel1","value":"<integer>"},{"description":{"content":"<p>Payment methods.</p>\n","type":"text/plain"},"key":"paymentMethods","value":"<byte>"},{"description":{"content":"<p>Ordering Options. </p>\n<p> Possible values:</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>Franchisee Code.</p>\n","type":"text/plain"},"key":"vendorCode","value":"<integer>"},{"description":{"content":"<p>Order type. </p>\n<p> <a href>Possible values</a></p>\n","type":"text/plain"},"key":"orderType","value":"<byte>"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"availableAssets"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"canChangeOrderPaymentPlan"},{"description":{"content":"<p>It adds an object with order payment tracking information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"paymentTracking"},{"description":{"content":"<p>It adds to the callback an object with information on the order's billing status.</p>\n","type":"text/plain"},"key":"includeOptions","value":"billing status"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"creditDataHistory"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"renegotiationInformation"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"delivery Orders"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"consumerCommissionValue"},{"description":{"content":"<p>It adds an object with indicator information related to the order in the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"indicator"},{"description":{"content":"<p>It adds an object with the dealer's images to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"sellerPictures"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"vendors"},{"description":{"content":"<p>It adds an object with information from the order representative to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"representative"},{"description":{"content":"<p>It adds an object with the order's business information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessInformation"},{"description":{"content":"<p>It adds an object with information from the business structure used in the request to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessStructure"},{"description":{"content":"<p>Adds an object with order billing information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"billing information"},{"description":{"content":"<p>Adds an object with order picking information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"pickingInformation"},{"description":{"content":"<p>Adds an object with order delivery information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"delivery information"},{"description":{"content":"<p>It adds an object with the telephone number of the request representative to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"representativePhone"},{"description":{"content":"<p>It adds an object with information about the delivery address of the order to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"deliveryAddress"},{"description":{"content":"<p>Adds an object with contact information for the order to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"contact information"}],"variable":[]}},"response":[{"id":"6ede6b62-60f7-4c40-bd9f-d81b0177d266","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders?number=<integer>&representativeCode=<integer>&indicatedPerson=<integer>&businessStatusCode=<integer>&businessStatusCodeDetail=<integer>&externalIntegrationStatus=<integer>&initialOrdering Cycle=<integer>&endOrderingCycle=<integer>&initialMarketingCycle=<integer>&finalMarketingCycle=<integer>&initialIndicatorCycle=<integer>&finalIndicatorCycle=<integer>&initialCancel Cycle=<integer>&endCancelCycle=<integer>&restrictedOrdering=<boolean>&initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&initialMarketingDate=<dateTime>&finalMarketingDate=<dateTime>&initialApprovalDate=<dateTime>&finalApprovalDate=<dateTime>&initialCancellationDate=<dateTime>&finalCancellationDate=<dateTime>&orderingTypes=<byte>&paid=<boolean>&paymentPlanCode=<integer>&businessModelCode=<integer>&businessStructureCode=<integer>&leaderCode=<integer>&searchAllNetwork=<boolean>&groupCode=<integer>&fiscal Status=<byte>&invoiceNumber=<integer>&initialBillingDate=<dateTime>&final BillingDate=<dateTime>&initialPickingLotCode=<integer>&finalPickingLotCode=<integer>&pickingLineCode=<integer>&distributionCenterCode=<integer>&initialBoxesQuantity=<integer>&finalBoxesQuantity=<integer>&initialDeliveryDate=<dateTime>&endDeliveryDate=<dateTime>&initialDraftTransportNumber=<integer>&finalDraftTransportNumber=<integer>&carrierCode=<integer>&supportCenterCode=<integer>&addressLevel1=<integer>&paymentMethods=<byte>&sortOptions=<string>&page=<integer>&pageSize=<integer>&vendorCode=<integer>&orderType=<byte>&includeOptions=availableAssets&includeOptions=canChangeOrderPaymentPlan&includeOptions=paymentTracking&includeOptions=billing status&includeOptions=creditDataHistory&includeOptions=renegotiationInformation&includeOptions=delivery Orders&includeOptions=consumerCommissionValue&includeOptions=indicator&includeOptions=sellerPictures&includeOptions=vendors&includeOptions=representative&includeOptions=businessInformation&includeOptions=businessStructure&includeOptions=billing information&includeOptions=pickingInformation&includeOptions=delivery information&includeOptions=representativePhone&includeOptions=deliveryAddress&includeOptions=contact information","host":["{{baseUrl}}"],"path":["api","Orders"],"query":[{"key":"number","value":"<integer>","description":"Request number."},{"key":"representativeCode","value":"<integer>","description":"Order representative code."},{"key":"indicatedPerson","value":"<integer>","description":"Code of the indicated person. \n\n **Heads up**\n\n If the parameter `includeOptions = consumerCommissionValue` is sent, this parameter becomes mandatory."},{"key":"businessStatusCode","value":"<integer>","description":"Order business status code. \n\n [Possible values](#243ec0b3-6d6e-4aad-974a-42b1f573b534)\n\n **Heads up**\n\n For each business status code, the application must send a `businessStatusCode` parameter. \n\n E.g.: &amp;businessStatusCode=<integer>&amp;businessStatusCode=<integer>"},{"key":"businessStatusCodeDetail","value":"<integer>","description":"Order business status detail code\n\n **Heads up**\n\n For each business status detail code, the application must send a `businessStatusCodeDetail` parameter. \n\n E.g.: &amp;businessStatusCodeDetail=<integer>&amp;businessStatusCodeDetail=<integer>"},{"key":"externalIntegrationStatus","value":"<integer>","description":"External integration situation. \n\n [Possible values](#e48d8424-f45d-4443-a687-9fc112f79477)"},{"key":"initialOrdering Cycle","value":"<integer>","description":"Initial capture cycle.(202001)"},{"key":"endOrderingCycle","value":"<integer>","description":"Final cycle of grooming.(202001)"},{"key":"initialMarketingCycle","value":"<integer>","description":"Initial marketing cycle.(202001)"},{"key":"finalMarketingCycle","value":"<integer>","description":"Final marketing cycle.(202001)"},{"key":"initialIndicatorCycle","value":"<integer>","description":"Initial cycle used for the accounting of indicators related to the order."},{"key":"finalIndicatorCycle","value":"<integer>","description":"Final cycle used for accounting of indicators related to the order."},{"key":"initialCancel Cycle","value":"<integer>","description":"Initial order cancellation cycle. Indicates in which cycle the order was canceled and when it will be deducted from the indicator calculation."},{"key":"endCancelCycle","value":"<integer>","description":"Final order cancellation cycle. Indicates in which cycle the order was canceled and when it will be deducted from the indicator calculation."},{"key":"restrictedOrdering","value":"<boolean>","description":"Indicates whether the order was captured in restricted capture."},{"key":"initialOrderingDate","value":"<dateTime>","description":"Initial funding date."},{"key":"endOrderingDate","value":"<dateTime>","description":"Final date of capture."},{"key":"initialMarketingDate","value":"<dateTime>","description":"Marketing start date."},{"key":"finalMarketingDate","value":"<dateTime>","description":"Marketing end date."},{"key":"initialApprovalDate","value":"<dateTime>","description":"Initial approval date."},{"key":"finalApprovalDate","value":"<dateTime>","description":"Final date of approval."},{"key":"initialCancellationDate","value":"<dateTime>","description":"Initial order cancellation date. Indicates on which date the order was canceled and when it will be deducted from the indicator calculation."},{"key":"finalCancellationDate","value":"<dateTime>","description":"Final date of order cancellation. Indicates on which date the order was canceled and when it will be deducted from the indicator calculation."},{"key":"orderingTypes","value":"<byte>","description":"Means of capture. \n\n [Possible values](#cb8c2f7b-6f1b-4729-b9c1-aba89e7f6767)"},{"key":"paid","value":"<boolean>","description":"Indicates whether the order has already been paid for."},{"key":"paymentPlanCode","value":"<integer>","description":"Payment plan code used."},{"key":"businessModelCode","value":"<integer>","description":"Code of the business rule used in the order."},{"key":"businessStructureCode","value":"<integer>","description":"Code of the business structure used in the order."},{"key":"leaderCode","value":"<integer>","description":"Leader&#39;s Code."},{"key":"searchAllNetwork","value":"<boolean>"},{"key":"groupCode","value":"<integer>","description":"Order allocation group code. \n\n **Observation**\n\n Only in group concept installations."},{"key":"fiscal Status","value":"<byte>","description":"Tax status of the order. \n\n [Possible values]()"},{"key":"invoiceNumber","value":"<integer>","description":"Order invoice number."},{"key":"initialBillingDate","value":"<dateTime>","description":"Initial billing date."},{"key":"final BillingDate","value":"<dateTime>","description":"Final billing date."},{"key":"initialPickingLotCode","value":"<integer>","description":"Separation batch initial code."},{"key":"finalPickingLotCode","value":"<integer>","description":"Final separation batch code."},{"key":"pickingLineCode","value":"<integer>","description":"Separation line code."},{"key":"distributionCenterCode","value":"<integer>","description":"Distribution center code."},{"key":"initialBoxesQuantity","value":"<integer>","description":"Initial quantity of boxes."},{"key":"finalBoxesQuantity","value":"<integer>","description":"Final quantity of boxes."},{"key":"initialDeliveryDate","value":"<dateTime>","description":"Delivery start date."},{"key":"endDeliveryDate","value":"<dateTime>","description":"Final delivery date."},{"key":"initialDraftTransportNumber","value":"<integer>","description":"Shipping note starting number."},{"key":"finalDraftTransportNumber","value":"<integer>","description":"Final delivery note number."},{"key":"carrierCode","value":"<integer>","description":"Carrier code."},{"key":"supportCenterCode","value":"<integer>","description":"Call center code."},{"key":"addressLevel1","value":"<integer>","description":"Level 1 of the address."},{"key":"paymentMethods","value":"<byte>","description":"Payment methods."},{"key":"sortOptions","value":"<string>","description":"Ordering Options."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"vendorCode","value":"<integer>","description":"Franchisee Code."},{"key":"orderType","value":"<byte>","description":"Order type. \n\n [Possible values]()"},{"key":"includeOptions","value":"availableAssets","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"canChangeOrderPaymentPlan","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"paymentTracking","description":"It adds an object with order payment tracking information to the callback."},{"key":"includeOptions","value":"billing status","description":"It adds to the callback an object with information on the order&#39;s billing status."},{"key":"includeOptions","value":"creditDataHistory","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"renegotiationInformation","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"delivery Orders","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"consumerCommissionValue","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"indicator","description":"It adds an object with indicator information related to the order in the callback."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the dealer&#39;s images to the callback."},{"key":"includeOptions","value":"vendors","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"representative","description":"It adds an object with information from the order representative to the callback."},{"key":"includeOptions","value":"businessInformation","description":"It adds an object with the order&#39;s business information to the callback."},{"key":"includeOptions","value":"businessStructure","description":"It adds an object with information from the business structure used in the request to the callback."},{"key":"includeOptions","value":"billing information","description":"Adds an object with order billing information to the callback."},{"key":"includeOptions","value":"pickingInformation","description":"Adds an object with order picking information to the callback."},{"key":"includeOptions","value":"delivery information","description":"Adds an object with order delivery information to the callback."},{"key":"includeOptions","value":"representativePhone","description":"It adds an object with the telephone number of the request representative to the callback."},{"key":"includeOptions","value":"deliveryAddress","description":"It adds an object with information about the delivery address of the order to the callback."},{"key":"includeOptions","value":"contact information","description":"Adds an object with contact information for the order to the callback."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"number\": 16272564,\r\n \"representative\": {\r\n \"representativeCode\": 2603,\r\n \"representativeName\": \"Representative 2603\"\r\n },\r\n \"orderType\": \"Order type code\", // Possible values in the Glossary (Order Types)\r\n \"businessInformation\": {\r\n \"businessStatusCode\": \"Order business status code\",\r\n \"businessStatusName\": \"Order business status name\",\r\n \"businessStatusCodeDetail\": \"Order business status detail code\",\r\n \"businessStatusNameDetail\": \"Detail of the business status of the order\",\r\n \"externalIntegrationStatus\": \"External Integration Status\",\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Sales cycle in which the order is being picked up\",\r\n \"orderingSubCycle\": \"Sales sub-cycle in which the order is being picked up\",\r\n \"marketingCycle\": \"Marketing cycle in which the order is being captured\",\r\n \"cancelCycle\": \"Cycle in which the order was cancelled\",\r\n \"restrictedOrdering\": false,\r\n \"orderingDate\": \"2019-08-15T18:09:33.663Z\",\r\n \"marketingDate\": \"2019-08-15T00:00:00Z\",\r\n \"approvalDate\": \"2019-08-15T00:00:00Z\",\r\n \"cancellationDate\": \"2019-08-21T03:00:29.183Z\",\r\n \"indicatorCycle\": 202001,\r\n \"orderingTypes\": 5,\r\n \"itemsQuantity\": 7,\r\n \"pointsQuantity\": 252,\r\n \"totalAmount\": 321.34,\r\n \"tableValue\": 373.97,\r\n \"marketValue\": 311.97,\r\n \"netValue\": 296.34,\r\n \"regularProductsValue\": 296.34,\r\n \"paymentPlanCode\": 6,\r\n \"paymentPlanName\": \"Cash\",\r\n \"isMultiplePaymentPlan\": false,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"orderIndicatedSellerCode\": 215,\r\n \"orderIndicatedSeller\": {\r\n \"code\": 215,\r\n \"name\": \"VICTOR RUBENS FALSARELLA LIMA MACEDO JR\",\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n }, \r\n \"urlPicture\": \"https://inovadevsgi.geravd.com.br/Paginas/Imagens/Fotos/abe1466db8cd84ed9c22c4009ea1a76e.png\"\r\n }\r\n ]\r\n },\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"paymentMethod\": {\r\n \"id\": 1,\r\n \"description\": \"Boleto\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": \"Business Structure Code\",\r\n \"businessStructureName\": \"Business Structure Name\",\r\n \"masterBusinessStructureCode\": \"Parent business structure code\",\r\n \"masterBusinessStructureName\": \"Name of parent business structure\",\r\n \"responsibleCode\": \"Code of the person responsible for the commercial structure\",\r\n \"responsibleName\": \"Name of the person responsible for the commercial structure\"\r\n },\r\n \"billingInformation\": {\r\n \"fiscalStatus\": \"Order tax status code\", // Possible values in the Glossary (Order Tax Status)\r\n \"invoiceNumber\": \"Invoice number\",\r\n \"billingDate\": \"Billing date\"\r\n },\r\n \"pickingInformation\": {\r\n \"pickingLotCode\": \"Picking Lot Code\",\r\n \"pickingLineCode\": \"Picking Line Code\",\r\n \"distributionCenterCode\": \"Distribution center code\",\r\n \"distributionCenterName\": \"Center name distribution\",\r\n \"boxesQuantity\": \"Amount of boxes\",\r\n \"volume\": \"Volume of boxes\",\r\n \"estimatedWeight\": \"Estimated weight\",\r\n \"actualWeight\": \"Actual Weight\"\r\n },\r\n \"deliveryInformation\": {\r\n \"originalScheduledDeliveryDate\": \"Original Scheduled Delivery Date\",\r\n \"scheduledDeliveryDate\": \"Scheduled Delivery Date\",\r\n \"deliveryDate\": \"Delivery date\",\r\n \"draftTransportNumber\": \"Draft Transport Item\",\r\n \"carrierCode\": \"Carrier Code\",\r\n \"carrierName\": \"Carrier Name\",\r\n \"supportCenterCode\": \"Person&#39;s support center code\",\r\n \"supportCenterName\": \"Name of person&#39;s support center\"\r\n }, \r\n \"representativePhone\": [ // Representative phone list\r\n {\r\n \"phoneType\": \"Phone Type\",\r\n \"phoneNumber\": \"Phone number\"\r\n }\r\n ],\r\n \"deliveryAddress\": { // The filling of the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n \"level0\": \"Description of address level 0\",\r\n \"level1\": \"Description of address level 1\",\r\n \"level2\": \"Description of address level 2\",\r\n \"level3\": \"Level 3 address description\",\r\n \"level4\": \"Level 4 address description\",\r\n \"level5\": \"Level 5 address description\",\r\n \"level6\": \"Level 6 address description\",\r\n \"level7\": \"Level 7 address description\",\r\n \"level8\": \"Level 8 address description\",\r\n \"level9\": \"Level 9 address description\",\r\n \"additionalAddressDetails\": \"Delivery contact\",\r\n \"number\": \"Delivery contact number\",\r\n \"areaCode\": \"ZIP\",\r\n \"formattedAddress\": \"Address formatted from level information, add-on, number and zip code\",\r\n \"reference\": \"Delivery address reference\",\r\n \"readonly\": \"Indicates whether it allows the address to be changed in applications other than LET\"\r\n },\r\n \"contactInformation\": {\r\n \"creationUserCode\": \"Creation User Code\",\r\n \"creationUserName\": \"Creation Username\",\r\n \"finishingUserCode\": \"Finishing User Code\",\r\n \"finishingUserName\": \"Finishing User Name\"\r\n },\r\n \"commissionDetails\": {\r\n \"consumerCommissionValue\": \"Commission value of the person responsible for the order\"\r\n },\r\n \"externalPreAuthorization\": \"Indicates whether the order received pre-authorization for external payment\",\r\n \"orderBusinessStatus\": {\r\n \"code\": 2,\r\n \"description\": \"Canceled\"\r\n },\r\n \"availableAssets\": [ // Asset List\r\n {\r\n \"assetType\": {\r\n \"id\": 1,\r\n \"description\": \"Boleto\"\r\n },\r\n \"available\": \"Indicates if the asset is available\",\r\n \"availableToSendByEmail\": \"Indicates whether it is possible to send the asset by email\",\r\n \"availableEmailsType\": [ // List of available emails\r\n {\r\n \"id\": \"Email type code\",\r\n \"description\": \"Description of email type\",\r\n \"address\": \"Email address\"\r\n }\r\n ],\r\n \"availableFileFormatTypes\": [ // List of file formats available files\r\n {\r\n \"id\": 1,\r\n \"description\": \"PDF\"\r\n },\r\n {\r\n \"id\": 5,\r\n \"description\": \"JPG\"\r\n }\r\n ]\r\n },\r\n {\r\n \"assetType\": {\r\n \"id\": 2,\r\n \"description\": \"Invoice\"\r\n },\r\n \"available\": \"Indicates if the asset is available\",\r\n \"availableToSendByEmail\": \"Indicates whether it is possible to send the asset by email\"\r\n\r\n },\r\n {\r\n \"assetType\": {\r\n \"id\": 3,\r\n \"description\": \"XML\"\r\n },\r\n \"available\": \"Indicates if the asset is available\",\r\n \"availableToSendByEmail\": \"Indicates whether it is possible to send the asset by email\"\r\n },\r\n {\r\n \"assetType\": {\r\n \"id\": 4,\r\n \"description\": \"Extract\"\r\n },\r\n \"available\": \"Indicates if the asset is available\",\r\n \"availableToSendByEmail\": \"Indicates whether it is possible to send the asset by email\",\r\n \"availableEmailsType\": [ // List of available emails\r\n {\r\n \"id\": \"Email type code\",\r\n \"description\": \"Description of email type\",\r\n \"address\": \"Email address\"\r\n }\r\n ],\r\n \"availableFileFormatTypes\": [ // List of available file formats \r\n {\r\n \"id\": 1,\r\n \"description\": \"PDF\"\r\n }\r\n ]\r\n },\r\n {\r\n \"assetType\": {\r\n \"id\": 5,\r\n \"description\": \"Summary\"\r\n },\r\n \"available\": \"Indicates if the asset is available\",\r\n \"availableToSendByEmail\": \"Indicates whether it is possible to send the asset by email\",\r\n \"availableEmailsType\": [ // List of available emails\r\n {\r\n \"id\": \"Email type code\",\r\n \"description\": \"Description of email type\",\r\n \"address\": \"Email address\"\r\n }\r\n ],\r\n \"availableFileFormatTypes\": [ // List of available file formats\r\n {\r\n \"id\": 1,\r\n \"description\": \"HTML\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"paymentsTracking\": [],\r\n \"sellerPictures\": [ // List of images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", // Possible values available in the Glossary (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ],\r\n \"allRewardsPromotion\": false,\r\n \"orderBillingStatus\": {\r\n \"id\": \"Order billing status code\", // Possible values in Glossary (Order Billing Situations)\r\n \"description\": \"Description of the order billing status\",\r\n \"installmentPaymentInfo\": [ // List of installment payment information\r\n {\r\n \"id\": \"Title code\",\r\n \"daysForDueDate\": \"Days left to due date\",\r\n \"dueDate\": \"Due date\",\r\n \"overdueDays\": \"Days overdue\",\r\n \"paymentDate\": \"Payment date\",\r\n \"originalValue\": \"Original Value\",\r\n \"currentOpenBalance\": \"Title value on current date\",\r\n \"status\": {\r\n \"id\": \"Security Payment Status Code\", // Possible values in the Glossary (Security Payment Statuses)\r\n \"description\": \"Description of title payment status\" \r\n },\r\n \"paymentMethod\": {\r\n \"id\": \"Security payment method code\", // Possible values in the Glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method for the title\"\r\n }\r\n }\r\n ],\r\n \"cardPaymentInfo\": [ // Payment amount distribution details list\r\n {\r\n \"value\": \"Payment amount\",\r\n \"installmentsQuantity\": \"Amount of installments\",\r\n \"flag\": \"Card Flag\",\r\n \"paymentMethod\": {\r\n \"id\": \"Security payment method code\", // Possible values in the Glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of the payment method for the title\"\r\n }\r\n }\r\n ]\r\n },\r\n \"allowsRenegotiation\": \"Indicates whether it is possible to renegotiate the order\",\r\n \"vendors\": [ // List of vendors\r\n {\r\n \"vendorCode\": \"Vendor Code\",\r\n \"vendorName\": \"Vendor Name\"\r\n }\r\n ],\r\n \"customerOrderId\": \"External customer code\"\r\n }\r\n ]"},{"id":"3046d774-70d7-4d93-bee7-6e42835a8cb4","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Orders?number=<integer>&representativeCode=<integer>&indicatedPerson=<integer>&businessStatusCode=<integer>&businessStatusCodeDetail=<integer>&externalIntegrationStatus=<integer>&initialOrdering Cycle=<integer>&endOrderingCycle=<integer>&initialMarketingCycle=<integer>&finalMarketingCycle=<integer>&initialIndicatorCycle=<integer>&finalIndicatorCycle=<integer>&initialCancel Cycle=<integer>&endCancelCycle=<integer>&restrictedOrdering=<boolean>&initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&initialMarketingDate=<dateTime>&finalMarketingDate=<dateTime>&initialApprovalDate=<dateTime>&finalApprovalDate=<dateTime>&initialCancellationDate=<dateTime>&finalCancellationDate=<dateTime>&orderingTypes=<object>&paid=<boolean>&paymentPlanCode=<integer>&businessModelCode=<integer>&businessStructureCode=<integer>&leaderCode=<integer>&searchAllNetwork=<boolean>&groupCode=<integer>&fiscal Status=<object>&invoiceNumber=<integer>&initialBillingDate=<dateTime>&final BillingDate=<dateTime>&initialPickingLotCode=<integer>&finalPickingLotCode=<integer>&pickingLineCode=<integer>&distributionCenterCode=<integer>&initialBoxesQuantity=<integer>&finalBoxesQuantity=<integer>&initialDeliveryDate=<dateTime>&endDeliveryDate=<dateTime>&initialDraftTransportNumber=<integer>&finalDraftTransportNumber=<integer>&carrierCode=<integer>&supportCenterCode=<integer>&addressLevel1=<integer>&paymentMethods=<object>&sortOptions=<string>&page=<integer>&pageSize=<integer>&vendorCode=<integer>&orderType=<integer>&includeOptions=availableAssets&includeOptions=canChangeOrderPaymentPlan&includeOptions=paymentTracking&includeOptions=billing status&includeOptions=creditDataHistory&includeOptions=renegotiationInformation&includeOptions=delivery Orders&includeOptions=consumerCommissionValue&includeOptions=indicator&includeOptions=sellerPictures&includeOptions=vendors&includeOptions=representative&includeOptions=businessInformation&includeOptions=businessStructure&includeOptions=billing information&includeOptions=pickingInformation&includeOptions=delivery information&includeOptions=representativePhone&includeOptions=deliveryAddress&includeOptions=contact information","host":["{{baseUrl}}"],"path":["api","Orders"],"query":[{"key":"number","value":"<integer>","description":"Request number."},{"key":"representativeCode","value":"<integer>","description":"Order representative code."},{"key":"indicatedPerson","value":"<integer>","description":"Code of the indicated person. \n\n **Heads up**\n\n If the parameter `includeOptions = consumerCommissionValue` is sent, this parameter becomes mandatory."},{"key":"businessStatusCode","value":"<integer>","description":"Order business status code. \n\n [Possible values](#243ec0b3-6d6e-4aad-974a-42b1f573b534)\n\n **Heads up**\n\n For each business status code, the application must send a `businessStatusCode` parameter. \n\n E.g.: &amp;businessStatusCode=<integer>&amp;businessStatusCode=<integer>"},{"key":"businessStatusCodeDetail","value":"<integer>","description":"Order business status detail code\n\n **Heads up**\n\n For each business status detail code, the application must send a `businessStatusCodeDetail` parameter. \n\n E.g.: &amp;businessStatusCodeDetail=<integer>&amp;businessStatusCodeDetail=<integer>"},{"key":"externalIntegrationStatus","value":"<integer>","description":"External integration situation. \n\n [Possible values](#e48d8424-f45d-4443-a687-9fc112f79477)"},{"key":"initialOrdering Cycle","value":"<integer>","description":"Initial capture cycle.(202001)"},{"key":"endOrderingCycle","value":"<integer>","description":"Final cycle of grooming.(202001)"},{"key":"initialMarketingCycle","value":"<integer>","description":"Initial marketing cycle.(202001)"},{"key":"finalMarketingCycle","value":"<integer>","description":"Final marketing cycle.(202001)"},{"key":"initialIndicatorCycle","value":"<integer>","description":"Initial cycle used for the accounting of indicators related to the order."},{"key":"finalIndicatorCycle","value":"<integer>","description":"Final cycle used for accounting of indicators related to the order."},{"key":"initialCancel Cycle","value":"<integer>","description":"Initial order cancellation cycle. Indicates in which cycle the order was canceled and when it will be deducted from the indicator calculation."},{"key":"endCancelCycle","value":"<integer>","description":"Final order cancellation cycle. Indicates in which cycle the order was canceled and when it will be deducted from the indicator calculation."},{"key":"restrictedOrdering","value":"<boolean>","description":"Indicates whether the order was captured in restricted capture."},{"key":"initialOrderingDate","value":"<dateTime>","description":"Initial funding date."},{"key":"endOrderingDate","value":"<dateTime>","description":"Final date of capture."},{"key":"initialMarketingDate","value":"<dateTime>","description":"Marketing start date."},{"key":"finalMarketingDate","value":"<dateTime>","description":"Marketing end date."},{"key":"initialApprovalDate","value":"<dateTime>","description":"Initial approval date."},{"key":"finalApprovalDate","value":"<dateTime>","description":"Final date of approval."},{"key":"initialCancellationDate","value":"<dateTime>","description":"Initial order cancellation date. Indicates on which date the order was canceled and when it will be deducted from the indicator calculation."},{"key":"finalCancellationDate","value":"<dateTime>","description":"Final date of order cancellation. Indicates on which date the order was canceled and when it will be deducted from the indicator calculation."},{"key":"orderingTypes","value":"<object>","description":"Means of capture. \n\n [Possible values](#cb8c2f7b-6f1b-4729-b9c1-aba89e7f6767)"},{"key":"paid","value":"<boolean>","description":"Indicates whether the order has already been paid for."},{"key":"paymentPlanCode","value":"<integer>","description":"Payment plan code used."},{"key":"businessModelCode","value":"<integer>","description":"Code of the business rule used in the order."},{"key":"businessStructureCode","value":"<integer>","description":"Code of the business structure used in the order."},{"key":"leaderCode","value":"<integer>","description":"Leader&#39;s Code."},{"key":"searchAllNetwork","value":"<boolean>"},{"key":"groupCode","value":"<integer>","description":"Order allocation group code. \n\n **Observation**\n\n Only in group concept installations."},{"key":"fiscal Status","value":"<object>","description":"Tax status of the order. \n\n [Possible values]()"},{"key":"invoiceNumber","value":"<integer>","description":"Order invoice number."},{"key":"initialBillingDate","value":"<dateTime>","description":"Initial billing date."},{"key":"final BillingDate","value":"<dateTime>","description":"Final billing date."},{"key":"initialPickingLotCode","value":"<integer>","description":"Separation batch initial code."},{"key":"finalPickingLotCode","value":"<integer>","description":"Final separation batch code."},{"key":"pickingLineCode","value":"<integer>","description":"Separation line code."},{"key":"distributionCenterCode","value":"<integer>","description":"Distribution center code."},{"key":"initialBoxesQuantity","value":"<integer>","description":"Initial quantity of boxes."},{"key":"finalBoxesQuantity","value":"<integer>","description":"Final quantity of boxes."},{"key":"initialDeliveryDate","value":"<dateTime>","description":"Delivery start date."},{"key":"endDeliveryDate","value":"<dateTime>","description":"Final delivery date."},{"key":"initialDraftTransportNumber","value":"<integer>","description":"Shipping note starting number."},{"key":"finalDraftTransportNumber","value":"<integer>","description":"Final delivery note number."},{"key":"carrierCode","value":"<integer>","description":"Carrier code."},{"key":"supportCenterCode","value":"<integer>","description":"Call center code."},{"key":"addressLevel1","value":"<integer>","description":"Level 1 of the address."},{"key":"paymentMethods","value":"<object>","description":"Payment methods."},{"key":"sortOptions","value":"<string>","description":"Ordering Options."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"vendorCode","value":"<integer>","description":"Franchisee Code."},{"key":"orderType","value":"<integer>","description":"Order type. \n\n [Possible values]()"},{"key":"includeOptions","value":"availableAssets","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"canChangeOrderPaymentPlan","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"paymentTracking","description":"It adds an object with order payment tracking information to the callback."},{"key":"includeOptions","value":"billing status","description":"It adds to the callback an object with information on the order&#39;s billing status."},{"key":"includeOptions","value":"creditDataHistory","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"renegotiationInformation","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"delivery Orders","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"consumerCommissionValue","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"indicator","description":"It adds an object with indicator information related to the order in the callback."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the dealer&#39;s images to the callback."},{"key":"includeOptions","value":"vendors","description":"Adds an object with information from the callback to the callback."},{"key":"includeOptions","value":"representative","description":"It adds an object with information from the order representative to the callback."},{"key":"includeOptions","value":"businessInformation","description":"It adds an object with the order&#39;s business information to the callback."},{"key":"includeOptions","value":"businessStructure","description":"It adds an object with information from the business structure used in the request to the callback."},{"key":"includeOptions","value":"billing information","description":"Adds an object with order billing information to the callback."},{"key":"includeOptions","value":"pickingInformation","description":"Adds an object with order picking information to the callback."},{"key":"includeOptions","value":"delivery information","description":"Adds an object with order delivery information to the callback."},{"key":"includeOptions","value":"representativePhone","description":"It adds an object with the telephone number of the request representative to the callback."},{"key":"includeOptions","value":"deliveryAddress","description":"It adds an object with information about the delivery address of the order to the callback."},{"key":"includeOptions","value":"contact information","description":"Adds an object with contact information for the order to the callback."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"number\": 16272564,\r\n \"representative\": {\r\n \"representativeCode\": 2603,\r\n \"representativeName\": \"Representative 2603\"\r\n },\r\n \"businessInformation\": {\r\n \"businessStatusCode\": 2,\r\n \"businessStatusName\": \"Canceled\",\r\n \"businessStatusCodeDetail\": 316,\r\n \"businessStatusNameDetail\": \"Canceled for Exceeded Pending Period\",\r\n \"externalIntegrationStatus\": 1,\r\n \"paid\": false,\r\n \"orderingCycle\": 201908,\r\n \"marketingCycle\": 201908,\r\n \"restrictedOrdering\": false,\r\n \"orderingDate\": \"2019-08-15T18:09:33.663Z\",\r\n \"marketingDate\": \"2019-08-15T00:00:00Z\",\r\n \"cancellationDate\": \"2019-08-21T03:00:29.183Z\",\r\n \"orderingTypes\": 5,\r\n \"itemsQuantity\": 7,\r\n \"pointsQuantity\": 252,\r\n \"totalAmount\": 321.34,\r\n \"tableValue\": 373.97,\r\n \"marketValue\": 311.97,\r\n \"netValue\": 296.34,\r\n \"regularProductsValue\": 296.34,\r\n \"paymentPlanCode\": 6,\r\n \"paymentPlanName\": \"Cash\",\r\n \"isMultiplePaymentPlan\": false,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model - Final Consumer\",\r\n \"simulatedValue\": 0.0,\r\n \"simulatedPoints\": 0.0,\r\n \"simulatedOrderPoints\": 0.0,\r\n \"simulatedValueProfitabilityGifts\": 0.0,\r\n \"distributionCenterCode\": 1,\r\n \"isWithdrawalCenter\": false,\r\n \"orderIndicatedSellerCode\": 215,\r\n \"orderIndicatedSeller\": {\r\n \"code\": 215,\r\n \"name\": \"VICTOR RUBENS FALSARELLA LIMA MACEDO JR\",\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://inovadevsgi.geravd.com.br/Paginas/Imagens/Fotos/abe1466db8cd84ed9c22c4009ea1a76e.png\"\r\n }\r\n ]\r\n },\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary\"\r\n },\r\n \"paymentMethod\": {\r\n \"id\": 1, \r\n \"description\": \"Boleto\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": true,\r\n \"allowFlexNegotiation\": false\r\n },\r\n \"businessStructure\": {\r\n \"businessStructureCode\": 30,\r\n \"businessStructureName\": \"CONSUMER\"\r\n },\r\n \"billingInformation\": {\r\n \"fiscalStatus\": 1\r\n },\r\n \"pickingInformation\": {\r\n \"distributionCenterCode\": 1,\r\n \"distributionCenterName\": \"Ecommerce Order Capture Center\",\r\n \"boxesQuantity\": 0,\r\n \"volume\": 0.0,\r\n \"estimatedWeight\": 11.0,\r\n \"currentWeight\": 0.0\r\n },\r\n \"deliveryInformation\": {\r\n \"originalScheduledDeliveryDate\": \"2019-08-16T00:00:00Z\",\r\n \"scheduledDeliveryDate\": \"2019-08-16T00:00:00Z\",\r\n \"carrierCode\": 213,\r\n \"carrierName\": \"UNIQUE CARRIER\"\r\n },\r\n \"representativePhone\": [\r\n {\r\n \"phoneType\": 2,\r\n \"phoneNumber\": \"19989891289\"\r\n }\r\n ],\r\n \"deliveryAddress\": {\r\n \"addressLevel0\": \"BRAZIL\",\r\n \"addressLevel1\": \"SP\",\r\n \"addressLevel2\": \"MOGI MIRIM\",\r\n \"addressLevel3\": \"VILA BIANCHI\",\r\n \"addressLevel4\": \"RUA SANTO AGOSTINHO\",\r\n \"number\": \"135\",\r\n \"areaCode\": \"13801-470\", \r\n \"selected\": false,\r\n \"formattedAddress\": \"RUA SANTO AGOSTINHO 135 - VILA BIANCHI - MOGI MIRIM - SP - BRAZIL - CEP: 13801-470\",\r\n \"readOnly\": true\r\n },\r\n \"contactInformation\": {\r\n \"creationUserCode\": 381,\r\n \"creationUserName\": \"DENIS \",\r\n \"finishingUserCode\": 381,\r\n \"finishingUserName\": \"DENIS \"\r\n },\r\n \"commissionDetails\": {\r\n \"consumerCommissionValue\": 16.50\r\n },\r\n \"externalPreAuthorization\": false,\r\n \"orderBusinessStatus\": {\r\n \"code\": 2,\r\n \"description\": \"Canceled\"\r\n },\r\n \"availableAssets\": [\r\n {\r\n \"assetType\": {\r\n \"id\": 1,\r\n \"description\": \"Boleto\"\r\n },\r\n \"available\": false,\r\n \"availableToSendByEmail\": false\r\n },\r\n {\r\n \"assetType\": {\r\n \"id\": 2,\r\n \"description\": \"Invoice\"\r\n },\r\n \"available\": false,\r\n \"availableToSendByEmail\": false\r\n },\r\n {\r\n \"assetType\": {\r\n \"id\": 3,\r\n \"description\": \"XML\"\r\n },\r\n \"available\": false,\r\n \"availableToSendByEmail\": false\r\n },\r\n { \r\n \"assetType\": {\r\n \"id\": 4,\r\n \"description\": \"Extract\"\r\n },\r\n \"available\": false,\r\n \"availableToSendByEmail\": false\r\n },\r\n {\r\n \"assetType\": {\r\n \"id\": 5,\r\n \"description\": \"Summary\"\r\n },\r\n \"available\": false,\r\n \"availableToSendByEmail\": false\r\n }\r\n ],\r\n \"paymentsTracking\": [],\r\n \"sellerPictures\": [],\r\n \"allRewardsPromotion\": false,\r\n \"orderBillingStatus\": {\r\n \"id\": 5,\r\n \"description\": \"Canceled\"\r\n }, \r\n \"allowsRenegotiation\": true,\r\n \"vendors\": [\r\n {\r\n \"vendorCode\": 1,\r\n \"vendorName\": \"Seller 1\"\r\n },\r\n {\r\n \"vendorCode\": 1,\r\n \"vendorName\": \"Seller 2\"\r\n },\r\n {\r\n \"vendorCode\": 1,\r\n \"vendorName\": \"Seller 3\"\r\n }\r\n ],\r\n \"customerOrderId\": \"\"\r\n }\r\n ]"}],"_postman_id":"8e941a0c-318c-45ca-b944-3690105575cf"},{"name":"Consult order by code","id":"c7eec8c2-1efd-4562-8476-a92b5d6fc3b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id?sellerCode=<integer>&orderType=<integer>&includeOptions=representative&includeOptions=representative Leader&includeOptions=businessInformation&includeOptions=businessInformationSimulated&includeOptions=businessStructure&includeOptions=billing information&includeOptions=pickingInformation&includeOptions=delivery information&includeOptions=representativePhone&includeOptions=deliveryAddress&includeOptions=contact information&includeOptions=commercial information&includeOptions=items&includeOptions=cutItems&includeOptions=gifts&includeOptions=businessStatus&includeOptions=availableAssets&includeOptions=canChangeOrderPaymentPlan&includeOptions=paymentTracking&includeOptions=billing status&includeOptions=creditDataHistory&includeOptions=renegotiationInformation&includeOptions=consolidatedOrders&includeOptions=delivery Orders&includeOptions=deliveryOption&includeOptions=historical","description":"<p>This call is used to query an order by code. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","Orders",":id"],"host":["{{baseUrl}}"],"query":[{"key":"sellerCode","value":"<integer>"},{"key":"orderType","value":"<integer>"},{"description":{"content":"<p>It adds an object with information from the order representative to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"representative"},{"description":{"content":"<p>It adds to the callback an object with information from the leader of the order representative.</p>\n","type":"text/plain"},"key":"includeOptions","value":"representative Leader"},{"description":{"content":"<p>It adds an object with the order's business information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessInformation"},{"description":{"content":"<p>It adds an object with simulated order business information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessInformationSimulated"},{"description":{"content":"<p>It adds an object with information from the business structure used in the request to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessStructure"},{"description":{"content":"<p>Adds an object with order billing information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"billing information"},{"description":{"content":"<p>Adds an object with order picking information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"pickingInformation"},{"description":{"content":"<p>Adds an object with order delivery information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"delivery information"},{"description":{"content":"<p>It adds an object with the telephone number of the request representative to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"representativePhone"},{"description":{"content":"<p>It adds an object with information about the delivery address of the order to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"deliveryAddress"},{"description":{"content":"<p>Adds an object with contact information for the order to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"contact information"},{"description":{"content":"<p>Adds an object with business information from the order to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"commercial information"},{"description":{"content":"<p>It adds an object with the items included in the order to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"items"},{"description":{"content":"<p>It adds an object with the items cut from the order to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"cutItems"},{"description":{"content":"<p>It adds an object with the order's freebies to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"gifts"},{"description":{"content":"<p>It adds an object with information about the order's business situation to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessStatus"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"availableAssets"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"canChangeOrderPaymentPlan"},{"description":{"content":"<p>It adds an object with order payment tracking information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"paymentTracking"},{"description":{"content":"<p>It adds to the callback an object with information on the order's billing status.</p>\n","type":"text/plain"},"key":"includeOptions","value":"billing status"},{"description":{"content":"<p>It adds an object with the credit history data of the order to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"creditDataHistory"},{"description":{"content":"<p>It adds an object with order renegotiation information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"renegotiationInformation"},{"description":{"content":"<p>Adds an object with consolidated order information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"consolidatedOrders"},{"description":{"content":"<p>Adds an object with information from the callback to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"delivery Orders"},{"description":{"content":"<p>Adds an object with order delivery options information to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"deliveryOption"},{"description":{"content":"<p>It adds an object with the order history to the callback.</p>\n","type":"text/plain"},"key":"includeOptions","value":"historical"}],"variable":[{"id":"3247c3e6-9d7f-4fa0-9bd3-5fca3bc83d85","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Order identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[],"_postman_id":"c7eec8c2-1efd-4562-8476-a92b5d6fc3b1"},{"name":"View order history","id":"e1495096-d23c-4e8f-981f-d810f6439f1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/historical","urlObject":{"path":["api","Orders",":id","historical"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f1b34f03-4779-405a-bf1b-ebbf63606ea1","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Order identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[],"_postman_id":"e1495096-d23c-4e8f-981f-d810f6439f1d"},{"name":"See items included in the order.","id":"cff22ac0-f6dc-4839-8f28-fc9c1dec1a8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/items","urlObject":{"path":["api","Orders",":id","items"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"bed71c70-462e-4700-a2d7-922c7b75964b","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Order identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[],"_postman_id":"cff22ac0-f6dc-4839-8f28-fc9c1dec1a8c"},{"name":"Consult order gifts.","id":"a17f2cb9-8e56-4716-9af9-9c2f4449b6e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/gifts","urlObject":{"path":["api","Orders",":id","gifts"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"4f29e14b-026b-418f-b417-e28a8fd7e16d","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Order identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[],"_postman_id":"a17f2cb9-8e56-4716-9af9-9c2f4449b6e1"},{"name":"View items cut from order","id":"f4baf461-3b56-4dfc-b38d-735806b652e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Orders/:id/cutitems","urlObject":{"path":["api","Orders",":id","cutitems"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f15ec412-a858-417d-a8b2-8194d3a9d8c9","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Order identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[],"_postman_id":"f4baf461-3b56-4dfc-b38d-735806b652e4"},{"name":"{{baseUrl}}/api/orders/networkOrders","id":"6cb533f3-0a24-440e-8a8f-1e107105d7ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/networkOrders?leaderID=<integer>&initialOrdering Cycle=<integer>&endOrderingCycle=<integer>&orderNumber=<integer>&sellerID=<integer>&view=<integer>&collectionMode=<object>&commercialStatus=<object>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","orders","networkOrders"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Leader Person Code Logged.</p>\n","type":"text/plain"},"key":"leaderID","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Initial ordering cycle (aaaacc) interval.</p>\n","type":"text/plain"},"key":"initialOrdering Cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Final ordering cycle (aaaacc) interval.</p>\n","type":"text/plain"},"key":"endOrderingCycle","value":"<integer>"},{"description":{"content":"<p>Order number.</p>\n","type":"text/plain"},"key":"orderNumber","value":"<integer>"},{"description":{"content":"<p>Seller Person Code.</p>\n","type":"text/plain"},"key":"sellerID","value":"<integer>"},{"description":{"content":"<p>View Result (0 - All, 1 - Personal, 2 - Network).</p>\n","type":"text/plain"},"key":"view","value":"<integer>"},{"description":{"content":"<p>Collection Mode.</p>\n","type":"text/plain"},"key":"collectionMode","value":"<object>"},{"description":{"content":"<p>Commercial Status.</p>\n","type":"text/plain"},"key":"commercialStatus","value":"<object>"},{"description":{"content":"<p>Number of Page</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page Size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[],"_postman_id":"6cb533f3-0a24-440e-8a8f-1e107105d7ad"},{"name":"See order summary","id":"382791a8-5c93-4a88-9041-af3a8d85bcdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/summary?initial Cycle=<integer>&endcycle=<integer>&commercialStructureCode=<integer>&sellerCode=<integer>&businessStatusCode=<integer>&businessStatusCode=<integer>","urlObject":{"path":["api","orders","summary"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Initial order cycle.(202001)</p>\n","type":"text/plain"},"key":"initial Cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> End order cycle.(202001)</p>\n","type":"text/plain"},"key":"endcycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Order commercial structure code. </p>\n<p> <a href=\"#4a23f401-278a-4d2c-a96d-99bd02c70da0\">Consult commercial structures</a></p>\n","type":"text/plain"},"key":"commercialStructureCode","value":"<integer>"},{"description":{"content":"<p>Order seller code to filter to restrict search</p>\n","type":"text/plain"},"key":"sellerCode","value":"<integer>"},{"description":{"content":"<p>List business status code of order</p>\n","type":"text/plain"},"key":"businessStatusCode","value":"<integer>"},{"description":{"content":"<p>List business status code of order</p>\n","type":"text/plain"},"key":"businessStatusCode","value":"<integer>"}],"variable":[]}},"response":[],"_postman_id":"382791a8-5c93-4a88-9041-af3a8d85bcdb"},{"name":"{{baseUrl}}/api/orders/cycleSummary","id":"27ec0ef6-2444-4f8a-bef6-7820f450e06f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/cycleSummary?initial Cycle=<integer>&endcycle=<integer>&sellerCode=<integer>&businessStatusCode=<object>&businessStatusCode=<object>&indicatorCycle=<boolean>","urlObject":{"path":["api","orders","cycleSummary"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Initial Cycle</p>\n","type":"text/plain"},"key":"initial Cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Final Cycle</p>\n","type":"text/plain"},"key":"endcycle","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Seller Code</p>\n","type":"text/plain"},"key":"sellerCode","value":"<integer>"},{"description":{"content":"<p>Business Status Code - Order</p>\n","type":"text/plain"},"key":"businessStatusCode","value":"<object>"},{"description":{"content":"<p>Business Status Code - Order</p>\n","type":"text/plain"},"key":"businessStatusCode","value":"<object>"},{"description":{"content":"<p>Indicator Cycle</p>\n","type":"text/plain"},"key":"indicatorCycle","value":"<boolean>"}],"variable":[]}},"response":[],"_postman_id":"27ec0ef6-2444-4f8a-bef6-7820f450e06f"},{"name":"{{baseUrl}}/api/orders/defaultScore","id":"d8760847-819d-403b-b806-87574d787352","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/defaultScore?sellerCode=<integer>&businessModelCode=<integer>&cycleCode=<integer>&commercialStructureCode=<integer>&geographicalStructureCode=<integer>","urlObject":{"path":["api","orders","defaultScore"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Seller code</p>\n","type":"text/plain"},"key":"sellerCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Business model code</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Cycle code</p>\n","type":"text/plain"},"key":"cycleCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Commercial structure code</p>\n","type":"text/plain"},"key":"commercialStructureCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Geographic structure code</p>\n","type":"text/plain"},"key":"geographicalStructureCode","value":"<integer>"}],"variable":[]}},"response":[],"_postman_id":"d8760847-819d-403b-b806-87574d787352"},{"name":"{{baseUrl}}/api/sellers/:id/pendingOrders","id":"47f22f81-4f27-48c2-b6fa-062e1497311f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/pendingOrders?collectionMode=<integer>","description":"<p>This resource is responsible for getting the pending orders of the person.</p>\n","urlObject":{"path":["api","sellers",":id","pendingOrders"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Collection mode identifier.</p>\n","type":"text/plain"},"key":"collectionMode","value":"<integer>"}],"variable":[{"id":"4911af83-dc1d-47e9-9cea-513006a9d9a4","description":{"content":"<p><strong>(Required)</strong> Seller number identifier.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[],"_postman_id":"47f22f81-4f27-48c2-b6fa-062e1497311f"},{"name":"{{baseUrl}}/api/orders/:id/resume","id":"6d5d5912-5f48-4207-92bc-3e7b36724011","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/resume","urlObject":{"path":["api","orders",":id","resume"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"39799870-58f2-4bc0-a10a-dc86d0b5844a","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"{{codigoPedido}}","key":"id"}]}},"response":[],"_postman_id":"6d5d5912-5f48-4207-92bc-3e7b36724011"}],"id":"6f41cedd-cb47-477d-aa87-f0b18eacd627","_postman_id":"6f41cedd-cb47-477d-aa87-f0b18eacd627","description":""},{"name":"Order Consolidation","item":[{"name":"{{baseUrl}}/api/orders/consolidation","id":"d0d9a2d1-df8d-483d-9df0-0a9f9674c221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"leaderCode","value":"<integer>"},{"key":"ordersCode","value":"[\"<integer>\",\"<integer>\"]"}]},"url":"{{baseUrl}}/api/orders/consolidation","description":"<p>Create a new order consolidation.</p>\n","urlObject":{"path":["api","orders","consolidation"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0d9a2d1-df8d-483d-9df0-0a9f9674c221"},{"name":"{{baseUrl}}/api/orders/ordersConsolidation","id":"e18c7d87-cf0b-4697-aeb0-b9e283a9b417","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/ordersConsolidation?leaderCode=<integer>&representativeCode=<integer>&businessRole=<integer>&initialOrderingCode=<integer>&finalOrderingCode=<integer>&initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&initialOrdering Cycle=<integer>&endOrderingCycle=<integer>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","orders","ordersConsolidation"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Leader Person Code Logged.</p>\n","type":"text/plain"},"key":"leaderCode","value":"<integer>"},{"description":{"content":"<p>Person Code that is below this Leader.</p>\n","type":"text/plain"},"key":"representativeCode","value":"<integer>"},{"description":{"content":"<p>Personal Profile.</p>\n","type":"text/plain"},"key":"businessRole","value":"<integer>"},{"description":{"content":"<p>Initial Ordering number.</p>\n","type":"text/plain"},"key":"initialOrderingCode","value":"<integer>"},{"description":{"content":"<p>Final Ordering number.</p>\n","type":"text/plain"},"key":"finalOrderingCode","value":"<integer>"},{"description":{"content":"<p>Initial Ordering Date</p>\n","type":"text/plain"},"key":"initialOrderingDate","value":"<dateTime>"},{"description":{"content":"<p>Final Ordering Date.</p>\n","type":"text/plain"},"key":"endOrderingDate","value":"<dateTime>"},{"description":{"content":"<p>Initial Ordering Cycle.</p>\n","type":"text/plain"},"key":"initialOrdering Cycle","value":"<integer>"},{"description":{"content":"<p>Final Ordering Cycle.</p>\n","type":"text/plain"},"key":"endOrderingCycle","value":"<integer>"},{"description":{"content":"<p>Number of Page</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page Size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"31c4c305-b226-4f73-97f8-f1c8d2a6d735","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/ordersConsolidation?leaderCode=<integer>&representativeCode=<integer>&businessRole=<integer>&initialOrderingCode=<integer>&finalOrderingCode=<integer>&initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&initialOrdering Cycle=<integer>&endOrderingCycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","orders","ordersConsolidation"],"query":[{"key":"leaderCode","value":"<integer>"},{"key":"representativeCode","value":"<integer>"},{"key":"businessRole","value":"<integer>"},{"key":"initialOrderingCode","value":"<integer>"},{"key":"finalOrderingCode","value":"<integer>"},{"key":"initialOrderingDate","value":"<dateTime>"},{"key":"endOrderingDate","value":"<dateTime>"},{"key":"initialOrdering Cycle","value":"<integer>"},{"key":"endOrderingCycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"892f2688-64a4-4411-b51d-8a051f0fcf84","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/ordersConsolidation?leaderCode=<integer>&representativeCode=<integer>&businessRole=<integer>&initialOrderingCode=<integer>&finalOrderingCode=<integer>&initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&initialOrdering Cycle=<integer>&endOrderingCycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","orders","ordersConsolidation"],"query":[{"key":"leaderCode","value":"<integer>"},{"key":"representativeCode","value":"<integer>"},{"key":"businessRole","value":"<integer>"},{"key":"initialOrderingCode","value":"<integer>"},{"key":"finalOrderingCode","value":"<integer>"},{"key":"initialOrderingDate","value":"<dateTime>"},{"key":"endOrderingDate","value":"<dateTime>"},{"key":"initialOrdering Cycle","value":"<integer>"},{"key":"endOrderingCycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"be985a28-31ce-4528-a38f-bd49f364dcfd","name":"There are no orders matching the filter criteria.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/ordersConsolidation?leaderCode=<integer>&representativeCode=<integer>&businessRole=<integer>&initialOrderingCode=<integer>&finalOrderingCode=<integer>&initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&initialOrdering Cycle=<integer>&endOrderingCycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","orders","ordersConsolidation"],"query":[{"key":"leaderCode","value":"<integer>"},{"key":"representativeCode","value":"<integer>"},{"key":"businessRole","value":"<integer>"},{"key":"initialOrderingCode","value":"<integer>"},{"key":"finalOrderingCode","value":"<integer>"},{"key":"initialOrderingDate","value":"<dateTime>"},{"key":"endOrderingDate","value":"<dateTime>"},{"key":"initialOrdering Cycle","value":"<integer>"},{"key":"endOrderingCycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e18c7d87-cf0b-4697-aeb0-b9e283a9b417"},{"name":"{{baseUrl}}/api/orders/consolidationStatus","id":"6d1cac49-5f22-46c7-9010-194c5e8c3e5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/consolidationStatus?leaderCode=<integer>&orderCode=<integer>&ordering cycle=<integer>&statusConsolidation=<object>&statusConsolidation=<object>&sortOptions=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","orders","consolidationStatus"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Leader Person Code Logged.</p>\n","type":"text/plain"},"key":"leaderCode","value":"<integer>"},{"description":{"content":"<p>Order Code.</p>\n","type":"text/plain"},"key":"orderCode","value":"<integer>"},{"description":{"content":"<p>Ordering Cycle.</p>\n","type":"text/plain"},"key":"ordering cycle","value":"<integer>"},{"description":{"content":"<p>Consolidation Status</p>\n","type":"text/plain"},"key":"statusConsolidation","value":"<object>"},{"description":{"content":"<p>Consolidation Status</p>\n","type":"text/plain"},"key":"statusConsolidation","value":"<object>"},{"description":{"content":"<p>Short Options</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Number of Page</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page Size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[],"_postman_id":"6d1cac49-5f22-46c7-9010-194c5e8c3e5c"}],"id":"760d1deb-e950-4a04-8a87-8524770ab54b","_postman_id":"760d1deb-e950-4a04-8a87-8524770ab54b","description":""},{"name":"Edit Order","item":[{"name":"{{baseUrl}}/api/orders/:id/edit","id":"59b23d35-dfad-4ec6-b975-d7c7a65fcc6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[],"url":"{{baseUrl}}/api/orders/:id/edit?collectionMode=<integer>","description":"<p>This resource is responsible for changing an order to make it editable again.</p>\n","urlObject":{"path":["api","orders",":id","edit"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>collectionMode Code.</p>\n","type":"text/plain"},"key":"collectionMode","value":"<integer>"}],"variable":[{"id":"7950fde0-4c63-4609-bd0d-c130389c12ef","description":{"content":"<p><strong>(Required)</strong> Order code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"693b28d7-78b3-486b-8989-504d2e7afacb","name":"OK.","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/edit?collectionMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","edit"],"query":[{"key":"collectionMode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""},{"id":"4b67d22d-ef32-4c5f-a63c-3cf9dea48129","name":"OK. Reset document view.","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/edit?collectionMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","edit"],"query":[{"key":"collectionMode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Reset Content","code":205,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""},{"id":"049b9007-b20a-4462-8c20-faf2018a00f0","name":"Bad request, invalid order information.","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/edit?collectionMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","edit"],"query":[{"key":"collectionMode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"0f4683d5-8210-4d1b-90d1-6383c9c4b2a4","name":"Unauthorized access to api.","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/edit?collectionMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","edit"],"query":[{"key":"collectionMode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"522b1716-882b-4593-92a4-4ccdc50c2f20","name":"Forbidden access to api.","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/edit?collectionMode=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","edit"],"query":[{"key":"collectionMode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"59b23d35-dfad-4ec6-b975-d7c7a65fcc6f"}],"id":"caeb080c-fb3a-48e5-a26e-8edd1b8916ef","_postman_id":"caeb080c-fb3a-48e5-a26e-8edd1b8916ef","description":""},{"name":"{{baseUrl}}/api/OrderBusinessStatus","id":"13d764b9-101f-428d-868c-ba2ecc11934e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/OrderBusinessStatus","urlObject":{"path":["api","OrderBusinessStatus"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"08c291d1-fdf9-4799-949b-8769fcca0c18","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/OrderBusinessStatus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"masterCode\": \"<integer>\",\n \"level\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"masterCode\": \"<integer>\",\n \"level\": \"<integer>\"\n }\n ]"}],"_postman_id":"13d764b9-101f-428d-868c-ba2ecc11934e"}],"id":"0e56d7af-1014-4184-9efe-8319b2353f44","description":"<p>Create and manage online orders based on business rules, enabling targeting of audiences to apply promotional compounds. </p>\n<p> Sales Order is an entity where we register products that were or were intended to be sold or donated to system users with their specific functions and business rules, there are some features exposed for managing this entity in its life flow, which we will see below.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"9d0b1490-b93e-4250-ba4c-1017ca65e179"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"284d2e63-9721-4484-80dc-5da7f8af2b47"}}],"_postman_id":"0e56d7af-1014-4184-9efe-8319b2353f44"},{"name":"SAC","item":[{"name":"Step 1 - Register Notification","item":[{"name":"Consult notification structures","id":"4fc5be61-1e85-4e49-84bf-8e8c437cd779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/notificationStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&isLeaf=<boolean>&classificationCode=<integer>&page=<integer>&pageSize=<integer>","description":"<p>This call is used to query the notification structures registered in <strong>Let</strong>. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively.</p>\n","urlObject":{"path":["api","notificationStructures"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Structure identifier code.</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Structure name.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Parent structure code.</p>\n","type":"text/plain"},"key":"parentCode","value":"<integer>"},{"description":{"content":"<p>Structure level.</p>\n","type":"text/plain"},"key":"levelCode","value":"<integer>"},{"description":{"content":"<p>Indicates whether the application should return leaf structures.</p>\n","type":"text/plain"},"key":"isLeaf","value":"<boolean>"},{"description":{"content":"<p>Classification code. </p>\n<p> <a href=\"#38deabed-ac6b-4462-a8f9-19ed5954021f\">Possible values</a></p>\n","type":"text/plain"},"key":"classificationCode","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"9d1c791b-becb-4dae-a4a7-42ba5521b21f","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/notificationStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&isLeaf=<boolean>&classificationCode=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","notificationStructures"],"query":[{"key":"code","value":"<integer>","description":"Structure identifier code."},{"key":"name","value":"<string>","description":"Structure name."},{"key":"parentCode","value":"<integer>","description":"Parent structure code."},{"key":"levelCode","value":"<integer>","description":"Structure level"},{"key":"isLeaf","value":"<boolean>","description":"Indicates whether the application should return leaf structures."},{"key":"classificationCode","value":"<integer>","description":"Classification code."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Structure code\",\r\n \"name\": \"Structure name\",\r\n \"parent\": {\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\"\r\n },\r\n \"levelCode\": \"Structure level code\",\r\n \"isLeaf\": \"Indicates if the structure is last level\",\r\n \"classificationCode\": \"Structure classification code\"\r\n }\r\n ]"},{"id":"42302fbd-fa96-4e1c-91a5-03c07d05922d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/notificationStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&isLeaf=<boolean>&classificationCode=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","notificationStructures"],"query":[{"key":"code","value":"<integer>","description":"Structure identifier code."},{"key":"name","value":"<string>","description":"Structure name."},{"key":"parentCode","value":"<integer>","description":"Parent structure code."},{"key":"levelCode","value":"<integer>","description":"Structure level"},{"key":"isLeaf","value":"<boolean>","description":"Indicates whether the application should return leaf structures."},{"key":"classificationCode","value":"<integer>","description":"Classification code."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 0,\r\n \"name\": \"SAC Reseller\",\r\n \"levelCode\": 0,\r\n \"isLeaf\": false\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"Customer Customer Service\",\r\n \"levelCode\": 0,\r\n \"isLeaf\": false\r\n },\r\n {\r\n \"code\": 1,\r\n \"name\": \"Order Claim\",\r\n \"parent\": {\r\n \"code\": 0,\r\n \"name\": \"SAC Reseller\"\r\n },\r\n \"levelCode\": 1,\r\n \"isLeaf\": false\r\n },\r\n {\r\n \"code\": 31,\r\n \"name\": \"Resale Intent\",\r\n \"parent\": {\r\n \"code\": 3,\r\n \"name\": \"Customer Customer Service\"\r\n },\r\n \"levelCode\": 1,\r\n \"isLeaf\": true,\r\n \"classificationCode\": 1\r\n },\r\n {\r\n \"code\": 32,\r\n \"name\": \"Intent to Purchase\",\r\n \"parent\": {\r\n \"code\": 3,\r\n \"name\": \"Customer Customer Service\"\r\n },\r\n \"levelCode\": 1,\r\n \"isLeaf\": true,\r\n \"classificationCode\": 1\r\n }\r\n ]"}],"_postman_id":"4fc5be61-1e85-4e49-84bf-8e8c437cd779"},{"name":"Register notification","event":[{"listen":"test","script":{"exec":["var success = tests[\"Status code is 200\"] = responseCode.code === 200;\r","\r","postman.setEnvironmentVariable(\"notification_id\", \"\");\r","\r","if(success)\r","{\r","    // Set the new notification id to the Local let environment\r","    var data = JSON.parse(responseBody);\r","    var id = data.notificationId;\r","    postman.setEnvironmentVariable(\"notification_id\", id);\r","}"],"type":"text/javascript","id":"78654b2e-6cd9-4bc2-b832-7e251976793d"}}],"id":"b62ca28b-a92c-4662-8c19-13477671eb2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/Notifications?peopleCode=<integer>&code=<integer>&origin=<integer>","description":"<p>This call is used to register a notification in <strong>Let</strong>.</p>\n","urlObject":{"path":["api","Notifications"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the person related to the notification. </p>\n<p> Consult <a href=\"#ae7ad089-1130-42d9-af80-d3704575b2cc\">individual</a> or <a href=\"#9e108b8c-0f70-4043-8021-df8343a4c3d0\">legal</a></p>\n","type":"text/plain"},"key":"peopleCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Notification structure code to which the notification to be registered will belong. </p>\n<p> <a href=\"#7b4513e2-8116-48ee-a09a-e58b4cc65786\">Consult notification structures</a></p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Notification source. </p>\n<p> <a href=\"#6bdc09ce-a169-4169-a46d-2a9c85736128\">Possible values</a></p>\n","type":"text/plain"},"key":"origin","value":"<integer>"}],"variable":[]}},"response":[{"id":"3a0f3f5e-b03c-41ce-bd27-8bbed9c3056b","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications?peopleCode=<integer>&code=<integer>&origin=<integer>","host":["{{baseUrl}}"],"path":["api","Notifications"],"query":[{"key":"peopleCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the reseller who created the notification."},{"key":"code","value":"<integer>","description":"**(Mandatory)**\n\n Notification structure code to which the notification to be registered will belong. \n\n (See notification structures)[#7b4513e2-8116-48ee-a09a-e58b4cc65786]"},{"key":"origin","value":"<integer>","description":"**(Mandatory)**\n\n Notification source. \n\n [Possible values](#6bdc09ce-a169-4169-a46d-2a9c85736128)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": \"Notification identifier code\"\r\n }"},{"id":"f1c23ca1-aba1-40ed-b7b0-380465c18be3","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications?peopleCode=<integer>&code=<integer>&origin=<integer>","host":["{{baseUrl}}"],"path":["api","Notifications"],"query":[{"key":"peopleCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the reseller who created the notification."},{"key":"code","value":"<integer>","description":"**(Mandatory)**\n\n Notification structure code to which the notification to be registered will belong. \n\n (See notification structures)[#7b4513e2-8116-48ee-a09a-e58b4cc65786]"},{"key":"origin","value":"<integer>","description":"**(Mandatory)**\n\n Notification source. \n\n [Possible values](#6bdc09ce-a169-4169-a46d-2a9c85736128)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": 50\r\n }"}],"_postman_id":"b62ca28b-a92c-4662-8c19-13477671eb2f"}],"id":"c8205283-8b1e-4916-81a4-60972441e19f","description":"<p>To start a service, a notification must be registered in <strong>Let</strong>. </p>\n<p> To register a notification, it is necessary to obtain the code of the <a href=\"#7b4513e2-8116-48ee-a09a-e58b4cc65786\">notification structure</a> that represents the type of notification to be created. </p>\n<p> After obtaining all the necessary information, it is possible to <a href=\"#0e3bdc40-8390-4480-97ad-2a8e60b4d284\">register the notification</a>.</p>\n","_postman_id":"c8205283-8b1e-4916-81a4-60972441e19f"},{"name":"Step 2 - Consult and Answer Questions","item":[{"name":"Consult notification questions","id":"c116af58-d098-42f4-800b-b199eb6167ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Notifications/:notificationId/questions","description":"<p>This call is used to look up questions in a notification. </p>\n<p> <strong>Heads up</strong></p>\n<p> The notification must have the status <code>Created</code>.</p>\n","urlObject":{"path":["api","Notifications",":notificationId","questions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"c0bb5e1b-d67b-4f52-9af0-ffdaeb5a58ca","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Notification identifier code.</p>\n","type":"text/plain"},"type":"any","value":"{{notification_id}}","key":"notificationId"}]}},"response":[{"id":"ac07f8f0-0cad-419c-8d05-c1e2640d1f2b","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications/:notificationId/questions","host":["{{baseUrl}}"],"path":["api","Notifications",":notificationId","questions"],"variable":[{"key":"notificationId","value":"{{notification_id}}","description":"**(Mandatory)**\n\n Notification identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": \"Notification identifier code\",\r\n \"questions\": [ // List of questions\r\n {\r\n \"questionCode\": \"Question identifier code\",\r\n \"question\": \"Question\",\r\n \"questionOrder\": \"Question order\",\r\n \"answerType\": {\r\n \"id\": \"Answer Type Code\", // Possible Glossary Values (Answer Types)\r\n \"description\": \"Description of response type\"\r\n },\r\n \"questionType\": \"Answer information type code\", // Possible values in the Glossary (Answer Information Types). \r\n \"required\": \"Indicates if the question is required\",\r\n \"questionAnswer\": \"Answer\",\r\n \"additionalInfos\": [ // List of additional answer information\r\n {\r\n \"id\": \"Code of additional information\", // Possible values in the Glossary (Types of Additional Information)\r\n \"value\": \"Additional information value\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"},{"id":"87391de3-5ddd-4334-92b3-c6f1d7e21c50","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications/:notificationId/questions","host":["{{baseUrl}}"],"path":["api","Notifications",":notificationId","questions"],"variable":[{"key":"notificationId","value":"{{notification_id}}","description":"**(Mandatory)**\n\n Notification identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": 39,\r\n \"questions\": [\r\n {\r\n \"questionCode\": 139,\r\n \"question\": \"What is the order?\",\r\n \"questionOrder\": 1,\r\n \"answerType\": {\r\n \"id\": 4,\r\n \"description\": \"Table\"\r\n },\r\n \"required\": true,\r\n \"questionAnswer\": \"Order Number: 16271557, Invoice Number: 361, Expected delivery date: 07/17/2019, Days of delay: 258 day(s) of delay\"\r\n },\r\n {\r\n \"questionCode\": 140,\r\n \"question\": \"What is the reason for the cancellation?\",\r\n \"questionOrder\": 2,\r\n \"answerType\": {\r\n \"id\": 1,\r\n \"description\": \"Text\" \r\n },\r\n \"questionType\": 1,\r\n \"required\": true,\r\n \"questionAnswer\": \"output\",\r\n \"additionalInfos\": [\r\n {\r\n \"id\": 2,\r\n \"value\": \"100\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"}],"_postman_id":"c116af58-d098-42f4-800b-b199eb6167ab"},{"name":"See question details","id":"f1db953f-3a4e-4d8d-99af-bd039ae915a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Notifications/:notificationId/questions/:questionCode?page=<integer>&pageSize=<integer>","description":"<p>This call is used to look up the details of a specific question in a notification. </p>\n<h5 id=\"important-parameter\">Important Parameter</h5>\n<p> The <code>answerType</code> (Response Type) parameter in the callback deserves special attention. Depending on the value of this domain, different objects will be returned (in addition to the common ones for all scenarios):</p>\n<ul>\n<li><p><code>2 - Domain Value</code></p>\n</li>\n<li><p><code>16 - Multiple Domain Value</code></p>\n</li>\n<li><p><code>18 - Cycle</code></p>\n</li>\n<li><p>Possible responses are returned in the <code>possibleValues</code> object. </p>\n</li>\n<li><p><code>3 - Range Value</code></p>\n</li>\n<li><p>A range of values will be added to the <code>additionalInfos</code> object. This range describes the minimum and maximum possible value of the answer, with the number of decimal places. </p>\n</li>\n<li><p><code>17 - Informative</code></p>\n</li>\n<li><p>An informational text is returned in the <code>questionAnswer</code> object. </p>\n</li>\n<li><p><code>4 - List Value</code></p>\n</li>\n<li><p><code>10 - Lita with Range</code></p>\n</li>\n<li><p><code>11 - List two fields</code></p>\n</li>\n<li><p><code>15 - List Values</code></p>\n</li>\n<li><p>Possible answers are returned in the <code>possibleValues</code> object;</p>\n</li>\n<li><p>The <code>acceptsPagination</code> paging acceptance information will be added - with its value (<code>true</code> or <code>false</code>), in the <code>additionalInfos</code> object;</p>\n</li>\n<li><p>Some information will be added in the <code>additionalInfos</code> object, depending on some parameters:</p>\n</li>\n<li><p>The <code>limitsSelection</code> selection limit information will be added, along with some details:</p>\n</li>\n<li><p>Maximum amount of different products (if any);</p>\n</li>\n<li><p>Maximum quantity of products (if any).</p>\n</li>\n</ul>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> <strong>Heads up</strong></p>\n<p> The notification must have the status <code>Created</code>.</p>\n","urlObject":{"path":["api","Notifications",":notificationId","questions",":questionCode"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"b3836d09-2f34-48b5-9a69-0538c01f4a7e","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Notification identifier code.</p>\n","type":"text/plain"},"type":"any","value":"{{notification_id}}","key":"notificationId"},{"id":"e08428b0-a53e-45fc-a0a3-728ad6d97b78","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Question identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"questionCode"}]}},"response":[{"id":"5f01d594-9708-4c5c-ab81-a8ce443b79de","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications/:notificationId/questions/:questionCode?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Notifications",":notificationId","questions",":questionCode"],"query":[{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"notificationId","value":"{{notification_id}}","description":"**(Mandatory)**\n\n Notification identifier code."},{"key":"questionCode","value":"<integer>","description":"**(Mandatory)**\n\n Question identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": \"Notification identifier code\",\r\n \"expectedAnswer\": \"Expected Response Type Code\", // Possible Glossary Values (Expected Response Types)\r\n \"possibleValues\": {\r\n \"columns\": [ // List of columns\r\n {\r\n \"name\": \"Column name\",\r\n \"key\": \"Indicates if the column has a key\",\r\n \"visible\": \"Indicates if the column is visible\",\r\n \"editable\": \"Indicates whether the column is editable\",\r\n \"mininumColumn\": \"Indicates if there is a minimum number of columns\",\r\n \"maximumColumn\": \"Indicates if there is a maximum number of columns\",\r\n \"dataType\": \"Column Data Type\", // Possible Glossary Values (Column Data Types)\r\n \"parameter\": \"Column parameter\" \r\n }\r\n ],\r\n \"rows\": [\r\n {\r\n \"dataRow\": [ // List of objects\r\n \"object property\",\r\n \"object property\"\r\n ],\r\n \"selected\": \"Indicates if it is the selected line\"\r\n }\r\n ]\r\n },\r\n \"questionCode\": \"Question code\",\r\n \"question\": \"Question\",\r\n \"questionOrder\": \"Question order\",\r\n \"answerType\": {\r\n \"id\": \"Answer Type Code\", // Possible Glossary Values (Answer Types)\r\n \"description\": \"Description of response type\"\r\n },\r\n \"required\": \"Indicates if the question is required\", \r\n \"questionAnswer\": \"Answer\",\r\n \"additionalInfos\": [ // List of additional answer information\r\n {\r\n \"id\": \"Code of additional information\", // Possible values in the Glossary (Types of Additional Information)\r\n \"value\": \"Additional information value\"\r\n }\r\n ],\r\n \"questionType\": \"Answer modal type code\" // Possible values in the Glossary (Answer Modal Types). \r\n }"},{"id":"0594583a-540a-452e-aab5-bfaf9079f9cd","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications/:notificationId/questions/:questionCode?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Notifications",":notificationId","questions",":questionCode"],"query":[{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"notificationId","value":"{{notification_id}}","description":"**(Mandatory)**\n\n Notification identifier code."},{"key":"questionCode","value":"<integer>","description":"**(Mandatory)**\n\n Question identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": 1,\r\n \"expectedAnswer\": 2,\r\n \"possibleValues\": {\r\n \"columns\": [\r\n {\r\n \"name\": \"Id\",\r\n \"key\": true,\r\n \"visible\": true,\r\n \"editable\": false,\r\n \"mininumColumn\": false,\r\n \"maximumColumn\": false,\r\n \"dataType\": 2,\r\n \"parameter\": \"Parameter 1\"\r\n }\r\n ],\r\n \"rows\": [\r\n {\r\n \"dataRow\": [\r\n 1,\r\n \"Wrong request\"\r\n ],\r\n \"selected\": true\r\n },\r\n {\r\n \"dataRow\": [\r\n two, \r\n \"Wrong typing\"\r\n ],\r\n \"selected\": false\r\n },\r\n {\r\n \"dataRow\": [\r\n 3,\r\n \"Others\"\r\n ],\r\n \"selected\": false\r\n }\r\n ]\r\n },\r\n \"questionCode\": 37,\r\n \"question\": \"What is the order?\",\r\n \"questionOrder\": 1,\r\n \"answerType\": {\r\n \"id\": 4,\r\n \"description\": \"Table\"\r\n },\r\n \"required\": true,\r\n \"questionAnswer\": \"Order Number: 18, Expected delivery date: 02/22/2017, Days of delay: Within the Deadline\",\r\n \"additionalInfos\": [\r\n { \r\n \"id\": 6,\r\n \"value\": true\r\n }\r\n ],\r\n \"questionType\": 2\r\n }"}],"_postman_id":"f1db953f-3a4e-4d8d-99af-bd039ae915a1"},{"name":"Answer notification question","id":"d82e8d77-837d-475f-a07d-8e102e7f5a0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"notificationAnswer","value":"{\"singlevalue\":<string>,\"tableValue\":{\"columns\":[{\"name\":\"<string>\"},{\"name\":\"<string>\"}],\"rows\":[{\"dataRow\":[\"<object> \",\"<object> \"]},{\"dataRow\":[\"<object> \",\"<object> \"]}]}}","description":"<p>Notification response. </p>\n<ul>\n<li><p><code>singleValue</code>: Single value response;</p>\n</li>\n<li><p><code>tableValue</code>: Response with more than one value:</p>\n</li>\n<li><p><code>columns</code>: Columns:</p>\n</li>\n<li><p><code>name</code>: Column name. </p>\n</li>\n<li><p><code>rows</code>: Lines:</p>\n</li>\n<li><p><code>dataRow</code>: Row value.</p>\n</li>\n</ul>\n","type":"text"}]},"url":"{{baseUrl}}/api/notifications/:notificationId/questions/:questionCode","description":"<p>This call is used to answer a notification question. </p>\n<p> <strong>Heads up</strong></p>\n<p> The response body must be sent in <code>raw/JSON</code> format.</p>\n","urlObject":{"path":["api","notifications",":notificationId","questions",":questionCode"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Notification identifier code.</p>\n","type":"text/plain"},"type":"any","value":"{{notification_id}}","key":"notificationId"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Question identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"questionCode"}]}},"response":[{"id":"1a38ce66-b87e-4a99-ab37-508c9bae3d34","name":"Response Parameter Details","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"notificationAnswer","value":"{\"singlevalue\":<string>,\"tableValue\":{\"columns\":[{\"name\":\"<string>\"},{\"name\":\"<string>\"}],\"rows\":[{\"dataRow\":[\"<object> \",\"<object> \"]},{\"dataRow\":[\"<object> \",\"<object> \"]}]}}","description":"Notification response. \n\n - `singleValue`: Single value response;\n\n - `tableValue`: Response with more than one value:\n\n - `columns`: Columns:\n\n - `name`: Column name. \n\n - `rows`: Lines:\n\n - `dataRow`: Row value.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/notifications/:notificationId/questions/:questionCode","host":["{{baseUrl}}"],"path":["api","notifications",":notificationId","questions",":questionCode"],"variable":[{"key":"notificationId","value":"{{notification_id}}","description":"**(Mandatory)**\n\n Notification identifier code."},{"key":"questionCode","value":"<integer>","description":"**(Mandatory)**\n\n Question identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": \"Notification identifier code\",\r\n \"questionCode\": \"Question code\",\r\n \"question\": \"Question\",\r\n \"questionAnswer\": \"Answer\"\r\n }"},{"id":"5716a531-e10b-4205-b8f3-3d2e9902254f","name":"OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"notificationAnswer","value":"{\"singlevalue\":<string>,\"tableValue\":{\"columns\":[{\"name\":\"<string>\"},{\"name\":\"<string>\"}],\"rows\":[{\"dataRow\":[\"<object> \",\"<object> \"]},{\"dataRow\":[\"<object> \",\"<object> \"]}]}}","description":"Notification response. \n\n - `singleValue`: Single value response;\n\n - `tableValue`: Response with more than one value:\n\n - `columns`: Columns:\n\n - `name`: Column name. \n\n - `rows`: Lines:\n\n - `dataRow`: Row value.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/notifications/:notificationId/questions/:questionCode","host":["{{baseUrl}}"],"path":["api","notifications",":notificationId","questions",":questionCode"],"variable":[{"key":"notificationId","value":"{{notification_id}}","description":"**(Mandatory)**\n\n Notification identifier code."},{"key":"questionCode","value":"<integer>","description":"**(Mandatory)**\n\n Question identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": 55,\r\n \"questionCode\": 37,\r\n \"question\": \"What is the order?\",\r\n \"questionAnswer\": \"Order Number: 12, Expected delivery date: 07/21/2018, Days of delay: Within the Deadline\"\r\n }"}],"_postman_id":"d82e8d77-837d-475f-a07d-8e102e7f5a0c"}],"id":"6e125de8-fb9c-43f1-a204-1cd8a3c02ca7","description":"<p>After creating a notification, we enter the response step. </p>\n<p> First, obtain the <a href=\"#b5372f34-17c9-4b28-9e3a-c9a2040cc2d5\">notification questions</a>. Then the <a href=\"#59d336ac-baf8-452f-898a-b2487fd204c1\">details of each question</a> must be obtained. Finally, the questions must be <a href=\"#77a32b3d-8eea-4e3c-a9ab-17890ea966c9\">answered individually</a>. </p>\n<h3 id=\"important\">Important</h3>\n<p> Depending on the type of notification (notification structure), some questions can only be answered after answering previous questions. </p>\n<p> A good example is the notification of the type <code>Product Billed Different from Shipped</code>, where the second question ('What is the product billed and not shipped?') cannot be answered before the first question ('What is the order?' ).</p>\n","_postman_id":"6e125de8-fb9c-43f1-a204-1cd8a3c02ca7"},{"name":"Step 3 - Close Notification","item":[{"name":"close notification","id":"bb1e805d-daa1-49dd-a2bb-742502a81f2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{baseUrl}}/api/notifications/:notificationId/closed","description":"<p>This call is used to close a notification. </p>\n<p> <strong>Heads up</strong></p>\n<p> In order for a notification to be closed, there must be at least one response recorded.</p>\n","urlObject":{"path":["api","notifications",":notificationId","closed"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"636d15b2-cdc8-4251-937c-a46208a475a3","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Notification identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"notificationId"}]}},"response":[{"id":"b882726f-8cc8-4006-95a7-608a3f63ad88","name":"Response Parameter Details","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/notifications/:notificationId/closed","host":["{{baseUrl}}"],"path":["api","notifications",":notificationId","closed"],"variable":[{"key":"notificationId","value":"<integer>","description":"**(Mandatory)**\n\n Notification identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"situationDescription\": \"Description of notification status\"\r\n }"},{"id":"3744a889-9a87-47d8-bac8-d35c94a47d51","name":"OK","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/notifications/:notificationId/closed","host":["{{baseUrl}}"],"path":["api","notifications",":notificationId","closed"],"variable":[{"key":"notificationId","value":"<integer>","description":"**(Mandatory)**\n\n Notification identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"situationDescription\": \"Notification closed\"\r\n }"}],"_postman_id":"bb1e805d-daa1-49dd-a2bb-742502a81f2d"}],"id":"0fcea81c-17d0-4923-9203-7349bf4b05ae","description":"<p>After answering all the mandatory questions in the notification, you can <a href=\"#018a3b7c-61bd-4353-9890-43491ec87af1\">finalize it</a>.</p>\n","_postman_id":"0fcea81c-17d0-4923-9203-7349bf4b05ae"},{"name":"Consult notifications","id":"cad7b1ae-4e65-464a-adff-8357d9e5715d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Notifications?initialNotificationDate=<dateTime>&finalNotificationDate=<dateTime>&peopleCode=<integer>&notificationId=<integer>&orderCode=<integer>&notificationStatusCode=<integer>&channel=<integer>&origin=<integer>&page=<integer>&pageSize=<integer>","description":"<p>This call is used to query the notifications existing in <strong>Let</strong>. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively.</p>\n","urlObject":{"path":["api","Notifications"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Date of first notification. (2020-03-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"initialNotificationDate","value":"<dateTime>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Date of last notification. (2020-03-31T23:59:59.000Z)</p>\n","type":"text/plain"},"key":"finalNotificationDate","value":"<dateTime>"},{"description":{"content":"<p>Code of the person related to the notification.</p>\n","type":"text/plain"},"key":"peopleCode","value":"<integer>"},{"description":{"content":"<p>Notification identifier code.</p>\n","type":"text/plain"},"key":"notificationId","value":"<integer>"},{"description":{"content":"<p>Order code related to the notification.</p>\n","type":"text/plain"},"key":"orderCode","value":"<integer>"},{"description":{"content":"<p>Notification status code. </p>\n<p> <strong>Heads up</strong></p>\n<p> To obtain the possible values, it is necessary to contact the application administrator.</p>\n","type":"text/plain"},"key":"notificationStatusCode","value":"<integer>"},{"description":{"content":"<p>Notification channel. </p>\n<p> <a href=\"#ab62994f-5e5e-4461-9864-b442ce0ebae9\">Possible values</a></p>\n","type":"text/plain"},"key":"channel","value":"<integer>"},{"description":{"content":"<p>Notification source. </p>\n<p> <a href=\"#6bdc09ce-a169-4169-a46d-2a9c85736128\">Possible values</a></p>\n","type":"text/plain"},"key":"origin","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"97eeda85-f6ee-4a9a-b750-2676e00d804f","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications?initialNotificationDate=<dateTime>&finalNotificationDate=<dateTime>&peopleCode=<integer>&notificationId=<integer>&orderCode=<integer>&notificationStatusCode=<integer>&channel=<integer>&origin=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Notifications"],"query":[{"key":"initialNotificationDate","value":"<dateTime>","description":"**(Mandatory)**\n\n Date of first notification."},{"key":"finalNotificationDate","value":"<dateTime>","description":"**(Mandatory)**\n\n Date of last notification."},{"key":"peopleCode","value":"<integer>","description":"Code of the person related to the notification."},{"key":"notificationId","value":"<integer>","description":"Notification identifier code."},{"key":"orderCode","value":"<integer>","description":"Order code related to the notification."},{"key":"notificationStatusCode","value":"<integer>","description":"Notification status code."},{"key":"channel","value":"<integer>","description":"Notification channel. \n\n [Possible values](#ab62994f-5e5e-4461-9864-b442ce0ebae9)"},{"key":"origin","value":"<integer>","description":"Notification source. \n\n [Possible values](#6bdc09ce-a169-4169-a46d-2a9c85736128)"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"notificationId\": \"Notification identifier code\",\r\n \"orderCode\": \"Order code related to notification\",\r\n \"notificationDate\": \"Notification issued date\",\r\n \"peopleCode\": \"Code of person related to notification\",\r\n \"peopleName\": \"Name of person related to notification\",\r\n \"channel\": {\r\n \"id\": \"Notification channel code\", // Possible values in the Glossary (Notification Channels)\r\n \"description\": \"Notification channel\"\r\n },\r\n \"origin\": {\r\n \"id\": \"Notification source code\",\r\n \"description\": \"Notification Source\" // Possible Glossary Values (Notification Sources)\r\n },\r\n \"notificationStructure\": { \r\n \"code\": \"Notification Structure Code\",\r\n \"description\": \"Notification structure\"\r\n },\r\n \"notificationStatus\": {\r\n \"code\": \"Notification status code\",\r\n \"description\": \"Status of notification\"\r\n },\r\n \"creationUser\": {\r\n \"userCode\": \"Notification creator user code\",\r\n \"userName\": \"Notification creator username\"\r\n },\r\n \"lastUser\": {\r\n \"userCode\": \"Last notification modifier user code\",\r\n \"userName\": \"Last notification modifier user name\"\r\n }\r\n }\r\n ]"},{"id":"a544bf29-ad97-4d60-b2d1-8d405d5ee87f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications?initialNotificationDate=<dateTime>&finalNotificationDate=<dateTime>&peopleCode=<integer>&notificationId=<integer>&orderCode=<integer>&notificationStatusCode=<integer>&channel=<integer>&origin=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Notifications"],"query":[{"key":"initialNotificationDate","value":"<dateTime>","description":"**(Mandatory)**\n\n Date of first notification."},{"key":"finalNotificationDate","value":"<dateTime>","description":"**(Mandatory)**\n\n Date of last notification."},{"key":"peopleCode","value":"<integer>","description":"Code of the person related to the notification."},{"key":"notificationId","value":"<integer>","description":"Notification identifier code."},{"key":"orderCode","value":"<integer>","description":"Order code related to the notification."},{"key":"notificationStatusCode","value":"<integer>","description":"Notification status code."},{"key":"channel","value":"<integer>","description":"Notification channel. \n\n [Possible values](#ab62994f-5e5e-4461-9864-b442ce0ebae9)"},{"key":"origin","value":"<integer>","description":"Notification source. \n\n [Possible values](#6bdc09ce-a169-4169-a46d-2a9c85736128)"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"notificationId\": 37,\r\n \"orderCode\": 16271789,\r\n \"notificationDate\": \"2020-03-31T11:57:43.097Z\",\r\n \"peopleCode\": 2350,\r\n \"peopleName\": \"SELLER 2TEST -SILMARA QA\",\r\n \"channel\": {\r\n \"id\": 1,\r\n \"description\": \"Call Center\"\r\n },\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Customer\"\r\n },\r\n \"notificationStructure\": {\r\n \"code\": 3336,\r\n \"description\": \"SAC Reseller / Order Claim / Order- Cancellation\"\r\n },\r\n \"notificationStatus\": {\r\n \"code\": 131,\r\n \"description\": \"OK\" \r\n },\r\n \"creationUser\": {\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n },\r\n \"lastUser\": {\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n }\r\n },\r\n {\r\n \"notificationId\": 38,\r\n \"orderCode\": 16271793,\r\n \"notificationDate\": \"2020-03-31T15:23:41.407Z\",\r\n \"peopleCode\": 2350,\r\n \"peopleName\": \"SELLER 2TEST - SILMARA QA\",\r\n \"channel\": {\r\n \"id\": 1,\r\n \"description\": \"Call Center\"\r\n },\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Customer\" \r\n },\r\n \"notificationStructure\": {\r\n \"code\": 3336,\r\n \"description\": \"SAC Reseller / Order Claim / Order - Cancellation\"\r\n },\r\n \"notificationStatus\": {\r\n \"code\": 131,\r\n \"description\": \"OK\"\r\n },\r\n \"creationUser\": {\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n },\r\n \"lastUser\": {\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n }\r\n },\r\n {\r\n \"notificationId\": 39,\r\n \"orderCode\": 16271557,\r\n \"notificationDate\": \"2020-03-31T16:59:34.207Z\",\r\n \"peopleCode\": 2350,\r\n \"peopleName\": \"SELLER 2TEST - SILMARA QA\",\r\n \"channel\": {\r\n \"id\": 1,\r\n \"description\": \"Call Center\"\r\n },\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Customer\"\r\n },\r\n \"notificationStructure\": {\r\n \"code\": 3336,\r\n \"description\": \"SAC Reseller / Order Claim / Order - Cancellation\"\r\n },\r\n \"notificationStatus\": {\r\n \"code\": 111,\r\n \"description\": \"Created\"\r\n },\r\n \"creationUser\": {\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n },\r\n \"lastUser\": {\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n }\r\n }\r\n ]"}],"_postman_id":"cad7b1ae-4e65-464a-adff-8357d9e5715d"},{"name":"Consult notification by code","id":"b0f09cdf-90a9-4afb-9cb7-9e2bd8f053c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Notifications/:notificationId","description":"<p>This call is used to query a notification by code.</p>\n","urlObject":{"path":["api","Notifications",":notificationId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"86a70d11-ab84-4c1a-b509-e41298db36f8","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Notification identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"notificationId"}]}},"response":[{"id":"d43c2bfd-e523-441e-83d4-82fe97f895d3","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications/:notificationId","host":["{{baseUrl}}"],"path":["api","Notifications",":notificationId"],"variable":[{"key":"notificationId","value":"<integer>","description":"**(Mandatory)**\n\n Notification identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": \"Notification identifier code\",\r\n \"orderCode\": \"Order code related to notification\",\r\n \"notificationDate\": \"Notification issued date\",\r\n \"peopleCode\": \"Code of person related to notification\",\r\n \"peopleName\": \"Name of person related to notification\",\r\n \"channel\": {\r\n \"id\": \"Notification channel code\", // Possible values in the Glossary (Notification Channels)\r\n \"description\": \"Notification channel\"\r\n },\r\n \"origin\": {\r\n \"id\": \"Notification source code\",\r\n \"description\": \"Notification Source\" // Possible Glossary Values (Notification Sources)\r\n },\r\n \"notificationStructure\": {\r\n \"code\": \"Notification Structure Code\",\r\n \"description\": \"Notification structure\"\r\n },\r\n \"notificationStatus\": {\r\n \"code\": \"Notification status code\",\r\n \"description\": \"Status of notification\"\r\n },\r\n \"creationUser\": {\r\n \"userCode\": \"Notification creator user code\",\r\n \"userName\": \"Notification creator username\"\r\n },\r\n \"lastUser\": {\r\n \"userCode\": \"Last notification modifier user code\",\r\n \"userName\": \"Last notification modifier user name\"\r\n },\r\n \"answeredQuestions\": [ // List of answered questions\r\n {\r\n \"questionCode\": \"Code of the question\",\r\n \"question\": \"Question\",\r\n \"questionAnswer\": \"Answer\"\r\n }\r\n ],\r\n \"statusHistory\": [ // List of history situations\r\n {\r\n \"code\": \"Notification status code\",\r\n \"description\": \"Description of the situation\",\r\n \"comment\": \"History detail\",\r\n \"beginDate\": \"History start date\",\r\n \"endDate\": \"History end date\",\r\n \"userCode\": \"Notification creator user code\",\r\n \"userName\": \"Notification creator username\"\r\n }\r\n ]\r\n }"},{"id":"d77c3aea-cd05-4945-bd8c-5d14843269e1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Notifications/:notificationId","host":["{{baseUrl}}"],"path":["api","Notifications",":notificationId"],"variable":[{"key":"notificationId","value":"<integer>","description":"**(Mandatory)**\n\n Notification identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"notificationId\": 38,\r\n \"orderCode\": 16271793,\r\n \"notificationDate\": \"2020-03-31T15:23:41.407Z\",\r\n \"peopleCode\": 2350,\r\n \"peopleName\": \"SELLER 2TEST -SILMARA QA\",\r\n \"channel\": {\r\n \"id\": 1,\r\n \"description\": \"Call Center\"\r\n },\r\n \"origin\": {\r\n \"id\": 1,\r\n \"description\": \"Customer\"\r\n },\r\n \"notificationStructure\": {\r\n \"code\": 3336,\r\n \"description\": \"SAC Reseller / Order Claim / Order- Cancellation\"\r\n },\r\n \"notificationStatus\": {\r\n \"code\": 131,\r\n \"description\": \"OK\"\r\n }, \r\n \"creationUser\": {\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n },\r\n \"lastUser\": {\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n },\r\n \"answeredQuestions\": [\r\n {\r\n \"questionCode\": 139,\r\n \"question\": \"What is the order?\",\r\n \"questionAnswer\": \"Order Number: 16271793, Invoice Number: 376, Expected delivery date: 07/17/2019, Days of delay: 258 day(s) of delay\"\r\n },\r\n {\r\n \"questionCode\": 140,\r\n \"question\": \"What is the reason for the cancellation?\",\r\n \"questionAnswer\": \"adsas\"\r\n }\r\n ],\r\n \"statusHistory\": [\r\n {\r\n \"code\": 111,\r\n \"description\": \"Created\",\r\n \"comment\": \"\",\r\n \"beginDate\": \"2020-03-31T15:37:55.57Z\",\r\n \"endDate\": \"2020-03-31T15:54:08.673Z\",\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n },\r\n {\r\n \"code\": 131,\r\n \"description\": \"OK\",\r\n \"comment\": \"\",\r\n \"beginDate\": \"2020-03-31T15:54:08.673Z\",\r\n \"userCode\": 0,\r\n \"userName\": \"ADMINISTRATOR\"\r\n }\r\n ]\r\n }"}],"_postman_id":"b0f09cdf-90a9-4afb-9cb7-9e2bd8f053c6"}],"id":"32f07838-8fe2-4456-8a7a-a9b6faca1819","description":"<p>Serve customers by logging calls and implementing automated solutions with our suite of services. </p>\n<p> In this module we will describe the functionalities of opening and after-sales service with SAC (Customer Service). </p>\n<h2 id=\"service-flow\">Service Flow</h2>\n<p> The SAC flow in <strong>Let</strong> consists of three steps:</p>\n<ol>\n<li><p><a href=\"#73d65a6e-067e-4a98-8872-1aca6f35fdf5\">Notification Registration</a></p>\n</li>\n<li><p><a href=\"#edf079c2-8f25-4c31-9c6c-8395bf64bbbc\">Inquiry and Question Answer</a></p>\n</li>\n<li><p><a href=\"#b311927a-8f8f-4e5a-a293-956f71c52082\">Closing Notification</a></p>\n</li>\n</ol>\n<h5 id=\"first-step\">First step</h5>\n<p> The necessary queries are made and then the notification is registered. </p>\n<h5 id=\"second-step\">Second step</h5>\n<p> The questions in the notification and the details of each question are consulted. Finally, each question is answered individually. </p>\n<h5 id=\"third-step\">Third step</h5>\n<p> When all required questions are properly answered, it is possible to close notification. </p>\n<p> <strong>Observation</strong></p>\n<p> In addition to the flow described above, it is also possible to <a href=\"#d495cab3-6b05-42cc-ba2e-aaa8e6c783f0\">see notifications</a> existing in <strong>Let</strong>, or [one in particular](#48f45309-d2a3-43e9-8f51- 1f5b2c8809fe).</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d725515c-6de2-49b7-a439-e860a0bb21ef"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"f474b04a-a001-4584-bece-dff618e46b45"}}],"_postman_id":"32f07838-8fe2-4456-8a7a-a9b6faca1819"}],"id":"016ade55-c9e2-4c48-b7a4-529de58375b3","description":"<p>In this module, the functionalities exposed for User Service within the platform will be detailed.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"58f98176-783a-4fbd-8776-0be2f6a7484e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"7838ee8f-948b-4655-bd65-a519d30e0b4b"}}],"_postman_id":"016ade55-c9e2-4c48-b7a4-529de58375b3"},{"name":"Systems Administration","item":[{"name":"Variable Fields","item":[{"name":"{{baseUrl}}/api/CustomFields","id":"6a28f0db-d7e0-4d49-8a27-841da9225322","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/CustomFields?groupCode=<integer>&valueType=<integer>&source=<integer>&isActive=<boolean>&sectionCode=<integer>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","CustomFields"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Group of custom field. One of customFieldGroup (ID_TIPO_CAMPO_VARIAVEL) domain.</p>\n","type":"text/plain"},"key":"groupCode","value":"<integer>"},{"description":{"content":"<p>Value Type of custom field. One of customFieldValueType (ID_TIPO_VALOR_CAMPO_VARIAVEL) domain.</p>\n","type":"text/plain"},"key":"valueType","value":"<integer>"},{"description":{"content":"<p>Source of custom field. One of customFieldSource (ID_ORIGEM_CAMPO_VARIAVEL) domain.</p>\n","type":"text/plain"},"key":"source","value":"<integer>"},{"description":{"content":"<p>Is the custom field is active. One of customFieldActive (ACTIVE_ID) domain.</p>\n","type":"text/plain"},"key":"isActive","value":"<boolean>"},{"description":{"content":"<p>Code of Section</p>\n","type":"text/plain"},"key":"sectionCode","value":"<integer>"},{"description":{"content":"<p>Include custom field optios for show and no show fields.</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Include custom field optios for show and no show fields.</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Number of Page</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Size of Page</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"46f74047-1204-43ae-840e-9fd6a20bdc84","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/CustomFields?groupCode=<integer>&valueType=<integer>&source=<integer>&isActive=<boolean>&sectionCode=<integer>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","CustomFields"],"query":[{"key":"groupCode","value":"<integer>"},{"key":"valueType","value":"<integer>"},{"key":"source","value":"<integer>"},{"key":"isActive","value":"<boolean>"},{"key":"sectionCode","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"valueTypeCode\": \"<integer>\",\n \"valueTypeName\": \"<string>\",\n \"groupCode\": \"<integer>\",\n \"groupName\": \"<string>\",\n \"isActive\": \"<boolean>\",\n \"sourceCode\": \"<integer>\",\n \"sourceName\": \"<string>\",\n \"description\": \"<string>\",\n \"sectionCode\": \"<integer>\",\n \"order\": \"<integer>\",\n \"attributeInfo\": {\n \"isRequired\": \"<boolean>\",\n \"isUnique\": \"<boolean>\",\n \"isEditable\": \"<boolean>\",\n \"isVisible\": \"<boolean>\",\n \"regex\": \"<string>\",\n \"messageErrorRegex\": \"<string>\",\n \"maximumSize\": \"<integer>\",\n \"domainName\": \"<string>\",\n \"logicalName\": \"<string>\",\n \"nameOnExport\": \"<string>\",\n \"defaultValue\": \"<string>\",\n \"minimumSize\": \"<integer>\",\n \"minimumValue\": \"<string>\",\n \"maximumValue\": \"<string>\",\n \"selectionsMultipleValue\": \"<integer>\",\n \"format\": \"<string>\",\n \"rowsNumber\": \"<integer>\",\n \"columnsNumber\": \"<integer>\",\n \"decimalsNumber\": \"<integer>\",\n \"initials\": \"<string>\",\n \"symbol\": \"<string>\",\n \"listCustomField\": \"<object> \"\n },\n \"subtypeInfo\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n }\n ],\n \"shownInfo\": {\n \"showOnRegisterForm\": \"<boolean>\",\n \"showOnQueryForm\": \"<boolean>\",\n \"showOnQueryResult\": \"<boolean>\",\n \"showOnExportResult\": \"<boolean>\"\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"valueTypeCode\": \"<integer>\",\n \"valueTypeName\": \"<string>\",\n \"groupCode\": \"<integer>\",\n \"groupName\": \"<string>\",\n \"isActive\": \"<boolean>\",\n \"sourceCode\": \"<integer>\",\n \"sourceName\": \"<string>\",\n \"description\": \"<string>\",\n \"sectionCode\": \"<integer>\",\n \"order\": \"<integer>\",\n \"attributeInfo\": {\n \"isRequired\": \"<boolean>\",\n \"isUnique\": \"<boolean>\",\n \"isEditable\": \"<boolean>\",\n \"isVisible\": \"<boolean>\",\n \"regex\": \"<string>\",\n \"messageErrorRegex\": \"<string>\",\n \"maximumSize\": \"<integer>\",\n \"domainName\": \"<string>\",\n \"logicalName\": \"<string>\",\n \"nameOnExport\": \"<string>\",\n \"defaultValue\": \"<string>\",\n \"minimumSize\": \"<integer>\",\n \"minimumValue\": \"<string>\",\n \"maximumValue\": \"<string>\",\n \"selectionsMultipleValue\": \"<integer>\",\n \"format\": \"<string>\",\n \"rowsNumber\": \"<integer>\",\n \"columnsNumber\": \"<integer>\",\n \"decimalsNumber\": \"<integer>\",\n \"initials\": \"<string>\",\n \"symbol\": \"<string>\",\n \"listCustomField\": \"<object> \"\n },\n \"subtypeInfo\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n }\n ],\n \"shownInfo\": {\n \"showOnRegisterForm\": \"<boolean>\",\n \"showOnQueryForm\": \"<boolean>\",\n \"showOnQueryResult\": \"<boolean>\",\n \"showOnExportResult\": \"<boolean>\"\n }\n }\n ]"}],"_postman_id":"6a28f0db-d7e0-4d49-8a27-841da9225322"},{"name":"{{baseUrl}}/api/CustomFields","id":"88d97bc6-c41a-432d-9de6-42b3e1ac29ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>"},{"key":"valueType","value":"<integer>"},{"key":"group","value":"<integer>"},{"key":"active","value":"<boolean>"},{"key":"source","value":"<integer>"},{"key":"showOnRegisterForm","value":"<boolean>"},{"key":"showOnQueryForm","value":"<boolean>"},{"key":"showOnQueryResult","value":"<boolean>"},{"key":"showOnExportResult","value":"<boolean>"},{"key":"required","value":"<boolean>"},{"key":"unique","value":"<boolean>"},{"key":"editable","value":"<boolean>"},{"key":"visible","value":"<boolean>"},{"key":"logicalName","value":"<string>"},{"key":"code","value":"<integer>"},{"key":"description","value":"<string>"},{"key":"regex","value":"<string>"},{"key":"messageErrorRegex","value":"<string>"},{"key":"order","value":"<integer>"},{"key":"maximumSize","value":"<integer>"},{"key":"domainName","value":"<string>"},{"key":"nameOnExport","value":"<string>"},{"key":"defaultValue","value":"<string>"},{"key":"minimumSize","value":"<integer>"},{"key":"minimumValue","value":"<string>"},{"key":"maximumValue","value":"<string>"},{"key":"selectionsMultipleValue","value":"<integer>"},{"key":"format","value":"<string>"},{"key":"rowsNumber","value":"<integer>"},{"key":"columnsNumber","value":"<integer>"},{"key":"decimalsNumber","value":"<integer>"},{"key":"initials","value":"<string>"},{"key":"symbol","value":"<string>"},{"key":"sectionCode","value":"<integer>"},{"key":"subTypes","value":"[\"<integer>\",\"<integer>\"]"},{"key":"listValue","value":"[\"<string>\",\"<string>\"]"}]},"url":"{{baseUrl}}/api/CustomFields","urlObject":{"path":["api","CustomFields"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"1030a2eb-aa08-4426-8664-2495209cccf2","name":"OK","originalRequest":{"method":"POST","header":[],"url":"{{baseUrl}}/api/CustomFields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""}],"_postman_id":"88d97bc6-c41a-432d-9de6-42b3e1ac29ae"},{"name":"{{baseUrl}}/api/CustomFields","id":"c42e1a24-2fad-4b75-892e-eebef45b3474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>"},{"key":"valueType","value":"<integer>"},{"key":"group","value":"<integer>"},{"key":"active","value":"<boolean>"},{"key":"source","value":"<integer>"},{"key":"showOnRegisterForm","value":"<boolean>"},{"key":"showOnQueryForm","value":"<boolean>"},{"key":"showOnQueryResult","value":"<boolean>"},{"key":"showOnExportResult","value":"<boolean>"},{"key":"required","value":"<boolean>"},{"key":"unique","value":"<boolean>"},{"key":"editable","value":"<boolean>"},{"key":"visible","value":"<boolean>"},{"key":"logicalName","value":"<string>"},{"key":"code","value":"<integer>"},{"key":"description","value":"<string>"},{"key":"regex","value":"<string>"},{"key":"messageErrorRegex","value":"<string>"},{"key":"order","value":"<integer>"},{"key":"maximumSize","value":"<integer>"},{"key":"domainName","value":"<string>"},{"key":"nameOnExport","value":"<string>"},{"key":"defaultValue","value":"<string>"},{"key":"minimumSize","value":"<integer>"},{"key":"minimumValue","value":"<string>"},{"key":"maximumValue","value":"<string>"},{"key":"selectionsMultipleValue","value":"<integer>"},{"key":"format","value":"<string>"},{"key":"rowsNumber","value":"<integer>"},{"key":"columnsNumber","value":"<integer>"},{"key":"decimalsNumber","value":"<integer>"},{"key":"initials","value":"<string>"},{"key":"symbol","value":"<string>"},{"key":"sectionCode","value":"<integer>"},{"key":"subTypes","value":"[\"<integer>\",\"<integer>\"]"},{"key":"listValue","value":"[\"<string>\",\"<string>\"]"}]},"url":"{{baseUrl}}/api/CustomFields","urlObject":{"path":["api","CustomFields"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"3e158377-1f0b-477d-bca1-264f740b6a7b","name":"OK","originalRequest":{"method":"PATCH","header":[],"url":"{{baseUrl}}/api/CustomFields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""}],"_postman_id":"c42e1a24-2fad-4b75-892e-eebef45b3474"},{"name":"{{baseUrl}}/api/CustomFields/:id","id":"3a2f2927-fa15-49f4-a9ef-1b6504b34f58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/CustomFields/:id","urlObject":{"path":["api","CustomFields",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"0ff3a3be-36f1-4499-a6af-9b5bb71f6f05","description":{"content":"<p><strong>(Required)</strong> It's a custom field identifier.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a614934e-5ed4-4221-a91e-138df92b23f9","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/CustomFields/:id","host":["{{baseUrl}}"],"path":["api","CustomFields",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"valueTypeCode\": \"<integer>\",\n \"valueTypeName\": \"<string>\",\n \"groupCode\": \"<integer>\",\n \"groupName\": \"<string>\",\n \"isActive\": \"<boolean>\",\n \"sourceCode\": \"<integer>\",\n \"sourceName\": \"<string>\",\n \"description\": \"<string>\",\n \"sectionCode\": \"<integer>\",\n \"order\": \"<integer>\",\n \"attributeInfo\": {\n \"isRequired\": \"<boolean>\",\n \"isUnique\": \"<boolean>\",\n \"isEditable\": \"<boolean>\",\n \"isVisible\": \"<boolean>\",\n \"regex\": \"<string>\",\n \"messageErrorRegex\": \"<string>\",\n \"maximumSize\": \"<integer>\",\n \"domainName\": \"<string>\",\n \"logicalName\": \"<string>\",\n \"nameOnExport\": \"<string>\",\n \"defaultValue\": \"<string>\",\n \"minimumSize\": \"<integer>\",\n \"minimumValue\": \"<string>\",\n \"maximumValue\": \"<string>\",\n \"selectionsMultipleValue\": \"<integer>\",\n \"format\": \"<string>\",\n \"rowsNumber\": \"<integer>\",\n \"columnsNumber\": \"<integer>\",\n \"decimalsNumber\": \"<integer>\",\n \"initials\": \"<string>\",\n \"symbol\": \"<string>\",\n \"listCustomField\": \"<object> \"\n },\n \"subtypeInfo\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n }\n ],\n \"shownInfo\": {\n \"showOnRegisterForm\": \"<boolean>\",\n \"showOnQueryForm\": \"<boolean>\",\n \"showOnQueryResult\": \"<boolean>\",\n \"showOnExportResult\": \"<boolean>\"\n }\n }"}],"_postman_id":"3a2f2927-fa15-49f4-a9ef-1b6504b34f58"},{"name":"{{baseUrl}}/api/CustomFieldsSections","id":"d7b7c8dd-d4d9-4e48-951f-4f83a1662794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/CustomFieldsSections?groupCode=<integer>&isVisible=<boolean>","urlObject":{"path":["api","CustomFieldsSections"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"key":"groupCode","value":"<integer>"},{"key":"isVisible","value":"<boolean>"}],"variable":[]}},"response":[{"id":"0d0e381f-5164-4476-90df-60cc78d47d25","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/CustomFieldsSections?groupCode=<integer>&isVisible=<boolean>","host":["{{baseUrl}}"],"path":["api","CustomFieldsSections"],"query":[{"key":"groupCode","value":"<integer>"},{"key":"isVisible","value":"<boolean>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"order\": \"<integer>\",\n \"isVisible\": \"<boolean>\",\n \"groupCode\": \"<integer>\",\n \"groupName\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"order\": \"<integer>\",\n \"isVisible\": \"<boolean>\",\n \"groupCode\": \"<integer>\",\n \"groupName\": \"<string>\"\n }\n ]"}],"_postman_id":"d7b7c8dd-d4d9-4e48-951f-4f83a1662794"},{"name":"{{baseUrl}}/api/CustomFieldsSections","id":"86385979-78a7-426f-98ac-b39519405dc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"description","value":"<string>"},{"key":"order","value":"<integer>"},{"key":"visible","value":"<boolean>"},{"key":"group","value":"<integer>"},{"key":"code","value":"<integer>"}]},"url":"{{baseUrl}}/api/CustomFieldsSections","urlObject":{"path":["api","CustomFieldsSections"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e4153662-e24f-4bab-9afe-9c72411af7d9","name":"OK","originalRequest":{"method":"POST","header":[],"url":"{{baseUrl}}/api/CustomFieldsSections"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""}],"_postman_id":"86385979-78a7-426f-98ac-b39519405dc2"},{"name":"{{baseUrl}}/api/CustomFieldsSections","id":"96588236-6984-48d4-92bc-ab1013005c6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"description","value":"<string>"},{"key":"order","value":"<integer>"},{"key":"visible","value":"<boolean>"},{"key":"group","value":"<integer>"},{"key":"code","value":"<integer>"}]},"url":"{{baseUrl}}/api/CustomFieldsSections","urlObject":{"path":["api","CustomFieldsSections"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"5eba1ceb-500c-4d06-b231-8bbf134d72c0","name":"OK","originalRequest":{"method":"PATCH","header":[],"url":"{{baseUrl}}/api/CustomFieldsSections"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""}],"_postman_id":"96588236-6984-48d4-92bc-ab1013005c6b"},{"name":"{{baseUrl}}/api/CustomFieldsSections/:id","id":"7aef077c-87c0-4c4b-8ce2-8166a2f3bc09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/CustomFieldsSections/:id","urlObject":{"path":["api","CustomFieldsSections",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"cfd653d8-9eee-413b-a065-94e26241345d","description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"324e6b19-6d50-49ee-b461-79358f2907f6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/CustomFieldsSections/:id","host":["{{baseUrl}}"],"path":["api","CustomFieldsSections",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"order\": \"<integer>\",\n \"isVisible\": \"<boolean>\",\n \"groupCode\": \"<integer>\",\n \"groupName\": \"<string>\"\n }"}],"_postman_id":"7aef077c-87c0-4c4b-8ce2-8166a2f3bc09"}],"id":"3b1b9f67-0c53-48ce-871f-b08fecf5aa2f","_postman_id":"3b1b9f67-0c53-48ce-871f-b08fecf5aa2f","description":""},{"name":"Feeds","item":[{"name":"{{baseUrl}}/api/Feeds","id":"ca493825-9dfb-4fcf-8857-3968a4e79c33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Feeds?displayMenuCode=<integer>","urlObject":{"path":["api","Feeds"],"host":["{{baseUrl}}"],"query":[{"key":"displayMenuCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"b3b0dc23-fef9-4eac-b609-3279a83d1c70","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Feeds?displayMenuCode=<integer>","host":["{{baseUrl}}"],"path":["api","Feeds"],"query":[{"key":"displayMenuCode","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"date\": \"<object> \",\n \"translation\": {\n \"languague\": \"<string>\",\n \"tokens\": \"<object> \"\n },\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"order\": \"<integer>\",\n \"size\": \"<integer>\",\n \"linkCodeMenu\": \"<integer>\",\n \"linkArguments\": \"<string>\",\n \"secondsTimeout\": \"<integer>\",\n \"staticContent\": \"<string>\"\n },\n {\n \"date\": \"<object> \",\n \"translation\": {\n \"languague\": \"<string>\",\n \"tokens\": \"<object> \"\n },\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"order\": \"<integer>\",\n \"size\": \"<integer>\",\n \"linkCodeMenu\": \"<integer>\",\n \"linkArguments\": \"<string>\",\n \"secondsTimeout\": \"<integer>\",\n \"staticContent\": \"<string>\"\n }\n ]"}],"_postman_id":"ca493825-9dfb-4fcf-8857-3968a4e79c33"}],"id":"2532745d-1ca5-43c3-9d18-f55c2e25bca3","_postman_id":"2532745d-1ca5-43c3-9d18-f55c2e25bca3","description":""},{"name":"Data Export","item":[{"name":"{{baseUrl}}/api/exports/acknowledge","id":"325d17ae-2ac3-4b9e-9c36-5dd76397ac1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"<integer>","description":"<p>undefined</p>\n"},{"key":"1","value":"<integer>","description":"<p>undefined</p>\n"}]},"url":"{{baseUrl}}/api/exports/acknowledge","urlObject":{"path":["api","exports","acknowledge"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"67f6f608-0628-419c-951e-e791bc6e3a0d","name":"NoContent","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"<integer>","description":"undefined"},{"key":"1","value":"<integer>","description":"undefined"}]},"url":"{{baseUrl}}/api/exports/acknowledge"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"582bc19d-0986-43c8-859d-52ca4ae435b4","name":"BadRequest","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"<integer>","description":"undefined"},{"key":"1","value":"<integer>","description":"undefined"}]},"url":"{{baseUrl}}/api/exports/acknowledge"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"7184ca40-4601-433a-9a97-26552a527000","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"<integer>","description":"undefined"},{"key":"1","value":"<integer>","description":"undefined"}]},"url":"{{baseUrl}}/api/exports/acknowledge"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"cd42a8b2-0ffe-4ee4-881e-60ff930662be","name":"Forbidden","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"<integer>","description":"undefined"},{"key":"1","value":"<integer>","description":"undefined"}]},"url":"{{baseUrl}}/api/exports/acknowledge"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"0f82d8e9-2a8d-4e65-bb5c-903d1b76b406","name":"NotFound","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"0","value":"<integer>","description":"undefined"},{"key":"1","value":"<integer>","description":"undefined"}]},"url":"{{baseUrl}}/api/exports/acknowledge"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"}],"_postman_id":"325d17ae-2ac3-4b9e-9c36-5dd76397ac1b"},{"name":"{{baseUrl}}/api/exports","id":"29a6d135-92a2-4aff-bc4c-39d393431139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/exports?id=<integer>&id=<integer>&status=<byte>&acknowledged=<integer>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","exports"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>export code list</p>\n","type":"text/plain"},"key":"id","value":"<integer>"},{"description":{"content":"<p>export code list</p>\n","type":"text/plain"},"key":"id","value":"<integer>"},{"description":{"content":"<p>export status list</p>\n","type":"text/plain"},"key":"status","value":"<byte>"},{"description":{"content":"<p>acknowledged</p>\n","type":"text/plain"},"key":"acknowledged","value":"<integer>"},{"description":{"content":"<p>Page number. Default 1.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page size. Default: 100.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"f2df85d9-a225-4f3f-a11d-53c1aba59ee2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports?id=<integer>&id=<integer>&status=<byte>&acknowledged=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","exports"],"query":[{"key":"id","value":"<integer>"},{"key":"id","value":"<integer>"},{"key":"status","value":"<byte>"},{"key":"acknowledged","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"8931eb4c-0586-4e92-b47f-e27da81d56a8","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports?id=<integer>&id=<integer>&status=<byte>&acknowledged=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","exports"],"query":[{"key":"id","value":"<integer>"},{"key":"id","value":"<integer>"},{"key":"status","value":"<byte>"},{"key":"acknowledged","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"29400dcc-bb04-49b1-a3f5-b530df033930","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports?id=<integer>&id=<integer>&status=<byte>&acknowledged=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","exports"],"query":[{"key":"id","value":"<integer>"},{"key":"id","value":"<integer>"},{"key":"status","value":"<byte>"},{"key":"acknowledged","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f4c35747-9e43-4092-9cdc-d319a89655cc","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports?id=<integer>&id=<integer>&status=<byte>&acknowledged=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","exports"],"query":[{"key":"id","value":"<integer>"},{"key":"id","value":"<integer>"},{"key":"status","value":"<byte>"},{"key":"acknowledged","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"80c00397-322a-40e5-ac28-5944b4739eb1","name":"NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports?id=<integer>&id=<integer>&status=<byte>&acknowledged=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","exports"],"query":[{"key":"id","value":"<integer>"},{"key":"id","value":"<integer>"},{"key":"status","value":"<byte>"},{"key":"acknowledged","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"}],"_postman_id":"29a6d135-92a2-4aff-bc4c-39d393431139"},{"name":"{{baseUrl}}/api/exports","id":"f2975f95-6d33-46f9-8ce2-2531541ec17a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uri","value":"<string>"},{"key":"name","value":"<string>"},{"key":"externalToken","value":"<string>"},{"key":"configID","value":"<string>"}]},"url":"{{baseUrl}}/api/exports","urlObject":{"path":["api","exports"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"224e792b-e086-4744-a438-6563d0f4a8da","name":"created","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"uri","value":"<string>"},{"key":"name","value":"<string>"},{"key":"externalToken","value":"<string>"},{"key":"configID","value":"<string>"}]},"url":"{{baseUrl}}/api/exports"},"status":"created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"974f92c2-531b-4d8d-a9b2-e1f9a1d589c9","name":"BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"uri","value":"<string>"},{"key":"name","value":"<string>"},{"key":"externalToken","value":"<string>"},{"key":"configID","value":"<string>"}]},"url":"{{baseUrl}}/api/exports"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"30e33800-5133-4a61-a8dd-90cdcbf74511","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"uri","value":"<string>"},{"key":"name","value":"<string>"},{"key":"externalToken","value":"<string>"},{"key":"configID","value":"<string>"}]},"url":"{{baseUrl}}/api/exports"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"9f461781-683b-43d3-9106-b6b39dbad1b2","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"uri","value":"<string>"},{"key":"name","value":"<string>"},{"key":"externalToken","value":"<string>"},{"key":"configID","value":"<string>"}]},"url":"{{baseUrl}}/api/exports"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"fa51bb0d-f7e6-497b-afaa-5ac44d89870b","name":"NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"uri","value":"<string>"},{"key":"name","value":"<string>"},{"key":"externalToken","value":"<string>"},{"key":"configID","value":"<string>"}]},"url":"{{baseUrl}}/api/exports"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"}],"_postman_id":"f2975f95-6d33-46f9-8ce2-2531541ec17a"},{"name":"{{baseUrl}}/api/exports/:id","id":"873fd78a-050f-4066-94e4-d4075a93f7d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/exports/:id","urlObject":{"path":["api","exports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"664c1f2d-f662-4d4d-a68d-1343f2112235","description":{"content":"<p><strong>(Required)</strong> export code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"dd4dfc0a-3331-4e68-8faa-9747196e3118","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"05cbb785-4b8f-4391-b034-3ed1aad1da34","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"4d6c8f9b-02d6-42b2-a69b-88aed1528c33","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"5e013e70-3721-4f45-8e9d-b58862ddf3ee","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"9bcdcd84-17f0-48c3-84b1-6770acda25b3","name":"NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"}],"_postman_id":"873fd78a-050f-4066-94e4-d4075a93f7d7"},{"name":"{{baseUrl}}/api/exports/:id","id":"fea144b8-ba51-46c6-bacc-b1f4730053f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/exports/:id","urlObject":{"path":["api","exports",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"826b3d44-6f7c-4c75-a286-559e560156d4","description":{"content":"<p><strong>(Required)</strong> export code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"69b0087d-a0d0-48bf-abdf-36d1acc546dc","name":"NoContent","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"23a80aea-98b4-43e7-8227-20b3649b8e98","name":"BadRequest","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"3989dbf2-20f4-4771-b258-cbff89d8f948","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d76e8871-f230-40ac-9f40-a32eb2d6ccce","name":"Forbidden","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"8756530c-1bdf-4521-89ad-cba9a27c7a0b","name":"NotFound","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id","host":["{{baseUrl}}"],"path":["api","exports",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"}],"_postman_id":"fea144b8-ba51-46c6-bacc-b1f4730053f8"},{"name":"{{baseUrl}}/api/exports/:id/data","id":"4ca254c3-41d7-4f7d-9ebd-3e061595402f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/exports/:id/data","urlObject":{"path":["api","exports",":id","data"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"30aeadf9-e740-4fe7-9fd0-ba989bf2007c","description":{"content":"<p><strong>(Required)</strong> export code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"0344360b-27dd-4f23-84e0-5e41d39af1d7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/data","host":["{{baseUrl}}"],"path":["api","exports",":id","data"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""},{"id":"76343710-e3d1-4385-98db-daa72339f7af","name":"BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/data","host":["{{baseUrl}}"],"path":["api","exports",":id","data"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"c8871992-cff5-4ec5-99de-31f898ab12f9","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/data","host":["{{baseUrl}}"],"path":["api","exports",":id","data"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e6e4a8fb-aa07-4a27-be8f-46ffed12f0c2","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/data","host":["{{baseUrl}}"],"path":["api","exports",":id","data"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"6592f7d1-2e6d-414e-85de-353e9bc5b81d","name":"NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/data","host":["{{baseUrl}}"],"path":["api","exports",":id","data"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"b9df77c7-aa2f-431d-a317-596c2e2d0319","name":"PreconditionFailed","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/data","host":["{{baseUrl}}"],"path":["api","exports",":id","data"],"variable":[{"key":"id"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"}],"_postman_id":"4ca254c3-41d7-4f7d-9ebd-3e061595402f"},{"name":"{{baseUrl}}/api/exports/:id/acknowledge","id":"d4bf087c-0a29-4efa-8734-3603f0634833","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{baseUrl}}/api/exports/:id/acknowledge","urlObject":{"path":["api","exports",":id","acknowledge"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"42c1d3da-a880-4be3-8271-310d1db70af5","description":{"content":"<p><strong>(Required)</strong> export code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"832c3854-479e-4e0d-badd-0adecc8a2515","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/acknowledge","host":["{{baseUrl}}"],"path":["api","exports",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"62c6d5b8-f670-4588-aaf8-f01715c60390","name":"NotFound","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/acknowledge","host":["{{baseUrl}}"],"path":["api","exports",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"0aae93be-d73b-4abc-8d99-99676c9ccb59","name":"Forbidden","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/acknowledge","host":["{{baseUrl}}"],"path":["api","exports",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"d56919e3-b957-466e-a1a6-2ca8f5936d39","name":"BadRequest","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/acknowledge","host":["{{baseUrl}}"],"path":["api","exports",":id","acknowledge"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"e77613e8-a0a0-4793-8a02-b5dc6a73fb86","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":""},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"executionId\": process id,\r\n \"queryCode\": query code,\r\n \"queryReference\": query reference name,\r\n \"queryDescription\": query description,\r\n \"requestDate\": date and time of request,\r\n \"startDate\": date and time when query execution started,\r\n \"endDate\": end date and time of the query execution,\r\n \"executionStatus\": {\r\n \"id\": status identifier,\r\n \"description\": Status description\r\n }\r\n }\r\n ]\r\n\r\n"}],"_postman_id":"d4bf087c-0a29-4efa-8734-3603f0634833"},{"name":"{{baseUrl}}/api/exports/:id/transform","id":"d23d290b-c4bf-4500-af94-fecf2553adf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/exports/:id/transform","urlObject":{"path":["api","exports",":id","transform"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"eb9f2ef5-896b-400c-ba74-79cc316d4266","description":{"content":"<p><strong>(Required)</strong> export code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"3a91299f-20eb-4e9b-8e6c-930bc6be24ca","name":"NoContent","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/transform","host":["{{baseUrl}}"],"path":["api","exports",":id","transform"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"6dbdfbba-5041-4f86-a965-1df8b076f9a7","name":"BadRequest","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/transform","host":["{{baseUrl}}"],"path":["api","exports",":id","transform"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"<integer>\",\n \"name\": \"<string>\",\n \"personCode\": \"<integer>\",\n \"status\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"step\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"uri\": \"<string>\",\n \"error\": \"<string>\",\n \"separator\": \"<string>\",\n \"acknowledged\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDateTime\": \"<dateTime>\",\n \"updateDateTime\": \"<dateTime>\"\n }"},{"id":"f351841a-8a01-4bd0-aa46-efc4c5dbd27c","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/exports/:id/transform","host":["{{baseUrl}}"],"path":["api","exports",":id","transform"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d23d290b-c4bf-4500-af94-fecf2553adf4"}],"id":"88e0d3e7-d1f1-4c18-8ed4-27ef5428c577","_postman_id":"88e0d3e7-d1f1-4c18-8ed4-27ef5428c577","description":""},{"name":"General rules","item":[{"name":"Consult system parameters","id":"3b1bb0fc-fcc3-4a84-9252-ce3017473126","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/parameters?key=<string>&groupCode=<integer>","description":"<p>This call is used to get system parameters that the application wants to use to make a decision. the <code>key</code> parameter can be used to fetch a single parameter, while <code>groupCode</code> is used to fetch an entire group of parameters used in a certain situation.</p>\n","urlObject":{"path":["api","parameters"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Parameter name to be consulted.</p>\n","type":"text/plain"},"key":"key","value":"<string>"},{"description":{"content":"<p>Parameter source group code (ex.: <code>Cart = 15</code>).</p>\n","type":"text/plain"},"key":"groupCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"10df17f4-c65c-4eaa-b059-b56c0310bb83","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/parameters?key=<integer>&groupCode=<integer>","host":["{{baseUrl}}"],"path":["api","parameters"],"query":[{"key":"key","value":"<integer>","description":"Parameter name to be consulted."},{"key":"groupCode","value":"<integer>","description":"Parameter source group code (ex.: `Cart = 15`)."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"key\": \"Returned parameter key\",\r\n \"value\": \"Returned parameter value\"\r\n }\r\n ]"},{"id":"5a2e0a8f-b2ba-4022-bf61-60f7ac37f5e4","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/parameters?key=AllowCaptureOnNextCampaignInExtendedPeriodWithoutClosingCampaignBuyer&groupCode=<integer>","host":["{{baseUrl}}"],"path":["api","parameters"],"query":[{"key":"key","value":"AllowCaptureOnNextCampaignInExtendedPeriodWithoutClosingCampaignBuyer","description":"Parameter name to be consulted."},{"key":"groupCode","value":"<integer>","description":"Parameter source group code (ex.: `Cart = 15`)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Thu, 12 Nov 2020 19:09:11 GMT"},{"key":"Content-Length","value":"114"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"key\": \"AllowCaptureOnNextCampaignInExtendedPeriodWithoutClosingCampanhaBuyer\",\n \"value\": \"True\"\n }\n ]"}],"_postman_id":"3b1bb0fc-fcc3-4a84-9252-ce3017473126"},{"name":"{{baseUrl}}/api/Domains/:id","id":"10486670-630d-4783-8696-a07f65e61705","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Domains/:id","urlObject":{"path":["api","Domains",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"65e8f3ac-109f-442c-be7b-93d293753341","description":{"content":"<p><strong>(Required)</strong> The id of the domain, for example, materialCategory. \n The list of allowed domains is stored in the internal table tb_domain_api.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"6d235a2f-41eb-4899-82f1-c783327c0975","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Domains/:id","host":["{{baseUrl}}"],"path":["api","Domains",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n ]"}],"_postman_id":"10486670-630d-4783-8696-a07f65e61705"},{"name":"{{baseUrl}}/api/menus","id":"fd6e746f-cb3a-4d7e-bd08-9623af7db318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/menus?menuCode=<integer>&dadMenuCode=<integer>","urlObject":{"path":["api","menus"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>menu code</p>\n","type":"text/plain"},"key":"menuCode","value":"<integer>"},{"description":{"content":"<p>dad menu code</p>\n","type":"text/plain"},"key":"dadMenuCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"7a107c5e-6f5c-41dd-bac9-b98c6c325958","name":"Returns the objects","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/menus?menuCode=<integer>&dadMenuCode=<integer>","host":["{{baseUrl}}"],"path":["api","menus"],"query":[{"key":"menuCode","value":"<integer>"},{"key":"dadMenuCode","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"menuCode\": \"<integer>\",\n \"menuName\": \"<string>\",\n \"dadMenuCode\": \"<string>\"\n },\n {\n \"menuCode\": \"<integer>\",\n \"menuName\": \"<string>\",\n \"dadMenuCode\": \"<string>\"\n }\n ]"},{"id":"c0a1c49a-1993-4ac0-bf22-5faad0956688","name":"Invalid id attribute.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/menus?menuCode=<integer>&dadMenuCode=<integer>","host":["{{baseUrl}}"],"path":["api","menus"],"query":[{"key":"menuCode","value":"<integer>"},{"key":"dadMenuCode","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"164f6c6f-770e-435f-8b07-4817f0196e0f","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/menus?menuCode=<integer>&dadMenuCode=<integer>","host":["{{baseUrl}}"],"path":["api","menus"],"query":[{"key":"menuCode","value":"<integer>"},{"key":"dadMenuCode","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"23a4f268-5b3e-4d03-b004-ec531fe421e0","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/menus?menuCode=<integer>&dadMenuCode=<integer>","host":["{{baseUrl}}"],"path":["api","menus"],"query":[{"key":"menuCode","value":"<integer>"},{"key":"dadMenuCode","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7f0b046c-8a75-4f05-8c4b-1fd4938e6343","name":"There is no object with specified filters/parameters","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/menus?menuCode=<integer>&dadMenuCode=<integer>","host":["{{baseUrl}}"],"path":["api","menus"],"query":[{"key":"menuCode","value":"<integer>"},{"key":"dadMenuCode","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fd6e746f-cb3a-4d7e-bd08-9623af7db318"},{"name":"{{baseUrl}}/api/Countries","id":"ce4f22ef-b5f8-4ffd-93cc-5403077e00a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Countries","urlObject":{"path":["api","Countries"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"8a71acd9-7887-4b70-873c-336197a4a219","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/Countries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n }\n ]"}],"_postman_id":"ce4f22ef-b5f8-4ffd-93cc-5403077e00a0"},{"name":"{{baseUrl}}/api/StructureLevels","id":"addbd8f4-649f-4817-bc59-1d1ae49750ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/StructureLevels?structureType=<string>","urlObject":{"path":["api","StructureLevels"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Type of structure: \"commercial\", \"geographical\"</p>\n","type":"text/plain"},"key":"structureType","value":"<string>"}],"variable":[]}},"response":[{"id":"0185ef68-4150-440b-9b13-581bf97dc767","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/StructureLevels?structureType=<string>","host":["{{baseUrl}}"],"path":["api","StructureLevels"],"query":[{"key":"structureType","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n }\n ]"}],"_postman_id":"addbd8f4-649f-4817-bc59-1d1ae49750ea"}],"id":"05b3bec4-2434-430a-93ed-c37830dd086d","_postman_id":"05b3bec4-2434-430a-93ed-c37830dd086d","description":""},{"name":"Notifications","item":[],"id":"8d216d62-87db-47bd-b8a7-4c9b386dbde0","_postman_id":"8d216d62-87db-47bd-b8a7-4c9b386dbde0","description":""},{"name":"Generic Reports (DW)","item":[{"name":"{{baseUrl}}/api/people/:id/loginDW","id":"3dea1a3e-bd5f-4f8b-8fe9-5f0cadb51206","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/people/:id/loginDW?applicationCode=<integer>","urlObject":{"path":["api","people",":id","loginDW"],"host":["{{baseUrl}}"],"query":[{"key":"applicationCode","value":"<integer>"}],"variable":[{"id":"38e18ead-8082-4923-af8e-b29d0c46d4a7","description":{"content":"<p><strong>(Required)</strong> ID of User Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"8ef2a818-9abe-4c06-96c7-c978a41added","name":"OK.","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/loginDW?applicationCode=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","loginDW"],"query":[{"key":"applicationCode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"token\": \"<string>\",\n \"baseAddress\": \"<string>\"\n }"},{"id":"55b31486-3324-4f95-b1c8-1206ef260e61","name":"Forbidden access","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/loginDW?applicationCode=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","loginDW"],"query":[{"key":"applicationCode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"63bc491b-9be3-4c01-97b3-a86f9857f90f","name":"Unauthorized access","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/loginDW?applicationCode=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","loginDW"],"query":[{"key":"applicationCode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3dea1a3e-bd5f-4f8b-8fe9-5f0cadb51206"},{"name":"{{baseUrl}}/api/reports","id":"59322ec4-4f32-412c-aeb7-ce313c7d7a95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/reports?applicationCode=<integer>&reportActive=<boolean>","urlObject":{"path":["api","reports"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Application code.</p>\n","type":"text/plain"},"key":"applicationCode","value":"<integer>"},{"description":{"content":"<p>Indicates if the report needs to be an active report.</p>\n","type":"text/plain"},"key":"reportActive","value":"<boolean>"}],"variable":[]}},"response":[{"id":"42c29870-022d-46a7-b9ea-1328280723a8","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/reports?applicationCode=<integer>&reportActive=<boolean>","host":["{{baseUrl}}"],"path":["api","reports"],"query":[{"key":"applicationCode","value":"<integer>"},{"key":"reportActive","value":"<boolean>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n }\n ]"}],"_postman_id":"59322ec4-4f32-412c-aeb7-ce313c7d7a95"},{"name":"{{baseUrl}}/api/reports/fieldsfilter","id":"f444f97a-1b29-42ea-a441-49395d89bb94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/reports/fieldsfilter?reportCode=<integer>","urlObject":{"path":["api","reports","fieldsfilter"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Report code.</p>\n","type":"text/plain"},"key":"reportCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"457dd529-e4d6-4332-9e18-86c24c791848","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/reports/fieldsfilter?reportCode=<integer>","host":["{{baseUrl}}"],"path":["api","reports","fieldsfilter"],"query":[{"key":"reportCode","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"required\": \"<boolean>\",\n \"returnCodeColumn\": \"<string>\",\n \"returnNameColumn\": \"<string>\",\n \"url\": \"<string>\",\n \"columnName\": \"<string>\",\n \"columnNameTo\": \"<string>\",\n \"columnLabel\": \"<string>\",\n \"rangeSeparatorLabel\": \"<string>\",\n \"columnLabelTo\": \"<string>\",\n \"descriptionColumnLabel\": \"<string>\",\n \"columnType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"multipleSelections\": \"<boolean>\",\n \"regularExpression\": \"<string>\",\n \"order\": \"<integer>\",\n \"parentCode\": \"<integer>\",\n \"returnParentCodeColumn\": \"<string>\",\n \"columnValue\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"required\": \"<boolean>\",\n \"returnCodeColumn\": \"<string>\",\n \"returnNameColumn\": \"<string>\",\n \"url\": \"<string>\",\n \"columnName\": \"<string>\",\n \"columnNameTo\": \"<string>\",\n \"columnLabel\": \"<string>\",\n \"rangeSeparatorLabel\": \"<string>\",\n \"columnLabelTo\": \"<string>\",\n \"descriptionColumnLabel\": \"<string>\",\n \"columnType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"multipleSelections\": \"<boolean>\",\n \"regularExpression\": \"<string>\",\n \"order\": \"<integer>\",\n \"parentCode\": \"<integer>\",\n \"returnParentCodeColumn\": \"<string>\",\n \"columnValue\": \"<string>\"\n }\n ]"}],"_postman_id":"f444f97a-1b29-42ea-a441-49395d89bb94"}],"id":"1dae9001-fa5c-44c8-aa1f-e9232baa969f","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e1dd9528-b841-444b-9e24-1b4e3d4f5611"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"afad86fd-ddf1-4398-bc94-87332512b933"}}],"_postman_id":"1dae9001-fa5c-44c8-aa1f-e9232baa969f","description":""},{"name":"System access","item":[{"name":"{{baseUrl}}/api/people/:id/permissions","id":"eef27a29-e9d6-4802-84d0-e440e88b4ecc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/permissions","urlObject":{"path":["api","people",":id","permissions"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f4e65352-0a17-4307-8d12-47c273e3acca","description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"55f741f6-04f0-4767-a9f3-8f863e116462","name":"Returns the objects","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/permissions","host":["{{baseUrl}}"],"path":["api","people",":id","permissions"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"allowSearchCFMaster\": \"<boolean>\",\n \"allowSearchCF\": \"<boolean>\",\n \"allowCreatedCF\": \"<boolean>\",\n \"allowPersonification\": \"<boolean>\",\n \"allowCartApplicationAccess\": \"<boolean>\",\n \"allowConsultSacOccurrences\": \"<boolean>\",\n \"allowChangeIncorporatedItemQuantity\": \"<boolean>\"\n }"},{"id":"6bbee82e-33f6-473a-b6ca-dd35be1b2121","name":"Invalid code attribute.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/permissions","host":["{{baseUrl}}"],"path":["api","people",":id","permissions"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"51937ff9-f82c-4ddc-b185-3503bb00be8b","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/permissions","host":["{{baseUrl}}"],"path":["api","people",":id","permissions"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ece7119a-aae8-4888-a641-814a1fc8fc2f","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/permissions","host":["{{baseUrl}}"],"path":["api","people",":id","permissions"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"0101be88-f797-4ccf-8110-2c80ca45a1d4","name":"There is no people matching specified filter values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/permissions","host":["{{baseUrl}}"],"path":["api","people",":id","permissions"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"eef27a29-e9d6-4802-84d0-e440e88b4ecc"}],"id":"823dcdd5-2f52-4dcc-822f-5122f888b57f","_postman_id":"823dcdd5-2f52-4dcc-822f-5122f888b57f","description":""},{"name":"Access Rule","item":[{"name":"{{baseUrl}}/api/people/:id/systemAccess","id":"04165a02-4477-4ab2-b637-b100008d37e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"actionType","value":"<integer>"},{"key":"blockReason","value":"<integer>"},{"key":"blockReasonActionType","value":"<integer>"},{"key":"description","value":"<string>"}]},"url":"{{baseUrl}}/api/people/:id/systemAccess","urlObject":{"path":["api","people",":id","systemAccess"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"a4918210-f87d-4210-8f58-ae3be5d5e875","description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"7bc432b7-d0c9-42b2-8c1c-e0f301af36d0","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"actionType","value":"<integer>"},{"key":"blockReason","value":"<integer>"},{"key":"blockReasonActionType","value":"<integer>"},{"key":"description","value":"<string>"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/systemAccess","host":["{{baseUrl}}"],"path":["api","people",":id","systemAccess"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""}],"_postman_id":"04165a02-4477-4ab2-b637-b100008d37e4"}],"id":"fd58cc79-4024-4233-ba40-4484a752de01","_postman_id":"fd58cc79-4024-4233-ba40-4484a752de01","description":""},{"name":"Log Access","item":[{"name":"{{baseUrl}}/api/accesslog","id":"adf092d1-4282-4799-bded-110cfb6dbfae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/accesslog?menuLevel=<integer>&startDate=<dateTime>&endDate=<dateTime>&dadMenuCode=<integer>&includeOptions=<string>&includeOptions=<string>","urlObject":{"path":["api","accesslog"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> level menu</p>\n","type":"text/plain"},"key":"menuLevel","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> start date</p>\n","type":"text/plain"},"key":"startDate","value":"<dateTime>"},{"description":{"content":"<p><strong>(Required)</strong> end date</p>\n","type":"text/plain"},"key":"endDate","value":"<dateTime>"},{"description":{"content":"<p>dad menu code</p>\n","type":"text/plain"},"key":"dadMenuCode","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[]}},"response":[{"id":"2363c83b-986a-406a-8f7a-7e3520b979f2","name":"Returns the objects","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/accesslog?menuLevel=<integer>&startDate=<dateTime>&endDate=<dateTime>&dadMenuCode=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","accesslog"],"query":[{"key":"menuLevel","value":"<integer>"},{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"dadMenuCode","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"menuCode\": \"<integer>\",\n \"menuName\": \"<string>\",\n \"accessQuantity\": \"<integer>\",\n \"personList\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"accessQuantity\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"accessQuantity\": \"<integer>\"\n }\n ],\n \"accessDenied\": \"<string>\"\n },\n {\n \"menuCode\": \"<integer>\",\n \"menuName\": \"<string>\",\n \"accessQuantity\": \"<integer>\",\n \"personList\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"accessQuantity\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"accessQuantity\": \"<integer>\"\n }\n ],\n \"accessDenied\": \"<string>\"\n }\n ]"},{"id":"7c8a146c-6f43-425d-acf7-0b4cb57b5a96","name":"Invalid id attribute.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/accesslog?menuLevel=<integer>&startDate=<dateTime>&endDate=<dateTime>&dadMenuCode=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","accesslog"],"query":[{"key":"menuLevel","value":"<integer>"},{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"dadMenuCode","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8ac42ff6-e7be-4eb9-9084-dc00db41180d","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/accesslog?menuLevel=<integer>&startDate=<dateTime>&endDate=<dateTime>&dadMenuCode=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","accesslog"],"query":[{"key":"menuLevel","value":"<integer>"},{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"dadMenuCode","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"6adc5213-1dcb-4a28-a4c4-7b5da974b4f7","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/accesslog?menuLevel=<integer>&startDate=<dateTime>&endDate=<dateTime>&dadMenuCode=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","accesslog"],"query":[{"key":"menuLevel","value":"<integer>"},{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"dadMenuCode","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"cef48676-dc45-491c-bf6a-d93ea1e0691c","name":"There is no object with specified filters/parameters","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/accesslog?menuLevel=<integer>&startDate=<dateTime>&endDate=<dateTime>&dadMenuCode=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","accesslog"],"query":[{"key":"menuLevel","value":"<integer>"},{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"dadMenuCode","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"adf092d1-4282-4799-bded-110cfb6dbfae"},{"name":"{{baseUrl}}/api/people/:id/accesslog","id":"9ccd852c-ea55-4aca-81a8-628af04c17a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/accesslog?startDate=<dateTime>&endDate=<dateTime>","urlObject":{"path":["api","people",":id","accesslog"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Start date</p>\n","type":"text/plain"},"key":"startDate","value":"<dateTime>"},{"description":{"content":"<p><strong>(Required)</strong> End date</p>\n","type":"text/plain"},"key":"endDate","value":"<dateTime>"}],"variable":[{"id":"d29df5cc-e759-4741-acdf-4aeb5583f669","description":{"content":"<p><strong>(Required)</strong> ID of User Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"f0a52380-11df-4c8e-88d1-91a2ecdb443c","name":"Return model with an Byte[] of Image.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/accesslog?startDate=<dateTime>&endDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","people",":id","accesslog"],"query":[{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"menuCode\": \"<integer>\",\n \"menuName\": \"<string>\",\n \"rootMenuCode\": \"<integer>\",\n \"rootMenuName\": \"<string>\",\n \"accessDate\": \"<dateTime>\"\n },\n {\n \"menuCode\": \"<integer>\",\n \"menuName\": \"<string>\",\n \"rootMenuCode\": \"<integer>\",\n \"rootMenuName\": \"<string>\",\n \"accessDate\": \"<dateTime>\"\n }\n ]"},{"id":"cfcceabb-4437-4173-ade7-95f94f355ffd","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/accesslog?startDate=<dateTime>&endDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","people",":id","accesslog"],"query":[{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c6aa4040-182d-4939-b4a2-60ad483aed38","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/accesslog?startDate=<dateTime>&endDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","people",":id","accesslog"],"query":[{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"94804066-53ac-487b-969d-e8c95d61343a","name":"Not found the user photo.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/accesslog?startDate=<dateTime>&endDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","people",":id","accesslog"],"query":[{"key":"startDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9ccd852c-ea55-4aca-81a8-628af04c17a8"}],"id":"57a902e1-47e9-4b80-8010-e7efb7bcacd8","_postman_id":"57a902e1-47e9-4b80-8010-e7efb7bcacd8","description":""}],"id":"38fc0be7-02c9-4138-aae5-3a95017d43b9","description":"<p>Customize platform configuration and access permissions to meet your business needs.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"086212e8-9bd0-4ef5-925f-ce1c951f8424"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ff2f69e8-142a-43a0-8d01-7104a3e2bf78"}}],"_postman_id":"38fc0be7-02c9-4138-aae5-3a95017d43b9"},{"name":"Sales Force","item":[{"name":"Resale Intent","item":[{"name":"{{baseUrl}}/api/SalesIntention/:id","id":"6e88bf0f-c108-4156-a657-8cb6b8d9d77e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/SalesIntention/:id","urlObject":{"path":["api","SalesIntention",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"ac9ce406-86bd-4a06-b4a5-72020f2c846c","description":{"content":"<p><strong>(Required)</strong> Sale Intention Code (Id).</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"cd41c635-d670-43b4-88a5-1f8bfda729df","name":"Returns the objects","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"birthday\": \"<dateTime>\",\n \"recommendedReseller\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"responsibleUser\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"leader\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"commentary\": \"<string>\",\n \"customerServiceCode\": \"<integer>\",\n \"average\": \"<string>\",\n \"directSellingExperience\": \"<boolean>\",\n \"directSellingExperienceDetail\": \"<string>\",\n \"mainDocumentSituation\": \"<string>\",\n \"fowardedMainGeographyStructure\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"registration\": {\n \"registrationCycle\": \"<integer>\",\n \"registrationDate\": \"<dateTime>\",\n \"registrationSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"registrationOrigin\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"creditRestriction\": \"<boolean>\",\n \"mainDocument\": {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"documents\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ],\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"addresses\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"level0\": \"<string>\",\n \"level1\": \"<string>\",\n \"level2\": \"<string>\",\n \"level3\": \"<string>\",\n \"level4\": \"<string>\",\n \"level5\": \"<string>\",\n \"level6\": \"<string>\",\n \"level7\": \"<string>\",\n \"level8\": \"<string>\",\n \"level9\": \"<string>\",\n \"complement\": \"<string>\",\n \"number\": \"<string>\",\n \"reference\": \"<string>\",\n \"name\": \"<string>\",\n \"ZIP code\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"level0\": \"<string>\",\n \"level1\": \"<string>\",\n \"level2\": \"<string>\",\n \"level3\": \"<string>\",\n \"level4\": \"<string>\",\n \"level5\": \"<string>\",\n \"level6\": \"<string>\",\n \"level7\": \"<string>\",\n \"level8\": \"<string>\",\n \"level9\": \"<string>\",\n \"complement\": \"<string>\",\n \"number\": \"<string>\",\n \"reference\": \"<string>\",\n \"name\": \"<string>\",\n \"ZIP code\": \"<string>\"\n }\n ],\n \"cancellation\": {\n \"cancellationDate\": \"<dateTime>\",\n \"cancellationUser\": \"<integer>\",\n \"cancellationMotive\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"cancellationCommentary\": \"<string>\"\n },\n \"lastContactDate\": \"<dateTime>\",\n \"firstSuccessfulContactDate\": \"<dateTime>\",\n \"daysToFirstSuccessfulContact\": \"<integer>\",\n \"customFields\": [\n {\n \"fieldName\": \"<string>\",\n \"fieldValue\": \"<string>\"\n },\n {\n \"fieldName\": \"<string>\",\n \"fieldValue\": \"<string>\"\n }\n ],\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n }\n ],\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"companyData\": {\n \"name\": \"<string>\",\n \"trade\": \"<string>\",\n \"businessRole\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"icmsTaxPayer\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"site\": \"<string>\",\n \"authorizeNewsletter\": \"<boolean>\",\n \"suffram\": \"<string>\",\n \"externalCode\": \"<string>\"\n }\n }"},{"id":"400c43cd-5036-4f12-8510-f142b3de7e42","name":"Invalid id attribute.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7702a63b-1548-4cdc-bfbd-934a10afad11","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a3ff9763-905a-44b8-b8bb-37cf52173820","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c56ccc06-92d2-436d-beaf-ae6eb13ea306","name":"There is no sale intentio with specified code.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6e88bf0f-c108-4156-a657-8cb6b8d9d77e"},{"name":"{{baseUrl}}/api/SalesIntention/:id/AutomaticAllocate","id":"852b7d1b-01ad-4b09-9228-9f722da659c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/SalesIntention/:id/AutomaticAllocate?indicatorCode=<integer>&facebookID=<string>","urlObject":{"path":["api","SalesIntention",":id","AutomaticAllocate"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Indicator Code.</p>\n","type":"text/plain"},"key":"indicatorCode","value":"<integer>"},{"description":{"content":"<p>Indicator Code.</p>\n","type":"text/plain"},"key":"facebookID","value":"<string>"}],"variable":[{"id":"e3f18439-f187-430c-9711-43eaf62907b8","description":{"content":"<p><strong>(Required)</strong> ID of User Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"9fdcf716-82fd-400b-aa75-8aed41cab009","name":"OK. Registered with success.","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id/AutomaticAllocate?indicatorCode=<integer>&facebookID=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id","AutomaticAllocate"],"query":[{"key":"indicatorCode","value":"<integer>"},{"key":"facebookID","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"userCode\": \"<integer>\",\n \"accessKey\": \"<string>\"\n }"},{"id":"bb433f04-5e18-464d-b094-6e613d4745f9","name":"Registered with success.","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id/AutomaticAllocate?indicatorCode=<integer>&facebookID=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id","AutomaticAllocate"],"query":[{"key":"indicatorCode","value":"<integer>"},{"key":"facebookID","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"userCode\": \"<integer>\",\n \"accessKey\": \"<string>\"\n }"},{"id":"56f78cf3-c9b8-4ed7-8938-8f2d2504c05a","name":"Invalid client application or Invalid User Code.","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id/AutomaticAllocate?indicatorCode=<integer>&facebookID=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id","AutomaticAllocate"],"query":[{"key":"indicatorCode","value":"<integer>"},{"key":"facebookID","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f38e6cb0-0678-4f6b-883f-a6cdd797926e","name":"Unauthorized access to api/people/{id}.","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id/AutomaticAllocate?indicatorCode=<integer>&facebookID=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id","AutomaticAllocate"],"query":[{"key":"indicatorCode","value":"<integer>"},{"key":"facebookID","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ec9e9616-85b7-41d7-950f-637037a4bab5","name":"Forbidden access to api/people/{id}.","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention/:id/AutomaticAllocate?indicatorCode=<integer>&facebookID=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention",":id","AutomaticAllocate"],"query":[{"key":"indicatorCode","value":"<integer>"},{"key":"facebookID","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"852b7d1b-01ad-4b09-9228-9f722da659c8"},{"name":"{{baseUrl}}/api/SalesIntention","id":"6203ece2-910a-4fed-868f-a0455b628b0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/SalesIntention?code=<integer>&name=<string>&commercialStructure=<integer>&leaderCode=<integer>&registrationSituation=<object>&registrationSituation=<object>&initial Cycle=<integer>&endcycle=<integer>&initialDate=<dateTime>&endDate=<dateTime>&responsibleCode=<integer>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=<string>&includeOptions=<string>","urlObject":{"path":["api","SalesIntention"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Sale Intentio Code</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Leader Name</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Commercial Structure Code</p>\n","type":"text/plain"},"key":"commercialStructure","value":"<integer>"},{"description":{"content":"<p>Leader Code</p>\n","type":"text/plain"},"key":"leaderCode","value":"<integer>"},{"description":{"content":"<p>Registrations Situations</p>\n","type":"text/plain"},"key":"registrationSituation","value":"<object>"},{"description":{"content":"<p>Registrations Situations</p>\n","type":"text/plain"},"key":"registrationSituation","value":"<object>"},{"description":{"content":"<p>Initial Cycle</p>\n","type":"text/plain"},"key":"initial Cycle","value":"<integer>"},{"description":{"content":"<p>Final Cycle</p>\n","type":"text/plain"},"key":"endcycle","value":"<integer>"},{"description":{"content":"<p>Initial Date</p>\n","type":"text/plain"},"key":"initialDate","value":"<dateTime>"},{"description":{"content":"<p>End Date</p>\n","type":"text/plain"},"key":"endDate","value":"<dateTime>"},{"description":{"content":"<p>Responsible Code</p>\n","type":"text/plain"},"key":"responsibleCode","value":"<integer>"},{"description":{"content":"<p>Sort Options {code, directSellingExperience, registrationDate}</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Page</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page Size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>For return more information</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>For return more information</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"}],"variable":[]}},"response":[{"id":"7fe98d09-571a-4d50-aa3d-df8d1d6d04de","name":"Returns the objects","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention?code=<integer>&name=<string>&commercialStructure=<integer>&leaderCode=<integer>&registrationSituation=<object>&registrationSituation=<object>&initial Cycle=<integer>&endcycle=<integer>&initialDate=<dateTime>&endDate=<dateTime>&responsibleCode=<integer>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention"],"query":[{"key":"code","value":"<integer>"},{"key":"name","value":"<string>"},{"key":"commercialStructure","value":"<integer>"},{"key":"leaderCode","value":"<integer>"},{"key":"registrationSituation","value":"<object>"},{"key":"registrationSituation","value":"<object>"},{"key":"initial Cycle","value":"<integer>"},{"key":"endcycle","value":"<integer>"},{"key":"initialDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"responsibleCode","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"birthday\": \"<dateTime>\",\n \"recommendedReseller\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"responsibleUser\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"leader\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"commentary\": \"<string>\",\n \"customerServiceCode\": \"<integer>\",\n \"average\": \"<string>\",\n \"directSellingExperience\": \"<boolean>\",\n \"directSellingExperienceDetail\": \"<string>\",\n \"mainDocumentSituation\": \"<string>\",\n \"fowardedMainGeographyStructure\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"registration\": {\n \"registrationCycle\": \"<integer>\",\n \"registrationDate\": \"<dateTime>\",\n \"registrationSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"registrationOrigin\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"creditRestriction\": \"<boolean>\",\n \"mainDocument\": {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"documents\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ],\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"addresses\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"level0\": \"<string>\",\n \"level1\": \"<string>\",\n \"level2\": \"<string>\",\n \"level3\": \"<string>\",\n \"level4\": \"<string>\",\n \"level5\": \"<string>\",\n \"level6\": \"<string>\",\n \"level7\": \"<string>\",\n \"level8\": \"<string>\",\n \"level9\": \"<string>\",\n \"complement\": \"<string>\",\n \"number\": \"<string>\",\n \"reference\": \"<string>\",\n \"name\": \"<string>\",\n \"ZIP code\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"level0\": \"<string>\",\n \"level1\": \"<string>\",\n \"level2\": \"<string>\",\n \"level3\": \"<string>\",\n \"level4\": \"<string>\",\n \"level5\": \"<string>\",\n \"level6\": \"<string>\",\n \"level7\": \"<string>\",\n \"level8\": \"<string>\",\n \"level9\": \"<string>\",\n \"complement\": \"<string>\",\n \"number\": \"<string>\",\n \"reference\": \"<string>\",\n \"name\": \"<string>\",\n \"ZIP code\": \"<string>\"\n }\n ],\n \"cancellation\": {\n \"cancellationDate\": \"<dateTime>\",\n \"cancellationUser\": \"<integer>\",\n \"cancellationMotive\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"cancellationCommentary\": \"<string>\"\n },\n \"lastContactDate\": \"<dateTime>\",\n \"firstSuccessfulContactDate\": \"<dateTime>\",\n \"daysToFirstSuccessfulContact\": \"<integer>\",\n \"customFields\": [\n {\n \"fieldName\": \"<string>\",\n \"fieldValue\": \"<string>\"\n },\n {\n \"fieldName\": \"<string>\",\n \"fieldValue\": \"<string>\"\n }\n ],\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n }\n ],\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"companyData\": {\n \"name\": \"<string>\",\n \"trade\": \"<string>\",\n \"businessRole\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"icmsTaxPayer\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"site\": \"<string>\",\n \"authorizeNewsletter\": \"<boolean>\",\n \"suffram\": \"<string>\",\n \"externalCode\": \"<string>\"\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"birthday\": \"<dateTime>\",\n \"recommendedReseller\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"responsibleUser\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"leader\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n },\n \"commentary\": \"<string>\",\n \"customerServiceCode\": \"<integer>\",\n \"average\": \"<string>\",\n \"directSellingExperience\": \"<boolean>\",\n \"directSellingExperienceDetail\": \"<string>\",\n \"mainDocumentSituation\": \"<string>\",\n \"fowardedMainGeographyStructure\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"registration\": {\n \"registrationCycle\": \"<integer>\",\n \"registrationDate\": \"<dateTime>\",\n \"registrationSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"registrationOrigin\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"creditRestriction\": \"<boolean>\",\n \"mainDocument\": {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"documents\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"document\": \"<string>\",\n \"documentSituation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ],\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"addresses\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"level0\": \"<string>\",\n \"level1\": \"<string>\",\n \"level2\": \"<string>\",\n \"level3\": \"<string>\",\n \"level4\": \"<string>\",\n \"level5\": \"<string>\",\n \"level6\": \"<string>\",\n \"level7\": \"<string>\",\n \"level8\": \"<string>\",\n \"level9\": \"<string>\",\n \"complement\": \"<string>\",\n \"number\": \"<string>\",\n \"reference\": \"<string>\",\n \"name\": \"<string>\",\n \"ZIP code\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"level0\": \"<string>\",\n \"level1\": \"<string>\",\n \"level2\": \"<string>\",\n \"level3\": \"<string>\",\n \"level4\": \"<string>\",\n \"level5\": \"<string>\",\n \"level6\": \"<string>\",\n \"level7\": \"<string>\",\n \"level8\": \"<string>\",\n \"level9\": \"<string>\",\n \"complement\": \"<string>\",\n \"number\": \"<string>\",\n \"reference\": \"<string>\",\n \"name\": \"<string>\",\n \"ZIP code\": \"<string>\"\n }\n ],\n \"cancellation\": {\n \"cancellationDate\": \"<dateTime>\",\n \"cancellationUser\": \"<integer>\",\n \"cancellationMotive\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"cancellationCommentary\": \"<string>\"\n },\n \"lastContactDate\": \"<dateTime>\",\n \"firstSuccessfulContactDate\": \"<dateTime>\",\n \"daysToFirstSuccessfulContact\": \"<integer>\",\n \"customFields\": [\n {\n \"fieldName\": \"<string>\",\n \"fieldValue\": \"<string>\"\n },\n {\n \"fieldName\": \"<string>\",\n \"fieldValue\": \"<string>\"\n }\n ],\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n }\n ],\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"companyData\": {\n \"name\": \"<string>\",\n \"trade\": \"<string>\",\n \"businessRole\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"icmsTaxPayer\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"site\": \"<string>\",\n \"authorizeNewsletter\": \"<boolean>\",\n \"suffram\": \"<string>\",\n \"externalCode\": \"<string>\"\n }\n }\n ]"},{"id":"0b959889-d77f-4562-83a0-676f196e7d60","name":"Invalid code attribute.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention?code=<integer>&name=<string>&commercialStructure=<integer>&leaderCode=<integer>&registrationSituation=<object>&registrationSituation=<object>&initial Cycle=<integer>&endcycle=<integer>&initialDate=<dateTime>&endDate=<dateTime>&responsibleCode=<integer>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention"],"query":[{"key":"code","value":"<integer>"},{"key":"name","value":"<string>"},{"key":"commercialStructure","value":"<integer>"},{"key":"leaderCode","value":"<integer>"},{"key":"registrationSituation","value":"<object>"},{"key":"registrationSituation","value":"<object>"},{"key":"initial Cycle","value":"<integer>"},{"key":"endcycle","value":"<integer>"},{"key":"initialDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"responsibleCode","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"4933ca7e-d933-422f-8271-0ea74dc3ee66","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention?code=<integer>&name=<string>&commercialStructure=<integer>&leaderCode=<integer>&registrationSituation=<object>&registrationSituation=<object>&initial Cycle=<integer>&endcycle=<integer>&initialDate=<dateTime>&endDate=<dateTime>&responsibleCode=<integer>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention"],"query":[{"key":"code","value":"<integer>"},{"key":"name","value":"<string>"},{"key":"commercialStructure","value":"<integer>"},{"key":"leaderCode","value":"<integer>"},{"key":"registrationSituation","value":"<object>"},{"key":"registrationSituation","value":"<object>"},{"key":"initial Cycle","value":"<integer>"},{"key":"endcycle","value":"<integer>"},{"key":"initialDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"responsibleCode","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"cdc177ab-356e-4c2a-a19c-7192e8642d54","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention?code=<integer>&name=<string>&commercialStructure=<integer>&leaderCode=<integer>&registrationSituation=<object>&registrationSituation=<object>&initial Cycle=<integer>&endcycle=<integer>&initialDate=<dateTime>&endDate=<dateTime>&responsibleCode=<integer>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention"],"query":[{"key":"code","value":"<integer>"},{"key":"name","value":"<string>"},{"key":"commercialStructure","value":"<integer>"},{"key":"leaderCode","value":"<integer>"},{"key":"registrationSituation","value":"<object>"},{"key":"registrationSituation","value":"<object>"},{"key":"initial Cycle","value":"<integer>"},{"key":"endcycle","value":"<integer>"},{"key":"initialDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"responsibleCode","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d1abfd5d-ee9d-4b09-a332-d16ff8803ff9","name":"There is no sale intention matching specified filter values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SalesIntention?code=<integer>&name=<string>&commercialStructure=<integer>&leaderCode=<integer>&registrationSituation=<object>&registrationSituation=<object>&initial Cycle=<integer>&endcycle=<integer>&initialDate=<dateTime>&endDate=<dateTime>&responsibleCode=<integer>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","SalesIntention"],"query":[{"key":"code","value":"<integer>"},{"key":"name","value":"<string>"},{"key":"commercialStructure","value":"<integer>"},{"key":"leaderCode","value":"<integer>"},{"key":"registrationSituation","value":"<object>"},{"key":"registrationSituation","value":"<object>"},{"key":"initial Cycle","value":"<integer>"},{"key":"endcycle","value":"<integer>"},{"key":"initialDate","value":"<dateTime>"},{"key":"endDate","value":"<dateTime>"},{"key":"responsibleCode","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6203ece2-910a-4fed-868f-a0455b628b0c"},{"name":"{{baseUrl}}/api/SalesIntention/Sellers","id":"f6fd8863-363f-4d0d-8d08-ff406cbb70be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>"},{"key":"mainDocument","value":"<string>"},{"key":"secondaryDocument","value":"<string>"},{"key":"birthday","value":"<dateTime>"},{"key":"gender","value":"<integer>"},{"key":"email","value":"<string>"},{"key":"ZIP code","value":"<string>"},{"key":"geographicStructureCode","value":"<integer>"},{"key":"addressLevel1","value":"<string>"},{"key":"addressLevel2","value":"<string>"},{"key":"addressLevel3","value":"<string>"},{"key":"addressLevel4","value":"<string>"},{"key":"addressLevel5","value":"<string>"},{"key":"addressLevel6","value":"<string>"},{"key":"addressLevel7","value":"<string>"},{"key":"addressLevel8","value":"<string>"},{"key":"addressLevel9","value":"<string>"},{"key":"addressLevel10","value":"<string>"},{"key":"addressReference","value":"<string>"},{"key":"addressName","value":"<string>"},{"key":"addressNumber","value":"<string>"},{"key":"addressComplement","value":"<string>"},{"key":"phone","value":"<string>"},{"key":"mobilephone","value":"<string>"},{"key":"allowsRegisterDisclosure","value":"<boolean>"},{"key":"indicatorCode","value":"<integer>"},{"key":"acceptsMessages","value":"<boolean>"},{"key":"registrationOrigin","value":"<integer>"},{"key":"facebookID","value":"<string>"},{"key":"acceptTerms","value":"<boolean>"},{"key":"commercialStructureIndicatorCode","value":"<integer>"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"},{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"}]"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"},{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]"}]},"url":"{{baseUrl}}/api/SalesIntention/Sellers","urlObject":{"path":["api","SalesIntention","Sellers"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e16a5d5c-37ab-4c52-8fa5-3d30bb9dc7c7","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>"},{"key":"mainDocument","value":"<string>"},{"key":"secondaryDocument","value":"<string>"},{"key":"birthday","value":"<dateTime>"},{"key":"gender","value":"<integer>"},{"key":"email","value":"<string>"},{"key":"ZIP code","value":"<string>"},{"key":"geographicStructureCode","value":"<integer>"},{"key":"addressLevel1","value":"<string>"},{"key":"addressLevel2","value":"<string>"},{"key":"addressLevel3","value":"<string>"},{"key":"addressLevel4","value":"<string>"},{"key":"addressLevel5","value":"<string>"},{"key":"addressLevel6","value":"<string>"},{"key":"addressLevel7","value":"<string>"},{"key":"addressLevel8","value":"<string>"},{"key":"addressLevel9","value":"<string>"},{"key":"addressLevel10","value":"<string>"},{"key":"addressReference","value":"<string>"},{"key":"addressName","value":"<string>"},{"key":"addressNumber","value":"<string>"},{"key":"addressComplement","value":"<string>"},{"key":"phone","value":"<string>"},{"key":"mobilephone","value":"<string>"},{"key":"allowsRegisterDisclosure","value":"<boolean>"},{"key":"indicatorCode","value":"<integer>"},{"key":"acceptsMessages","value":"<boolean>"},{"key":"registrationOrigin","value":"<integer>"},{"key":"facebookID","value":"<string>"},{"key":"acceptTerms","value":"<boolean>"},{"key":"commercialStructureIndicatorCode","value":"<integer>"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"},{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"}]"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"},{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]"}]},"url":"{{baseUrl}}/api/SalesIntention/Sellers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"chooseStructure\": \"<integer>\",\n \"userCode\": \"<integer>\",\n \"accessKey\": \"<string>\",\n \"shouldGoToShoppingCart\": \"<boolean>\"\n }"}],"_postman_id":"f6fd8863-363f-4d0d-8d08-ff406cbb70be"}],"id":"10a46882-7060-4b86-ba45-105e70e9ad23","_postman_id":"10a46882-7060-4b86-ba45-105e70e9ad23","description":""},{"name":"Personal Indicator","item":[{"name":"{{baseUrl}}/api/groupKpis","id":"99227c12-e007-450f-b757-d6f7e1451e55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/groupKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&includeOptions=<string>","description":"<p>Get group KPIs according to the parameters filter values</p>\n","urlObject":{"path":["api","groupKpis"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Kpi code number array.</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Kpi code number array.</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Sort options: \"code\", \"code desc\", \"name\" or \"name desc\".</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Specifies optional additional information.</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Specifies optional additional information.</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"}],"variable":[]}},"response":[{"id":"a218a169-c52b-451d-bea3-25b9b6e620c4","name":"Return kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groupKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","groupKpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupKpiDetails\": {\n \"kpiRule\": \"<string>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"personalKpiType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupKpiDetails\": {\n \"kpiRule\": \"<string>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"personalKpiType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n }\n ]"},{"id":"bc6d8969-7331-43b9-9b75-3cb9f5ce85cb","name":"Unauthorized return kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groupKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","groupKpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e90c9084-d3d8-4f04-ad13-201b5d266532","name":"Forbidden access to api/groupKpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groupKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","groupKpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"49cb2b4e-0b96-46fb-acdb-451edcce09f7","name":"Not found kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groupKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","groupKpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"99227c12-e007-450f-b757-d6f7e1451e55"},{"name":"{{baseUrl}}/api/groupKpis/:id","id":"45f2c7dd-d53c-49a4-8111-68f5b371406a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/groupKpis/:id","description":"<p>Get group KPI according to the parameters filter id.</p>\n","urlObject":{"path":["api","groupKpis",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"aae29868-ae6d-4205-bea6-6fdabaae492c","description":{"content":"<p><strong>(Required)</strong> Kpi code number.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"b4aa6962-3bd9-42f3-9b4c-98920cdab1a7","name":"Return kpi model.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groupKpis/:id","host":["{{baseUrl}}"],"path":["api","groupKpis",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupKpiDetails\": {\n \"kpiRule\": \"<string>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"personalKpiType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n }"},{"id":"93fa9324-a610-44b9-8ebd-baaa917aa3b9","name":"Unauthorized return kpi model.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groupKpis/:id","host":["{{baseUrl}}"],"path":["api","groupKpis",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ee76defb-2bac-43e9-afb3-f7cd47b45767","name":"Forbidden access to api/groupKpis/{id}.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groupKpis/:id","host":["{{baseUrl}}"],"path":["api","groupKpis",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"393c6e03-4fb6-4b8a-ba59-36cf6cf784e3","name":"Not found kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groupKpis/:id","host":["{{baseUrl}}"],"path":["api","groupKpis",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"45f2c7dd-d53c-49a4-8111-68f5b371406a"},{"name":"{{baseUrl}}/api/groups/:id/kpis","id":"f47b497e-3dab-485d-ac39-448956d80dbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/groups/:id/kpis?sellerCode=<integer>&cycle=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&pastCycles=<integer>","description":"<p>Get group KPIs according to the group code</p>\n","urlObject":{"path":["api","groups",":id","kpis"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Seller code.</p>\n","type":"text/plain"},"key":"sellerCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Cycle number.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Personal Kpi codes.</p>\n","type":"text/plain"},"key":"kpiCodes","value":"<integer>"},{"description":{"content":"<p>Personal Kpi codes.</p>\n","type":"text/plain"},"key":"kpiCodes","value":"<integer>"},{"description":{"content":"<p>pastCycles.</p>\n","type":"text/plain"},"key":"pastCycles","value":"<integer>"}],"variable":[{"id":"8ee49280-1b50-4e71-897f-1e780bc532a7","description":{"content":"<p><strong>(Required)</strong> Group code number.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"e9fbe544-c0c2-463f-9116-633e897c5c98","name":"Return kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groups/:id/kpis?sellerCode=<integer>&cycle=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&pastCycles=<integer>","host":["{{baseUrl}}"],"path":["api","groups",":id","kpis"],"query":[{"key":"sellerCode","value":"<integer>"},{"key":"cycle","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"pastCycles","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"groupCode\": \"<integer>\",\n \"groupCycle\": \"<integer>\",\n \"kpiCode\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n },\n {\n \"groupCode\": \"<integer>\",\n \"groupCycle\": \"<integer>\",\n \"kpiCode\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n }\n ]"},{"id":"3233c355-eb9a-40ed-ae66-45da50fd0589","name":"Unauthorized return kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groups/:id/kpis?sellerCode=<integer>&cycle=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&pastCycles=<integer>","host":["{{baseUrl}}"],"path":["api","groups",":id","kpis"],"query":[{"key":"sellerCode","value":"<integer>"},{"key":"cycle","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"pastCycles","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"44a33465-7b92-4804-b248-264f2f1175fe","name":"Forbidden access.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groups/:id/kpis?sellerCode=<integer>&cycle=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&pastCycles=<integer>","host":["{{baseUrl}}"],"path":["api","groups",":id","kpis"],"query":[{"key":"sellerCode","value":"<integer>"},{"key":"cycle","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"pastCycles","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"29e334f4-a90b-4b93-85b8-3e0604632931","name":"Not found group.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groups/:id/kpis?sellerCode=<integer>&cycle=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&pastCycles=<integer>","host":["{{baseUrl}}"],"path":["api","groups",":id","kpis"],"query":[{"key":"sellerCode","value":"<integer>"},{"key":"cycle","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"pastCycles","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f47b497e-3dab-485d-ac39-448956d80dbe"},{"name":"{{baseUrl}}/api/groups/kpis","id":"d8f64c38-db01-41af-92c2-6fa57b556663","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/groups/kpis?cycle=<integer>&groupCodes=<integer>&groupCodes=<integer>&commercialStructureCodes=<integer>&commercialStructureCodes=<integer>&leaderCodes=<integer>&leaderCodes=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&includeOptions=<string>&includeOptions=<string>","urlObject":{"path":["api","groups","kpis"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Cycle number</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Group Code</p>\n","type":"text/plain"},"key":"groupCodes","value":"<integer>"},{"description":{"content":"<p>Group Code</p>\n","type":"text/plain"},"key":"groupCodes","value":"<integer>"},{"description":{"content":"<p>Commercial Structures</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"<integer>"},{"description":{"content":"<p>Commercial Structures</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"<integer>"},{"description":{"content":"<p>Leader Codes</p>\n","type":"text/plain"},"key":"leaderCodes","value":"<integer>"},{"description":{"content":"<p>Leader Codes</p>\n","type":"text/plain"},"key":"leaderCodes","value":"<integer>"},{"description":{"content":"<p>KPI Codes</p>\n","type":"text/plain"},"key":"kpiCodes","value":"<integer>"},{"description":{"content":"<p>KPI Codes</p>\n","type":"text/plain"},"key":"kpiCodes","value":"<integer>"},{"description":{"content":"<p>For return more information</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>For return more information</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"}],"variable":[]}},"response":[{"id":"19e0b2c3-e52c-4fea-bbe8-2f8f0e462a8c","name":"Return kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groups/kpis?cycle=<integer>&groupCodes=<integer>&groupCodes=<integer>&commercialStructureCodes=<integer>&commercialStructureCodes=<integer>&leaderCodes=<integer>&leaderCodes=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","groups","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"groupCodes","value":"<integer>"},{"key":"groupCodes","value":"<integer>"},{"key":"commercialStructureCodes","value":"<integer>"},{"key":"commercialStructureCodes","value":"<integer>"},{"key":"leaderCodes","value":"<integer>"},{"key":"leaderCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"cycle\": \"<integer>\",\n \"estructureCode\": \"<integer>\",\n \"estructureName\": \"<string>\",\n \"leader\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ]\n },\n \"kpis\": [\n {\n \"name\": \"<string>\",\n \"code\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n },\n {\n \"name\": \"<string>\",\n \"code\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n }\n ],\n \"kpiExportHeaders\": [\n {\n \"name\": \"<string>\",\n \"code\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n },\n {\n \"name\": \"<string>\",\n \"code\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"cycle\": \"<integer>\",\n \"estructureCode\": \"<integer>\",\n \"estructureName\": \"<string>\",\n \"leader\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ]\n },\n \"kpis\": [\n {\n \"name\": \"<string>\",\n \"code\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n },\n {\n \"name\": \"<string>\",\n \"code\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n }\n ],\n \"kpiExportHeaders\": [\n {\n \"name\": \"<string>\",\n \"code\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n },\n {\n \"name\": \"<string>\",\n \"code\": \"<integer>\",\n \"realizedAmount\": \"<double>\"\n }\n ]\n }\n ]"},{"id":"e5e48b4a-969e-440f-8193-2a1ed14de4a7","name":"Unauthorized return kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groups/kpis?cycle=<integer>&groupCodes=<integer>&groupCodes=<integer>&commercialStructureCodes=<integer>&commercialStructureCodes=<integer>&leaderCodes=<integer>&leaderCodes=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","groups","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"groupCodes","value":"<integer>"},{"key":"groupCodes","value":"<integer>"},{"key":"commercialStructureCodes","value":"<integer>"},{"key":"commercialStructureCodes","value":"<integer>"},{"key":"leaderCodes","value":"<integer>"},{"key":"leaderCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8e800ddd-4bf5-4374-9020-0683284d75ce","name":"Forbidden access to api/groupKpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groups/kpis?cycle=<integer>&groupCodes=<integer>&groupCodes=<integer>&commercialStructureCodes=<integer>&commercialStructureCodes=<integer>&leaderCodes=<integer>&leaderCodes=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","groups","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"groupCodes","value":"<integer>"},{"key":"groupCodes","value":"<integer>"},{"key":"commercialStructureCodes","value":"<integer>"},{"key":"commercialStructureCodes","value":"<integer>"},{"key":"leaderCodes","value":"<integer>"},{"key":"leaderCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"573ee785-5b05-4c66-b329-b1e207240986","name":"Not found kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/groups/kpis?cycle=<integer>&groupCodes=<integer>&groupCodes=<integer>&commercialStructureCodes=<integer>&commercialStructureCodes=<integer>&leaderCodes=<integer>&leaderCodes=<integer>&kpiCodes=<integer>&kpiCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","groups","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"groupCodes","value":"<integer>"},{"key":"groupCodes","value":"<integer>"},{"key":"commercialStructureCodes","value":"<integer>"},{"key":"commercialStructureCodes","value":"<integer>"},{"key":"leaderCodes","value":"<integer>"},{"key":"leaderCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"kpiCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d8f64c38-db01-41af-92c2-6fa57b556663"},{"name":"{{baseUrl}}/api/personalKpis","id":"262163ef-0369-4a3d-af0c-b9921cc9f5a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/personalKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","urlObject":{"path":["api","personalKpis"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Personal Kpi code number array.</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Personal Kpi code number array.</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Sort options: \"code\", \"code desc\", \"name\" or \"name desc\".</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Specifies optional additional information: details.</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Kpi level code number array.</p>\n","type":"text/plain"},"key":"kpiLevel","value":"<integer>"},{"description":{"content":"<p>Kpi level code number array.</p>\n","type":"text/plain"},"key":"kpiLevel","value":"<integer>"}],"variable":[]}},"response":[{"id":"65369fa7-3471-4f85-ab98-016507012462","name":"Return personal kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/personalKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","personalKpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"kpiLevel\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"details\": {\n \"kpiRole\": \"<string>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"personalKpiType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"permittedKpiLevel\": [\n {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"kpiLevel\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"details\": {\n \"kpiRole\": \"<string>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"personalKpiType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"permittedKpiLevel\": [\n {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n ]\n }\n ]"},{"id":"8eb19340-88c4-493a-9532-44ae4c8a9532","name":"Unauthorized access to api/personalKpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/personalKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","personalKpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"bf492b0e-8739-42c4-aee7-2d957d8e8c23","name":"Forbidden access to api/personalKpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/personalKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","personalKpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"6c911f6a-d11b-4bec-95d5-ecdcad627a0a","name":"Not found personal kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/personalKpis?code=<integer>&code=<integer>&sortOptions=<string>&includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","personalKpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"262163ef-0369-4a3d-af0c-b9921cc9f5a4"},{"name":"{{baseUrl}}/api/personalKpis/:id","id":"ab1a9d3e-5a30-4a26-898c-b81faf4144f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/personalKpis/:id?includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","urlObject":{"path":["api","personalKpis",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Specifies optional additional information: details.</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Kpi level code number array.</p>\n","type":"text/plain"},"key":"kpiLevel","value":"<integer>"},{"description":{"content":"<p>Kpi level code number array.</p>\n","type":"text/plain"},"key":"kpiLevel","value":"<integer>"}],"variable":[{"id":"922d6519-5ebf-4cfb-93ce-715063f5fbe0","description":{"content":"<p><strong>(Required)</strong> Personal Kpi code number.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"b0ccc301-f199-4eb2-8c71-df34168bb412","name":"Return personal kpi model.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/personalKpis/:id?includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","personalKpis",":id"],"query":[{"key":"includeOptions","value":"<string>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"kpiLevel\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"details\": {\n \"kpiRole\": \"<string>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"personalKpiType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"permittedKpiLevel\": [\n {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n ]\n }"},{"id":"1f1b825b-fcd4-45e6-b89f-411589aeba73","name":"Unauthorized access to api/personalKpi/{id}.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/personalKpis/:id?includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","personalKpis",":id"],"query":[{"key":"includeOptions","value":"<string>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"6c5e0fbd-c9c1-410f-9a17-26fdbcaa212b","name":"Forbidden access to api/personalKpi/{id}.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/personalKpis/:id?includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","personalKpis",":id"],"query":[{"key":"includeOptions","value":"<string>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1eb52278-b2b9-417d-a882-84ebcce67e73","name":"Not found personal kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/personalKpis/:id?includeOptions=<string>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","personalKpis",":id"],"query":[{"key":"includeOptions","value":"<string>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ab1a9d3e-5a30-4a26-898c-b81faf4144f1"},{"name":"{{baseUrl}}/api/sellers/:id/kpis","id":"4cec9b71-1a18-4cf1-bfc7-9a793a120131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/kpis?cycle=<integer>&kpiCode=<integer>&kpiCode=<integer>&kpiLevel=<integer>&kpiLevel=<integer>","urlObject":{"path":["api","sellers",":id","kpis"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Cycle to find seller's kpis.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Kpi code list.</p>\n","type":"text/plain"},"key":"kpiCode","value":"<integer>"},{"description":{"content":"<p>Kpi code list.</p>\n","type":"text/plain"},"key":"kpiCode","value":"<integer>"},{"description":{"content":"<p>Kpi level list.</p>\n","type":"text/plain"},"key":"kpiLevel","value":"<integer>"},{"description":{"content":"<p>Kpi level list.</p>\n","type":"text/plain"},"key":"kpiLevel","value":"<integer>"}],"variable":[{"id":"bac06b6c-62dc-4ea0-b3b7-58dd68fff4ca","description":{"content":"<p><strong>(Required)</strong> Seller code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"5d0f2058-a63f-4ae8-b032-dd9ef77101a5","name":"Return seller kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis?cycle=<integer>&kpiCode=<integer>&kpiCode=<integer>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"kpiCode","value":"<integer>"},{"key":"kpiCode","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"cycle\": \"<integer>\",\n \"sellerCode\": \"<integer>\",\n \"kpiCode\": \"<integer>\",\n \"kpiName\": \"<string>\",\n \"kpiLevel\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"realizedAmount\": \"<double>\",\n \"adjustedAmount\": \"<double>\",\n \"totalDate\": \"<dateTime>\",\n \"endUpdateDate\": \"<dateTime>\",\n \"updateDate\": \"<dateTime>\"\n },\n {\n \"cycle\": \"<integer>\",\n \"sellerCode\": \"<integer>\",\n \"kpiCode\": \"<integer>\",\n \"kpiName\": \"<string>\",\n \"kpiLevel\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"realizedAmount\": \"<double>\",\n \"adjustedAmount\": \"<double>\",\n \"totalDate\": \"<dateTime>\",\n \"endUpdateDate\": \"<dateTime>\",\n \"updateDate\": \"<dateTime>\"\n }\n ]"},{"id":"0904f151-ce89-46dd-ba95-fde0b3fb2123","name":"Unauthorized access to api/seller/{id}kpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis?cycle=<integer>&kpiCode=<integer>&kpiCode=<integer>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"kpiCode","value":"<integer>"},{"key":"kpiCode","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1914ff41-2e7d-42e7-901d-a44314fac59d","name":"Forbidden access to api/seller/{id}/kpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis?cycle=<integer>&kpiCode=<integer>&kpiCode=<integer>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"kpiCode","value":"<integer>"},{"key":"kpiCode","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8e6d55bd-3970-4752-9ed0-0cbab5bcc762","name":"Not found seller kpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis?cycle=<integer>&kpiCode=<integer>&kpiCode=<integer>&kpiLevel=<integer>&kpiLevel=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"kpiCode","value":"<integer>"},{"key":"kpiCode","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"},{"key":"kpiLevel","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4cec9b71-1a18-4cf1-bfc7-9a793a120131"},{"name":"{{baseUrl}}/api/sellers/:id/kpis/:idKpi/composition","id":"908e9a5e-e175-4d38-b566-6d8d6c956dfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/kpis/:idKpi/composition?cycle=<integer>&page=<integer>&pageSize=<integer>","description":"<p>Find the Composition Kpis</p>\n","urlObject":{"path":["api","sellers",":id","kpis",":idKpi","composition"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Cycle Kpi</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Page Number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page Size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"5c6ddefb-0a8d-489b-abb6-1192071d4f1b","description":{"content":"<p><strong>(Required)</strong> Commercial Structure Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"a204d896-f704-4a79-8c9a-562a197091a9","description":{"content":"<p><strong>(Required)</strong> Kpi Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"idKpi"}]}},"response":[{"id":"29e216b7-10ed-46da-b47e-80aa1a71bc53","name":"Return Composition Kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis/:idKpi/composition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis",":idKpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"idKpi"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"columns\": [\n \"<string>\",\n \"<string>\"\n ],\n \"rows\": [\n [\n \"<object> \",\n \"<object> \"\n ],\n [\n \"<object> \",\n \"<object> \"\n ]\n ]\n }"},{"id":"0a40d538-22fe-4e6c-94dd-be94aedc417d","name":"Invalid cycle attribute.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis/:idKpi/composition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis",":idKpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"idKpi"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"b31b5c79-90a7-4237-b0d6-bae21526b651","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis/:idKpi/composition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis",":idKpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"idKpi"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"4757321e-a475-468d-83f0-31c59527f51b","name":"Forbiden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis/:idKpi/composition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis",":idKpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"idKpi"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ccbcc0c7-0ff1-4708-9cf7-e2a1b8e300d3","name":"There is in the Composition Kpi matching specified parameters values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/kpis/:idKpi/composition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","kpis",":idKpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"idKpi"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"908e9a5e-e175-4d38-b566-6d8d6c956dfc"}],"id":"5af383ea-f472-45f4-9f4d-7560a07c40ed","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7018fa3b-0cce-41de-a2fa-a8a3ca52a215"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b1d696f9-4bf9-4257-8a9b-815135b1b082"}}],"_postman_id":"5af383ea-f472-45f4-9f4d-7560a07c40ed","description":""},{"name":"Structure Indicator","item":[{"name":"{{baseUrl}}/api/commercialStructures/:id/kpis","id":"cd033847-ca14-442b-b5df-c07e0dd6ef9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/commercialStructures/:id/kpis?cycle=<integer>&code=<integer>&code=<integer>&history=<boolean>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>&visibleType=<integer>","description":"<p>Find the Commercial Structures Kpis whit specified filters.</p>\n","urlObject":{"path":["api","commercialStructures",":id","kpis"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Cycle of Kpis Commercial Structures</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>List of Kpis Codes</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>List of Kpis Codes</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>If get the history of a specify Commercial Structure</p>\n","type":"text/plain"},"key":"history","value":"<boolean>"},{"description":{"content":"<p>List of Subject Codes</p>\n","type":"text/plain"},"key":"subjectCodes","value":"<integer>"},{"description":{"content":"<p>List of Subject Codes</p>\n","type":"text/plain"},"key":"subjectCodes","value":"<integer>"},{"description":{"content":"<p>For return more information: cycleCalendarInfo</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>For return more information: cycleCalendarInfo</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Filter for visible type:0 - not visible, 1 - visible</p>\n","type":"text/plain"},"key":"visibleType","value":"<integer>"}],"variable":[{"id":"231a7eed-836d-4cf3-a2b9-95a829a55333","description":{"content":"<p><strong>(Required)</strong> Commercial Structure Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a24837d2-9afb-45cc-b37c-a67827505d8c","name":"Return list of commercial structures kpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis?cycle=<integer>&code=<integer>&code=<integer>&history=<boolean>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"history","value":"<boolean>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"cycle\": \"<integer>\",\n \"structureName\": \"<string>\",\n \"structureCode\": \"<integer>\",\n \"cycleCalendar\": {\n \"cycleNumber\": \"<integer>\",\n \"commercialStructureCode\": \"<integer>\",\n \"openingDate\": \"<dateTime>\",\n \"closingDate\": \"<dateTime>\",\n \"daysToClose\": \"<double>\",\n \"daysToClosingDate\": \"<double>\",\n \"closingDateExtendedOrdering\": \"<dateTime>\",\n \"orderingDate\": \"<dateTime>\",\n \"extendedOrderingDate\": \"<dateTime>\",\n \"blockedDates\": [\n {\n \"blockedDate\": \"<dateTime>\"\n },\n {\n \"blockedDate\": \"<dateTime>\"\n }\n ],\n \"daysToOrderingDate\": {\n \"days\": \"<integer>\",\n \"hours\": \"<integer>\",\n \"minutes\": \"<integer>\"\n },\n \"daysToExtendedOrderingDate\": {\n \"days\": \"<integer>\",\n \"hours\": \"<integer>\",\n \"minutes\": \"<integer>\"\n },\n \"subCycles\": [\n {\n \"subCycle\": \"<integer>\",\n \"initialDate\": \"<dateTime>\",\n \"endDate\": \"<dateTime>\",\n \"isSubCycleOnPeriod\": \"<boolean>\",\n \"description\": \"<string>\"\n },\n {\n \"subCycle\": \"<integer>\",\n \"initialDate\": \"<dateTime>\",\n \"endDate\": \"<dateTime>\",\n \"isSubCycleOnPeriod\": \"<boolean>\",\n \"description\": \"<string>\"\n }\n ]\n },\n \"kpiStructureValues\": {\n \"objectiveValue\": \"<double>\",\n \"amountRealized\": \"<double>\",\n \"accumulatedObjectiveValue\": \"<double>\",\n \"accumulatedAamountRealized\": \"<double>\",\n \"amountRealizedLastYear\": \"<double>\",\n \"amountRealizedLastCycle\": \"<double>\",\n \"updateDate\": \"<dateTime>\",\n \"superation\": \"<double>\"\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"cycle\": \"<integer>\",\n \"structureName\": \"<string>\",\n \"structureCode\": \"<integer>\",\n \"cycleCalendar\": {\n \"cycleNumber\": \"<integer>\",\n \"commercialStructureCode\": \"<integer>\",\n \"openingDate\": \"<dateTime>\",\n \"closingDate\": \"<dateTime>\",\n \"daysToClose\": \"<double>\",\n \"daysToClosingDate\": \"<double>\",\n \"closingDateExtendedOrdering\": \"<dateTime>\",\n \"orderingDate\": \"<dateTime>\",\n \"extendedOrderingDate\": \"<dateTime>\",\n \"blockedDates\": [\n {\n \"blockedDate\": \"<dateTime>\"\n },\n {\n \"blockedDate\": \"<dateTime>\"\n }\n ],\n \"daysToOrderingDate\": {\n \"days\": \"<integer>\",\n \"hours\": \"<integer>\",\n \"minutes\": \"<integer>\"\n },\n \"daysToExtendedOrderingDate\": {\n \"days\": \"<integer>\",\n \"hours\": \"<integer>\",\n \"minutes\": \"<integer>\"\n },\n \"subCycles\": [\n {\n \"subCycle\": \"<integer>\",\n \"initialDate\": \"<dateTime>\",\n \"endDate\": \"<dateTime>\",\n \"isSubCycleOnPeriod\": \"<boolean>\",\n \"description\": \"<string>\"\n },\n {\n \"subCycle\": \"<integer>\",\n \"initialDate\": \"<dateTime>\",\n \"endDate\": \"<dateTime>\",\n \"isSubCycleOnPeriod\": \"<boolean>\",\n \"description\": \"<string>\"\n }\n ]\n },\n \"kpiStructureValues\": {\n \"objectiveValue\": \"<double>\",\n \"amountRealized\": \"<double>\",\n \"accumulatedObjectiveValue\": \"<double>\",\n \"accumulatedAamountRealized\": \"<double>\",\n \"amountRealizedLastYear\": \"<double>\",\n \"amountRealizedLastCycle\": \"<double>\",\n \"updateDate\": \"<dateTime>\",\n \"superation\": \"<double>\"\n }\n }\n ]"},{"id":"13642ae4-4b9a-43da-97c3-3c9bb23771aa","name":"The parameter list code contains invalid value at index.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis?cycle=<integer>&code=<integer>&code=<integer>&history=<boolean>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"history","value":"<boolean>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"dd152f90-02dd-493f-8b00-6eeeaef73798","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis?cycle=<integer>&code=<integer>&code=<integer>&history=<boolean>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"history","value":"<boolean>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c968b05e-6f7c-45ea-9960-f228d0a03b74","name":"Forbiden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis?cycle=<integer>&code=<integer>&code=<integer>&history=<boolean>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"history","value":"<boolean>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7d17cb79-5b9a-4768-ba97-6829090a882a","name":"There is in the Commercial Structure Kpis matching specified filter values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis?cycle=<integer>&code=<integer>&code=<integer>&history=<boolean>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis"],"query":[{"key":"cycle","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"history","value":"<boolean>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cd033847-ca14-442b-b5df-c07e0dd6ef9b"},{"name":"{{baseUrl}}/api/commercialStructures/:id/kpis/:initialCycle/:endCycle","id":"c9b49c0b-6647-4bb2-9508-830e53e96260","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/commercialStructures/:id/kpis/:initialCycle/:endCycle?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>","description":"<p>Find the Commercial Structures Kpis between a range of cycles.</p>\n","urlObject":{"path":["api","commercialStructures",":id","kpis",":initialCycle",":endCycle"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>List of Kpis Codes</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>List of Kpis Codes</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>List of Subject Codes</p>\n","type":"text/plain"},"key":"subjectCodes","value":"<integer>"},{"description":{"content":"<p>List of Subject Codes</p>\n","type":"text/plain"},"key":"subjectCodes","value":"<integer>"},{"description":{"content":"<p>For return more information: cycleCalendarInfo</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>For return more information: cycleCalendarInfo</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"}],"variable":[{"id":"97f6d3b6-347c-43c5-a3d4-382ba4507827","description":{"content":"<p><strong>(Required)</strong> Commercial Structure Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"bcc47134-efa7-47c4-af13-4ba1321fbf8b","description":{"content":"<p><strong>(Required)</strong> Initial cycle of Kpis Commercial Structures</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"initial Cycle"},{"id":"a94301cb-8954-47d7-b177-4d850e46fa58","description":{"content":"<p><strong>(Required)</strong> End cycle of Kpis Commercial Structures</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"endcycle"}]}},"response":[{"id":"c0f528a1-6fa2-4420-a9d0-9168d4e7b32a","name":"Return list of commercial structures kpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:initialCycle/:endCycle?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":initialCycle",":endCycle"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"},{"key":"initial Cycle"},{"key":"endcycle"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"cycle\": \"<integer>\",\n \"structureName\": \"<string>\",\n \"structureCode\": \"<integer>\",\n \"cycleCalendar\": {\n \"cycleNumber\": \"<integer>\",\n \"commercialStructureCode\": \"<integer>\",\n \"openingDate\": \"<dateTime>\",\n \"closingDate\": \"<dateTime>\",\n \"daysToClose\": \"<double>\",\n \"daysToClosingDate\": \"<double>\",\n \"closingDateExtendedOrdering\": \"<dateTime>\",\n \"orderingDate\": \"<dateTime>\",\n \"extendedOrderingDate\": \"<dateTime>\",\n \"blockedDates\": [\n {\n \"blockedDate\": \"<dateTime>\"\n },\n {\n \"blockedDate\": \"<dateTime>\"\n }\n ],\n \"daysToOrderingDate\": {\n \"days\": \"<integer>\",\n \"hours\": \"<integer>\",\n \"minutes\": \"<integer>\"\n },\n \"daysToExtendedOrderingDate\": {\n \"days\": \"<integer>\",\n \"hours\": \"<integer>\",\n \"minutes\": \"<integer>\"\n },\n \"subCycles\": [\n {\n \"subCycle\": \"<integer>\",\n \"initialDate\": \"<dateTime>\",\n \"endDate\": \"<dateTime>\",\n \"isSubCycleOnPeriod\": \"<boolean>\",\n \"description\": \"<string>\"\n },\n {\n \"subCycle\": \"<integer>\",\n \"initialDate\": \"<dateTime>\",\n \"endDate\": \"<dateTime>\",\n \"isSubCycleOnPeriod\": \"<boolean>\",\n \"description\": \"<string>\"\n }\n ]\n },\n \"kpiStructureValues\": {\n \"objectiveValue\": \"<double>\",\n \"amountRealized\": \"<double>\",\n \"accumulatedObjectiveValue\": \"<double>\",\n \"accumulatedAamountRealized\": \"<double>\",\n \"amountRealizedLastYear\": \"<double>\",\n \"amountRealizedLastCycle\": \"<double>\",\n \"updateDate\": \"<dateTime>\",\n \"superation\": \"<double>\"\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"cycle\": \"<integer>\",\n \"structureName\": \"<string>\",\n \"structureCode\": \"<integer>\",\n \"cycleCalendar\": {\n \"cycleNumber\": \"<integer>\",\n \"commercialStructureCode\": \"<integer>\",\n \"openingDate\": \"<dateTime>\",\n \"closingDate\": \"<dateTime>\",\n \"daysToClose\": \"<double>\",\n \"daysToClosingDate\": \"<double>\",\n \"closingDateExtendedOrdering\": \"<dateTime>\",\n \"orderingDate\": \"<dateTime>\",\n \"extendedOrderingDate\": \"<dateTime>\",\n \"blockedDates\": [\n {\n \"blockedDate\": \"<dateTime>\"\n },\n {\n \"blockedDate\": \"<dateTime>\"\n }\n ],\n \"daysToOrderingDate\": {\n \"days\": \"<integer>\",\n \"hours\": \"<integer>\",\n \"minutes\": \"<integer>\"\n },\n \"daysToExtendedOrderingDate\": {\n \"days\": \"<integer>\",\n \"hours\": \"<integer>\",\n \"minutes\": \"<integer>\"\n },\n \"subCycles\": [\n {\n \"subCycle\": \"<integer>\",\n \"initialDate\": \"<dateTime>\",\n \"endDate\": \"<dateTime>\",\n \"isSubCycleOnPeriod\": \"<boolean>\",\n \"description\": \"<string>\"\n },\n {\n \"subCycle\": \"<integer>\",\n \"initialDate\": \"<dateTime>\",\n \"endDate\": \"<dateTime>\",\n \"isSubCycleOnPeriod\": \"<boolean>\",\n \"description\": \"<string>\"\n }\n ]\n },\n \"kpiStructureValues\": {\n \"objectiveValue\": \"<double>\",\n \"amountRealized\": \"<double>\",\n \"accumulatedObjectiveValue\": \"<double>\",\n \"accumulatedAamountRealized\": \"<double>\",\n \"amountRealizedLastYear\": \"<double>\",\n \"amountRealizedLastCycle\": \"<double>\",\n \"updateDate\": \"<dateTime>\",\n \"superation\": \"<double>\"\n }\n }\n ]"},{"id":"e95e227b-5e9b-4128-bf0c-069e7fce1d73","name":"The parameter list code contains invalid value at index.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:initialCycle/:endCycle?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":initialCycle",":endCycle"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"},{"key":"initial Cycle"},{"key":"endcycle"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a38e17c3-4752-4c2a-bded-0b43929ccc56","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:initialCycle/:endCycle?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":initialCycle",":endCycle"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"},{"key":"initial Cycle"},{"key":"endcycle"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ca44dd6e-9339-416d-b074-2c6ba3b511ed","name":"Forbiden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:initialCycle/:endCycle?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":initialCycle",":endCycle"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"},{"key":"initial Cycle"},{"key":"endcycle"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"915276c7-d915-4d43-834b-d89e6c7116a2","name":"There is in the Commercial Structure Kpis matching specified filter values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:initialCycle/:endCycle?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":initialCycle",":endCycle"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"},{"key":"initial Cycle"},{"key":"endcycle"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c9b49c0b-6647-4bb2-9508-830e53e96260"},{"name":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/composition","id":"69777f04-9650-49c2-932b-6a59a8fe1d4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/composition?cycle=<integer>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","description":"<p>Find the Composition Kpis</p>\n","urlObject":{"path":["api","commercialStructures",":id","kpis",":id_kpi","composition"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Cycle Kpi</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>For return more information</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>For return more information</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Page Number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page Size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"8160d967-ff84-41ff-b53f-b555317626f2","description":{"content":"<p><strong>(Required)</strong> Commercial Structure Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"8c1f49f9-0221-40b2-aec1-01e3e59030ca","description":{"content":"<p><strong>(Required)</strong> Kpi Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id_kpi"}]}},"response":[{"id":"ea2e93a2-1393-4369-999a-48d5b0b3305b","name":"Return Composition Kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/composition?cycle=<integer>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"compositionType\": \"<string>\",\n \"compositionKeyName\": \"<string>\",\n \"ordersComposition\": [\n {\n \"orderCode\": \"<integer>\",\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"sellerNickame\": \"<string>\",\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"group\": \"<integer>\",\n \"telephone\": \"<string>\",\n \"mobile\": \"<string>\",\n \"gives you\": \"<dateTime>\",\n \"situationCode\": \"<integer>\",\n \"situation\": \"<string>\",\n \"kpiCycle\": \"<integer>\",\n \"cancelKpiCycle\": \"<integer>\",\n \"businessModelCode\": \"<integer>\",\n \"businessModelName\": \"<string>\",\n \"commercialStructureCode\": \"<integer>\",\n \"commercialStructureName\": \"<string>\",\n \"commercialStructureResponsable\": \"<string>\",\n \"tableValue\": \"<double>\",\n \"marketValue\": \"<double>\",\n \"netValue\": \"<double>\",\n \"kpiValue\": \"<double>\",\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n }\n ]\n },\n {\n \"orderCode\": \"<integer>\",\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"sellerNickame\": \"<string>\",\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"group\": \"<integer>\",\n \"telephone\": \"<string>\",\n \"mobile\": \"<string>\",\n \"gives you\": \"<dateTime>\",\n \"situationCode\": \"<integer>\",\n \"situation\": \"<string>\",\n \"kpiCycle\": \"<integer>\",\n \"cancelKpiCycle\": \"<integer>\",\n \"businessModelCode\": \"<integer>\",\n \"businessModelName\": \"<string>\",\n \"commercialStructureCode\": \"<integer>\",\n \"commercialStructureName\": \"<string>\",\n \"commercialStructureResponsable\": \"<string>\",\n \"tableValue\": \"<double>\",\n \"marketValue\": \"<double>\",\n \"netValue\": \"<double>\",\n \"kpiValue\": \"<double>\",\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n }\n ]\n }\n ],\n \"sellersComposition\": [\n {\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"sellerNickame\": \"<string>\",\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"group\": \"<integer>\",\n \"telephone\": \"<string>\",\n \"mobile\": \"<string>\",\n \"birthday\": \"<dateTime>\",\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n }\n ]\n },\n {\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"sellerNickame\": \"<string>\",\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"group\": \"<integer>\",\n \"telephone\": \"<string>\",\n \"mobile\": \"<string>\",\n \"birthday\": \"<dateTime>\",\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"urlPicture\": \"<string>\"\n }\n ]\n }\n ],\n \"installmentsComposition\": [\n {\n \"installmentNumber\": \"<integer>\",\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"orderCode\": \"<integer>\",\n \"value\": \"<double>\",\n \"mainOriginalValue\": \"<double>\",\n \"financialOriginalValue\": \"<double>\",\n \"dueDate\": \"<dateTime>\",\n \"telephone\": \"<string>\",\n \"mobile\": \"<string>\"\n },\n {\n \"installmentNumber\": \"<integer>\",\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"by the way\": [\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n },\n {\n \"typeId\": \"<integer>\",\n \"by the way\": \"<string>\"\n }\n ],\n \"orderCode\": \"<integer>\",\n \"value\": \"<double>\",\n \"mainOriginalValue\": \"<double>\",\n \"financialOriginalValue\": \"<double>\",\n \"dueDate\": \"<dateTime>\",\n \"telephone\": \"<string>\",\n \"mobile\": \"<string>\"\n }\n ]\n }"},{"id":"3f0c0522-d3b9-4545-bee2-ddb156f57ed6","name":"Invalid cycle attribute.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/composition?cycle=<integer>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a30ef501-696e-4671-afb2-3890ac9cd0e3","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/composition?cycle=<integer>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"b7bc6178-42d5-4dca-b117-947cee42d31a","name":"Forbiden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/composition?cycle=<integer>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"4ddc9bef-1313-417e-8080-9fde8e4ccb2c","name":"There is in the Composition Kpi matching specified parameters values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/composition?cycle=<integer>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","composition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"69777f04-9650-49c2-932b-6a59a8fe1d4e"},{"name":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/dynamicComposition","id":"c423cfb4-c056-4bb8-a3df-a72b0eff9b8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/dynamicComposition?cycle=<integer>&page=<integer>&pageSize=<integer>","description":"<p>Find the Dynamic Composition Kpis</p>\n","urlObject":{"path":["api","commercialStructures",":id","kpis",":id_kpi","dynamicComposition"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Cycle Kpi</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Page Number</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page Size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"59119494-2c75-49c2-9f88-d25ab04f1086","description":{"content":"<p><strong>(Required)</strong> Commercial Structure Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"e3faa2d6-335e-4140-b7ea-34b8b194eee1","description":{"content":"<p><strong>(Required)</strong> Kpi Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id_kpi"}]}},"response":[{"id":"5188efd9-af2b-4473-93d9-bfc2fb7f7590","name":"Return Dynamic Composition Kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/dynamicComposition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","dynamicComposition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"rows\": [\n {\n \"columns\": [\n {\n \"name\": \"<string>\",\n \"value\": \"<string>\"\n },\n {\n \"name\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]\n },\n {\n \"columns\": [\n {\n \"name\": \"<string>\",\n \"value\": \"<string>\"\n },\n {\n \"name\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]\n }\n ]\n }"},{"id":"e41e958e-f091-4584-8dba-488414827d63","name":"Invalid cycle attribute.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/dynamicComposition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","dynamicComposition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"fe47536c-145c-46da-8ed4-ab6a91e244d9","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/dynamicComposition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","dynamicComposition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"955ce528-6857-46f2-9ef9-029a92017f7c","name":"Forbiden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/dynamicComposition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","dynamicComposition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"da0af178-cf41-449a-bd0f-9b62e14eb901","name":"There is in the Composition Kpi matching specified parameters values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/kpis/:id_kpi/dynamicComposition?cycle=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","kpis",":id_kpi","dynamicComposition"],"query":[{"key":"cycle","value":"<integer>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}],"variable":[{"key":"id"},{"key":"id_kpi"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c423cfb4-c056-4bb8-a3df-a72b0eff9b8a"}],"id":"953a596f-ae1d-4df2-92b3-9e8220ec7356","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"601b57f3-91b2-46ef-918b-ef9ad84f2a37"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3f7ce47c-b70b-434c-9f97-bc11b2cd8cbd"}}],"_postman_id":"953a596f-ae1d-4df2-92b3-9e8220ec7356","description":""},{"name":"Indicators","item":[{"name":"{{baseUrl}}/api/kpis","id":"ad94f2e7-d34b-4c67-a9f7-cffb337c7edb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/kpis?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&sortOptions=<string>&includeOptions=<string>&visibleType=<integer>","urlObject":{"path":["api","kpis"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Kpi code number array.</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Kpi code number array.</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Kpi subject codes array.</p>\n","type":"text/plain"},"key":"subjectCodes","value":"<integer>"},{"description":{"content":"<p>Kpi subject codes array.</p>\n","type":"text/plain"},"key":"subjectCodes","value":"<integer>"},{"description":{"content":"<p>Sort options: \"code\", \"code desc\", \"name\" or \"name desc\".</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Specifies optional additional information: details.</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Filter for visible</p>\n","type":"text/plain"},"key":"visibleType","value":"<integer>"}],"variable":[]}},"response":[{"id":"610df820-e297-4eed-a3fc-d03654bca59a","name":"Return kpi model or list.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpis?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&sortOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","kpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"details\": {\n \"upperRangePercentageLimit\": \"<double>\",\n \"lowerRangePercentageLimit\": \"<double>\",\n \"scalePercentageLimit\": \"<double>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"critical\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"reverseScale\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"computed\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"incremental\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"rule\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"daily\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"exclusiveKpi\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"salesForce\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"useManualGoals\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"order\": \"<integer>\"\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"details\": {\n \"upperRangePercentageLimit\": \"<double>\",\n \"lowerRangePercentageLimit\": \"<double>\",\n \"scalePercentageLimit\": \"<double>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"critical\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"reverseScale\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"computed\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"incremental\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"rule\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"daily\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"exclusiveKpi\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"salesForce\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"useManualGoals\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"order\": \"<integer>\"\n }\n }\n ]"},{"id":"7aabae97-8980-45dc-abdc-f8d3abca720e","name":"Unauthorized access to api/kpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpis?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&sortOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","kpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c98e4acf-621b-408e-aa6a-20c9b1dca4f3","name":"Forbidden access to api/kpis.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpis?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&sortOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","kpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"6d1b3cb4-4dcc-4e1e-8f4d-8acdea3afaab","name":"Not found kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpis?code=<integer>&code=<integer>&subjectCodes=<integer>&subjectCodes=<integer>&sortOptions=<string>&includeOptions=<string>&visibleType=<integer>","host":["{{baseUrl}}"],"path":["api","kpis"],"query":[{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"subjectCodes","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"visibleType","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ad94f2e7-d34b-4c67-a9f7-cffb337c7edb"},{"name":"{{baseUrl}}/api/kpis/:id","id":"93b289d9-479f-477e-80fa-402966055d0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/kpis/:id?includeOptions=<string>","urlObject":{"path":["api","kpis",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Specifies optional additional information: details.</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"}],"variable":[{"id":"bd5d8526-5150-40fc-8f8e-109e7dcd3cc1","description":{"content":"<p><strong>(Required)</strong> Kpi code number.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"7df9cf37-2868-4c73-9908-7f105263bb83","name":"Return kpi model.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpis/:id?includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","kpis",":id"],"query":[{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"details\": {\n \"upperRangePercentageLimit\": \"<double>\",\n \"lowerRangePercentageLimit\": \"<double>\",\n \"scalePercentageLimit\": \"<double>\",\n \"valueType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"critical\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"reverseScale\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"computed\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"incremental\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"rule\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"daily\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"exclusiveKpi\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"salesForce\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"useManualGoals\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"order\": \"<integer>\"\n }\n }"},{"id":"9a2f50d7-4e32-4183-a1bd-1fa4db917fec","name":"Unauthorized access to api/kpis/{id}.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpis/:id?includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","kpis",":id"],"query":[{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d97ed973-6aca-424b-90f8-9a6ec4f5cbd4","name":"Forbidden access to api/kpis/{id}.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpis/:id?includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","kpis",":id"],"query":[{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f25ce7f4-fca8-4e91-b38a-180490fab7bc","name":"Not found kpi.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpis/:id?includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","kpis",":id"],"query":[{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"93b289d9-479f-477e-80fa-402966055d0f"},{"name":"{{baseUrl}}/api/kpiSubjects","id":"9c748a0c-557f-4e67-b959-13bf2b7583eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/kpiSubjects?name=<string>&code=<integer>&code=<integer>","description":"<p>Find the Kpi Subjects with specified filters.</p>\n","urlObject":{"path":["api","kpiSubjects"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Kpi Subject's Name</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>List of Kpi Subject Codes</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>List of Kpi Subject Codes</p>\n","type":"text/plain"},"key":"code","value":"<integer>"}],"variable":[]}},"response":[{"id":"3b99efa9-187b-47e8-9ae6-b28bf5356dd3","name":"Return list of kpi subjects.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects?name=<string>&code=<integer>&code=<integer>","host":["{{baseUrl}}"],"path":["api","kpiSubjects"],"query":[{"key":"name","value":"<string>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"extraInformation\": \"<string>\",\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"extraInformation\": \"<string>\",\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n ]"},{"id":"3151a298-17bf-4d16-acd7-c74fb474576e","name":"The parameter list code contains invalid value at index.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects?name=<string>&code=<integer>&code=<integer>","host":["{{baseUrl}}"],"path":["api","kpiSubjects"],"query":[{"key":"name","value":"<string>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e183ea1a-9166-461d-8795-59479b45e80e","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects?name=<string>&code=<integer>&code=<integer>","host":["{{baseUrl}}"],"path":["api","kpiSubjects"],"query":[{"key":"name","value":"<string>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8a0530bd-6ae0-48ab-9b82-1f082f563bb9","name":"Forbiden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects?name=<string>&code=<integer>&code=<integer>","host":["{{baseUrl}}"],"path":["api","kpiSubjects"],"query":[{"key":"name","value":"<string>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7c785343-a9b8-4a04-b897-563a4a20f9e1","name":"There is no kpi subjects matching specified filter values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects?name=<string>&code=<integer>&code=<integer>","host":["{{baseUrl}}"],"path":["api","kpiSubjects"],"query":[{"key":"name","value":"<string>"},{"key":"code","value":"<integer>"},{"key":"code","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9c748a0c-557f-4e67-b959-13bf2b7583eb"},{"name":"{{baseUrl}}/api/kpiSubjects/:id","id":"60562f03-9279-4b40-ad11-1a36c5a05e25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/kpiSubjects/:id","description":"<p>Find the Kpi Subjects with specified id.</p>\n","urlObject":{"path":["api","kpiSubjects",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"bcbcacec-ecae-4993-abbb-2fc99aa82ab6","description":{"content":"<p><strong>(Required)</strong> Kpi Subject's Id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d11599a7-c48a-4648-ab20-b75c71b2f0a8","name":"Return a specific kpi subject.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects/:id","host":["{{baseUrl}}"],"path":["api","kpiSubjects",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"extraInformation\": \"<string>\",\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }"},{"id":"c39c617d-f337-4424-b81f-2ad5b930307e","name":"The parameter list code contains invalid value at index.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects/:id","host":["{{baseUrl}}"],"path":["api","kpiSubjects",":id"],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"4787bf5f-82f2-481f-a6a1-4c03a2591185","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects/:id","host":["{{baseUrl}}"],"path":["api","kpiSubjects",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7f744fca-1d09-4f4b-941b-947fe202f37f","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects/:id","host":["{{baseUrl}}"],"path":["api","kpiSubjects",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"dbcbc1b1-967e-47b3-9f07-a03eed3aff93","name":"There is no kpi subjects matching specified filter values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/kpiSubjects/:id","host":["{{baseUrl}}"],"path":["api","kpiSubjects",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"60562f03-9279-4b40-ad11-1a36c5a05e25"}],"id":"e719f555-6c03-42a7-b54a-a8500ca64bc7","_postman_id":"e719f555-6c03-42a7-b54a-a8500ca64bc7","description":""},{"name":"Trainings","item":[{"name":"{{baseUrl}}/api/workshops/:id","id":"c1e13c04-3995-4281-932d-3b7d5cd030a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/workshops/:id","urlObject":{"path":["api","workshops",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"0e51eab9-fda9-40bc-b088-438d4c1a1f17","description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"1717c4b8-dfc5-4003-97ea-4ef791ac112c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/workshops/:id","host":["{{baseUrl}}"],"path":["api","workshops",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"situation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }"}],"_postman_id":"c1e13c04-3995-4281-932d-3b7d5cd030a6"},{"name":"{{baseUrl}}/api/workshops/:id/classRooms","id":"ca1f5564-c480-41e7-bc9a-359e411fe00f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/workshops/:id/classRooms","urlObject":{"path":["api","workshops",":id","classRooms"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"c20ae07e-6f26-4b81-a5b7-7458d48bb43b","description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"e326cc70-1c9b-4991-8165-20f9df9faeb2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/workshops/:id/classRooms","host":["{{baseUrl}}"],"path":["api","workshops",":id","classRooms"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"situation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"initialDate\": \"<dateTime>\",\n \"finalDate\": \"<dateTime>\",\n \"studio\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"situation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"initialDate\": \"<dateTime>\",\n \"finalDate\": \"<dateTime>\",\n \"studio\": \"<string>\"\n }\n ]"}],"_postman_id":"ca1f5564-c480-41e7-bc9a-359e411fe00f"},{"name":"{{baseUrl}}/api/workshops/:id/rolesrules","id":"8a8acad6-c2c3-409a-8026-76d7dd3ed11a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/workshops/:id/rolesrules","urlObject":{"path":["api","workshops",":id","rolesrules"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"02ed281f-0359-49c5-a671-5187068586dd","description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"568dd08d-7d70-4650-8d89-d92c41c6eb32","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/workshops/:id/rolesrules","host":["{{baseUrl}}"],"path":["api","workshops",":id","rolesrules"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"coverageCode\": \"<integer>\",\n \"coverageDescription\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"coverageCode\": \"<integer>\",\n \"coverageDescription\": \"<string>\"\n }\n ]"}],"_postman_id":"8a8acad6-c2c3-409a-8026-76d7dd3ed11a"},{"name":"{{baseUrl}}/api/workshops","id":"f6e015f5-cbaa-46d0-98e3-70ac3380dee8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/workshops?code=<integer>&name=<string>&situation=<integer>","urlObject":{"path":["api","workshops"],"host":["{{baseUrl}}"],"query":[{"key":"code","value":"<integer>"},{"key":"name","value":"<string>"},{"key":"situation","value":"<integer>"}],"variable":[]}},"response":[{"id":"6d043fae-b14f-4fc9-b61d-1db6220c49f9","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/workshops?code=<integer>&name=<string>&situation=<integer>","host":["{{baseUrl}}"],"path":["api","workshops"],"query":[{"key":"code","value":"<integer>"},{"key":"name","value":"<string>"},{"key":"situation","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"situation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"situation\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n ]"}],"_postman_id":"f6e015f5-cbaa-46d0-98e3-70ac3380dee8"},{"name":"{{baseUrl}}/api/workshops/participations","id":"d349e7ec-e092-42d7-a808-eecc79e28b83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/workshops/participations?initialParticipationCycle=<integer>&finalParticipationCycle=<integer>&workshopCode=<object>&workshopCode=<object>&workshopClassroomCode=<integer>&sellerParticipationCode=<integer>&sellerParticipationName=<string>&commercialStructureCode=<integer>&regionStructureCode=<integer>&leaderCode=<integer>&groupCode=<integer>","urlObject":{"path":["api","workshops","participations"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"key":"initialParticipationCycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"key":"finalParticipationCycle","value":"<integer>"},{"key":"workshopCode","value":"<object>"},{"key":"workshopCode","value":"<object>"},{"key":"workshopClassroomCode","value":"<integer>"},{"key":"sellerParticipationCode","value":"<integer>"},{"key":"sellerParticipationName","value":"<string>"},{"key":"commercialStructureCode","value":"<integer>"},{"key":"regionStructureCode","value":"<integer>"},{"key":"leaderCode","value":"<integer>"},{"key":"groupCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"cec06f23-4e3a-4612-9551-d333cbec434d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/workshops/participations?initialParticipationCycle=<integer>&finalParticipationCycle=<integer>&workshopCode=<object>&workshopCode=<object>&workshopClassroomCode=<integer>&sellerParticipationCode=<integer>&sellerParticipationName=<string>&commercialStructureCode=<integer>&regionStructureCode=<integer>&leaderCode=<integer>&groupCode=<integer>","host":["{{baseUrl}}"],"path":["api","workshops","participations"],"query":[{"key":"initialParticipationCycle","value":"<integer>"},{"key":"finalParticipationCycle","value":"<integer>"},{"key":"workshopCode","value":"<object>"},{"key":"workshopCode","value":"<object>"},{"key":"workshopClassroomCode","value":"<integer>"},{"key":"sellerParticipationCode","value":"<integer>"},{"key":"sellerParticipationName","value":"<string>"},{"key":"commercialStructureCode","value":"<integer>"},{"key":"regionStructureCode","value":"<integer>"},{"key":"leaderCode","value":"<integer>"},{"key":"groupCode","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"workshopCode\": \"<integer>\",\n \"workshopName\": \"<string>\",\n \"workshopClassroomCode\": \"<integer>\",\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"leaderCode\": \"<integer>\",\n \"leaderName\": \"<string>\",\n \"commercialStructureCode\": \"<integer>\",\n \"commercialStructureName\": \"<string>\",\n \"regionCode\": \"<integer>\",\n \"regionName\": \"<string>\",\n \"initialParticipationCycle\": \"<integer>\",\n \"workshopParticipationDate\": \"<dateTime>\"\n },\n {\n \"workshopCode\": \"<integer>\",\n \"workshopName\": \"<string>\",\n \"workshopClassroomCode\": \"<integer>\",\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"leaderCode\": \"<integer>\",\n \"leaderName\": \"<string>\",\n \"commercialStructureCode\": \"<integer>\",\n \"commercialStructureName\": \"<string>\",\n \"regionCode\": \"<integer>\",\n \"regionName\": \"<string>\",\n \"initialParticipationCycle\": \"<integer>\",\n \"workshopParticipationDate\": \"<dateTime>\"\n }\n ]"}],"_postman_id":"d349e7ec-e092-42d7-a808-eecc79e28b83"}],"id":"aba4280b-6088-42e1-ba44-cc09433d9a55","_postman_id":"aba4280b-6088-42e1-ba44-cc09433d9a55","description":""}],"id":"e72c8bb1-2845-42cf-970d-d12555c2537b","description":"<p>Manage your sales team and track your results with updated indicators in real time. Manage training and register resale intentions. </p>\n<p> <em><strong>This module is under construction, we will have more details available soon.</strong></em></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d8ae21a9-2634-4a55-9f13-7b69ccaa99bd"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"f63d6381-da6d-4931-8350-450317dd9a7b"}}],"_postman_id":"e72c8bb1-2845-42cf-970d-d12555c2537b"},{"name":"Financial","item":[{"name":"Title Control","item":[{"name":"{{baseUrl}}/api/installments/:id/report","id":"c6817431-07be-45c7-bacd-fdc1e5d65d7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/installments/:id/report","urlObject":{"path":["api","installments",":id","report"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"5ba95e29-c70b-4455-b197-7a560d922651","description":{"content":"<p><strong>(Required)</strong> Title Id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"5761af45-0a13-4cd0-974f-821f4ff2928f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/report","host":["{{baseUrl}}"],"path":["api","installments",":id","report"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"url\": \"<string>\",\n \"returnObject\": \"<object> \"\n }"}],"_postman_id":"c6817431-07be-45c7-bacd-fdc1e5d65d7c"},{"name":"{{baseUrl}}/api/installments/:id/simulatedValue","id":"d05ff552-a492-42f9-9d93-b5a77d4df4a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/installments/:id/simulatedValue?simulatedDueDate=<dateTime>","urlObject":{"path":["api","installments",":id","simulatedValue"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Date to calculate updated balance.</p>\n","type":"text/plain"},"key":"simulatedDueDate","value":"<dateTime>"}],"variable":[{"id":"586eabda-8258-42dc-8454-d0d4d3ae84a6","description":{"content":"<p><strong>(Required)</strong> Installment code number.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"27d6ca1f-a3c3-4c58-87e9-9af5e28b3631","name":"The response body contains a DebtBalance data object.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/simulatedValue?simulatedDueDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","installments",":id","simulatedValue"],"query":[{"key":"simulatedDueDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"sway\": \"<double>\",\n \"fine\": \"<double>\",\n \"dailyInterestTax\": \"<double>\",\n \"latePaymentInterest\": \"<double>\",\n \"updatedBalance\": \"<double>\",\n \"additionalCharge\": \"<double>\",\n \"updatedDate\": \"<dateTime>\",\n \"allowUpdatedBillet\": \"<boolean>\"\n }"},{"id":"25e22a22-9e5a-4974-8c48-a967e92c2a1e","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/simulatedValue?simulatedDueDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","installments",":id","simulatedValue"],"query":[{"key":"simulatedDueDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d19c584e-6ba2-43ac-b3d2-cdd9fe515e7d","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/simulatedValue?simulatedDueDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","installments",":id","simulatedValue"],"query":[{"key":"simulatedDueDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"9b698966-9353-42e4-93fb-58432ffdbcea","name":"There is no installment with specified number code.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/simulatedValue?simulatedDueDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","installments",":id","simulatedValue"],"query":[{"key":"simulatedDueDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d05ff552-a492-42f9-9d93-b5a77d4df4a6"},{"name":"{{baseUrl}}/api/installments/:id/updatedReport","id":"9677e34d-43c2-4c33-a479-b8b1402419ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"url":"{{baseUrl}}/api/installments/:id/updatedReport?updatedDate=<dateTime>","urlObject":{"path":["api","installments",":id","updatedReport"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Date to calculate updated balance.</p>\n","type":"text/plain"},"key":"updatedDate","value":"<dateTime>"}],"variable":[{"id":"50df6c74-8ca9-4728-bee3-6adc3073dfeb","description":{"content":"<p><strong>(Required)</strong> Installment code number.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"0cd15409-2f93-4bd0-a057-4f2f7db431bd","name":"The response body contains a DebtBalance data object.","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/updatedReport?updatedDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","installments",":id","updatedReport"],"query":[{"key":"updatedDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"url\": \"<string>\",\n \"returnObject\": \"<object> \"\n }"},{"id":"9b4c8e4c-954e-4cfb-a810-a6b1a14e9170","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/updatedReport?updatedDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","installments",":id","updatedReport"],"query":[{"key":"updatedDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"72d2933f-d89a-4da7-b77a-41efce591b2e","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource.","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/updatedReport?updatedDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","installments",":id","updatedReport"],"query":[{"key":"updatedDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"4e01882f-1b03-43d8-8252-072750753602","name":"There is no installment with specified number code.","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/installments/:id/updatedReport?updatedDate=<dateTime>","host":["{{baseUrl}}"],"path":["api","installments",":id","updatedReport"],"query":[{"key":"updatedDate","value":"<dateTime>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"9677e34d-43c2-4c33-a479-b8b1402419ed"},{"name":"{{baseUrl}}/api/installments/openBilletSummary","id":"482929df-cd4f-4dce-8f5e-4c2cf6af8658","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/installments/openBilletSummary","urlObject":{"path":["api","installments","openBilletSummary"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"4e723bdb-51db-498a-8730-d623319907e8","name":"The response body contains the open billet summary of logged user.","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/installments/openBilletSummary"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"expiredValue\": \"<double>\",\n \"nonExpiredValue\": \"<double>\",\n \"totalOpenValue\": \"<double>\"\n }"},{"id":"1dfbf4b1-1c4e-41e9-938d-102e687e6542","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/installments/openBilletSummary"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1c0c8976-36ab-41f2-8a8a-87e5a57f8cb1","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource.","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/installments/openBilletSummary"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"482929df-cd4f-4dce-8f5e-4c2cf6af8658"},{"name":"{{baseUrl}}/api/installments/renegotiation","id":"4c971e28-30df-4f5d-a991-b2ce4d896c3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/installments/renegociation?id=<integer>&paymentplan=<integer>&titlesRequest.selectedTitles=<integer>&titlesRequest.selectedTitles=<integer>","urlObject":{"path":["api","installments","renegociation"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> The order ID</p>\n","type":"text/plain"},"key":"id","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> The selected Payment Plan ID</p>\n","type":"text/plain"},"key":"paymentplan","value":"<integer>"},{"key":"titlesRequest.selectedTitles","value":"<integer>"},{"key":"titlesRequest.selectedTitles","value":"<integer>"}],"variable":[]}},"response":[{"id":"f6a74ccb-72e6-4bea-8e55-4b4249219e8d","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/installments/renegociation?id=<integer>&paymentplan=<integer>&titlesRequest.selectedTitles=<integer>&titlesRequest.selectedTitles=<integer>","host":["{{baseUrl}}"],"path":["api","installments","renegociation"],"query":[{"key":"id","value":"<integer>"},{"key":"paymentplan","value":"<integer>"},{"key":"titlesRequest.selectedTitles","value":"<integer>"},{"key":"titlesRequest.selectedTitles","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"paymentPlanCode\": \"<integer>\",\n \"parcelNumber\": \"<integer>\",\n \"dueDate\": \"<dateTime>\",\n \"parcelValue\": \"<double>\",\n \"mainValue\": \"<double>\",\n \"financialValue\": \"<double>\",\n \"points\": \"<integer>\",\n \"paidTitleLiberatesOrder\": \"<integer>\",\n \"residualAccountValue\": \"<double>\",\n \"administrativeFeeBalance\": \"<double>\",\n \"interestBalance\": \"<double>\",\n \"indexCode\": \"<integer>\",\n \"administrativeFee\": \"<double>\",\n \"interestValue\": \"<double>\",\n \"chargeFee\": \"<double>\"\n },\n {\n \"paymentPlanCode\": \"<integer>\",\n \"parcelNumber\": \"<integer>\",\n \"dueDate\": \"<dateTime>\",\n \"parcelValue\": \"<double>\",\n \"mainValue\": \"<double>\",\n \"financialValue\": \"<double>\",\n \"points\": \"<integer>\",\n \"paidTitleLiberatesOrder\": \"<integer>\",\n \"residualAccountValue\": \"<double>\",\n \"administrativeFeeBalance\": \"<double>\",\n \"interestBalance\": \"<double>\",\n \"indexCode\": \"<integer>\",\n \"administrativeFee\": \"<double>\",\n \"interestValue\": \"<double>\",\n \"chargeFee\": \"<double>\"\n }\n ]"}],"_postman_id":"4c971e28-30df-4f5d-a991-b2ce4d896c3d"},{"name":"{{baseUrl}}/api/Installments","id":"387040ad-904c-46e1-82cd-b46fdf3a7e1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Installments?number=<integer>&orderingnumber=<integer>&representativeCode=<integer>&open=<boolean>&overdue=<boolean>&initialIssueDate=<dateTime>&endIssueDate=<dateTime>&initialDueDate=<dateTime>&end DueDate=<dateTime>&paymentPlanCode=<integer>&sortOptions=<string>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","Installments"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Number of Installment</p>\n","type":"text/plain"},"key":"number","value":"<integer>"},{"description":{"content":"<p>Ordering Number</p>\n","type":"text/plain"},"key":"orderingnumber","value":"<integer>"},{"description":{"content":"<p>Representative Code</p>\n","type":"text/plain"},"key":"representativeCode","value":"<integer>"},{"description":{"content":"<p>If the collection is open</p>\n","type":"text/plain"},"key":"open","value":"<boolean>"},{"description":{"content":"<p>If the collection is overdue</p>\n","type":"text/plain"},"key":"overdue","value":"<boolean>"},{"description":{"content":"<p>Initial Issue Date of installment</p>\n","type":"text/plain"},"key":"initialIssueDate","value":"<dateTime>"},{"description":{"content":"<p>Final Issue Date of installment</p>\n","type":"text/plain"},"key":"endIssueDate","value":"<dateTime>"},{"description":{"content":"<p>Initial Due Date of installment</p>\n","type":"text/plain"},"key":"initialDueDate","value":"<dateTime>"},{"description":{"content":"<p>Final Due Date of installment</p>\n","type":"text/plain"},"key":"end DueDate","value":"<dateTime>"},{"description":{"content":"<p>Payment Plan Code of installment</p>\n","type":"text/plain"},"key":"paymentPlanCode","value":"<integer>"},{"description":{"content":"<p>Sort Options</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Include Options</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Include Options</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Number Page</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page Size</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"be417285-6cb9-4e7a-8e30-46391021cff4","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Installments?number=<integer>&orderingnumber=<integer>&representativeCode=<integer>&open=<boolean>&overdue=<boolean>&initialIssueDate=<dateTime>&endIssueDate=<dateTime>&initialDueDate=<dateTime>&end DueDate=<dateTime>&paymentPlanCode=<integer>&sortOptions=<string>&includeOptions=<string>&includeOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Installments"],"query":[{"key":"number","value":"<integer>"},{"key":"orderingnumber","value":"<integer>"},{"key":"representativeCode","value":"<integer>"},{"key":"open","value":"<boolean>"},{"key":"overdue","value":"<boolean>"},{"key":"initialIssueDate","value":"<dateTime>"},{"key":"endIssueDate","value":"<dateTime>"},{"key":"initialDueDate","value":"<dateTime>"},{"key":"end DueDate","value":"<dateTime>"},{"key":"paymentPlanCode","value":"<integer>"},{"key":"sortOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"number\": \"<integer>\",\n \"orderingNumber\": \"<integer>\",\n \"representativeCode\": \"<integer>\",\n \"open\": \"<boolean>\",\n \"overdue\": \"<boolean>\",\n \"issueDate\": \"<dateTime>\",\n \"dueDate\": \"<dateTime>\",\n \"originalValue\": \"<double>\",\n \"openBalance\": \"<double>\",\n \"currentOpenBalance\": \"<double>\",\n \"paidValue\": \"<double>\",\n \"paymentType\": \"<integer>\",\n \"paymentPlanCode\": \"<integer>\",\n \"paymentPlanName\": \"<string>\",\n \"overdueDays\": \"<integer>\",\n \"expirationDate\": \"<dateTime>\",\n \"allowsRenegotiation\": \"<boolean>\",\n \"digitableLine\": \"<string>\"\n },\n {\n \"number\": \"<integer>\",\n \"orderingNumber\": \"<integer>\",\n \"representativeCode\": \"<integer>\",\n \"open\": \"<boolean>\",\n \"overdue\": \"<boolean>\",\n \"issueDate\": \"<dateTime>\",\n \"dueDate\": \"<dateTime>\",\n \"originalValue\": \"<double>\",\n \"openBalance\": \"<double>\",\n \"currentOpenBalance\": \"<double>\",\n \"paidValue\": \"<double>\",\n \"paymentType\": \"<integer>\",\n \"paymentPlanCode\": \"<integer>\",\n \"paymentPlanName\": \"<string>\",\n \"overdueDays\": \"<integer>\",\n \"expirationDate\": \"<dateTime>\",\n \"allowsRenegotiation\": \"<boolean>\",\n \"digitableLine\": \"<string>\"\n }\n ]"}],"_postman_id":"387040ad-904c-46e1-82cd-b46fdf3a7e1a"},{"name":"{{baseUrl}}/api/Installments/:id/billetMessage","id":"7919dc0b-dc8b-4582-9336-8e65b24ef6cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/Installments/:id/billetMessage","urlObject":{"path":["api","Installments",":id","billetMessage"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"58afe05e-3032-4861-9541-9735a64f2c96","description":{"content":"<p><strong>(Required)</strong> Id of Installment</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"92968e1a-184f-4649-b507-73059358713b","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/Installments/:id/billetMessage","host":["{{baseUrl}}"],"path":["api","Installments",":id","billetMessage"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<object> \""}],"_postman_id":"7919dc0b-dc8b-4582-9336-8e65b24ef6cd"},{"name":"{{baseUrl}}/api/Installments/:id","id":"4dc1265c-5d2b-48b4-8460-9b9e7958d96f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Installments/:id?includeOptions=<string>&includeOptions=<string>","urlObject":{"path":["api","Installments",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Include Options</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>Include Options</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"}],"variable":[{"id":"94c902a3-b947-4ea6-be4f-45b32c678db0","description":{"content":"<p><strong>(Required)</strong> Id of Installment</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"e24138cd-ddaa-4a17-8ac0-1b1056644724","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Installments/:id?includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","Installments",":id"],"query":[{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"number\": \"<integer>\",\n \"orderingNumber\": \"<integer>\",\n \"representativeCode\": \"<integer>\",\n \"open\": \"<boolean>\",\n \"overdue\": \"<boolean>\",\n \"issueDate\": \"<dateTime>\",\n \"dueDate\": \"<dateTime>\",\n \"originalValue\": \"<double>\",\n \"openBalance\": \"<double>\",\n \"currentOpenBalance\": \"<double>\",\n \"paidValue\": \"<double>\",\n \"paymentType\": \"<integer>\",\n \"paymentPlanCode\": \"<integer>\",\n \"paymentPlanName\": \"<string>\",\n \"overdueDays\": \"<integer>\",\n \"expirationDate\": \"<dateTime>\",\n \"allowsRenegotiation\": \"<boolean>\",\n \"digitableLine\": \"<string>\"\n }"}],"_postman_id":"4dc1265c-5d2b-48b4-8460-9b9e7958d96f"},{"name":"{{baseUrl}}/api/orders/:id/debitRenegotiation/paymentPlans","id":"94fee197-30c7-45e7-8a09-00f7abbd077e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/debitRenegotiation/paymentPlans?titlesRequest.selectedTitles=<integer>&titlesRequest.selectedTitles=<integer>","urlObject":{"path":["api","orders",":id","debitRenegotiation","paymentPlans"],"host":["{{baseUrl}}"],"query":[{"key":"titlesRequest.selectedTitles","value":"<integer>"},{"key":"titlesRequest.selectedTitles","value":"<integer>"}],"variable":[{"id":"d788c561-9dfd-4fa9-8e5f-81b3ad1bcc9b","description":{"content":"<p><strong>(Required)</strong> The order ID</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"65f261c0-fea5-46d4-aac4-2f7a2ab00e5a","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/debitRenegotiation/paymentPlans?titlesRequest.selectedTitles=<integer>&titlesRequest.selectedTitles=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","debitRenegotiation","paymentPlans"],"query":[{"key":"titlesRequest.selectedTitles","value":"<integer>"},{"key":"titlesRequest.selectedTitles","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"description\": \"<string>\",\n \"parcels\": \"<integer>\",\n \"graceDaysAmount\": \"<integer>\",\n \"daysBetweenParcels\": \"<integer>\",\n \"dailyInterest\": \"<double>\",\n \"administrativeFee\": \"<double>\",\n \"parcelAdministrativeFee\": \"<integer>\",\n \"paymentType\": \"<integer>\",\n \"minimalParcelPay\": \"<double>\",\n \"maxAllowedDaysChangeDueDate\": \"<integer>\",\n \"paymentDaysQty\": \"<integer>\",\n \"totalMinimalValue\": \"<double>\",\n \"totalMaxValue\": \"<double>\",\n \"minimalPoints\": \"<integer>\",\n \"maxPoints\": \"<integer>\",\n \"parcelsForOrderLiberation\": \"<integer>\",\n \"cardFlag\": \"<integer>\",\n \"expired\": \"<integer>\",\n \"pendingOrder\": \"<integer>\",\n \"externalPay\": \"<integer>\",\n \"allowsBreakTitle\": \"<integer>\",\n \"creditPending\": \"<integer>\",\n \"extraInfo1\": \"<string>\",\n \"extraInfo2\": \"<string>\",\n \"extraInfo3\": \"<string>\",\n \"adjusDueDateForWeekDay\": \"<integer>\",\n \"externalCode\": \"<string>\",\n \"externalPaymentEntity\": \"<integer>\",\n \"validCreditEx\": \"<integer>\",\n \"titleCreatedPaid\": \"<integer>\",\n \"orderPaymentPlan\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"productPaymentPlan\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"renegotiationPaymentPlan\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"centralOrderPaymentPlan\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDate\": \"<dateTime>\",\n \"enableAdditionalParameters\": \"<integer>\",\n \"delayDaysAdditionalCharge\": \"<integer>\",\n \"baseValueAdditionalParameters\": \"<integer>\",\n \"baseIndexAdditionalParameters\": \"<integer>\",\n \"paymentPlanType\": \"<integer>\",\n \"cardParcelMinimalValue\": \"<double>\",\n \"cardFlagType\": \"<integer>\",\n \"antiFraudAnalysis\": \"<integer>\",\n \"allowsPartialBillet\": \"<integer>\",\n \"partialBilletMinimalValue\": \"<integer>\",\n \"allowsContingecePlan\": \"<integer>\",\n \"lateDaysRenegotiationStart\": \"<integer>\",\n \"lateDaysRenegotiationEnd\": \"<integer>\",\n \"cardParcelType\": \"<integer>\",\n \"generateCCROnCancel\": \"<integer>\",\n \"parameters\": [\n {\n \"paymentPlanCode\": \"<integer>\",\n \"negotiationLevel\": \"<integer>\",\n \"zoneNumber\": \"<integer>\",\n \"zoneStartDay\": \"<integer>\",\n \"zoneEndDay\": \"<integer>\",\n \"finePercentage\": \"<double>\",\n \"dailyInterestPercentage\": \"<double>\",\n \"fineIndex\": \"<integer>\",\n \"interestIndex\": \"<integer>\",\n \"baseChargeDate\": \"<integer>\",\n \"fixedInterestZoneEnd\": \"<integer>\",\n \"updateOwnedValueMethod\": \"<integer>\",\n \"fineApplicationMinimalValue\": \"<double>\",\n \"paidValueDistribution\": \"<integer>\",\n \"fineIncidenceType\": \"<integer>\"\n },\n {\n \"paymentPlanCode\": \"<integer>\",\n \"negotiationLevel\": \"<integer>\",\n \"zoneNumber\": \"<integer>\",\n \"zoneStartDay\": \"<integer>\",\n \"zoneEndDay\": \"<integer>\",\n \"finePercentage\": \"<double>\",\n \"dailyInterestPercentage\": \"<double>\",\n \"fineIndex\": \"<integer>\",\n \"interestIndex\": \"<integer>\",\n \"baseChargeDate\": \"<integer>\",\n \"fixedInterestZoneEnd\": \"<integer>\",\n \"updateOwnedValueMethod\": \"<integer>\",\n \"fineApplicationMinimalValue\": \"<double>\",\n \"paidValueDistribution\": \"<integer>\",\n \"fineIncidenceType\": \"<integer>\"\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"description\": \"<string>\",\n \"parcels\": \"<integer>\",\n \"graceDaysAmount\": \"<integer>\",\n \"daysBetweenParcels\": \"<integer>\",\n \"dailyInterest\": \"<double>\",\n \"administrativeFee\": \"<double>\",\n \"parcelAdministrativeFee\": \"<integer>\",\n \"paymentType\": \"<integer>\",\n \"minimalParcelPay\": \"<double>\",\n \"maxAllowedDaysChangeDueDate\": \"<integer>\",\n \"paymentDaysQty\": \"<integer>\",\n \"totalMinimalValue\": \"<double>\",\n \"totalMaxValue\": \"<double>\",\n \"minimalPoints\": \"<integer>\",\n \"maxPoints\": \"<integer>\",\n \"parcelsForOrderLiberation\": \"<integer>\",\n \"cardFlag\": \"<integer>\",\n \"expired\": \"<integer>\",\n \"pendingOrder\": \"<integer>\",\n \"externalPay\": \"<integer>\",\n \"allowsBreakTitle\": \"<integer>\",\n \"creditPending\": \"<integer>\",\n \"extraInfo1\": \"<string>\",\n \"extraInfo2\": \"<string>\",\n \"extraInfo3\": \"<string>\",\n \"adjusDueDateForWeekDay\": \"<integer>\",\n \"externalCode\": \"<string>\",\n \"externalPaymentEntity\": \"<integer>\",\n \"validCreditEx\": \"<integer>\",\n \"titleCreatedPaid\": \"<integer>\",\n \"orderPaymentPlan\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"productPaymentPlan\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"renegotiationPaymentPlan\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"centralOrderPaymentPlan\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"creationDate\": \"<dateTime>\",\n \"enableAdditionalParameters\": \"<integer>\",\n \"delayDaysAdditionalCharge\": \"<integer>\",\n \"baseValueAdditionalParameters\": \"<integer>\",\n \"baseIndexAdditionalParameters\": \"<integer>\",\n \"paymentPlanType\": \"<integer>\",\n \"cardParcelMinimalValue\": \"<double>\",\n \"cardFlagType\": \"<integer>\",\n \"antiFraudAnalysis\": \"<integer>\",\n \"allowsPartialBillet\": \"<integer>\",\n \"partialBilletMinimalValue\": \"<integer>\",\n \"allowsContingecePlan\": \"<integer>\",\n \"lateDaysRenegotiationStart\": \"<integer>\",\n \"lateDaysRenegotiationEnd\": \"<integer>\",\n \"cardParcelType\": \"<integer>\",\n \"generateCCROnCancel\": \"<integer>\",\n \"parameters\": [\n {\n \"paymentPlanCode\": \"<integer>\",\n \"negotiationLevel\": \"<integer>\",\n \"zoneNumber\": \"<integer>\",\n \"zoneStartDay\": \"<integer>\",\n \"zoneEndDay\": \"<integer>\",\n \"finePercentage\": \"<double>\",\n \"dailyInterestPercentage\": \"<double>\",\n \"fineIndex\": \"<integer>\",\n \"interestIndex\": \"<integer>\",\n \"baseChargeDate\": \"<integer>\",\n \"fixedInterestZoneEnd\": \"<integer>\",\n \"updateOwnedValueMethod\": \"<integer>\",\n \"fineApplicationMinimalValue\": \"<double>\",\n \"paidValueDistribution\": \"<integer>\",\n \"fineIncidenceType\": \"<integer>\"\n },\n {\n \"paymentPlanCode\": \"<integer>\",\n \"negotiationLevel\": \"<integer>\",\n \"zoneNumber\": \"<integer>\",\n \"zoneStartDay\": \"<integer>\",\n \"zoneEndDay\": \"<integer>\",\n \"finePercentage\": \"<double>\",\n \"dailyInterestPercentage\": \"<double>\",\n \"fineIndex\": \"<integer>\",\n \"interestIndex\": \"<integer>\",\n \"baseChargeDate\": \"<integer>\",\n \"fixedInterestZoneEnd\": \"<integer>\",\n \"updateOwnedValueMethod\": \"<integer>\",\n \"fineApplicationMinimalValue\": \"<double>\",\n \"paidValueDistribution\": \"<integer>\",\n \"fineIncidenceType\": \"<integer>\"\n }\n ]\n }\n ]"}],"_postman_id":"94fee197-30c7-45e7-8a09-00f7abbd077e"},{"name":"{{baseUrl}}/api/orders/:id/debitRenegotiation/marketingMessages","id":"553d0bde-c971-4f62-a85b-89637df62d32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/orders/:id/debitRenegotiation/marketingMessages?function=<integer>","urlObject":{"path":["api","orders",":id","debitRenegotiation","marketingMessages"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> The function ID</p>\n","type":"text/plain"},"key":"function","value":"<integer>"}],"variable":[{"id":"10d79468-e901-48ff-91d6-b33770d591e4","description":{"content":"<p><strong>(Required)</strong> The order ID</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"7d036bf6-4ec4-4967-9f8c-5c7bb0b69687","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/orders/:id/debitRenegotiation/marketingMessages?function=<integer>","host":["{{baseUrl}}"],"path":["api","orders",":id","debitRenegotiation","marketingMessages"],"query":[{"key":"function","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"message\": \"<string>\",\n \"priority\": \"<integer>\",\n \"creationDate\": \"<dateTime>\",\n \"changeDate\": \"<dateTime>\",\n \"title\": \"<string>\",\n \"exhibition\": [\n {\n \"marketingMessageType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"eventType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"exhibitionType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n {\n \"marketingMessageType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"eventType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"exhibitionType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"message\": \"<string>\",\n \"priority\": \"<integer>\",\n \"creationDate\": \"<dateTime>\",\n \"changeDate\": \"<dateTime>\",\n \"title\": \"<string>\",\n \"exhibition\": [\n {\n \"marketingMessageType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"eventType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"exhibitionType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n {\n \"marketingMessageType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"eventType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"exhibitionType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n ]\n }\n ]"}],"_postman_id":"553d0bde-c971-4f62-a85b-89637df62d32"}],"id":"bfc3be90-6167-418e-aa12-140ca38d21d7","_postman_id":"bfc3be90-6167-418e-aa12-140ca38d21d7","description":""},{"name":"Receipt Plan","item":[{"name":"{{baseUrl}}/api/PaymentPlans","id":"afb9ea38-ec52-490a-82fe-a9545229cb6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/PaymentPlans?name=<string>&paymentMode=<integer>&sortOptions=<string>","urlObject":{"path":["api","PaymentPlans"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Name (complete or partial) of the payment plan.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Payment mode (Domain)</p>\n","type":"text/plain"},"key":"paymentMode","value":"<integer>"},{"description":{"content":"<p>Option of sorting result</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"}],"variable":[]}},"response":[{"id":"6d20a640-9102-45d4-a169-fea58d7a4151","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/PaymentPlans?name=<string>&paymentMode=<integer>&sortOptions=<string>","host":["{{baseUrl}}"],"path":["api","PaymentPlans"],"query":[{"key":"name","value":"<string>"},{"key":"paymentMode","value":"<integer>"},{"key":"sortOptions","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"paymentMode\": \"<integer>\",\n \"administrativeTax\": \"<double>\",\n \"collectionFee\": \"<double>\",\n \"interestRate\": \"<double>\",\n \"installments\": [\n {\n \"number\": \"<integer>\",\n \"value\": \"<double>\",\n \"dueDate\": \"<dateTime>\"\n },\n {\n \"number\": \"<integer>\",\n \"value\": \"<double>\",\n \"dueDate\": \"<dateTime>\"\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"paymentMode\": \"<integer>\",\n \"administrativeTax\": \"<double>\",\n \"collectionFee\": \"<double>\",\n \"interestRate\": \"<double>\",\n \"installments\": [\n {\n \"number\": \"<integer>\",\n \"value\": \"<double>\",\n \"dueDate\": \"<dateTime>\"\n },\n {\n \"number\": \"<integer>\",\n \"value\": \"<double>\",\n \"dueDate\": \"<dateTime>\"\n }\n ]\n }\n ]"}],"_postman_id":"afb9ea38-ec52-490a-82fe-a9545229cb6e"},{"name":"{{baseUrl}}/api/PaymentPlans/:id","id":"cf45f0a2-cae5-4822-9ec7-56c128617e95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/PaymentPlans/:id","urlObject":{"path":["api","PaymentPlans",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"13e19dc2-621f-428a-a18e-b9be1854d684","description":{"content":"<p><strong>(Required)</strong> It's a payment plan identifier.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"2da3ceb4-3ca6-484c-9fb4-2675ae0abfb6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/PaymentPlans/:id","host":["{{baseUrl}}"],"path":["api","PaymentPlans",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"paymentMode\": \"<integer>\",\n \"administrativeTax\": \"<double>\",\n \"collectionFee\": \"<double>\",\n \"interestRate\": \"<double>\",\n \"installments\": [\n {\n \"number\": \"<integer>\",\n \"value\": \"<double>\",\n \"dueDate\": \"<dateTime>\"\n },\n {\n \"number\": \"<integer>\",\n \"value\": \"<double>\",\n \"dueDate\": \"<dateTime>\"\n }\n ]\n }"}],"_postman_id":"cf45f0a2-cae5-4822-9ec7-56c128617e95"},{"name":"{{baseUrl}}/api/paymentPlans/:id/installments","id":"e63dde04-3d00-4d9d-9b5f-a5d97e42ab07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/paymentPlans/:id/installments?amount=<double>&order=<integer>&people=<integer>&installment=<integer>&creditCard=<integer>&points=<integer>&checkingAccount=<double>","description":"<p>This resource is responsible for executing an order multiple payment plan.</p>\n","urlObject":{"path":["api","paymentPlans",":id","installments"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Payment amount value.</p>\n","type":"text/plain"},"key":"amount","value":"<double>"},{"description":{"content":"<p>Optional. Request code.</p>\n","type":"text/plain"},"key":"order","value":"<integer>"},{"description":{"content":"<p>Optional. People ID.</p>\n","type":"text/plain"},"key":"people","value":"<integer>"},{"description":{"content":"<p>Optional. Installment value.</p>\n","type":"text/plain"},"key":"installment","value":"<integer>"},{"description":{"content":"<p>Optional. Credit card banner.</p>\n","type":"text/plain"},"key":"creditCard","value":"<integer>"},{"description":{"content":"<p>Optional. Points amount value.</p>\n","type":"text/plain"},"key":"points","value":"<integer>"},{"description":{"content":"<p>Optional. Checking account amount value.</p>\n","type":"text/plain"},"key":"checkingAccount","value":"<double>"}],"variable":[{"id":"423f793d-0b11-4401-af34-b00408647cd8","description":{"content":"<p><strong>(Required)</strong> Payment plan ID.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[],"_postman_id":"e63dde04-3d00-4d9d-9b5f-a5d97e42ab07"}],"id":"c372fce5-164c-4afa-b60d-4eda879bdc03","_postman_id":"c372fce5-164c-4afa-b60d-4eda879bdc03","description":""},{"name":"Invoices","item":[{"name":"{{baseUrl}}/api/invoices","id":"caac2d70-2616-4917-8cfe-e8bf2b8845db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/invoices?orderCode=<integer>&invoiceCode=<integer>&invoiceNumber=<integer>&invoiceSerialNumber=<integer>&invoiceType=<integer>","urlObject":{"path":["api","invoices"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Order Code</p>\n","type":"text/plain"},"key":"orderCode","value":"<integer>"},{"description":{"content":"<p>Invoice Code</p>\n","type":"text/plain"},"key":"invoiceCode","value":"<integer>"},{"description":{"content":"<p>Invoice Number</p>\n","type":"text/plain"},"key":"invoiceNumber","value":"<integer>"},{"description":{"content":"<p>Invoice Serial Number</p>\n","type":"text/plain"},"key":"invoiceSerialNumber","value":"<integer>"},{"description":{"content":"<p>Invoice Tyoe</p>\n","type":"text/plain"},"key":"invoiceType","value":"<integer>"}],"variable":[]}},"response":[{"id":"81a21ea1-8d22-4d9d-8115-e5cfe11b97da","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/invoices?orderCode=<integer>&invoiceCode=<integer>&invoiceNumber=<integer>&invoiceSerialNumber=<integer>&invoiceType=<integer>","host":["{{baseUrl}}"],"path":["api","invoices"],"query":[{"key":"orderCode","value":"<integer>"},{"key":"invoiceCode","value":"<integer>"},{"key":"invoiceNumber","value":"<integer>"},{"key":"invoiceSerialNumber","value":"<integer>"},{"key":"invoiceType","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"number\": \"<integer>\",\n \"serialNumber\": \"<integer>\",\n \"orderCode\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"number\": \"<integer>\",\n \"serialNumber\": \"<integer>\",\n \"orderCode\": \"<integer>\"\n }\n ]"}],"_postman_id":"caac2d70-2616-4917-8cfe-e8bf2b8845db"},{"name":"{{baseUrl}}/api/invoices/:id/report","id":"ca738746-2867-4d4d-abe0-b274cdd33659","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/invoices/:id/report","urlObject":{"path":["api","invoices",":id","report"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"740fcdb4-9fb6-4d91-ac0d-79c0ff1be491","description":{"content":"<p><strong>(Required)</strong> Invoice Id</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"29360f13-0857-4a41-95d5-f846615b8609","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/invoices/:id/report","host":["{{baseUrl}}"],"path":["api","invoices",":id","report"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"url\": \"<string>\",\n \"returnObject\": \"<object> \"\n }"}],"_postman_id":"ca738746-2867-4d4d-abe0-b274cdd33659"}],"id":"e2196a5c-e79c-4815-bb53-83ea7ec0e426","_postman_id":"e2196a5c-e79c-4815-bb53-83ea7ec0e426","description":""},{"name":"Residual Current Account","item":[{"name":"{{baseUrl}}/api/sellers/:id/residualBankAccount","id":"836ec0fa-36da-4f14-9661-3155f7284d7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/residualBankAccount?originType=<integer>&originType=<integer>&includeOptions=<string>&includeOptions=<string>","urlObject":{"path":["api","sellers",":id","residualBankAccount"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Residual bank account origin types</p>\n","type":"text/plain"},"key":"originType","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Residual bank account origin types</p>\n","type":"text/plain"},"key":"originType","value":"<integer>"},{"description":{"content":"<p>For return more information</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"},{"description":{"content":"<p>For return more information</p>\n","type":"text/plain"},"key":"includeOptions","value":"<string>"}],"variable":[{"id":"4d779b3a-0e7e-4ccf-9233-3c55d39c0593","description":{"content":"<p><strong>(Required)</strong> Seller code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"5ce3c343-83de-41fd-9cc4-1d94692bc252","name":"List of Items to Choose","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/residualBankAccount?originType=<integer>&originType=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","sellers",":id","residualBankAccount"],"query":[{"key":"originType","value":"<integer>"},{"key":"originType","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"sellerCode\": \"<integer>\",\n \"sellerName\": \"<string>\",\n \"total\": \"<double>\",\n \"details\": [\n {\n \"code\": \"<integer>\",\n \"value\": \"<double>\",\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"generationDate\": \"<dateTime>\",\n \"originType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"userLimitDate\": \"<dateTime>\"\n },\n {\n \"code\": \"<integer>\",\n \"value\": \"<double>\",\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"generationDate\": \"<dateTime>\",\n \"originType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"userLimitDate\": \"<dateTime>\"\n }\n ],\n \"history\": [\n {\n \"code\": \"<integer>\",\n \"residualBankAccountCode\": \"<double>\",\n \"operatorUserCode\": \"<integer>\",\n \"operationDate\": \"<dateTime>\",\n \"oldStatus\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"newStatus\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"oldUsingOrder\": \"<integer>\",\n \"newUsingOrder\": \"<integer>\",\n \"annotations\": \"<string>\",\n \"value\": \"<double>\"\n },\n {\n \"code\": \"<integer>\",\n \"residualBankAccountCode\": \"<double>\",\n \"operatorUserCode\": \"<integer>\",\n \"operationDate\": \"<dateTime>\",\n \"oldStatus\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"newStatus\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"oldUsingOrder\": \"<integer>\",\n \"newUsingOrder\": \"<integer>\",\n \"annotations\": \"<string>\",\n \"value\": \"<double>\"\n }\n ]\n }"},{"id":"7602b448-498b-424b-b889-78de166bfc14","name":"Unauthorized - Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/residualBankAccount?originType=<integer>&originType=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","sellers",":id","residualBankAccount"],"query":[{"key":"originType","value":"<integer>"},{"key":"originType","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a5e646c1-2e9c-49b7-8d33-15a163c2f416","name":"There is no residual bank account with specified Seller Code.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/residualBankAccount?originType=<integer>&originType=<integer>&includeOptions=<string>&includeOptions=<string>","host":["{{baseUrl}}"],"path":["api","sellers",":id","residualBankAccount"],"query":[{"key":"originType","value":"<integer>"},{"key":"originType","value":"<integer>"},{"key":"includeOptions","value":"<string>"},{"key":"includeOptions","value":"<string>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"836ec0fa-36da-4f14-9661-3155f7284d7a"}],"id":"1aab8d2d-55eb-48f7-86f5-00782c9ab196","_postman_id":"1aab8d2d-55eb-48f7-86f5-00782c9ab196","description":""}],"id":"e87cd444-e947-4d58-8934-adfe67360ef5","description":"<p>Consult and renegotiate debts, invoices, balances and remuneration for remaining indications. </p>\n<p> <em><strong>This module is under construction, we will have more details available soon.</strong></em></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7e645619-5392-4acf-8ba3-a6fae9091b79"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"18b6a18b-f6ef-4cdb-b6e4-8e19c33095a2"}}],"_postman_id":"e87cd444-e947-4d58-8934-adfe67360ef5"},{"name":"Logistics","item":[{"name":"Internal logistics","item":[{"name":"Distribution center","item":[{"name":"{{baseUrl}}/api/DistributionCenter","id":"c0765e32-8fda-413b-99fe-680b815c85d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/DistributionCenter?name=<string>","urlObject":{"path":["api","DistributionCenter"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Name (complete or partial) of the distribution center.</p>\n","type":"text/plain"},"key":"name","value":"<string>"}],"variable":[]}},"response":[{"id":"0825965e-b8e1-4c37-8d63-5510999ba40e","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/DistributionCenter?name=<string>","host":["{{baseUrl}}"],"path":["api","DistributionCenter"],"query":[{"key":"name","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"distributionCenterType\": \"<integer>\",\n \"corporateName\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"distributionCenterType\": \"<integer>\",\n \"corporateName\": \"<string>\"\n }\n ]"}],"_postman_id":"c0765e32-8fda-413b-99fe-680b815c85d6"},{"name":"{{baseUrl}}/api/DistributionCenter/:id","id":"64a6e4f6-ed07-4bb9-a0bd-e7adcd330796","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/DistributionCenter/:id","urlObject":{"path":["api","DistributionCenter",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"8798bb07-e671-46e6-9a2d-1ce590bd2c03","description":{"content":"<p><strong>(Required)</strong> It's a distribution center identifier</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"c311427b-af42-4e5d-a382-fdd20fcc4109","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/DistributionCenter/:id","host":["{{baseUrl}}"],"path":["api","DistributionCenter",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"distributionCenterType\": \"<integer>\",\n \"corporateName\": \"<string>\"\n }"}],"_postman_id":"64a6e4f6-ed07-4bb9-a0bd-e7adcd330796"}],"id":"113d11d3-42f0-4403-ab25-51661a81d30f","_postman_id":"113d11d3-42f0-4403-ab25-51661a81d30f","description":""},{"name":"Separation line","item":[{"name":"{{baseUrl}}/api/PickingLines","id":"90b8bd5e-8e1f-4af9-bd3d-9b9f25dbe24f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/PickingLines?distributionCenterCode=<integer>&name=<string>&pickingLineStatus=<integer>","urlObject":{"path":["api","PickingLines"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Distribution Center Code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p>Name (complete or partial) of the picking line.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Picking line status (Domain).</p>\n","type":"text/plain"},"key":"pickingLineStatus","value":"<integer>"}],"variable":[]}},"response":[{"id":"b6c8d595-e899-4996-8bd6-195e14239245","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/PickingLines?distributionCenterCode=<integer>&name=<string>&pickingLineStatus=<integer>","host":["{{baseUrl}}"],"path":["api","PickingLines"],"query":[{"key":"distributionCenterCode","value":"<integer>"},{"key":"name","value":"<string>"},{"key":"pickingLineStatus","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"pickingLineStatus\": \"<integer>\",\n \"stationQuantity\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"pickingLineStatus\": \"<integer>\",\n \"stationQuantity\": \"<integer>\"\n }\n ]"}],"_postman_id":"90b8bd5e-8e1f-4af9-bd3d-9b9f25dbe24f"},{"name":"{{baseUrl}}/api/PickingLines/:id","id":"2204a241-8b0d-4b3e-afe8-9463847b5b1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/PickingLines/:id","urlObject":{"path":["api","PickingLines",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"bda3ec34-ad76-4b9f-b5f1-7bac48de83db","description":{"content":"<p><strong>(Required)</strong> It's a picking line identifier</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"b63e7fc2-2169-4f97-9423-1c4f5ed7d8b5","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/PickingLines/:id","host":["{{baseUrl}}"],"path":["api","PickingLines",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"pickingLineStatus\": \"<integer>\",\n \"stationQuantity\": \"<integer>\"\n }"}],"_postman_id":"2204a241-8b0d-4b3e-afe8-9463847b5b1d"}],"id":"81342f32-170c-4c5b-bc34-6ac3bd1531dd","_postman_id":"81342f32-170c-4c5b-bc34-6ac3bd1531dd","description":""},{"name":"{{baseUrl}}/api/Products/:id/stock","id":"95482f4f-071e-4b61-b44a-d40852ef6a88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Products/:id/stock?cycle=<integer>&sellerCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&distributionCenterCode=<integer>","description":"<p>Get product stock according to the product code, cycle, function and business model</p>\n","urlObject":{"path":["api","Products",":id","stock"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Cycle Number</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Seller Code</p>\n","type":"text/plain"},"key":"sellerCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Function Code</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Required)</strong> Business Model Code</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p>Optional. Distribution Center Code</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"}],"variable":[{"id":"15cd5be5-022d-4930-8007-2556f402ac0a","description":{"content":"<p><strong>(Required)</strong> Product Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"1e5de7b5-69fe-4980-9a7f-7d0c61cea08c","name":"Return product stock.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Products/:id/stock?cycle=<integer>&sellerCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&distributionCenterCode=<integer>","host":["{{baseUrl}}"],"path":["api","Products",":id","stock"],"query":[{"key":"cycle","value":"<integer>"},{"key":"sellerCode","value":"<integer>"},{"key":"functionCode","value":"<integer>"},{"key":"businessModelCode","value":"<integer>"},{"key":"distributionCenterCode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"availableQuantity\": \"<integer>\",\n \"distributionCenter\": {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n \"stockCenter\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n }\n }\n ],\n \"productCode\": \"<integer>\",\n \"productName\": \"<string>\",\n \"productDescription\": \"<string>\",\n \"isKit\": \"<boolean>\",\n \"points\": \"<integer>\",\n \"unityPrice\": \"<double>\",\n \"materials\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"quantity\": \"<integer>\",\n \"externalCode\": \"<string>\"\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"quantity\": \"<integer>\",\n \"externalCode\": \"<string>\"\n }\n ],\n \"multipleSaleRestriction\": \"<integer>\",\n \"unitMeasurementType\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"quantityUnitMeasurement\": \"<double>\",\n \"pricePerUnitMeasurement\": \"<double>\"\n }"},{"id":"c5dc7447-680c-4427-a3a7-52303a358418","name":"Invalid required attributes In (id, cycle, functionCode, businessModelCode).","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Products/:id/stock?cycle=<integer>&sellerCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&distributionCenterCode=<integer>","host":["{{baseUrl}}"],"path":["api","Products",":id","stock"],"query":[{"key":"cycle","value":"<integer>"},{"key":"sellerCode","value":"<integer>"},{"key":"functionCode","value":"<integer>"},{"key":"businessModelCode","value":"<integer>"},{"key":"distributionCenterCode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"0eb00608-ea54-495a-89a7-4a321807d622","name":"Unauthorized, this product is suspended.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Products/:id/stock?cycle=<integer>&sellerCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&distributionCenterCode=<integer>","host":["{{baseUrl}}"],"path":["api","Products",":id","stock"],"query":[{"key":"cycle","value":"<integer>"},{"key":"sellerCode","value":"<integer>"},{"key":"functionCode","value":"<integer>"},{"key":"businessModelCode","value":"<integer>"},{"key":"distributionCenterCode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d47c0929-2c6e-4d3a-ad13-c7fd510c72fd","name":"Forbidden - The request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Products/:id/stock?cycle=<integer>&sellerCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&distributionCenterCode=<integer>","host":["{{baseUrl}}"],"path":["api","Products",":id","stock"],"query":[{"key":"cycle","value":"<integer>"},{"key":"sellerCode","value":"<integer>"},{"key":"functionCode","value":"<integer>"},{"key":"businessModelCode","value":"<integer>"},{"key":"distributionCenterCode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7d249046-e57a-4955-a64d-d34fd85fabc8","name":"There is no stock matching specified filter values.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Products/:id/stock?cycle=<integer>&sellerCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&distributionCenterCode=<integer>","host":["{{baseUrl}}"],"path":["api","Products",":id","stock"],"query":[{"key":"cycle","value":"<integer>"},{"key":"sellerCode","value":"<integer>"},{"key":"functionCode","value":"<integer>"},{"key":"businessModelCode","value":"<integer>"},{"key":"distributionCenterCode","value":"<integer>"}],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"95482f4f-071e-4b61-b44a-d40852ef6a88"},{"name":"{{baseUrl}}/api/Boxes","id":"7500c30c-254d-469b-81f5-c92fff76c05a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Boxes?id=<integer>","urlObject":{"path":["api","Boxes"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Required)</strong> Description of the ID parameter, box code.</p>\n","type":"text/plain"},"key":"id","value":"<integer>"}],"variable":[]}},"response":[{"id":"e4886478-8cf9-42fb-a935-0de1d07b9fcc","name":"A box with specified id was found and was returned on response body.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Boxes?id=<integer>","host":["{{baseUrl}}"],"path":["api","Boxes"],"query":[{"key":"id","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\"\n }"},{"id":"9a4e36e3-64a5-4fcd-a393-420b679c2367","name":"Authentication failure; missing or invalid authentication token; this api requires authentication.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Boxes?id=<integer>","host":["{{baseUrl}}"],"path":["api","Boxes"],"query":[{"key":"id","value":"<integer>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"2eb372e8-e46d-4ec5-b4a6-d86b7e028b0c","name":"Authorization failure; authenticated user has no permission to execute this.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Boxes?id=<integer>","host":["{{baseUrl}}"],"path":["api","Boxes"],"query":[{"key":"id","value":"<integer>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"fe339b2c-2b22-45a1-a917-3f368fbdbfa5","name":"No box with specified id was found.","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Boxes?id=<integer>","host":["{{baseUrl}}"],"path":["api","Boxes"],"query":[{"key":"id","value":"<integer>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7500c30c-254d-469b-81f5-c92fff76c05a"}],"id":"24e4643e-21f1-4e3d-8330-992b34ee891b","_postman_id":"24e4643e-21f1-4e3d-8330-992b34ee891b","description":""},{"name":"External Logistics","item":[{"name":"Support Center","item":[{"name":"{{baseUrl}}/api/SupportCenters","id":"e96b505b-2e90-411d-bc31-7d20980e3be9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/SupportCenters?name=<string>&supportCenterStatus=<integer>","urlObject":{"path":["api","SupportCenters"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Name (complete or partial) of the support center.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Support center status (Domain).</p>\n","type":"text/plain"},"key":"supportCenterStatus","value":"<integer>"}],"variable":[]}},"response":[{"id":"58ce5fba-0cba-4d10-a40c-a473f2db3c7c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SupportCenters?name=<string>&supportCenterStatus=<integer>","host":["{{baseUrl}}"],"path":["api","SupportCenters"],"query":[{"key":"name","value":"<string>"},{"key":"supportCenterStatus","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"supportCenterStatus\": \"<integer>\",\n \"supportCenterStatusDomain\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"address\": \"<string>\",\n \"selected\": \"<boolean>\",\n \"maximumTimeOrdersInSuportCenter\": \"<integer>\",\n \"supportCenterHours\": [\n {\n \"dayWeek\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"openingMorningHours\": \"<integer>\",\n \"endingMorningHours\": \"<integer>\",\n \"openingAfternoonHours\": \"<integer>\",\n \"endingAfternoonHours\": \"<integer>\"\n },\n {\n \"dayWeek\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"openingMorningHours\": \"<integer>\",\n \"endingMorningHours\": \"<integer>\",\n \"openingAfternoonHours\": \"<integer>\",\n \"endingAfternoonHours\": \"<integer>\"\n }\n ],\n \"supportCenterPeoples\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"supportCenterStatus\": \"<integer>\",\n \"supportCenterStatusDomain\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"address\": \"<string>\",\n \"selected\": \"<boolean>\",\n \"maximumTimeOrdersInSuportCenter\": \"<integer>\",\n \"supportCenterHours\": [\n {\n \"dayWeek\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"openingMorningHours\": \"<integer>\",\n \"endingMorningHours\": \"<integer>\",\n \"openingAfternoonHours\": \"<integer>\",\n \"endingAfternoonHours\": \"<integer>\"\n },\n {\n \"dayWeek\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"openingMorningHours\": \"<integer>\",\n \"endingMorningHours\": \"<integer>\",\n \"openingAfternoonHours\": \"<integer>\",\n \"endingAfternoonHours\": \"<integer>\"\n }\n ],\n \"supportCenterPeoples\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ]\n }\n ]\n }\n ]"}],"_postman_id":"e96b505b-2e90-411d-bc31-7d20980e3be9"},{"name":"{{baseUrl}}/api/SupportCenters/:id","id":"d94ee303-4242-44c2-987b-6dec9f07ad98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/SupportCenters/:id","urlObject":{"path":["api","SupportCenters",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"08c0094a-0953-465d-bff8-4cccc8c60120","description":{"content":"<p><strong>(Required)</strong> It's a support center identifier.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"bb4356cc-9440-44e5-9ad5-85a16de18bba","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/SupportCenters/:id","host":["{{baseUrl}}"],"path":["api","SupportCenters",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"supportCenterStatus\": \"<integer>\",\n \"supportCenterStatusDomain\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"address\": \"<string>\",\n \"selected\": \"<boolean>\",\n \"maximumTimeOrdersInSuportCenter\": \"<integer>\",\n \"supportCenterHours\": [\n {\n \"dayWeek\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"openingMorningHours\": \"<integer>\",\n \"endingMorningHours\": \"<integer>\",\n \"openingAfternoonHours\": \"<integer>\",\n \"endingAfternoonHours\": \"<integer>\"\n },\n {\n \"dayWeek\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"openingMorningHours\": \"<integer>\",\n \"endingMorningHours\": \"<integer>\",\n \"openingAfternoonHours\": \"<integer>\",\n \"endingAfternoonHours\": \"<integer>\"\n }\n ],\n \"supportCenterPeoples\": [\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ]\n },\n {\n \"code\": \"<integer>\",\n \"name\": \"<string>\",\n \"emails\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"email\": \"<string>\"\n }\n ],\n \"telephones\": [\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n },\n {\n \"type\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"telephone\": \"<string>\"\n }\n ]\n }\n ]\n }"}],"_postman_id":"d94ee303-4242-44c2-987b-6dec9f07ad98"}],"id":"f74cb957-7562-4750-8269-886ddba610f8","_postman_id":"f74cb957-7562-4750-8269-886ddba610f8","description":""}],"id":"91591be0-2a6a-4b6a-9324-0b37d3e93d52","_postman_id":"91591be0-2a6a-4b6a-9324-0b37d3e93d52","description":""},{"name":"Materials","item":[{"name":"{{baseUrl}}/api/Materials","id":"e1333371-408d-4674-b964-0badf5ac0c38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Materials?externalCode=<string>&name=<string>&sortOptions=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","Materials"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>External code of material.</p>\n","type":"text/plain"},"key":"externalCode","value":"<string>"},{"description":{"content":"<p>Name of material.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Sort options: \"externalCode\", \"externalCode desc\", \"name\" or \"name desc\".</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Page number.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page size.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"62ab7c4c-a978-4f6b-8b08-8f32ecc1ad5a","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Materials?externalCode=<string>&name=<string>&sortOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Materials"],"query":[{"key":"externalCode","value":"<string>"},{"key":"name","value":"<string>"},{"key":"sortOptions","value":"<string>"},{"key":"page","value":"<integer>"},{"key":"pageSize","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"<integer>\",\n \"externalCode\": \"<string>\",\n \"name\": \"<string>\",\n \"volume\": \"<double>\",\n \"weight\": \"<double>\",\n \"minimumBoxCode\": \"<integer>\",\n \"categoryId\": \"<integer>\",\n \"categoryInfo\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"publicHealthCode\": \"<string>\",\n \"sourceCountryCode\": \"<integer>\",\n \"eanDun\": \"<string>\",\n \"manufacturingLotControlId\": \"<integer>\",\n \"manufacturingLotControlInfo\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"expiringDaysRefuseLot\": \"<integer>\",\n \"expiringDaysUseLot\": \"<integer>\"\n },\n {\n \"code\": \"<integer>\",\n \"externalCode\": \"<string>\",\n \"name\": \"<string>\",\n \"volume\": \"<double>\",\n \"weight\": \"<double>\",\n \"minimumBoxCode\": \"<integer>\",\n \"categoryId\": \"<integer>\",\n \"categoryInfo\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"publicHealthCode\": \"<string>\",\n \"sourceCountryCode\": \"<integer>\",\n \"eanDun\": \"<string>\",\n \"manufacturingLotControlId\": \"<integer>\",\n \"manufacturingLotControlInfo\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"expiringDaysRefuseLot\": \"<integer>\",\n \"expiringDaysUseLot\": \"<integer>\"\n }\n ]"}],"_postman_id":"e1333371-408d-4674-b964-0badf5ac0c38"},{"name":"{{baseUrl}}/api/Materials/:id","id":"2f127cc0-3c85-4ff1-ba83-fa2d083dd568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Materials/:id","urlObject":{"path":["api","Materials",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"4de865b2-975a-48bc-b580-8121d674a0cf","description":{"content":"<p><strong>(Required)</strong> The id (internal code) of the material.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"298fcca0-a61a-4dfd-ac87-fa0c3527f0cc","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Materials/:id","host":["{{baseUrl}}"],"path":["api","Materials",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"<integer>\",\n \"externalCode\": \"<string>\",\n \"name\": \"<string>\",\n \"volume\": \"<double>\",\n \"weight\": \"<double>\",\n \"minimumBoxCode\": \"<integer>\",\n \"categoryId\": \"<integer>\",\n \"categoryInfo\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"publicHealthCode\": \"<string>\",\n \"sourceCountryCode\": \"<integer>\",\n \"eanDun\": \"<string>\",\n \"manufacturingLotControlId\": \"<integer>\",\n \"manufacturingLotControlInfo\": {\n \"id\": \"<integer>\",\n \"description\": \"<string>\"\n },\n \"expiringDaysRefuseLot\": \"<integer>\",\n \"expiringDaysUseLot\": \"<integer>\"\n }"}],"_postman_id":"2f127cc0-3c85-4ff1-ba83-fa2d083dd568"},{"name":"{{baseUrl}}/api/Materials/:id","id":"b228557a-179c-4f48-9c3c-a002fd3067a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"<integer>"},{"key":"volume","value":"<double>"},{"key":"weight","value":"<double>"},{"key":"minimumBoxCode","value":"<integer>"},{"key":"categoryId","value":"<integer>"},{"key":"publicHealthCode","value":"<string>"},{"key":"sourceCountryCode","value":"<integer>"},{"key":"eanDun","value":"<string>"},{"key":"manufacturingLotControlId","value":"<integer>"},{"key":"expiringDaysRefuseLot","value":"<integer>"},{"key":"expiringDaysUseLot","value":"<integer>"}]},"url":"{{baseUrl}}/api/Materials/:id","urlObject":{"path":["api","Materials",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"c72999fe-52bb-42ac-8ace-f23c80d837c3","description":{"content":"<p><strong>(Required)</strong> The id (internal code) of the material.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"98753468-204b-410c-9b38-a96b44fe6089","name":"No Content","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"<integer>"},{"key":"volume","value":"<double>"},{"key":"weight","value":"<double>"},{"key":"minimumBoxCode","value":"<integer>"},{"key":"categoryId","value":"<integer>"},{"key":"publicHealthCode","value":"<string>"},{"key":"sourceCountryCode","value":"<integer>"},{"key":"eanDun","value":"<string>"},{"key":"manufacturingLotControlId","value":"<integer>"},{"key":"expiringDaysRefuseLot","value":"<integer>"},{"key":"expiringDaysUseLot","value":"<integer>"}]},"url":{"raw":"{{baseUrl}}/api/Materials/:id","host":["{{baseUrl}}"],"path":["api","Materials",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b228557a-179c-4f48-9c3c-a002fd3067a1"}],"id":"0912e91c-f941-464a-a289-d616b2a74459","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"62507134-70ce-4d51-a398-a3c5caaf3475"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"1e360857-3a02-4547-bc47-3d7fa7fbd7fd"}}],"_postman_id":"0912e91c-f941-464a-a289-d616b2a74459","description":""}],"id":"57a2e5e1-8eeb-438a-9686-adc46d828be8","description":"<p>Learn about the services available for managing the logistics center: a broad view of the center's operation, separation line, product and material stocks. </p>\n<p> <em><strong>This module is under construction, we will have more details available soon.</strong></em></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"9b3968ad-25ed-415f-9751-8ccaf7d4fe80"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"38215205-537b-44a8-895c-ba120e0b43b7"}}],"_postman_id":"57a2e5e1-8eeb-438a-9686-adc46d828be8"},{"name":"Marketing","item":[{"name":"Coverage","item":[{"name":"Consult scope by code","id":"31189aad-fb30-408d-b09b-d63313af14b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/coverages/:id","urlObject":{"path":["api","coverages",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"6247a7da-6daf-43da-94c3-714899af8bf6","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Scope code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"872d16ff-10d8-4a92-995a-5bb4cc0d2bc6","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/coverages/:id","host":["{{baseUrl}}"],"path":["api","coverages",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Scope code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Scope code\",\r\n \"description\": {\r\n \"code\": \"Scope code\",\r\n \"description\": \"Description of scope\",\r\n \"locale\": \"Description Language\"\r\n },\r\n \"initialCycle\": \"Initial cycle\",\r\n \"finalCycle\": \"Final cycle\",\r\n \"isExpired\": \"Indicates scope is expired (true/false)\",\r\n \"type\": {\r\n \"id\": \"Scope Type Code\",//Possible Glossary Values(Scope Types)\r\n \"description\": \"Description of scope type\"\r\n }\r\n }"},{"id":"5a65f5d6-ebf2-47a5-a133-44484ccaabb6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/coverages/:id","host":["{{baseUrl}}"],"path":["api","coverages",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Scope code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": 412,\n \"description\": {\n \"code\": 412,\n \"description\": \"No restrictions.\",\n \"locale\": \"pt-BR\"\n },\n \"initialCycle\": 201702,\n \"finalCycle\": 202112,\n \"isExpired\": false,\n \"type\": {\n \"id\": 6,\n \"description\": \"Commercial Campaign\"\n }\n }"}],"_postman_id":"31189aad-fb30-408d-b09b-d63313af14b9"},{"name":"Consult scope validity by code and function","id":"73774918-1dff-4314-81ec-57402415acd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/coverages/:id/validate?functionCode=<integer>&commercialStructureCode=<integer>&cycle=<integer>","urlObject":{"path":["api","coverages",":id","validate"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> function code</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p>commercial structure code</p>\n","type":"text/plain"},"key":"commercialStructureCode","value":"<integer>"},{"description":{"content":"<p>Campaign</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[{"id":"8053f618-46e5-44c4-8064-f0f6b7b0cbc3","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Scope code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d9c7aba0-b42f-48b8-9122-4b8517a1ab48","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/coverages/:id/validate?functionCode=<integer>&commercialStructureCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","coverages",":id","validate"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n function code"},{"key":"commercialStructureCode","value":"<integer>","description":"commercial structure code"},{"key":"cycle","value":"<integer>","description":"Campaign"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Scope code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"result\": \"Indicates if the scope is valid (true/false)\"\n }"},{"id":"a27d9934-9dec-429f-815c-9446016c3be7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/coverages/:id/validate?functionCode=<integer>&commercialStructureCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","coverages",":id","validate"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n function code"},{"key":"commercialStructureCode","value":"<integer>","description":"commercial structure code"},{"key":"cycle","value":"<integer>","description":"Campaign"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Scope code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"result\": true\r\n }"}],"_postman_id":"73774918-1dff-4314-81ec-57402415acd1"}],"id":"19f82e2f-c58c-4191-8f3e-3bbf43c3d38a","_postman_id":"19f82e2f-c58c-4191-8f3e-3bbf43c3d38a","description":""},{"name":"Products","item":[{"name":"Browse product by code","id":"29984bbb-2ca1-40da-a4d8-f47574791252","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Products/:id?includeOptions=materials","description":"<p>Browse product by code</p>\n<p> The data returned is basic;\n To return more complete data, it is necessary to inform the includeOptions parameter.</p>\n","urlObject":{"path":["api","Products",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Add material data to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"materials"}],"variable":[{"id":"9bc0b7b8-d7e8-4411-a1fd-2da350fbeeb6","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> product code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"de173d5d-63f2-427d-8b6b-adbb06f543e5","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Products/:id?includeOptions=materials","host":["{{baseUrl}}"],"path":["api","Products",":id"],"query":[{"key":"includeOptions","value":"materials","description":"Adds an object with the materials to the query return"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n product code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"productCode\": \"Product code\",\r\n \"productName\": \"Product Name\",\r\n \"productDescription\": \"Product description\",\r\n \"isKit\": \"Indicates whether or not it is a kit (true/false)\",\r\n \"materials\": [//List of materials\r\n {\r\n \"code\": \"Material code\",\r\n \"name\": \"Material description\",\r\n \"quantity\": \"Amount needed\",\r\n \"externalCode\": \"External material code\"\r\n }\r\n ],\r\n \"multipleSaleRestriction\": \"Indicates the quantity restriction for sale\"\r\n }"},{"id":"86c82236-e203-4ab6-b93a-6ce4a71609c9","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Products/:id?includeOptions=materials","host":["{{baseUrl}}"],"path":["api","Products",":id"],"query":[{"key":"includeOptions","value":"materials","description":"Adds an object with the materials to the query return"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n product code"}]}},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"productCode\": 177,\r\n \"productName\": \"Product 177\",\r\n \"productDescription\": \"Product Description 177\",\r\n \"isKit\": true,\r\n \"materials\": [\r\n {\r\n \"code\": 249,\r\n \"name\": \"Material 177\",\r\n \"quantity\": 10,\r\n \"externalCode\": \"177\"\r\n },\r\n {\r\n \"code\": 182,\r\n \"name\": \"Material 110\",\r\n \"quantity\": 2,\r\n \"externalCode\": \"110\"\r\n }\r\n ],\r\n \"multipleSaleRestriction\": 3\r\n }"}],"_postman_id":"29984bbb-2ca1-40da-a4d8-f47574791252"},{"name":"See product structure","id":"1b9954ca-c2b0-4adb-bf73-f0058596f640","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/productStructures?code=<integer>&name=<string>&isWebStoreAllowed=<boolean>&page=<integer>&pageSize=<integer>","description":"<p>See product structure</p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. \n These values are determined by the page and pageSize parameters respectively. </p>\n<p> The data returned is basic;\n To return more complete data, it is necessary to inform the includeOptions parameter.</p>\n","urlObject":{"path":["api","productStructures"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>structure code</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Name (or part of the name) of the structure or related structure</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Structures allowed for viewing on the WebStore</p>\n","type":"text/plain"},"key":"isWebStoreAllowed","value":"<boolean>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. </p>\n<p> A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the response header of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records</p>\n<p> for the filters informed. By dividing this amount by the value entered in the <code>pageSize</code> parameter,</p>\n<p> you get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. </p>\n<p> A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the response header of this request, the parameter <code>x-record-count</code> is returned with the total number of records</p>\n<p> existing for the filters informed. By dividing this amount by the value entered in the <code>pageSize</code> parameter,</p>\n<p> you get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"67cdfd72-926b-4fe9-ac6b-d4ceb3f962b3","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/productStructures?code=<integer>&name=<string>&isWebStoreAllowed=<boolean>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","productStructures"],"query":[{"key":"code","value":"<integer>","description":"structure code"},{"key":"name","value":"<string>","description":"Name (or part of the name) of the structure or related structure"},{"key":"isWebStoreAllowed","value":"<boolean>","description":"Structures allowed for viewing on the WebStore"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. \n\n A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the response header of this request, the parameter `x-record-count` is returned with the total amount of existing records\n\n for the filters informed. By dividing this amount by the value entered in the `pageSize` parameter,\n\n you get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. \n\n A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the response header of this request, the parameter `x-record-count` is returned with the total number of records\n\n existing for the filters informed. By dividing this amount by the value entered in the `pageSize` parameter,\n\n you get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[//List of structures\r\n {\r\n \"code\": \"Structure code\",\r\n \"name\": \"Structure name\",\r\n \"level\": \"Structure level\",\r\n \"fullStructurePath\": [//List of Upper Structures - List of names, here is an example of a structure with two upper levels\r\n \"Name of structure &#39;grandfather&#39;\",\r\n \"Name of parent structure\",\r\n \"Structure Name\"\r\n ]\r\n }\r\n ]"},{"id":"ddb13992-86b5-4772-979f-433079fc0bf6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/productStructures?code=<integer>&name=<string>&isWebStoreAllowed=<boolean>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","productStructures"],"query":[{"key":"code","value":"<integer>","description":"structure code"},{"key":"name","value":"<string>","description":"Name (or part of the name) of the structure or related structure"},{"key":"isWebStoreAllowed","value":"<boolean>","description":"Structures allowed for viewing on the WebStore"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. \n\n A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the response header of this request, the parameter `x-record-count` is returned with the total amount of existing records\n\n for the filters informed. By dividing this amount by the value entered in the `pageSize` parameter,\n\n you get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. \n\n A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the response header of this request, the parameter `x-record-count` is returned with the total number of records\n\n existing for the filters informed. By dividing this amount by the value entered in the `pageSize` parameter,\n\n you get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[//Example query by name \"perf\", no code\r\n {\r\n \"code\": 6,\r\n \"name\": \"Perfumery\",\r\n \"level\": 1,\r\n \"fullStructurePath\": [\r\n \"The boticario\",\r\n \"Perfumery\"\r\n ]\r\n },\r\n {\r\n \"code\": 7,\r\n \"name\": \"Male\",\r\n \"level\": 2,\r\n \"fullStructurePath\": [\r\n \"The boticario\",\r\n \"Perfumery\",\r\n \"Masculine\"\r\n ]\r\n },\r\n {\r\n \"code\": 16,\r\n \"name\": \"Female\",\r\n \"level\": 2,\r\n \"fullStructurePath\": [\r\n \"The boticario\", \r\n \"Perfumery\",\r\n \"Feminine\"\r\n ]\r\n },\r\n {\r\n \"code\": 50,\r\n \"name\": \"Imported perfumes\",\r\n \"level\": 2,\r\n \"fullStructurePath\": [\r\n \"The boticario\",\r\n \"Perfumery\",\r\n \"Imported perfumes\"\r\n ]\r\n }\r\n ]"}],"_postman_id":"1b9954ca-c2b0-4adb-bf73-f0058596f640"},{"name":"Add or update prices for a product","id":"3f1da98e-c841-4840-9754-186a1f129e6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"prices","value":"[{\"priceFrom\":\"<decimal>\"\"price\":\"<decimal>\"\"points\":\"<integer>\"\"multilevelPoints\":\"<integer>\"\"minimumPrice\":\"<decimal>\"\"maximumPrice\":\"<decimal>\",\"coverageCode\":\"<integer>\"}]","description":"<p>Price of the product</p>\n<ul>\n<li><code>priceFrom</code> - Original price of the product</li>\n<li><code>price</code> - Product sales price</li>\n<li><code>points</code> - Number of points the product generates for installations that work with points</li>\n<li><code>multilevelPoints</code> - Number of points the product generates for multilevel installations</li>\n<li><code>minimumPrice</code> - Minimum selling price</li>\n<li><code>maximumPrice</code> - Maximum selling price</li>\n<li><code>coverageCode</code> - Price coverage code</li>\n</ul>\n","type":"text"}]},"url":"{{baseUrl}}/api/Products/:id/prices","description":"<p>Adds or updates the prices of a product, linked to a range of the Price type. \n If the scope informed is not linked to the product, then the price will be added to the product. \n If the scope already has a linked price, then it will be updated with the entered fields.</p>\n","urlObject":{"path":["api","Products",":id","prices"],"host":["{{baseUrl}}"],"query":[],"variable":[{"description":{"content":"<p><strong>Mandatory.</strong></p>\n<p> product code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"6d9d35e7-47f0-4f5f-8534-bb30de1c14dd","name":"OK","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"prices","value":"[{\"priceFrom\":\"<decimal>\"\"price\":\"<decimal>\"},\"points\":\"integer>\"},\"multilevelPoints\":\"integer>\"},\"minimumPrice\":\"<decimal>\"},\"maximumPrice\":\"decimal>\",\"coverageCode\":\"<integer>\"}]","description":"Price of the product\n - `priceFrom` - Original price of the product\n - `price` - Product sales price\n - `points` - Number of points the product generates for installations that work with points\n - `multilevelPoints` - Number of points the product generates for multilevel installations\n - `minimumPrice` - Minimum selling price\n - `maximumPrice` - Maximum selling price\n - `coverageCode` - Price coverage code","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/Products/:id/prices","host":["{{baseUrl}}"],"path":["api","Products",":id","prices"],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory.**\n\n product code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3f1da98e-c841-4840-9754-186a1f129e6b"}],"id":"a9631ade-2745-4226-9c71-cc3cad7752f3","_postman_id":"a9631ade-2745-4226-9c71-cc3cad7752f3","description":""},{"name":"Model Product","item":[{"name":"Consult model product by code","id":"da5e51a3-8df1-4aa8-b330-e2e6e05c30dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/productModels/:id","description":"<p>Get product according to the product code</p>\n","urlObject":{"path":["api","productModels",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f7551ace-cee7-4818-a463-f1ff736d39ec","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Model Product Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d50feaec-d762-4640-bdc7-82ecfc859982","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/productModels/:id","host":["{{baseUrl}}"],"path":["api","productModels",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Model Product Code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"productCode\": \"Model product code\",\r\n \"productName\": \"Name of model product\",\r\n \"productDescription\": \"Description of model product\"\r\n }"},{"id":"4fd5244e-916e-4cb8-baf1-c6156bd6051b","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/productModels/:id","host":["{{baseUrl}}"],"path":["api","productModels",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Model Product Code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"productCode\": 90000,\r\n \"productName\": \"Aviva Enamel Line\",\r\n \"productDescription\": \"Line aimed at the general female audience\"\r\n }"}],"_postman_id":"da5e51a3-8df1-4aa8-b330-e2e6e05c30dc"}],"id":"3f150f91-1b7b-4339-ad7d-a5c90b447a6c","_postman_id":"3f150f91-1b7b-4339-ad7d-a5c90b447a6c","description":""},{"name":"Business Rule","item":[{"name":"Consult business models","id":"33b16664-d1cc-453b-95ff-a864e78790e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/BusinessModels?name=<string>&functionCode=<integer>&roleCode=<integer>&sortOptions=<string>&collectionSystem=<byte>&applicationCode=<byte>&fixedDistributionCenterCode=<integer>","urlObject":{"path":["api","BusinessModels"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Model name (full or partial)</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Related Function Code</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p>Related role code</p>\n","type":"text/plain"},"key":"roleCode","value":"<integer>"},{"description":{"content":"<p>Result ordering</p>\n<p> <strong>Options:</strong></p>\n<p> \"code\": Ordering by code</p>\n<p> \"code desc\": Sorting by descending code</p>\n<p> \"name\": Sorting by name</p>\n<p> \"name desc\": Sort by descending name</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Capture System Type Code</p>\n<p> Possible values in the Glossary(Uptake Systems)</p>\n","type":"text/plain"},"key":"collectionSystem","value":"<byte>"},{"description":{"content":"<p>Application Code</p>\n<p> Possible values available in Glossary(Applications)</p>\n","type":"text/plain"},"key":"applicationCode","value":"<byte>"},{"description":{"content":"<p>Fixed distribution center code</p>\n","type":"text/plain"},"key":"fixedDistributionCenterCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"f35d2b80-7c09-48f1-b73b-1e92e79be18e","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/BusinessModels?name=<string>&functionCode=<integer>&roleCode=<integer>&sortOptions=<string>&collectionSystem=<byte>&applicationCode=<byte>&fixedDistributionCenterCode=<integer>","host":["{{baseUrl}}"],"path":["api","BusinessModels"],"query":[{"key":"name","value":"<string>","description":"Model name (full or partial)"},{"key":"functionCode","value":"<integer>","description":"Related Function Code"},{"key":"roleCode","value":"<integer>","description":"Related role code"},{"key":"sortOptions","value":"<string>","description":"Result ordering\n\n\n **Options:**\n\n \"code\": Ordering by code\n\n \"code desc\": Sorting by descending code\n\n \"name\": Sorting by name\n\n \"name desc\": Sort by descending name"},{"key":"collectionSystem","value":"<byte>","description":"Capture System Type Code\n\n Possible values in the Glossary(Uptake Systems)"},{"key":"applicationCode","value":"<byte>","description":"Application Code\n\n Possible values available in the Glossary(Capture Applications)"},{"key":"fixedDistributionCenterCode","value":"<integer>","description":"Fixed distribution center code"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Business Model Code\",\r\n \"name\": \"Business Model Description\",\r\n \"isSaveOrder\": \"Indicates whether to save/reserve the order (true/false)\",\r\n \"function\": {\r\n \"code\": \"Function code\",\r\n \"name\": \"Function Description\"\r\n },\r\n \"role\": [//Role List\r\n {\r\n \"code\": \"Paper Code\",\r\n \"name\": \"Role Description\"\r\n }\r\n ],\r\n \"orderingDescription\": \"Alternative pickup name\",\r\n \"configurationSystem\": {//System Settings (Depends on \"collectionSystem\" input parameter)\r\n \"allowsGiftPackaging\": \"Indicates whether gift wrapping is allowed (true/false)\", \r\n \"allowsMultiplePackagingItems\": \"Indicates whether to allow multiple packages(true/false)\",\r\n \"creditLimitConsideringTolerance\": \"Indicates whether the credit limit considers the store&#39;s tolerance (true/false)\",\r\n \"displayAlertMenssageExpiredData\": \"Indicates whether displays expired data message (true/false)\",\r\n \"displayExportImportItems\": \"Indicates whether it displays the option to import and export items from the virtual store (true/false)\",\r\n \"displayModalProductReplacement\": \"Indicates whether displays option to replace product (true/false)\",\r\n \"useAlternativeOrderingDescription\": \"Indicates whether to use alternative capture name (true/false)\",\r\n \"useCompositeMarketing\": \"Indicates whether you use marketing composite (true/false)\",\r\n \"useCompositeMarketingPastCycles\": \"Indicates whether you use marketing composite in past campaigns (true/false)\", \r\n \"quantityPastCyclesCompositeMarketing\": \"Amount of past campaigns to use composite marketing\",\r\n \"useCompositeMarketingFutureCycles\": \"Indicates whether to use marketing composite in future campaigns (true/false)\",\r\n \"quantityFutureCyclesCompositeMarketing\": \"Amount of future campaigns to use composite marketing\",\r\n \"savesReserveOrder\": \"Indicates whether to save/reserve the order (true/false)\",\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it allows residual checking account adjustment (true/false)\",\r\n \"displayAlertPartialPromotions\": \"Indicates whether to display the notice of partially won promotions (true/false)\",\r\n \"allowAddAddressesApplication\": \"Indicates if you want to add addresses (true/false)\",\r\n \"allowShowEditableAddresses\": \"Indicates whether to allow changing existing addresses (true/false)\",\r\n \"requiredSelectAccount\": \"Indicates whether the G/L account is mandatory in relation to the business model (System Parameter)\",\r\n \"usesBarcode\": \"Indicates whether it allows barcode capture (true/false)\"\r\n },\r\n \"controlCenter\":[//List of control centers\r\n {\r\n \"controlCenterNumber\": \"Control center code\",\r\n \"descriptionCode\": \"Control center alphanumeric code\",\r\n \"description\": \"Control center description\",\r\n \"usedInCampaign\": \"Indicates if it is used in campaign (true/false)\",\r\n \"usedInOrder\": \"Indicates if it is used in capture (true/false)\",\r\n \"usedInPromo\": \"Indicates if it is used in promotion (true/false)\",\r\n \"usedInMaterial\": \"Indicates if material is moving (true/false)\",\r\n \"usedInSac\": \"Indicates if it is used in SAC (true/false)\",\r\n \"usedInFinancial\": \"Indicates if it is used in financial transactions (true/false)\",\r\n \"usedInPricesFlexibility\": \"Indicates whether it is used in price flexibility (true/false)\",\r\n \"controlType\": {//Control Center - Possible values in the Glossary(Types of Control Centers)\r\n \"code\": \"Control Center Type Code\",\r\n \"name\": \"Control Center Type Description\"\r\n }\r\n }\r\n ],\r\n \"account\":[//List of G/L accounts\r\n {\r\n \"code\": \"G/L account code\",\r\n \"name\": \"G/L Account Description\",\r\n \"movimentCode\": \"G/L Transaction Type Code\" //Possible values available in the Glossary (Types of Accounting Movements)\r\n }\r\n ],\r\n \"minimumScore\": \"Minimum score\",\r\n \"maximumScore\": \"Maximum score\",\r\n \"minimumMileageScore\": \"Minimum Mileage Score\",\r\n \"minimumSaleScore\": \"Minimum sales score\",\r\n \"isAllowedSellerIndicationInOrderItems\": \"Indicates whether it allows you to indicate a reseller in the order (true/false)\",\r\n \"minimumOrderType\": {\r\n \"id\": \"Table Consideration Type Code for Minimum Order\", // Possible values available in the Glossary(Table Value Consideration for Minimum Order)\r\n \"description\": \"Description of table consideration type for minimum order\"\r\n },\r\n \"MinimumSellingMarginPercentual\": \"Minimum percentage margin\", \r\n \"isAllowedClosedBox\": \"Indicates whether it allows closed boxes (true/false)\"\r\n }\r\n ]"},{"id":"12ce95ac-115a-4af5-a9d2-b2925e155fbd","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/BusinessModels?name=<string>&functionCode=<integer>&roleCode=<integer>&sortOptions=<string>&collectionSystem=<byte>&applicationCode=<byte>&fixedDistributionCenterCode=<integer>","host":["{{baseUrl}}"],"path":["api","BusinessModels"],"query":[{"key":"name","value":"<string>","description":"Model name (full or partial)"},{"key":"functionCode","value":"<integer>","description":"Related Function Code"},{"key":"roleCode","value":"<integer>","description":"Related role code"},{"key":"sortOptions","value":"<string>","description":"Result ordering\n\n\n **Options:**\n\n \"code\": Ordering by code\n\n \"code desc\": Sorting by descending code\n\n \"name\": Sorting by name\n\n \"name desc\": Sort by descending name"},{"key":"collectionSystem","value":"<byte>","description":"Capture System Type Code\n\n Possible values in the Glossary(Uptake Systems)"},{"key":"applicationCode","value":"<byte>","description":"Application Code\n\n Possible values available in the Glossary(Capture Applications)"},{"key":"fixedDistributionCenterCode","value":"<integer>","description":"Fixed distribution center code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 5,\n \"name\": \"Commercial Model - Final Consumer\",\n \"isSaveOrder\": true,\n \"function\": {\n \"code\": 9,\n \"name\": \"End Consumer\"\n },\n \"roll\": [\n {\n \"code\": 91,\n \"name\": \"End Consumer\"\n },\n {\n \"code\": 89,\n \"name\": \"Donation\"\n }\n ],\n \"orderingDescription\": \"Ecommerce - Delivery to address\",\n \"configurationSystem\": {\n \"allowsGiftPackaging\": true,\n \"allowsMultiplePackagingItems\": false,\n \"creditLimitConsideringTolerance\": true,\n \"displayAlertMenssageExpiredData\": false,\n \"displayExportImportItems\": true,\n \"displayModalProductReplacement\": true,\n \"useAlternativeOrderingDescription\": true,\n \"useCompositeMarketing\": true,\n \"useCompositeMarketingPastCycles\": false,\n \"quantityPastCyclesCompositeMarketing\": 4,\n \"useCompositeMarketingFutureCycles\": true,\n \"quantityFutureCyclesCompositeMarketing\": 3,\n \"savesReserveOrder\": true,\n \"allowsCheckingAccountAdjustment\": true,\n \"displayAlertPartialPromotions\": true,\n \"allowAddAddressesApplication\": false,\n \"allowShowEditableAddresses\": false,\n \"requiredSelectAccount\": false,\n \"usesBarcode\": false\n },\n \"controlCenter\":[\n {\n \"controlCenterNumber\": 2,\n \"descriptionCode\": \"03\",\n \"description\": \"Consumption Order\",\n \"usedInCampaign\": false,\n \"usedInOrder\": true,\n \"usedInPromo\": false,\n \"usedInMaterial\": false,\n \"usedInSac\": true,\n \"usedInFinancial\": false,\n \"usedInPricesFlexibility\": false,\n \"controlType\": {\n \"code\": 2,\n \"name\": \"Profit Center\"\n }\n }\n ],\n \"account\":[\n {\n \"code\": 1, \n \"name\": \"Entry by Acquisition (Entry by Local Purchase)\",\n \"motionCode\": 31\n },\n {\n \"code\": 2,\n \"name\": \"Outgoing by sale (Outgoing to Sale)\",\n \"motionCode\": 1\n }\n ],\n \"minimumScore\": 25000,\n \"maximumScore\": 10000000,\n \"minimumMileageScore\": 15000,\n \"minimumSaleScore\": 25000,\n \"isAllowedSellerIndicationInOrderItems\": false,\n \"minimumOrderType\": {\n \"id\": 1,\n \"description\": \"Monetary\"\n },\n \"MinimumSellingMarginPercentage\": 10,\n \"isAllowedClosedBox\": false\n }, \n {\n \"code\": 6,\n \"name\": \"Commercial Rule 6\",\n \"isSaveOrder\": true,\n \"function\": {\n \"code\": 8,\n \"name\": \"Sales Force\"\n },\n \"roll\": [\n {\n \"code\": 81,\n \"name\": \"FV Member\"\n },\n {\n \"code\": 82,\n \"name\": \"Direct Sales Supervisor\"\n },\n {\n \"code\": 83,\n \"name\": \"Franchise\"\n },\n {\n \"code\": 84,\n \"name\": \"Expansion Coordinator\"\n },\n { \n \"code\": 85,\n \"name\": \"Regional Manager\"\n },\n {\n \"code\": 87,\n \"name\": \"Director\"\n },\n {\n \"code\": 89,\n \"name\": \"Donation\"\n }\n ],\n \"orderingDescription\": \"\",\n \"configurationSystem\": {\n \"allowsGiftPackaging\": false,\n \"allowsMultiplePackagingItems\": false,\n \"creditLimitConsideringTolerance\": true,\n \"displayAlertMenssageExpiredData\": false,\n \"displayExportImportItems\": true,\n \"displayModalProductReplacement\": true,\n \"useAlternativeOrderingDescription\": true,\n \"useCompositeMarketing\": true,\n \"useCompositeMarketingPastCycles\": false,\n \"quantityPastCyclesCompositeMarketing\": 4,\n \"useCompositeMarketingFutureCycles\": true,\n \"quantityFutureCyclesCompositeMarketing\": 3,\n \"savesReserveOrder\": true,\n \"allowsCheckingAccountAdjustment\": true,\n \"displayAlertPartialPromotions\": true,\n \"allowAddAddressesApplication\": false,\n \"allowShowEditableAddresses\": false,\n \"requiredSelectAccount\": false,\n \"usesBarcode\": false\n },\n \"controlCenter\":[],\n \"account\":[],\n \"minimumScore\": 15000,\n \"maximumScore\": 200000, \n \"minimumMileageScore\": 0,\n \"minimumSaleScore\": 15000,\n \"isAllowedSellerIndicationInOrderItems\": false,\n \"MinimumSellingMarginPercentage\": 10.5,\n \"minimumOrderType\": {\n \"id\": 1,\n \"description\": \"Monetary\"\n },\n \"isAllowedClosedBox\": false\n },\n {\n \"code\": 4,\n \"name\": \"Business model cod. two\",\n \"isSaveOrder\": true,\n \"function\": {\n \"code\": 1,\n \"name\": \"Consultant\"\n },\n \"roll\": [\n {\n \"code\": 11,\n \"name\": \"C1\"\n },\n {\n \"code\": 12,\n \"name\": \"C2\"\n }\n ],\n \"orderingDescription\": \"QA Test - Consultant - Initial Order for Resale Products - POS\",\n \"configurationSystem\": {\n \"allowsGiftPackaging\": false,\n \"allowsMultiplePackagingItems\": false,\n \"creditLimitConsideringTolerance\": true,\n \"displayAlertMenssageExpiredData\": false, \n \"displayExportImportItems\": true,\n \"displayModalProductReplacement\": true,\n \"useAlternativeOrderingDescription\": false,\n \"useCompositeMarketing\": true,\n \"useCompositeMarketingPastCycles\": false,\n \"quantityPastCyclesCompositeMarketing\": 4,\n \"useCompositeMarketingFutureCycles\": true,\n \"quantityFutureCyclesCompositeMarketing\": 3,\n \"savesReserveOrder\": true,\n \"allowsCheckingAccountAdjustment\": true,\n \"displayAlertPartialPromotions\": false,\n \"allowAddAddressesApplication\": false,\n \"allowShowEditableAddresses\": false,\n \"requiredSelectAccount\": false,\n \"usesBarcode\": false\n }, \n \"minimumScore\": 100,\n \"maximumScore\": 100000000,\n \"minimumMileageScore\": 0,\n \"minimumSaleScore\": 100,\n \"controlCenter\": [],\n \"account\": [],\n \"isAllowedSellerIndicationInOrderItems\": false,\n \"MinimumSellingMarginPercentage\": 10,\n \"minimumOrderType\": {\n \"id\": 0,\n \"description\": \"Points\"\n },\n \"isAllowedClosedBox\": false\n }\n ]"}],"_postman_id":"33b16664-d1cc-453b-95ff-a864e78790e7"},{"name":"Consult business model by code","id":"05c1e962-6fe0-482e-a54f-95acc6d81e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/businessmodels/:id?collectionSystem=<byte>&applicationCode=<byte>&momentControlCenter=<integer>&associationControlCenterType=<integer>","description":"<p>This resource is responsible for obtaining the business models data according to the leader filters.</p>\n","urlObject":{"path":["api","businessmodels",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Capture System Type Code</p>\n<p> Possible values in the Glossary(Uptake Systems)</p>\n","type":"text/plain"},"key":"collectionSystem","value":"<byte>"},{"description":{"content":"<p>Application Code</p>\n<p> Possible values available in Glossary(Applications)</p>\n","type":"text/plain"},"key":"applicationCode","value":"<byte>"},{"description":{"content":"<p>Place of Use</p>\n<p> Possible values in the Glossary (Places of Use of the Business Model)</p>\n<p> More than one value can be sent, to do so, the parameter must be sent more than once in the request</p>\n","type":"text/plain"},"key":"momentControlCenter","value":"<integer>"},{"description":{"content":"<p>Control Center Membership Type</p>\n<p> Possible Glossary Values (Control Center Membership Types)</p>\n<p> More than one value can be sent, to do so, the parameter must be sent more than once in the request</p>\n","type":"text/plain"},"key":"associationControlCenterType","value":"<integer>"}],"variable":[{"id":"1872e888-2933-487e-9de8-1788ffde78ca","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Business Model Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"68780223-e296-43d2-ae02-24a06c6b4786","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/businessmodels/:id?collectionSystem=<byte>&applicationCode=<byte>&momentControlCenter=<integer>&associationControlCenterType=<integer>","host":["{{baseUrl}}"],"path":["api","businessmodels",":id"],"query":[{"key":"collectionSystem","value":"<byte>","description":"Capture System Type Code\n\n Possible values in the Glossary(Uptake Systems)"},{"key":"applicationCode","value":"<byte>","description":"Application Code\n\n Possible values available in Glossary(Applications)"},{"key":"momentControlCenter","value":"<integer>","description":"Place of Use\n\n Possible values in the Glossary (Places of Use of the Business Model)\n\n More than one value can be sent, to do so, the parameter must be sent more than once in the request"},{"key":"associationControlCenterType","value":"<integer>","description":"Control Center Membership Type\n\n Possible Glossary Values (Control Center Membership Types)\n\n More than one value can be sent, to do so, the parameter must be sent more than once in the request"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Business Model Code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Business Model Code\",\r\n \"name\": \"Business Model Description\",\r\n \"isSaveOrder\": \"Indicates whether to save/reserve the order (true/false)\",\r\n \"function\": {\r\n \"code\": \"Function code\",\r\n \"name\": \"Function Description\"\r\n },\r\n \"role\": [//Role List\r\n {\r\n \"code\": \"Paper Code\",\r\n \"name\": \"Role Description\"\r\n }\r\n ],\r\n \"orderingDescription\": \"Alternative pickup name\",\r\n \"configurationSystem\": {//System Settings (Depends on \"collectionSystem\" input parameter)\r\n \"allowsGiftPackaging\": \"Indicates whether gift wrapping is allowed (true/false)\",\r\n \"allowsMultiplePackagingItems\": \"Indicates whether to allow multiple packages(true/false)\",\r\n \"creditLimitConsideringTolerance\": \"Indicates whether the credit limit considers the store&#39;s tolerance (true/false)\",\r\n \"displayAlertMenssageExpiredData\": \"Indicates whether displays expired data message (true/false)\",\r\n \"displayExportImportItems\": \"Indicates whether it displays the option to import and export items from the virtual store (true/false)\",\r\n \"displayModalProductReplacement\": \"Indicates whether displays option to replace product (true/false)\",\r\n \"useAlternativeOrderingDescription\": \"Indicates whether to use alternative capture name (true/false)\",\r\n \"useCompositeMarketing\": \"Indicates whether you use marketing composite (true/false)\",\r\n \"useCompositeMarketingPastCycles\": \"Indicates whether you use marketing composite in past campaigns (true/false)\",\r\n \"quantityPastCyclesCompositeMarketing\": \"Amount of past campaigns to use composite marketing\",\r\n \"useCompositeMarketingFutureCycles\": \"Indicates whether to use marketing composite in future campaigns (true/false)\",\r\n \"quantityFutureCyclesCompositeMarketing\": \"Amount of future campaigns to use composite marketing\",\r\n \"savesReserveOrder\": \"Indicates whether to save/reserve the order (true/false)\",\r\n \"allowsCheckingAccountAdjustment\": \"Indicates whether it allows residual checking account adjustment (true/false)\",\r\n \"displayAlertPartialPromotions\": \"Indicates whether to display the notice of partially won promotions (true/false)\",\r\n \"allowAddAddressesApplication\": \"Indicates if you want to add addresses (true/false)\",\r\n \"allowShowEditableAddresses\": \"Indicates whether to allow changing existing addresses (true/false)\",\r\n \"requiredSelectAccount\": \"Indicates whether the G/L account is mandatory in relation to the business model (System Parameter)\",\r\n \"usesBarcode\": \"Indicates whether it allows barcode capture (true/false)\"\r\n },\r\n \"controlCenter\":[//List of control centers\r\n {\r\n \"controlCenterNumber\": \"Control center code\",\r\n \"descriptionCode\": \"Control center alphanumeric code\",\r\n \"description\": \"Control center description\",\r\n \"usedInCampaign\": \"Indicates if it is used in campaign (true/false)\",\r\n \"usedInOrder\": \"Indicates if it is used in capture (true/false)\",\r\n \"usedInPromo\": \"Indicates if it is used in promotion (true/false)\",\r\n \"usedInMaterial\": \"Indicates whether material is being moved (true/false)\",\r\n \"usedInSac\": \"Indicates if it is used in SAC (true/false)\",\r\n \"usedInFinancial\": \"Indicates if it is used in financial transactions (true/false)\",\r\n \"usedInPricesFlexibility\": \"Indicates whether it is used in price flexibility (true/false)\",\r\n \"controlType\": {//Control Center - Possible values in the Glossary(Types of Control Centers)\r\n \"code\": \"Control Center Type Code\",\r\n \"name\": \"Control Center Type Description\"\r\n }\r\n }\r\n ],\r\n \"account\":[//List of G/L accounts\r\n {\r\n \"code\": \"G/L account code\",\r\n \"name\": \"G/L Account Description\",\r\n \"movimentCode\": \"Type of GL Movement Code\" // Possible values available in the Glossary(Types of Movements Accounting)\r\n }\r\n ],\r\n \"minimumScore\": \"Minimum score\",\r\n \"maximumScore\": \"Maximum score\",\r\n \"minimumMileageScore\": \"Minimum Mileage Score\",\r\n \"minimumSaleScore\": \"Minimum sales score\",\r\n \"MinimumSellingMarginPercentual\": \"Minimum percentage margin\",\r\n \"isAllowedSellerIndicationInOrderItems\": \"Indicates whether it allows you to indicate a reseller in the order (true/false)\",\r\n \"minimumOrderType\": {\r\n \"id\": \"Table Consideration Type Code for Minimum Order\", // Possible values available in the Glossary(Table Value Consideration for Minimum Order)\r\n \"description\": \"Description of table consideration type for minimum order\"\r\n },\r\n \"isAllowedClosedBox\": \"Indicates if allowed closed boxes (true/false)\"\r\n }"},{"id":"3f8c9859-52ac-4dd4-b0b0-3f16a6abfb97","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/businessmodels/:id?collectionSystem=<byte>&applicationCode=<byte>&momentControlCenter=<integer>&associationControlCenterType=<integer>","host":["{{baseUrl}}"],"path":["api","businessmodels",":id"],"query":[{"key":"collectionSystem","value":"<byte>","description":"Capture System Type Code\n\n Possible values in the Glossary(Uptake Systems)"},{"key":"applicationCode","value":"<byte>","description":"Application Code\n\n Possible values available in Glossary(Applications)"},{"key":"momentControlCenter","value":"<integer>","description":"Place of Use\n\n Possible values in the Glossary (Places of Use of the Business Model)\n\n More than one value can be sent, to do so, the parameter must be sent more than once in the request"},{"key":"associationControlCenterType","value":"<integer>","description":"Control Center Membership Type\n\n Possible Glossary Values (Control Center Membership Types)\n\n More than one value can be sent, to do so, the parameter must be sent more than once in the request"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Business Model Code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 4,\r\n \"name\": \"Business model cod. two\",\r\n \"isSaveOrder\": true,\r\n \"function\": {\r\n \"code\": 1,\r\n \"name\": \"Consultant\"\r\n },\r\n \"roll\": [\r\n {\r\n \"code\": 11,\r\n \"name\": \"C1\"\r\n },\r\n {\r\n \"code\": 12,\r\n \"name\": \"C2\"\r\n }\r\n ],\r\n \"orderingDescription\": \"QA Test - Consultant - Initial Order for Resale Products - POS\",\r\n \"configurationSystem\": {\r\n \"allowsGiftPackaging\": true,\r\n \"allowsMultiplePackagingItems\": false,\r\n \"creditLimitConsideringTolerance\": true,\r\n \"displayAlertMenssageExpiredData\": false,\r\n \"displayExportImportItems\": true,\r\n \"displayModalProductReplacement\": true,\r\n \"useAlternativeOrderingDescription\": true,\r\n \"useCompositeMarketing\": true,\r\n \"useCompositeMarketingPastCycles\": false,\r\n \"quantityPastCyclesCompositeMarketing\": 4,\r\n \"useCompositeMarketingFutureCycles\": true,\r\n \"quantityFutureCyclesCompositeMarketing\": 3,\r\n \"savesReserveOrder\": true,\r\n \"allowsCheckingAccountAdjustment\": true,\r\n \"displayAlertPartialPromotions\": true,\r\n \"allowAddAddressesApplication\": false,\r\n \"allowShowEditableAddresses\": false,\r\n \"requiredSelectAccount\": false,\r\n \"usesBarcode\": false\r\n },\r\n \"controlCenter\":[ \r\n {\r\n \"controlCenterNumber\": 2,\r\n \"descriptionCode\": \"03\",\r\n \"description\": \"Consumption Order\",\r\n \"usedInCampaign\": false,\r\n \"usedInOrder\": true,\r\n \"usedInPromo\": false,\r\n \"usedInMaterial\": false,\r\n \"usedInSac\": true,\r\n \"usedInFinancial\": false,\r\n \"usedInPricesFlexibility\": false,\r\n \"controlType\": {\r\n \"code\": 2,\r\n \"name\": \"Profit Center\"\r\n }\r\n }\r\n ],\r\n \"account\":[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Entry by Acquisition (Entry by Local Purchase)\",\r\n \"motionCode\": 31 \r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"Outgoing by sale (Outgoing to Sale)\",\r\n \"motionCode\": 1\r\n }\r\n ],\r\n \"minimumScore\": 100,\r\n \"maximumScore\": 100000000,\r\n \"minimumMileageScore\": 0,\r\n \"minimumSaleScore\": 100,\r\n \"MinimumSellingMarginPercentage\": 10.5,\r\n \"isAllowedSellerIndicationInOrderItems\": false,\r\n \"minimumOrderType\": {\r\n \"id\": 0,\r\n \"description\": \"Points\"\r\n },\r\n \"isAllowedClosedBox\": false\r\n }"}],"_postman_id":"05c1e962-6fe0-482e-a54f-95acc6d81e7f"},{"name":"See compound capture rule","id":"7cd5bbb5-a757-46a7-a40b-bba371ac9fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/composedMarketingRules/:id","description":"<p>This resource is responsible for obtaining the composed marketing rules data according to the filter.</p>\n","urlObject":{"path":["api","composedMarketingRules",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"5f374b0f-ef8b-4e8c-a5fa-82fbc65c53a5","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Capture system code</p>\n<p> Possible values available in the Glossary(Uptake Systems)</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"33850c5f-29ec-4124-a200-64b96c4017c2","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/composedMarketingRules/:id","host":["{{baseUrl}}"],"path":["api","composedMarketingRules",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Capture system code\n\n Possible values available in the Glossary(Uptake Systems)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"useComposedMarketingInFutureCycles\": \"Indicates whether to use composite marketing in the next cycles (true/false)\",\n \"futureCyclesAmount\": \"Amount of future cycles\",\n \"useComposedMarketingInPastCycles\": \"Indicates whether you used composite marketing in previous cycles (true/false)\",\n \"pastCyclesAmount\": \"Amount of cycles in which you used composite marketing\"\n }"},{"id":"60702c4b-61b2-477a-bce3-59e88a391fc1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/composedMarketingRules/:id","host":["{{baseUrl}}"],"path":["api","composedMarketingRules",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Capture system code\n\n Possible values available in the Glossary(Uptake Systems)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"useComposedMarketingInFutureCycles\": true,\r\n \"futureCyclesAmount\": 3,\r\n \"useComposedMarketingInPastCycles\": false,\r\n \"pastCyclesAmount\": 4\r\n }"}],"_postman_id":"7cd5bbb5-a757-46a7-a40b-bba371ac9fbd"}],"id":"5af73306-1ecd-4f82-bead-2a27b44febb3","_postman_id":"5af73306-1ecd-4f82-bead-2a27b44febb3","description":""},{"name":"Marketing Classification","item":[{"name":"See marketing ratings","id":"0121f75d-85e6-4d6c-9df0-aac9f36d7084","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Classifications?code=<integer>&type=<byte>&isWebStoreAllowed=<boolean>&name=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","Classifications"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>classification code</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Classification Type Code</p>\n<p> Possible Glossary Values (Types of Classification)</p>\n","type":"text/plain"},"key":"type","value":"<byte>"},{"description":{"content":"<p>Classification is allowed in the window (true) or not (false)</p>\n","type":"text/plain"},"key":"isWebStoreAllowed","value":"<boolean>"},{"description":{"content":"<p>Name (or part) of the Classification</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. </p>\n<p> A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the response header of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records</p>\n<p> for the filters informed. By dividing this amount by the value entered in the <code>pageSize</code> parameter,</p>\n<p> you get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. </p>\n<p> A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the response header of this request, the parameter <code>x-record-count</code> is returned with the total number of records</p>\n<p> existing for the filters informed. By dividing this amount by the value entered in the <code>pageSize</code> parameter,</p>\n<p> you get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"6f10cb22-da60-4a41-bb57-5f8dae0fb494","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Classifications?code=<integer>&type=<byte>&isWebStoreAllowed=<boolean>&name=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Classifications"],"query":[{"key":"code","value":"<integer>","description":"classification code"},{"key":"type","value":"<byte>","description":"Classification Type Code\n\n Possible Glossary Values (Types of Classification)"},{"key":"isWebStoreAllowed","value":"<boolean>","description":"Classification is allowed in the window (true) or not (false)"},{"key":"name","value":"<string>","description":"Name (or part) of the Classification"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. \n\n A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the response header of this request, the parameter `x-record-count` is returned with the total amount of existing records\n\n for the filters informed. By dividing this amount by the value entered in the `pageSize` parameter,\n\n you get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. \n\n A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the response header of this request, the parameter `x-record-count` is returned with the total number of records\n\n existing for the filters informed. By dividing this amount by the value entered in the `pageSize` parameter,\n\n you get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Classification Code\",\r\n \"name\": \"Classification Name\",\r\n \"concept\": \"Classification Concept\",\r\n \"classificationType\": {//Classification Type - Possible values available in the Glossary(Classification Types)\r\n \"id\": \"Classification Type Code\",\r\n \"description\": \"Classification Type Description\"\r\n },\r\n \"productSearchFilter\": {\r\n \"id\": \"Code that indicates whether it is used in the product search filter (0-No/1-Yes)\",\r\n \"description\": \"Description if used in the product search filter (Yes/No)\"\r\n },\r\n \"allowMultipleSelection\": {\r\n \"id\": \"Code indicating whether multiple selection is allowed (0-No/1-Yes)\",\r\n \"description\": \"Description allowed multiple selection (Yes/No)\"\r\n },\r\n \"webStoreUsage\": {\r\n \"id\": \"Code that indicates whether it is used in the Showcase (1-Yes/2-No)\",\r\n \"description\": \"Description of use in Showcase (Yes/No)\"\r\n }\r\n }\r\n ]"},{"id":"91d236c3-3db6-4719-89cf-933f1090a3c5","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Classifications?code=<integer>&type=<byte>&isWebStoreAllowed=<boolean>&name=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Classifications"],"query":[{"key":"code","value":"<integer>","description":"classification code"},{"key":"type","value":"<byte>","description":"Classification Type Code\n\n Possible Glossary Values (Types of Classification)"},{"key":"isWebStoreAllowed","value":"<boolean>","description":"Classification is allowed in the window (true) or not (false)"},{"key":"name","value":"<string>","description":"Name (or part) of the Classification"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. \n\n A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the response header of this request, the parameter `x-record-count` is returned with the total amount of existing records\n\n for the filters informed. By dividing this amount by the value entered in the `pageSize` parameter,\n\n you get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. \n\n A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the response header of this request, the parameter `x-record-count` is returned with the total number of records\n\n existing for the filters informed. By dividing this amount by the value entered in the `pageSize` parameter,\n\n you get how many pages and how many times the query must be called to obtain all registered records."}]}},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Categories\",\r\n \"concept\": \"Customer Categories\",\r\n \"classificationType\": {\r\n \"id\": 1,\r\n \"description\": \"Product\"\r\n },\r\n \"productSearchFilter\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"allowMultipleSelection\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"webStoreUsage\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n }\r\n },\r\n {\r\n \"code\": 9,\r\n \"name\": \"Cosmetics\",\r\n \"concept\": \"Several products for the treatment of skin, hair, nails\",\r\n \"classificationType\": {\r\n \"id\": 1,\r\n \"description\": \"Product\"\r\n },\r\n \"productSearchFilter\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"allowMultipleSelection\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"webStoreUsage\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n }\r\n },\r\n {\r\n \"code\": 11,\r\n \"name\": \"Mobile Phones\",\r\n \"concept\": \"Several cell lines\",\r\n \"classificationType\": {\r\n \"id\": 1,\r\n \"description\": \"Product\"\r\n },\r\n \"productSearchFilter\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"allowMultipleSelection\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"webStoreUsage\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n }\r\n }\r\n ]"}],"_postman_id":"0121f75d-85e6-4d6c-9df0-aac9f36d7084"}],"id":"e6fa1e25-acff-4255-8768-b8078d2375d2","_postman_id":"e6fa1e25-acff-4255-8768-b8078d2375d2","description":""},{"name":"marketing message","item":[{"name":"View marketing message by reseller","id":"3b9a2b00-8ce8-498f-896a-e2fe7072e856","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/marketingMessages?messageType=<integer>&eventType=<byte>&collectionMode=<byte>&functionCodes=<byte>&includeOptions=exhibition","description":"<p>This query is paginated: on callback, data is displayed according to page and number of records per page. \n These values are determined by the page and pageSize parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the includeOptions parameter.</p>\n","urlObject":{"path":["api","sellers",":id","marketingMessages"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Message Type Code</p>\n<p> Possible values available in the Glossary(Marketing Message Types)</p>\n","type":"text/plain"},"key":"messageType","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Event Type Code</p>\n<p> Possible values available in Glossary(Marketing Message Event Types)</p>\n","type":"text/plain"},"key":"eventType","value":"<byte>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Funding Medium Code</p>\n<p> Possible values available in the Glossary (Funding Means)</p>\n","type":"text/plain"},"key":"collectionMode","value":"<byte>"},{"description":{"content":"<p>function code</p>\n<p> Multiple values can be sent by sending this parameter multiple times in the request</p>\n","type":"text/plain"},"key":"functionCodes","value":"<byte>"},{"description":{"content":"<p>Add Display data to return</p>\n","type":"text/plain"},"key":"includeOptions","value":"exhibition"}],"variable":[{"id":"9cba9370-a396-477c-bdf2-08da77eb7ce3","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> logged in user code</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"77406180-04ac-4070-885b-9768fe27b225","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/marketingMessages?messageType=<integer>&eventType=<byte>&collectionMode=<byte>&functionCodes=<byte>&includeOptions=exhibition","host":["{{baseUrl}}"],"path":["api","sellers",":id","marketingMessages"],"query":[{"key":"messageType","value":"<integer>","description":"**(Mandatory)**\n\n Message Type Code\n\n Possible values available in the Glossary(Marketing Message Types)"},{"key":"eventType","value":"<byte>","description":"**(Mandatory)**\n\n Event Type Code\n\n Possible values available in Glossary(Marketing Message Event Types)"},{"key":"collectionMode","value":"<byte>","description":"**(Mandatory)**\n\n Funding Medium Code\n\n Possible values available in the Glossary (Funding Means)"},{"key":"functionCodes","value":"<byte>","description":"function code\n\n Multiple values can be sent by sending this parameter multiple times in the request"},{"key":"includeOptions","value":"exhibition","description":"Add Display data to return"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n reseller code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[//List of messages\r\n {\r\n \"code\": \"Marketing message code\",\r\n \"message\": \"Message text\",\r\n \"priority\": \"Message priority\",\r\n \"creationDate\": \"Date/Time of registration\",\r\n \"changeDate\": \"Date/Time of last update\",\r\n \"title\": \"Message description\",\r\n \"exhibition\": [//Display parameter list\r\n {\r\n \"marketingMessageType\": {//Marketing Message Type - Possible values available in Glossary(Marketing Message Types)\r\n \"id\": \"Marketing Message Type Code\",\r\n \"description\": \"Marketing Message Type Description\"\r\n },\r\n \"eventType\": {//Marketing Message Event Type - Possible values available in Glossary(Marketing Message Event Types)\r\n \"id\": \"Marketing Message Event Type Code\",\r\n \"description\": \"Marketing Message Event Type Description\"\r\n },\r\n \"exhibitionType\": {//Message Display Types - Possible values available in Glossary(Marketing Message Display)\r\n \"id\": \"Display Type Code\",\r\n \"description\": \"Display Type Description\"\r\n }\r\n }\r\n ]\r\n }\r\n ]"},{"id":"91d0b169-da16-4acf-917b-fc7da5af22f2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/marketingMessages?messageType=<integer>&eventType=<byte>&collectionMode=<byte>&functionCodes=<byte>&includeOptions=exhibition","host":["{{baseUrl}}"],"path":["api","sellers",":id","marketingMessages"],"query":[{"key":"messageType","value":"<integer>","description":"**(Mandatory)**\n\n Message Type Code\n\n Possible values available in the Glossary(Marketing Message Types)"},{"key":"eventType","value":"<byte>","description":"**(Mandatory)**\n\n Event Type Code\n\n Possible values available in Glossary(Marketing Message Event Types)"},{"key":"collectionMode","value":"<byte>","description":"**(Mandatory)**\n\n Funding Medium Code\n\n Possible values available in the Glossary (Funding Means)"},{"key":"functionCodes","value":"<byte>","description":"function code\n\n Multiple values can be sent by sending this parameter multiple times in the request"},{"key":"includeOptions","value":"exhibition","description":"Add Display data to return"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n reseller code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 38,\r\n \"message\": \"message here\",\r\n \"priority\": 1,\r\n \"creationDate\": \"2021-03-26T09:05:31.49Z\",\r\n \"changeDate\": \"2021-03-26T09:05:31.54Z\",\r\n \"title\": \"Message to the user\",\r\n \"exhibition\": [\r\n {\r\n \"marketingMessageType\": {\r\n \"id\": 1,\r\n \"description\": \"Capture Orders\"\r\n },\r\n \"eventType\": {\r\n \"id\": 1,\r\n \"description\": \"Initiate Order\"\r\n },\r\n \"exhibitionType\": {\r\n \"id\": 1,\r\n \"description\": \"Alert\"\r\n }\r\n },\r\n { \r\n \"marketingMessageType\": {\r\n \"id\": 1,\r\n \"description\": \"Capture Orders\"\r\n },\r\n \"eventType\": {\r\n \"id\": 1,\r\n \"description\": \"Initiate Order\"\r\n },\r\n \"exhibitionType\": {\r\n \"id\": 2,\r\n \"description\": \"Top Screen\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 40,\r\n \"message\": \"Message test to alert the user\",\r\n \"priority\": 5,\r\n \"creationDate\": \"2021-03-26T10:20:58.94Z\",\r\n \"changeDate\": \"2021-03-26T10:29:28.923Z\",\r\n \"title\": \"One more marketing message to read\", \r\n \"exhibition\": [\r\n {\r\n \"marketingMessageType\": {\r\n \"id\": 1,\r\n \"description\": \"Capture Orders\"\r\n },\r\n \"eventType\": {\r\n \"id\": 1,\r\n \"description\": \"Initiate Order\"\r\n },\r\n \"exhibitionType\": {\r\n \"id\": 1,\r\n \"description\": \"Alert\"\r\n }\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"3b9a2b00-8ce8-498f-896a-e2fe7072e856"}],"id":"3d68fd01-31a4-4286-a606-f42c9ba5fa4f","_postman_id":"3d68fd01-31a4-4286-a606-f42c9ba5fa4f","description":""}],"id":"2c703f4d-376a-4f36-b843-e04b51047f1f","description":"<p>See business rules and models, audience segmentation, product and product model registration, product category/line, classification and marketing messages.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1a1a4754-0694-48d5-8e38-636043b6a4e5"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"e762cd8f-61ef-4918-8799-2dadea0199f2"}}],"_postman_id":"2c703f4d-376a-4f36-b843-e04b51047f1f"},{"name":"Sales Administration","item":[{"name":"Commercial Structure","item":[{"name":"Structure Leader","item":[{"name":"Consult Dealer Leaders","id":"09d22c22-a4e6-4a3c-8bdf-613399b5fd58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/leaders?getStructureLeaders=<boolean>&includeOptions=by the way&includeOptions=pictures","description":"<p>This call is used to consult with the leaders of a reseller. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter. </p>\n<p> <strong>Heads up</strong></p>\n<p> This API behaves differently depending on the environment in question. </p>\n<ul>\n<li>In a Monolevel environment:</li>\n</ul>\n<p> The person responsible for the structure in which the reseller (code entered in the <code>id</code> parameter) is allocated is returned. The <code>leader</code> object is recursive. It brings in the people responsible for the structures in which the previous people are allocated. Such objects are returned up to the highest level of business structure (In this case, 0). </p>\n<ul>\n<li>In a Multilevel environment:</li>\n</ul>\n<p> In this case, there are two possible behaviors:</p>\n<p> If there is a list of hierarchies, then each person's leader is returned. Otherwise, the value of the <code>getStructureLeaders</code> parameter is checked. If it has a <code>true</code> value, the behavior is the same as described in the Monolevel environment.</p>\n","urlObject":{"path":["api","sellers",":id","leaders"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Indicates whether the application should look for the leader of the complete structure.</p>\n","type":"text/plain"},"key":"getStructureLeaders","value":"<boolean>"},{"description":{"content":"<p>It adds an object with the leader's nicknames in the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>It adds an object with the leader's images to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"pictures"}],"variable":[{"id":"fa78478b-68db-4cbe-97ad-de913e89450f","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Dealer identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"e077c5c4-cc1b-41bf-9312-b4c1ee231d33","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/leaders?getStructureLeaders=<boolean>&includeOptions=by the way&includeOptions=pictures","host":["{{baseUrl}}"],"path":["api","sellers",":id","leaders"],"query":[{"key":"getStructureLeaders","value":"<boolean>","description":"Indicates whether the application should look for the leader of the complete structure."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the leader&#39;s nicknames in the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"It adds an object with the leader&#39;s images to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Dealer identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"// Return object for Monolevel environment\r\n {\r\n \"code\": \"Code of the person responsible for the structure in which the dealer is allocated\",\r\n \"name\": \"Name of the person responsible for the structure in which the reseller is allocated\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"leader\": { // Information of the person responsible for the parent structure of the person. Recursive structure. \r\n \"code\": \"Code of the person responsible for the structure in which the dealer is allocated\",\r\n \"name\": \"Name of the person responsible for the structure in which the reseller is allocated\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"leader\": {}, // Information of the person responsible for the parent structure of the person. Recursive structure. \r\n \"mobile\": \"Mobile number of the person responsible for the structure in which the reseller is allocated\",\r\n \"anniversary\": \"Date of birth of the person responsible for the structure in which the reseller is allocated (dateTime)\",\r\n \"commercialStructure\": {\r\n \"code\": \"Code of the business structure for which this person is responsible\",\r\n \"level\": {\r\n \"code\": \"Structure level code\",\r\n \"name\": \"Structure level name\"\r\n }\r\n },\r\n \"isCommercialStructureLeader\": \"Indicates whether the person is in charge of a commercial structure\",\r\n \"pictures\": [ // List of person&#39;s pictures\r\n {\r\n \"type\": {\r\n \"id\": \"Image Type Code\", // Possible Glossary Values (Image Types) \r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ]\r\n },\r\n \"mobile\": \"Mobile number of the person responsible for the structure in which the reseller is allocated\",\r\n \"anniversary\": \"Date of birth of the person responsible for the structure in which the reseller is allocated (dateTime)\",\r\n \"commercialStructure\": {\r\n \"code\": \"Code of the business structure for which this person is responsible\",\r\n \"level\": {\r\n \"code\": \"Structure level code\",\r\n \"name\": \"Structure level name\"\r\n }\r\n },\r\n \"isCommercialStructureLeader\": \"Indicates whether the person is in charge of a commercial structure\", \r\n \"pictures\": [ // List of person&#39;s pictures\r\n {\r\n \"type\": {\r\n \"id\": \"Image Type Code\", // Possible Glossary Values (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ]\r\n }\r\n // Return object for Multilevel environment\r\n {\r\n \"code\": \"Dealer leader code\",\r\n \"name\": \"Reseller leader&#39;s name\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Alias\"\r\n }\r\n ], \r\n \"leader\": {\r\n \"code\": \"Reseller leader leader code\",\r\n \"name\": \"Reseller leader leader name\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"leader\": {}, // Recursive leader structure\r\n \"email\": \"Reseller leader leader email\",\r\n \"telephone\": \"Telephone number of the leader of the dealer leader\",\r\n \"mobile\": \"Reseller leader leader mobile number\",\r\n \"pictures\": [ // List of dealer leader leader images\r\n {\r\n \"type\": {\r\n \"id\": \"Type code of image\", // Possible values in the Glossary (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ],\r\n \"anniversary\": \"Dealer leader leader&#39;s date of birth\",\r\n \"roles\": [ // Dealer Leader Leader Role List\r\n {\r\n \"code\": \"Paper code\",\r\n \"name\": \"Role name\"\r\n }\r\n ]\r\n },\r\n \"email\": \"Reseller leader email\",\r\n \"telephone\": \"Dealer leader telephone number\",\r\n \"mobile\": \"Dealer leader mobile number\",\r\n \"pictures\": [ // List of person&#39;s pictures\r\n {\r\n \"type\": {\r\n \"id\": \"Image Type Code\", // Possible Glossary Values (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ],\r\n \"anniversary\": \"Dealer leader&#39;s date of birth\",\r\n \"roles\": [ // Dealer leader role list\r\n {\r\n \"code\": \"Paper code\",\r\n \"name\": \"Role name\"\r\n }\r\n ]\r\n }"},{"id":"1cf81273-1729-467d-ac7c-f08706f69b52","name":"Single Level - Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/leaders?getStructureLeaders=<boolean>&includeOptions=by the way&includeOptions=pictures","host":["{{baseUrl}}"],"path":["api","sellers",":id","leaders"],"query":[{"key":"getStructureLeaders","value":"<boolean>","description":"Indicates whether the application should look for the leader of the complete structure."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the leader&#39;s nicknames in the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"It adds an object with the leader&#39;s images to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Dealer identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 1958,\r\n \"name\": \"AMARILIS ANANDA DE AZEVEDO\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"amarilisanandadeazevedo1\"\r\n }\r\n ],\r\n \"leader\": {\r\n \"code\": 215,\r\n \"name\": \"VICTOR RUBENS FALSARELLA LIMA MACEDO\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"TESTEQA215\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"ALIAS TEST\"\r\n }\r\n ],\r\n \"leader\": {\r\n \"code\": 222,\r\n \"name\": \"AAIO PERSON\",\r\n \"by the way\": [ \r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"personaaio\"\r\n }\r\n ],\r\n \"leader\": {\r\n \"code\": 2437,\r\n \"name\": \"DENIS - PRODUCTS\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"denisfreitasdassilva\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"DENIS - PRODUCTS\"\r\n }\r\n ],\r\n \"leader\": {\r\n \"code\": 612,\r\n \"name\": \"João da Silva\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"JSilva\"\r\n } \r\n ],\r\n \"email\": \"Jsilva@MAILINATOR.COM\",\r\n \"telephone\": \"1138429111\",\r\n \"mobile\": \"11986030771\",\r\n \"anniversary\": \"2000-01-10T00:00:00Z\",\r\n \"commercialStructure\": {\r\n \"code\": 1,\r\n \"level\": {\r\n \"code\": 0,\r\n \"name\": \"Board\"\r\n }\r\n },\r\n \"isCommercialStructureLeader\": true,\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/[image_hash].png\"\r\n }\r\n ]\r\n },\r\n \"email\": \"28235913038@MAILINATOR.COM\",\r\n \"mobile\": \"11949708889\",\r\n \"anniversary\": \"1990-01-10T00:00:00Z\",\r\n \"commercialStructure\": {\r\n \"code\": 2,\r\n \"level\": {\r\n \"code\": 1,\r\n \"name\": \"Regional Management\"\r\n }\r\n },\r\n \"isCommercialStructureLeader\": true,\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/[image_hash].png\"\r\n }\r\n ]\r\n },\r\n \"telephone\": \"12345678\", \r\n \"mobile\": \"1999999999\",\r\n \"anniversary\": \"1972-10-01T00:00:00Z\",\r\n \"commercialStructure\": {\r\n \"code\": 3,\r\n \"level\": {\r\n \"code\": 2,\r\n \"name\": \"Expansion Coordination\"\r\n }\r\n },\r\n \"isCommercialStructureLeader\": true,\r\n \"pictures\": []\r\n },\r\n \"email\": \"123Abc@MAILINATOR.COM\",\r\n \"telephone\": \"1999999999\",\r\n \"mobile\": \"1999999999\",\r\n \"anniversary\": \"2003-03-26T00:00:00Z\",\r\n \"commercialStructure\": {\r\n \"code\": 4,\r\n \"level\": {\r\n \"code\": 3,\r\n \"name\": \"Franchise\" \r\n }\r\n },\r\n \"isCommercialStructureLeader\": true,\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/[image_hash].png\"\r\n }\r\n ]\r\n },\r\n \"mobile\": \"1999999999\",\r\n \"anniversary\": \"1994-06-30T00:00:00Z\",\r\n \"commercialStructure\": {\r\n \"code\": 9,\r\n \"level\": {\r\n \"code\": 4,\r\n \"name\": \"Direct Sales Supervision\"\r\n }\r\n },\r\n \"isCommercialStructureLeader\": true,\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/[image_hash].png\"\r\n }\r\n ]\r\n }"},{"id":"7fcda547-a568-47a7-9e0c-2cd835bcb656","name":"Multilevel - Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/leaders?getStructureLeaders=<boolean>&includeOptions=by the way&includeOptions=pictures","host":["{{baseUrl}}"],"path":["api","sellers",":id","leaders"],"query":[{"key":"getStructureLeaders","value":"<boolean>","description":"Indicates whether the application should look for the leader of the complete structure."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the leader&#39;s nicknames in the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"It adds an object with the leader&#39;s images to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Dealer identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 2302,\r\n \"name\": \"ENRICO HENRIQUE FILIPE SALES\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"Alias 1\"\r\n }\r\n ],\r\n \"leader\": {\r\n \"code\": 1005489,\r\n \"name\": \"VICTOR MURILO OLIVEIRA\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"Alias 2\"\r\n }\r\n ],\r\n \"leader\": {\r\n \"code\": 1005401,\r\n \"name\": \"RENAN CUNHA\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"Alias 3\"\r\n }\r\n ], \r\n \"leader\": {},\r\n \"email\": \"RUBENSGAMBOA@MAILINATOR.COM\",\r\n \"telephone\": \"1999999999\",\r\n \"mobile\": \"11973736726\",\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://brsgidemo.geravd.com.br/Paginas/Imagens/Fotos/ffd5c99ee540657c33a788d4e3d1a6bf.png\"\r\n }\r\n ],\r\n \"anniversary\": \"1978-02-04T00:00:00Z\",\r\n \"roles\": [\r\n {\r\n \"code\": 13,\r\n \"name\": \"C3\"\r\n }\r\n ]\r\n },\r\n \"email\": \"SAMUEL.OLIVEIRA@MAILINATOR.COM\", \r\n \"telephone\": \"21987835837\",\r\n \"mobile\": \"21987835837\",\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://brsgidemo.geravd.com.br/Paginas/Imagens/Fotos/6b7ec4cbd01e09ca421f4abdfdf0219a.png\"\r\n }\r\n ],\r\n \"anniversary\": \"1978-06-03T00:00:00Z\",\r\n \"roles\": [\r\n {\r\n \"code\": 12,\r\n \"name\": \"C2\"\r\n }\r\n ]\r\n },\r\n \"email\": \"EHFS@MAILINATOR.COM\",\r\n \"telephone\": \"1165656565\",\r\n \"mobile\": \"11656565665\",\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://brsgidemo.geravd.com.br/Paginas/Imagens/Fotos/6b7ec4cbd01e09ca421f4abdfdf0219a.png\"\r\n }\r\n ],\r\n \"anniversary\": \"1978-02-03T00:00:00Z\",\r\n \"roles\": [\r\n {\r\n \"code\": 11,\r\n \"name\": \"C1\"\r\n }\r\n ]\r\n }"}],"_postman_id":"09d22c22-a4e6-4a3c-8bdf-613399b5fd58"},{"name":"Send email to leader","id":"3132c29f-bfcb-4847-8db8-ef092822b38c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"<string>","description":"<p>Subject of the email.</p>\n"},{"key":"content","value":"<string>","description":"<p>Email Content.</p>\n"},{"key":"leaderCode","value":"<integer>","description":"<p>Dealer leader code.</p>\n"}]},"url":"{{baseUrl}}/api/sellers/:id/leaderMessage","urlObject":{"path":["api","sellers",":id","leaderMessage"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"a5a6af38-2b60-444c-8320-01a904ace4a9","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Dealer identifier code. </p>\n<p> <strong>Heads up</strong></p>\n<p> The authenticated person must have permission to access the dealer in question.</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"1ff919bf-6afc-432a-b64b-be717f6721a1","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"subject","value":"<string>","description":"Subject of the email."},{"key":"content","value":"<string>","description":"Email Content."},{"key":"leaderCode","value":"<integer>","description":"Dealer leader code."}]},"url":{"raw":"{{baseUrl}}/api/sellers/:id/leaderMessage","host":["{{baseUrl}}"],"path":["api","sellers",":id","leaderMessage"],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n Dealer identifier code. \n\n **Heads up**\n\n The authenticated person must have permission to access the dealer in question."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3132c29f-bfcb-4847-8db8-ef092822b38c"}],"id":"d9a479f1-008a-4934-a8fe-0dd53c204e1e","_postman_id":"d9a479f1-008a-4934-a8fe-0dd53c204e1e","description":""},{"name":"See structure levels","id":"f1de5691-866d-4f5d-81f6-2a0eccc1d645","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/public/structureLevels?structureType=<string>","description":"<p>This call is used to query commercial or geographic structure levels. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","public","structureLevels"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Type of structure. Accepted values:</p>\n<ul>\n<li><p><code>commercial</code>;</p>\n</li>\n<li><p><code>geographical</code>.</p>\n</li>\n</ul>\n","type":"text/plain"},"key":"structureType","value":"<string>"}],"variable":[]}},"response":[{"id":"857e1392-a493-4742-a8a2-8e5184526971","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/structureLevels?structureType=<string>","host":["{{baseUrl}}"],"path":["api","public","structureLevels"],"query":[{"key":"structureType","value":"<string>","description":"**(Mandatory)**\n\n Type of structure. Accepted values:\n\n - `commercial`;\n\n - `geographical`."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Structure level code\",\n \"name\": \"Structure level name\"\n }\n ]"},{"id":"61d3597d-e3df-4b30-bdfe-040c342f7715","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/structureLevels?structureType=<string>","host":["{{baseUrl}}"],"path":["api","public","structureLevels"],"query":[{"key":"structureType","value":"<string>","description":"**(Mandatory)**\n\n Type of structure. Accepted values:\n\n - `commercial`;\n\n - `geographical`."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 0,\r\n \"name\": \"Country\"\r\n },\r\n {\r\n \"code\": 1,\r\n \"name\": \"State\"\r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"City\"\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"Neighborhood\"\r\n },\r\n {\r\n \"code\": 4,\r\n \"name\": \"Place\"\r\n }\r\n ]"}],"_postman_id":"f1de5691-866d-4f5d-81f6-2a0eccc1d645"},{"name":"Consult commercial structures","id":"08d1b02b-fea6-4454-a7df-fad3f1695bce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/commercialStructures?code=<integer>&name=<string>&parentCode=<integer>&responsibleUserCode=<integer>&coresponsibleUserCode=<integer>&responsibleOrcoresponsibleUserCode=<integer>&levelCode=<integer>&cycle=<integer>&isActive=<boolean>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=sellerPictures&includeOptions=by the way&includeOptions=corresponsibleUsers&includeOptions=kpis&includeOptions=history&includeOptions=latestOpenedCycle&includeOptions=locationCoverage","description":"<p>This call is used to query commercial structures registered in <strong>Let</strong>. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter. </p>\n<h2 id=\"important-concept\">Important Concept</h2>\n<p> For each commercial structure, it is possible to have a responsible user and one (or more) co-responsible(s)</p>\n<p> The responsible user is the one who manages the structure in general. He can only be responsible for one structure, and must be allocated in the structure he is responsible for. A co-responsible person, in turn, may be allocated a structure below which he is co-responsible. It is intended to assist the person responsible in their administrative tasks. </p>\n<p> <strong>Observation</strong></p>\n<p> If the environment has <em>economic group</em>functionality configured, it will be validated if a co-responsible of a structure is allocated in a structure that belongs to the same<em>economic group</em>.</p>\n","urlObject":{"path":["api","commercialStructures"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Commercial structure code. </p>\n<p> The application must send a <code>code</code> parameter for each business framework code. </p>\n<p> E.g.: code=&amp;code=</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Name of the geographic structure.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Parent business structure code.</p>\n","type":"text/plain"},"key":"parentCode","value":"<integer>"},{"description":{"content":"<p>User code responsible for the commercial structure.</p>\n","type":"text/plain"},"key":"responsibleUserCode","value":"<integer>"},{"description":{"content":"<p>User code co-responsible for the commercial structure.</p>\n","type":"text/plain"},"key":"coresponsibleUserCode","value":"<integer>"},{"description":{"content":"<p>User code responsible or co-responsible for the commercial structure. </p>\n<p> <strong>Heads up</strong></p>\n<p> If the <code>responsibleUserCode</code> or <code>coresponsibleUserCode</code> parameter is passed, this parameter should not be sent.</p>\n","type":"text/plain"},"key":"responsibleOrcoresponsibleUserCode","value":"<integer>"},{"description":{"content":"<p>Business structure level code.</p>\n","type":"text/plain"},"key":"levelCode","value":"<integer>"},{"description":{"content":"<p>Commercial structure cycle.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Business structure status.</p>\n","type":"text/plain"},"key":"isActive","value":"<boolean>"},{"description":{"content":"<p>Ordering Options. </p>\n<p> Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Ordering</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>Orders results by business structure code, in ascending order</td>\n</tr>\n<tr>\n<td>code desc</td>\n<td>Sort results by business structure code, in descending order</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Orders results by business structure name, in ascending order</td>\n</tr>\n<tr>\n<td>name desc</td>\n<td>Sort results by business structure name, in descending order</td>\n</tr>\n</tbody>\n</table>\n</div>","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>It adds an object with the photos of the person responsible for the structure in the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"sellerPictures"},{"description":{"content":"<p>It adds an object with the alias of the person responsible for the structure in the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>It adds an object with information from those responsible for the structure to the query's return. </p>\n<p> <strong>Heads up</strong></p>\n<p> The data returned for <code>coresponsibleUsers</code> depends on the values passed in the <code>includeOptions</code>.</p>\n","type":"text/plain"},"key":"includeOptions","value":"corresponsibleUsers"},{"description":{"content":"<p>It adds an object with information about the structure's kpis to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"kpis"},{"description":{"content":"<p>It adds an object with the history of the structure to the query's return. </p>\n<p> <strong>Heads up</strong></p>\n<p> The data returned for <code>history</code> depends on the values passed in <code>includeOptions</code>.</p>\n","type":"text/plain"},"key":"includeOptions","value":"history"},{"description":{"content":"<p>It adds an object with the last active cycle of the structure to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"latestOpenedCycle"},{"description":{"content":"<p>It adds an object with the structure's geographic coverage information in the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"locationCoverage"}],"variable":[]}},"response":[{"id":"ac504af5-13ff-445b-b23c-0bdf23e17544","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures?code=<integer>&name=<string>&parentCode=<integer>&responsibleUserCode=<integer>&coresponsibleUserCode=<integer>&responsibleOrcoresponsibleUserCode=<integer>&levelCode=<integer>&cycle=<integer>&isActive=<boolean>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=sellerPictures&includeOptions=by the way&includeOptions=corresponsibleUsers&includeOptions=kpis&includeOptions=history&includeOptions=latestOpenedCycle&includeOptions=locationCoverage","host":["{{baseUrl}}"],"path":["api","commercialStructures"],"query":[{"key":"code","value":"<integer>","description":"Commercial structure code. \n\n The application must send a `code` parameter for each business framework code. \n\n E.g.: code=<integer>&amp;code=<integer>"},{"key":"name","value":"<string>","description":"Name of the geographic structure."},{"key":"parentCode","value":"<integer>","description":"Parent business structure code."},{"key":"responsibleUserCode","value":"<integer>","description":"User code responsible for the commercial structure."},{"key":"coresponsibleUserCode","value":"<integer>","description":"User code co-responsible for the commercial structure."},{"key":"responsibleOrcoresponsibleUserCode","value":"<integer>","description":"User code responsible or co-responsible for the commercial structure. \n\n **Heads up**\n\n If the `responsibleUserCode` or `coresponsibleUserCode` parameter is passed, this parameter should not be sent."},{"key":"levelCode","value":"<integer>","description":"Business structure level code."},{"key":"cycle","value":"<integer>","description":"Commercial structure cycle."},{"key":"isActive","value":"<boolean>","description":"Business structure status."},{"key":"sortOptions","value":"<string>","description":"Ordering Options. \n\n Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. \n\n |Parameter|Ordering|\n |-- |-- |\n |code|Orders results by business structure code, in ascending order|\n |code desc|Sort results by business structure code, in descending order|\n |name|Orders results by business structure name, in ascending order|\n |name desc|Sort results by business structure name, in descending order|"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the photos of the person responsible for the structure in the return of the query."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the alias of the person responsible for the structure in the return of the query."},{"key":"includeOptions","value":"corresponsibleUsers","description":"It adds an object with information from those responsible for the structure to the query&#39;s return. \n\n **Heads up**\n\n If the `includeOptions` parameter has the value `alias` and/or `sellerPictures`, the application also returns the alias and/or images of each returned co-responsible."},{"key":"includeOptions","value":"kpis","description":"It adds an object with information about the structure&#39;s kpis to the query&#39;s return."},{"key":"includeOptions","value":"history","description":"It adds an object with the history of the structure to the query&#39;s return. \n\n **Heads up**\n\n If the `includeOptions` parameter has the value `alias`, the application also returns the nickname of each responsible person returned in the history."},{"key":"includeOptions","value":"latestOpenedCycle","description":"It adds an object with the last active cycle of the structure to the query&#39;s return."},{"key":"includeOptions","value":"locationCoverage","description":"It adds an object with the structure&#39;s geographic coverage information in the query&#39;s return."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Code of the commercial structure\",\r\n \"name\": \"Name of business structure\",\r\n \"responsibleUser\": {\r\n \"code\": \"Code of the person responsible for the commercial structure\",\r\n \"name\": \"Name of the person responsible for the commercial structure\",\r\n \"telephones\": [ // Parent&#39;s phone list\r\n {\r\n \"type\": {\r\n \"id\": \"Phone type code\", // Possible values in glossary (Phone Types)\r\n \"description\": \"Description of phone type\"\r\n },\r\n \"telephone\": \"Phone number\",\r\n \"smsAccepted\": \"Indicates if the phone can receive SMS\"\r\n }\r\n ],\r\n \"emails\": [ // Owner&#39;s email list \r\n {\r\n \"type\": {\r\n \"id\": \"Email Type Code\", // Possible Glossary Values (Email Types)\r\n \"description\": \"Description of email type\"\r\n },\r\n \"email\": \"Email address\"\r\n }\r\n ],\r\n \"sellerPictures\": [ // List of responsible images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", // Possible values available in the Glossary (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Full URL of the image\"\r\n }\r\n ],\r\n \"alias\": [ // List of responsible aliases\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Name of responsible\"\r\n }\r\n ]\r\n },\r\n \"coresponsibleUsers\": [ // List of co-responsibles for the commercial structure\r\n {\r\n \"structureCode\": \"Co-responsible structure code\",\r\n \"code\": \"Co-responsible code\",\r\n \"name\": \"Co-responsible name\",\r\n \"sellerPictures\": [ // List of co-responsible images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", // Possible values available in the Glossary (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Full URL of Image\"\r\n }\r\n ],\r\n \"alias\": [ // Co-responsible alias list\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Surname of the co-responsible\"\r\n }\r\n ],\r\n \"telephones\": [ // Co-responsible&#39;s phone list\r\n {\r\n \"type\": {\r\n \"id\": \"Phone type code\", // Possible values in glossary (Phone Types)\r\n \"description\": \"Description of phone type\"\r\n },\r\n \"telephone\": \"Phone number\",\r\n \"smsAccepted\": \"Indicates if the phone can receive SMS\"\r\n }\r\n ],\r\n \"emails\": [ // Co-responsible email list\r\n {\r\n \"type\": {\r\n \"id\": \"Email Type Code\", // Possible Glossary Values (Email Types)\r\n \"description\": \"Description of email type\"\r\n },\r\n \"email\": \"Email address\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"level\": {\r\n \"code\": \"Structure level code\",\r\n \"name\": \"Structure level name\"\r\n },\r\n \"isLeaf\": \"Indicates if it is the last level of the business structure\",\r\n \"isActive\": \"Indicates if the structure is active\",\r\n \"indications\": {\r\n \"enabled\": \"Indicates whether the structure can automatically allocate new resellers below it registered\",\r\n \"distribuitionProportion\": \"Weight of indications. It impacts how the structure is chosen at the time of automatic allocation of people\",\r\n \"incomingConsultants\": \"Number of consultants indicated for this structure\"\r\n },\r\n \"history\": [ // List of records in history\r\n {\r\n \"initialCycle\": \"Structure campaign start cycle\",\r\n \"finalCycle\": \"End of structure campaign cycle\",\r\n \"name\": \"Structure name\",\r\n \"parent\": {\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\"\r\n },\r\n \"responsibleUser\": {\r\n \"code\": \"Code of the person responsible for the structure\",\r\n \"name\": \"Name of the person responsible for the structure\",\r\n \"alias\": [ // List of responsible aliases \r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"nickname\"\r\n }\r\n ]\r\n },\r\n \"changeDate\": \"Structure creation date\"\r\n }\r\n ],\r\n \"geographicalCoverage\": [ // List of geographic coverages of the commercial structure\r\n {\r\n \"geographicalStructure\": {\r\n \"code\": \"Code of geographic structure\",\r\n \"name\": \"Name of geographic structure\"\r\n },\r\n \"denied\": \"Indicates if coverage was denied (True/False)\",\r\n \"changeUser\": {\r\n \"code\": \"Creation User Code\",\r\n \"name\": \"Creation Username\"\r\n }\r\n }\r\n ],\r\n \"latestOpenedCycle\": {\r\n \"number\": \"Number of the last open cycle\"\r\n },\r\n \"kpis\": [ // List of indicators\r\n {\r\n \"code\": \"Indicator code\",\r\n \"name\": \"Indicator name\"\r\n }\r\n ],\r\n \"subjects\": [ // List of subject subjects\r\n {\r\n \"code\": \"Subject code\",\r\n \"name\": \"Subject name\",\r\n \"title\": \"Translation of subject description\"\r\n }\r\n ]\r\n }\r\n ]"},{"id":"e726390d-2773-4c12-9653-d5f4a139609c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures?code=<integer>&name=<string>&parentCode=<integer>&responsibleUserCode=<integer>&coresponsibleUserCode=<integer>&responsibleOrcoresponsibleUserCode=<integer>&levelCode=<integer>&cycle=<integer>&isActive=<boolean>&sortOptions=<string>&page=<integer>&pageSize=<integer>&includeOptions=sellerPictures&includeOptions=by the way&includeOptions=corresponsibleUsers&includeOptions=kpis&includeOptions=history&includeOptions=latestOpenedCycle&includeOptions=locationCoverage","host":["{{baseUrl}}"],"path":["api","commercialStructures"],"query":[{"key":"code","value":"<integer>","description":"Commercial structure code. \n\n The application must send a `code` parameter for each business framework code. \n\n E.g.: code=<integer>&amp;code=<integer>"},{"key":"name","value":"<string>","description":"Name of the geographic structure."},{"key":"parentCode","value":"<integer>","description":"Parent business structure code."},{"key":"responsibleUserCode","value":"<integer>","description":"User code responsible for the commercial structure."},{"key":"coresponsibleUserCode","value":"<integer>","description":"User code co-responsible for the commercial structure."},{"key":"responsibleOrcoresponsibleUserCode","value":"<integer>","description":"User code responsible or co-responsible for the commercial structure. \n\n **Heads up**\n\n If the `responsibleUserCode` or `coresponsibleUserCode` parameter is passed, this parameter should not be sent."},{"key":"levelCode","value":"<integer>","description":"Business structure level code."},{"key":"cycle","value":"<integer>","description":"Commercial structure cycle."},{"key":"isActive","value":"<boolean>","description":"Business structure status."},{"key":"sortOptions","value":"<string>","description":"Ordering Options. \n\n Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. \n\n |Parameter|Ordering|\n |-- |-- |\n |code|Orders results by business structure code, in ascending order|\n |code desc|Sort results by business structure code, in descending order|\n |name|Orders results by business structure name, in ascending order|\n |name desc|Sort results by business structure name, in descending order|"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the photos of the person responsible for the structure in the return of the query."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the alias of the person responsible for the structure in the return of the query."},{"key":"includeOptions","value":"corresponsibleUsers","description":"It adds an object with information from those responsible for the structure to the query&#39;s return. \n\n **Heads up**\n\n If the `includeOptions` parameter has the value `alias` and/or `sellerPictures`, the application also returns the alias and/or images of each returned co-responsible."},{"key":"includeOptions","value":"kpis","description":"It adds an object with information about the structure&#39;s kpis to the query&#39;s return."},{"key":"includeOptions","value":"history","description":"It adds an object with the history of the structure to the query&#39;s return. \n\n **Heads up**\n\n If the `includeOptions` parameter has the value `alias`, the application also returns the nickname of each responsible person returned in the history."},{"key":"includeOptions","value":"latestOpenedCycle","description":"It adds an object with the last active cycle of the structure to the query&#39;s return."},{"key":"includeOptions","value":"locationCoverage","description":"It adds an object with the structure&#39;s geographic coverage information in the query&#39;s return."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 1,\r\n \"name\": \"Test Innovates\",\r\n \"responsibleUser\": {\r\n \"code\": 2747,\r\n \"name\": \"INNOVATION PROJECT 5\",\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"1944371431\"\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\"\r\n },\r\n \"telephone\": \"19998728349\",\r\n \"smsAccepted\": true\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Personal\"\r\n },\r\n \"email\": \"PROJETOINOVA5@GERA.COM.BR\"\r\n }\r\n ],\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"projectonovacao5\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"INOVADEV\"\r\n }\r\n ]\r\n }, \r\n \"coresponsibleUsers\": [\r\n {\r\n \"structureCode\": 68,\r\n \"code\": 2743,\r\n \"name\": \"INNOVATION PROJECT 2\",\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"PROJETOINOVACAO2\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"INOVADEV\"\r\n }\r\n ],\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"12345678\"\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\"\r\n },\r\n \"telephone\": \"19994528349\",\r\n \"smsAccepted\": true\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Personal\"\r\n },\r\n \"email\": \"EXAMPLE1@GERA.COM.BR\"\r\n }\r\n ]\r\n } \r\n ],\r\n \"level\": {\r\n \"code\": 0,\r\n \"name\": \"Board\"\r\n },\r\n \"isLeaf\": false,\r\n \"isActive\": true,\r\n \"indications\": {\r\n \"enabled\": true,\r\n \"distributionProportion\": 1,\r\n \"incomingConsultants\": 2\r\n },\r\n \"history\": [\r\n {\r\n \"initialCycle\": 201702,\r\n \"finalCycle\": 201704,\r\n \"name\": \"Commercial Structure 1\",\r\n \"changeDate\": \"2016-10-26T18:43:36.027Z\"\r\n },\r\n {\r\n \"initialCycle\": 201705,\r\n \"finalCycle\": 201717,\r\n \"name\": \"Presidency\",\r\n \"responsibleUser\": {\r\n \"code\": 376,\r\n \"name\": \"João da Silva\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"webstore_test\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"Fancy Test Name\"\r\n }\r\n ]\r\n },\r\n \"changeDate\": \"2017-05-06T10:39:44.413Z\"\r\n }\r\n ],\r\n \"geographicalCoverage\": [\r\n {\r\n \"geographicalStructure\": {\r\n \"code\": 2,\r\n \"name\": \"AC\"\r\n },\r\n \"denied\": false, \r\n \"changeUser\": {\r\n \"code\": -1,\r\n \"name\": \"GENERATE SUPPORT\"\r\n }\r\n },\r\n {\r\n \"geographicalStructure\": {\r\n \"code\": 3,\r\n \"name\": \"AL\"\r\n },\r\n \"denied\": false,\r\n \"changeUser\": {\r\n \"code\": -1,\r\n \"name\": \"GENERATE SUPPORT\"\r\n }\r\n },\r\n {\r\n \"geographicalStructure\": {\r\n \"code\": 4,\r\n \"name\": \"AM\"\r\n },\r\n \"denied\": false,\r\n \"changeUser\": {\r\n \"code\": -1,\r\n \"name\": \"GENERATE SUPPORT\" \r\n }\r\n }\r\n ],\r\n \"latestOpenedCycle\": {\r\n \"number\": 202105\r\n },\r\n \"kpis\": [\r\n {\r\n \"code\": 1000,\r\n \"name\": \"Orders\"\r\n },\r\n {\r\n \"code\": 1001,\r\n \"name\": \"Net Revenue\"\r\n },\r\n {\r\n \"code\": 1002,\r\n \"name\": \"Gross Revenue\"\r\n },\r\n {\r\n \"code\": 1009,\r\n \"name\": \"Medium Ticket\"\r\n }\r\n ],\r\n \"subjects\": [\r\n {\r\n \"code\": 1, \r\n \"name\": \"billing\",\r\n \"title\": \"Billing Panel\"\r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"situacaoCanal\",\r\n \"title\": \"General Indicator Panel\"\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"Key\",\r\n \"title\": \"Key\"\r\n },\r\n {\r\n \"code\": 4,\r\n \"name\": \"Financial\",\r\n \"title\": \"Financial\"\r\n },\r\n {\r\n \"code\": 5,\r\n \"name\": \"Channel\",\r\n \"title\": \"Channel\"\r\n }\r\n ]\r\n }"}],"_postman_id":"08d1b02b-fea6-4454-a7df-fad3f1695bce"},{"name":"See commercial structure by code","id":"8312677d-9823-4e8d-a93d-b764658b7b74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/commercialStructures/:id?includeOptions=sellerPictures&includeOptions=by the way&includeOptions=corresponsibleUsers&includeOptions=kpis&includeOptions=latestOpenedCycle&includeOptions=locationCoverage","description":"<p>This call is used to query a business structure by code. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter. </p>\n<h2 id=\"important-concept\">Important Concept</h2>\n<p> For each commercial structure, it is possible to have a responsible user and one (or more) co-responsible(s)</p>\n<p> The responsible user is the one who manages the structure in general. He can only be responsible for one structure, and must be allocated in the structure he is responsible for. A co-responsible person, in turn, may be allocated a structure below which he is co-responsible. It is intended to assist the person responsible in their administrative tasks. </p>\n<p> <strong>Observation</strong></p>\n<p> If the environment has <em>economic group</em>functionality configured, it will be validated if a co-responsible of a structure is allocated in a structure that belongs to the same<em>economic group</em>.</p>\n","urlObject":{"path":["api","commercialStructures",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>It adds an object with the photos of the person responsible for the structure in the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"sellerPictures"},{"description":{"content":"<p>It adds an object with the alias of the person responsible for the structure in the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>It adds an object with information from those responsible for the structure to the query's return. </p>\n<p> <strong>Heads up</strong></p>\n<p> The data returned for <code>coresponsibleUsers</code> depends on the values passed in the <code>includeOptions</code>.</p>\n","type":"text/plain"},"key":"includeOptions","value":"corresponsibleUsers"},{"description":{"content":"<p>It adds an object with information about the structure's kpis to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"kpis"},{"description":{"content":"<p>It adds an object with the last active cycle of the structure to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"latestOpenedCycle"},{"description":{"content":"<p>It adds an object with the structure's geographic coverage information in the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"locationCoverage"}],"variable":[{"id":"c17c738a-5e05-4060-8bfa-36e86d81377d","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Identifier code of the commercial structure.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d6b7f59f-1078-4ecf-85dd-1d039ee0d34e","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id?includeOptions=sellerPictures&includeOptions=by the way&includeOptions=corresponsibleUsers&includeOptions=kpis&includeOptions=locationCoverage&includeOptions=latestOpenedCycle","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id"],"query":[{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the photos of the person responsible for the structure in the return of the query."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the alias of the person responsible for the structure in the return of the query."},{"key":"includeOptions","value":"corresponsibleUsers","description":"It adds an object with information from those responsible for the structure to the query&#39;s return. \n\n **Heads up**\n\n The data returned for `coresponsibleUsers` depends on the values passed in the `includeOptions`."},{"key":"includeOptions","value":"kpis","description":"It adds an object with information about the structure&#39;s kpis to the query&#39;s return."},{"key":"includeOptions","value":"locationCoverage","description":"It adds an object with the structure&#39;s geographic coverage information in the query&#39;s return."},{"key":"includeOptions","value":"latestOpenedCycle","description":"It adds an object with the last active cycle of the structure to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the commercial structure."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Structure code\",\r\n \"name\": \"Structure name\",\r\n \"parent\": {\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\"\r\n },\r\n \"responsibleUser\": {\r\n \"code\": \"Responsible User Code\",\r\n \"name\": \"Name of responsible user\",\r\n \"telephones\": [ // Parent&#39;s phone list\r\n {\r\n \"type\": {\r\n \"id\": \"Phone Type Code\", // Possible Glossary Values (Phone Types)\r\n \"description\": \"Description of phone type\"\r\n },\r\n \"telephone\": \"Phone number\"\r\n }\r\n ],\r\n \"emails\": [ // List of emails of the responsible\r\n {\r\n \"type\": {\r\n \"id\": \"Email Type Code\", // Possible Glossary Values (Email Types)\r\n \"description\": \"Description of email type\"\r\n },\r\n \"email\": \"Email address\",\r\n \"newsLetterAccepted\": \"Indicates if the email is enabled to receive NewsLetters\"\r\n }\r\n ],\r\n \"sellerPictures\": [ // List of images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", // Possible values available in the Glossary (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ],\r\n \"alias\": [ // List of responsible aliases\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Name of responsible\"\r\n }\r\n ]\r\n },\r\n \"coresponsibleUsers\": [ // List of co-responsibles for the commercial structure\r\n {\r\n \"structureCode\": \"Co-responsible structure code\",\r\n \"code\": \"Co-responsible code\",\r\n \"name\": \"Co-responsible name\",\r\n \"sellerPictures\": [ // List of co-responsible images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", // Possible values available in the Glossary (Image Types)\r\n \"description\": \"Description of the type of Image\"\r\n },\r\n \"urlPicture\": \"Full URL of the image\"\r\n }\r\n ],\r\n \"alias\": [ // Co-responsible alias list\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Surname of the co-responsible\"\r\n }\r\n ],\r\n \"telephones\": [ // Co-responsible&#39;s phone list\r\n {\r\n \"type\": {\r\n \"id\": \"Phone type code\", // Possible values in glossary (Phone Types)\r\n \"description\": \"Description of phone type\"\r\n },\r\n \"telephone\": \"Phone number\",\r\n \"smsAccepted\": \"Indicates if the phone can receive SMS\"\r\n }\r\n ],\r\n \"emails\": [ // Co-responsible email list\r\n {\r\n \"type\": {\r\n \"id\": \"Email Type Code\", // Possible Glossary Values (Email Types)\r\n \"description\": \"Description of email type\"\r\n },\r\n \"email\": \"Email address\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"level\": {\r\n \"code\": \"Structure level code\",\r\n \"name\": \"Structure level name\"\r\n },\r\n \"isLeaf\": \"Indicates if it is the last level of the structure\",\r\n \"isActive\": \"Indicates if the structure is active\",\r\n \"indications\": {\r\n \"enabled\": \"Indicates whether the structure can automatically allocate new registered resellers under it\",\r\n \"distribuitionProportion\": \"Weight of indications. It impacts how the structure is chosen at the time of automatic allocation of people\",\r\n \"incomingConsultants\": \"Number of consultants indicated for this structure\"\r\n },\r\n \"history\": [ // List of records in history\r\n {\r\n \"initialCycle\": \"Structure campaign start cycle\",\r\n \"finalCycle\": \"End of structure campaign cycle\",\r\n \"name\": \"Structure name\",\r\n \"parent\": {\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\"\r\n },\r\n \"responsibleUser\": {\r\n \"code\": \"Code of the person responsible for the structure\",\r\n \"name\": \"Name of the person responsible for the structure\",\r\n \"alias\": [ // List of responsible aliases \r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"nickname\"\r\n }\r\n ]\r\n },\r\n \"changeDate\": \"Structure creation date\"\r\n }\r\n ],\r\n \"geographicalCoverage\": [ // List of geographic coverages of the commercial structure\r\n {\r\n \"geographicalStructure\": {\r\n \"code\": \"Code of geographic structure\",\r\n \"name\": \"Name of geographic structure\"\r\n },\r\n \"denied\": \"Indicates if coverage was denied (True/False)\",\r\n \"changeUser\": {\r\n \"code\": \"Creation User Code\",\r\n \"name\": \"Creation Username\"\r\n }\r\n }\r\n ],\r\n \"latestOpenedCycle\": {\r\n \"number\": \"Number of the last open cycle\"\r\n },\r\n \"kpis\": [ // List of indicators\r\n {\r\n \"code\": \"Indicator code\",\r\n \"name\": \"Indicator name\"\r\n }\r\n ],\r\n \"subjects\": [ // List of subject subjects\r\n {\r\n \"code\": \"Subject code\",\r\n \"name\": \"Subject name\",\r\n \"title\": \"Translation of subject description\"\r\n }\r\n ]\r\n }"},{"id":"034dcfe7-fa93-4ab4-877a-61ce1fc00deb","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id?includeOptions=sellerPictures&includeOptions=by the way&includeOptions=corresponsibleUsers&includeOptions=kpis&includeOptions=locationCoverage&includeOptions=latestOpenedCycle","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id"],"query":[{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the photos of the person responsible for the structure in the return of the query."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the alias of the person responsible for the structure in the return of the query."},{"key":"includeOptions","value":"corresponsibleUsers","description":"It adds an object with information from those responsible for the structure to the query&#39;s return. \n\n **Heads up**\n\n The data returned for `coresponsibleUsers` depends on the values passed in the `includeOptions`."},{"key":"includeOptions","value":"kpis","description":"It adds an object with information about the structure&#39;s kpis to the query&#39;s return."},{"key":"includeOptions","value":"locationCoverage","description":"It adds an object with the structure&#39;s geographic coverage information in the query&#39;s return."},{"key":"includeOptions","value":"latestOpenedCycle","description":"It adds an object with the last active cycle of the structure to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the commercial structure."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 1,\r\n \"name\": \"Test Innovates\",\r\n \"responsibleUser\": {\r\n \"code\": 2747,\r\n \"name\": \"INNOVATION PROJECT 5\",\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"1944371431\"\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\"\r\n },\r\n \"telephone\": \"19998728349\",\r\n \"smsAccepted\": true\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Personal\"\r\n },\r\n \"email\": \"PROJETOINOVA5@GERA.COM.BR\"\r\n }\r\n ],\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"projectonovacao5\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"INOVADEV\"\r\n }\r\n ]\r\n }, \r\n \"coresponsibleUsers\": [\r\n {\r\n \"structureCode\": 68,\r\n \"code\": 2743,\r\n \"name\": \"INNOVATION PROJECT 2\",\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"PROJETOINOVACAO2\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"INOVADEV\"\r\n }\r\n ],\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"12345678\"\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\"\r\n },\r\n \"telephone\": \"19994528349\",\r\n \"smsAccepted\": true\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Personal\"\r\n },\r\n \"email\": \"EXAMPLE1@GERA.COM.BR\"\r\n }\r\n ]\r\n } \r\n ],\r\n \"level\": {\r\n \"code\": 0,\r\n \"name\": \"Board\"\r\n },\r\n \"isLeaf\": false,\r\n \"isActive\": true,\r\n \"indications\": {\r\n \"enabled\": true,\r\n \"distributionProportion\": 1,\r\n \"incomingConsultants\": 2\r\n },\r\n \"history\": [\r\n {\r\n \"initialCycle\": 201702,\r\n \"finalCycle\": 201704,\r\n \"name\": \"Commercial Structure 1\",\r\n \"changeDate\": \"2016-10-26T18:43:36.027Z\"\r\n },\r\n {\r\n \"initialCycle\": 201705,\r\n \"finalCycle\": 201717,\r\n \"name\": \"Presidency\",\r\n \"responsibleUser\": {\r\n \"code\": 376,\r\n \"name\": \"João da Silva\",\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"webstore_test\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"Fancy Test Name\"\r\n }\r\n ]\r\n },\r\n \"changeDate\": \"2017-05-06T10:39:44.413Z\"\r\n }\r\n ],\r\n \"geographicalCoverage\": [\r\n {\r\n \"geographicalStructure\": {\r\n \"code\": 2,\r\n \"name\": \"AC\"\r\n },\r\n \"denied\": false, \r\n \"changeUser\": {\r\n \"code\": -1,\r\n \"name\": \"GENERATE SUPPORT\"\r\n }\r\n },\r\n {\r\n \"geographicalStructure\": {\r\n \"code\": 3,\r\n \"name\": \"AL\"\r\n },\r\n \"denied\": false,\r\n \"changeUser\": {\r\n \"code\": -1,\r\n \"name\": \"GENERATE SUPPORT\"\r\n }\r\n },\r\n {\r\n \"geographicalStructure\": {\r\n \"code\": 4,\r\n \"name\": \"AM\"\r\n },\r\n \"denied\": false,\r\n \"changeUser\": {\r\n \"code\": -1,\r\n \"name\": \"GENERATE SUPPORT\" \r\n }\r\n }\r\n ],\r\n \"latestOpenedCycle\": {\r\n \"number\": 202105\r\n },\r\n \"kpis\": [\r\n {\r\n \"code\": 1000,\r\n \"name\": \"Orders\"\r\n },\r\n {\r\n \"code\": 1001,\r\n \"name\": \"Net Revenue\"\r\n },\r\n {\r\n \"code\": 1002,\r\n \"name\": \"Gross Revenue\"\r\n },\r\n {\r\n \"code\": 1009,\r\n \"name\": \"Medium Ticket\"\r\n }\r\n ],\r\n \"subjects\": [\r\n {\r\n \"code\": 1, \r\n \"name\": \"billing\",\r\n \"title\": \"Billing Panel\"\r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"situacaoCanal\",\r\n \"title\": \"General Indicator Panel\"\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"Key\",\r\n \"title\": \"Key\"\r\n },\r\n {\r\n \"code\": 4,\r\n \"name\": \"Financial\",\r\n \"title\": \"Financial\"\r\n },\r\n {\r\n \"code\": 5,\r\n \"name\": \"Channel\",\r\n \"title\": \"Channel\"\r\n }\r\n ]\r\n }"}],"_postman_id":"8312677d-9823-4e8d-a93d-b764658b7b74"},{"name":"Register commercial structure","id":"3918616f-35b2-4031-b368-19b1e759ec34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"active","value":"<boolean>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Indicates whether the business structure will be active.</p>\n"},{"key":"parentStructureCode","value":"<integer>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Parent structure identifier code.</p>\n"},{"key":"name","value":"<string>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Name of the business structure.</p>\n"},{"key":"initial Cycle","value":"<integer>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Initial cycle of the commercial structure.(202001)</p>\n"},{"key":"weight","value":"<integer>","description":"<p>Weight of the commercial structure. It impacts how the structure is chosen when automatically assigning people.</p>\n"},{"key":"sendCorrespondence","value":"<byte>","description":"<p>Indicates the recipient of mail. </p>\n<p> Accepted values:</p>\n<ul>\n<li><p><code> - Consultant</code>;</p>\n</li>\n<li><p><code> - Responsible for the structure</code></p>\n</li>\n</ul>\n"},{"key":"indicativeStructureCode","value":"<integer>","description":"<p>Indicating structure code.</p>\n"},{"key":"enabledIndications","value":"<boolean>","description":"<p>Indicates whether the structure can automatically allocate new registered resellers below it. </p>\n<p> When registering a new person, if this parameter is enabled, this structure can be used to allocate this person.</p>\n"},{"key":"bonus","value":"<decimal>","description":"<p>Bonus value of the indicator.</p>\n"},{"key":"responsibleCode","value":"<integer>","description":"<p>User code responsible for the structure.</p>\n"}]},"url":"{{baseUrl}}/api/commercialStructures","urlObject":{"path":["api","commercialStructures"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"cb487c59-6c06-4767-a788-b0d51f8cc82a","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"active","value":"<boolean>","description":"**(Mandatory)**\n\n Indicates whether the business structure will be active."},{"key":"parentStructureCode","value":"<integer>","description":"**(Mandatory)**\n\n Parent structure identifier code."},{"key":"name","value":"<string>","description":"**(Mandatory)**\n\n Name of the business structure."},{"key":"initial Cycle","value":"<integer>","description":"**(Mandatory)**\n\n Initial cycle of the commercial structure.(202001)"},{"key":"weight","value":"<integer>","description":"Weight of the commercial structure. It impacts how the structure is chosen when automatically assigning people."},{"key":"sendCorrespondence","value":"<byte>","description":"Indicates the recipient of mail. \n\n Accepted values:\n\n - ` - Consultant`;\n\n - ` - Responsible for the structure`"},{"key":"indicativeStructureCode","value":"<integer>","description":"Indicating structure code."},{"key":"enabledIndications","value":"<boolean>","description":"Indicates whether the structure can automatically allocate new registered resellers below it. \n\n When registering a new person, if this parameter is enabled, this structure can be used to allocate this person."},{"key":"bonus","value":"<decimal>","description":"Bonus value of the indicator."},{"key":"responsibleCode","value":"<integer>","description":"User code responsible for the structure."}]},"url":"{{baseUrl}}/api/commercialStructures"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Code of the commercial structure\",\r\n \"name\": \"Name of business structure\",\r\n \"responsibleUser\": {\r\n \"code\": \"Code of the person responsible for the commercial structure\",\r\n \"name\": \"Name of the person responsible for the commercial structure\",\r\n \"telephones\": [ // Parent&#39;s phone list\r\n {\r\n \"type\": {\r\n \"id\": \"Phone type code\", // Possible values in glossary (Phone Types)\r\n \"description\": \"Description of phone type\"\r\n },\r\n \"telephone\": \"Phone number\",\r\n \"smsAccepted\": \"Indicates if the phone can receive SMS\"\r\n }\r\n ],\r\n \"emails\": [ // Owner&#39;s email list\r\n { \r\n \"type\": {\r\n \"id\": \"Email Type Code\", // Possible Glossary Values (Email Types)\r\n \"description\": \"Description of email type\"\r\n },\r\n \"email\": \"Email address\"\r\n }\r\n ],\r\n \"sellerPictures\": [ // List of responsible images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", // Possible values available in the Glossary (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Full URL of the image\"\r\n }\r\n ],\r\n \"alias\": [ // List of responsible aliases\r\n {\r\n \"typeId\": \"Type code of nickname\", // Possible values in the glossary (Alias Types)\r\n \"alias\": \"Name of responsible\"\r\n }\r\n ]\r\n },\r\n \"coresponsibleUsers\": [ // List of co-responsibles for the commercial structure\r\n {\r\n \"structureCode\": \"Co-responsible structure code\",\r\n \"code\": \"Co-responsible code\",\r\n \"name\": \"Co-responsible name\",\r\n \"sellerPictures\": [ // List of co-responsible images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", // Possible values available in the Glossary (Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Full URL of the image\"\r\n }\r\n ],\r\n \"alias\": [ // Co-responsible alias list\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Surname of the co-responsible\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"level\": {\r\n \"code\": \"Structure level code\",\r\n \"name\": \"Structure level name\"\r\n },\r\n \"isLeaf\": \"Indicates if it is the last level of the business structure\",\r\n \"isActive\": \"Indicates if the structure is active\",\r\n \"indications\": {\r\n \"enabled\": \"Indicates whether the structure can automatically allocate new registered resellers under it\",\r\n \"distribuitionProportion\": \"Weight of indications. It impacts how the structure is chosen at the time of automatic allocation of people\"\r\n }\r\n }"},{"id":"6aa39168-f9a3-43f3-846a-b0bae9a5eb55","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"active","value":"<boolean>","description":"**(Mandatory)**\n\n Indicates whether the business structure will be active."},{"key":"parentStructureCode","value":"<integer>","description":"**(Mandatory)**\n\n Parent structure identifier code."},{"key":"name","value":"<string>","description":"**(Mandatory)**\n\n Name of the business structure."},{"key":"initial Cycle","value":"<integer>","description":"**(Mandatory)**\n\n Initial cycle of the commercial structure.(202001)"},{"key":"weight","value":"<integer>","description":"Weight of the commercial structure. It impacts how the structure is chosen when automatically assigning people."},{"key":"sendCorrespondence","value":"<byte>","description":"Indicates the recipient of mail. \n\n Accepted values:\n\n - ` - Consultant`;\n\n - ` - Responsible for the structure`"},{"key":"indicativeStructureCode","value":"<integer>","description":"Indicating structure code."},{"key":"enabledIndications","value":"<boolean>","description":"Indicates whether the structure can automatically allocate new registered resellers below it. \n\n When registering a new person, if this parameter is enabled, this structure can be used to allocate this person."},{"key":"bonus","value":"<decimal>","description":"Bonus value of the indicator."},{"key":"responsibleCode","value":"<integer>","description":"User code responsible for the structure."}]},"url":"{{baseUrl}}/api/commercialStructures"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 1,\r\n \"name\": \"Test Innovates\",\r\n \"responsibleUser\": {\r\n \"code\": 2747,\r\n \"name\": \"INNOVATION PROJECT 5\",\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"1944371431\"\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\"\r\n },\r\n \"telephone\": \"19998728349\",\r\n \"smsAccepted\": true\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Personal\"\r\n },\r\n \"email\": \"PROJETOINOVA5@GERA.COM.BR\"\r\n }\r\n ],\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"projectonovacao5\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"INOVADEV\"\r\n }\r\n ]\r\n }, \r\n \"coresponsibleUsers\": [\r\n {\r\n \"structureCode\": 68,\r\n \"code\": 2743,\r\n \"name\": \"INNOVATION PROJECT 2\",\r\n \"sellerPictures\": [],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"PROJETOINOVACAO2\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"INOVADEV\"\r\n }\r\n ]\r\n },\r\n {\r\n \"structureCode\": 69,\r\n \"code\": 2745,\r\n \"name\": \"INNOVATION PROJECT 3\",\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"Alias1\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"INOVADEV\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"level\": {\r\n \"code\": 0,\r\n \"name\": \"Board\"\r\n },\r\n \"isLeaf\": false,\r\n \"isActive\": true,\r\n \"indications\": {\r\n \"enabled\": true,\r\n \"distributionProportion\": 1\r\n }\r\n }"}],"_postman_id":"3918616f-35b2-4031-b368-19b1e759ec34"},{"name":"register hierarchy","id":"06fd333c-e446-4401-a788-3e5233850c4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"initial Cycle","value":"<integer>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Initial cycle of the hierarchy.</p>\n"},{"key":"name","value":"<string>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Hierarchy name.</p>\n"},{"key":"parentStructureCode","value":"<integer>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Parent structure identifier code.</p>\n"},{"key":"responsibleCode","value":"<integer>","description":"<p>Identification code of the person responsible for the hierarchy.</p>\n"}]},"url":"{{baseUrl}}/api/commercialStructures/:id/hierarchy","urlObject":{"path":["api","commercialStructures",":id","hierarchy"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"0898a91a-c34f-45ad-b11c-b23a3656a1c7","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Identifier code of the commercial structure.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"0935dc40-7894-48de-9456-97479c5d37bf","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"initial Cycle","value":"<integer>","description":"Initial cycle of the hierarchy."},{"key":"name","value":"<string>","description":"Hierarchy name."},{"key":"parentStructureCode","value":"<integer>","description":"Parent structure identifier code."},{"key":"responsibleCode","value":"<integer>","description":"Identification code of the person responsible for the hierarchy."}]},"url":{"raw":"{{baseUrl}}/api/commercialStructures/:id/hierarchy","host":["{{baseUrl}}"],"path":["api","commercialStructures",":id","hierarchy"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the commercial structure."}]}},"status":"created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"06fd333c-e446-4401-a788-3e5233850c4a"},{"name":"See parent structure (public access)","id":"e7c3ca28-0eb6-4a5f-aa60-c4a4a0567367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/public/commercialStructures/:id/parent","description":"<p>This call is used to query the parent structure of a business structure. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","public","commercialStructures",":id","parent"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"2169b275-a818-43e6-9276-7e59f4584ee3","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Identifier code of the commercial structure.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"da761d9c-c48f-4f86-a28a-20587b58f466","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/commercialStructures/:id/parent","host":["{{baseUrl}}"],"path":["api","public","commercialStructures",":id","parent"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the commercial structure."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Code of the commercial structure\",\r\n \"name\": \"Name of business structure\",\r\n \"parent\": {\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\",\r\n \"parent\": {\r\n \"code\": \"grandfather structure code\",\r\n \"name\": \"Grandfather structure name\",\r\n \"parent\": {} // Grandfather structure (recursive return to highest structure) or Superior structure (immediate return from highest structure)\r\n }\r\n }\r\n }"},{"id":"0856af1a-7ad1-48d9-8bfb-cce91e3a87ba","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/commercialStructures/:id/parent","host":["{{baseUrl}}"],"path":["api","public","commercialStructures",":id","parent"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the commercial structure."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"// Recursive behavior, even higher structure\r\n {\r\n \"code\": 4,\r\n \"name\": \"Inova 4 Test\",\r\n \"parent\": {\r\n \"code\": 3,\r\n \"name\": \"Inova 3 Test\",\r\n \"parent\": {\r\n \"code\": 2,\r\n \"name\": \"Inova 2 Test\",\r\n \"parent\": {\r\n \"code\": 1,\r\n \"name\": \"Inova Test 1\"\r\n }\r\n }\r\n }\r\n }\r\n // Behavior of a commercial structure of a final consumer, whose father is herself. The API replicates the number of framework levels configured at installation. These levels can be consulted in the &#39;Query structure levels&#39; API\r\n {\r\n \"code\": 30,\r\n \"name\": \"CONSUMER\",\r\n \"parent\": {\r\n \"code\": 30,\r\n \"name\": \"CONSUMER\",\r\n \"parent\": {\r\n \"code\": 30,\r\n \"name\": \"CONSUMER\",\r\n \"parent\": {\r\n \"code\": 30,\r\n \"name\": \"CONSUMER\",\r\n \"parent\": {\r\n \"code\": 30,\r\n \"name\": \"CONSUMER\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n"}],"_postman_id":"e7c3ca28-0eb6-4a5f-aa60-c4a4a0567367"},{"name":"Consult geographic coverage (public access)","id":"95f918f6-d50d-444a-981b-2eaf792ba519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/public/commercialStructures/geographicalCoverage?postalCode=<string>&geographical structure=<integer>&levelCode=<integer>","description":"<p>This call is used to query the business structures that service the geographic structure (region) or postal code sent. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>. </p>\n<p> <strong>Heads up</strong></p>\n<p> The <code>postalCode</code> and <code>geographicalStructure</code> parameters must not be sent simultaneously. Only one of them must be sent per request.</p>\n","urlObject":{"path":["api","public","commercialStructures","geographicalCoverage"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Postal Code. </p>\n<p> <strong>Anticipation</strong></p>\n<p> This parameter must not be sent together with the <code>geographicalStructure</code> parameter.</p>\n","type":"text/plain"},"key":"postalCode","value":"<string>"},{"description":{"content":"<p>Identifier code of the geographic structure. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter must not be sent together with the <code>postalCode</code> parameter.</p>\n","type":"text/plain"},"key":"geographical structure","value":"<integer>"},{"description":{"content":"<p>Business structure level code. </p>\n<p> <a href=\"#2141ad40-03a6-441b-b8e2-169da9402e5c\">Possible values</a></p>\n","type":"text/plain"},"key":"levelCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"2860f1f5-865b-41c0-bc5f-01ab23af773d","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/commercialStructures/geographicalCoverage?postalCode=<string>&geographical structure=<integer>&levelCode=<integer>","host":["{{baseUrl}}"],"path":["api","public","commercialStructures","geographicalCoverage"],"query":[{"key":"postalCode","value":"<string>","description":"Postal Code. \n\n **Anticipation**\n\n This parameter must not be sent together with the `geographicalStructure` parameter."},{"key":"geographical structure","value":"<integer>","description":"Identifier code of the geographic structure. \n\n **Heads up**\n\n This parameter must not be sent together with the `postalCode` parameter."},{"key":"levelCode","value":"<integer>","description":"Structure level code. \n\n [Possible values](#2141ad40-03a6-441b-b8e2-169da9402e5c)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Code of the commercial structure\",\r\n \"name\": \"Name of business structure\",\r\n \"responsibleUser\": {\r\n \"code\": \"Code of the person responsible for the structure\",\r\n \"name\": \"Name of structure owner\"\r\n },\r\n \"indications\": {\r\n \"enabled\": \"Indicates whether the structure can automatically allocate new registered resellers under it\",\r\n \"distribuitionProportion\": \"Weight of indications. It impacts how the structure is chosen at the time of automatic allocation of people\",\r\n \"incomingConsultants\": \"Number of Referred Consultants\"\r\n }\r\n }\r\n ]\r\n"},{"id":"70284fde-c4be-4cef-84ff-77da6e4919b3","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/commercialStructures/geographicalCoverage?postalCode=<string>&geographical structure=<integer>&levelCode=<integer>","host":["{{baseUrl}}"],"path":["api","public","commercialStructures","geographicalCoverage"],"query":[{"key":"postalCode","value":"<string>","description":"Postal Code. \n\n **Anticipation**\n\n This parameter must not be sent together with the `geographicalStructure` parameter."},{"key":"geographical structure","value":"<integer>","description":"Identifier code of the geographic structure. \n\n **Heads up**\n\n This parameter must not be sent together with the `postalCode` parameter."},{"key":"levelCode","value":"<integer>","description":"Structure level code. \n\n [Possible values](#2141ad40-03a6-441b-b8e2-169da9402e5c)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 2,\r\n \"name\": \"Test 2\",\r\n \"responsibleUser\": {\r\n \"code\": 215,\r\n \"name\": \"Test Person 215\"\r\n },\r\n \"indications\": {\r\n \"enabled\": true,\r\n \"distributionProportion\": 1,\r\n \"incomingConsultants\": 2\r\n }\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"Test 3\",\r\n \"responsibleUser\": {\r\n \"code\": 216,\r\n \"name\": \"Test Person 216\"\r\n },\r\n \"indications\": {\r\n \"enabled\": true,\r\n \"distributionProportion\": 2,\r\n \"incomingConsultants\": 8 \r\n }\r\n ]\r\n"}],"_postman_id":"95f918f6-d50d-444a-981b-2eaf792ba519"}],"id":"bcee6178-607b-44bf-a7ac-142beaabf741","_postman_id":"bcee6178-607b-44bf-a7ac-142beaabf741","description":""},{"name":"Business Calendar","item":[{"name":"Consult last active cycle","id":"ba8702ec-e46d-48a0-9f20-61261a090641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/cycles/lastActiveCycle?structureCode=<integer>","description":"<p>This call is used to query the last active cycle. </p>\n<p> It is also possible to query the last active cycle for a specific structure.</p>\n","urlObject":{"path":["api","cycles","lastActiveCycle"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Structure identifier code.</p>\n","type":"text/plain"},"key":"structureCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"a54f99c0-799d-4b85-afd6-8c4729769c14","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/cycles/lastActiveCycle?structureCode=<integer>","host":["{{baseUrl}}"],"path":["api","cycles","lastActiveCycle"],"query":[{"key":"structureCode","value":"<integer>","description":"Structure identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Number of the last active cycle\"\r\n }"},{"id":"95e1618e-aa30-40d1-8925-24bc0e86ee1d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/cycles/lastActiveCycle?structureCode=<integer>","host":["{{baseUrl}}"],"path":["api","cycles","lastActiveCycle"],"query":[{"key":"structureCode","value":"<integer>","description":"Structure identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 202105\r\n }"}],"_postman_id":"ba8702ec-e46d-48a0-9f20-61261a090641"},{"name":"Consult cycle images","id":"8ca4524e-4037-42ea-ac0e-4e03f350affa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/cycles/:id/images","description":"<p>This call is used to query the images of a cycle.</p>\n","urlObject":{"path":["api","cycles",":id","images"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"b3148232-ad30-4c80-8a4b-8ce4aa1ba626","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Cycle identifier code.(202003)</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"9ec3dc89-518e-48d0-b8c8-06825df2917c","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/cycles/:id/images","host":["{{baseUrl}}"],"path":["api","cycles",":id","images"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Cycle identifier code.(202003)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Cycle number\",\r\n \"images\": [ // List of images\r\n {\r\n \"number\": \"Image cycle number\",\r\n \"type\": {\r\n \"id\": \"Campaign Image Type Code\", // Possible Glossary Values (Campaign Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlImage\": \"Image URL\"\r\n }\r\n ]\r\n }"},{"id":"65fc64be-9194-4a1a-a305-d68802c39766","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/cycles/:id/images","host":["{{baseUrl}}"],"path":["api","cycles",":id","images"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Cycle identifier code.(202003)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 202001,\r\n \"images\": [\r\n {\r\n \"number\": 202001,\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Image 1\"\r\n },\r\n \"urlImage\": \"http://[application_address]/Pages/Images/[image_hash].png\"\r\n }\r\n ]\r\n }"}],"_postman_id":"8ca4524e-4037-42ea-ac0e-4e03f350affa"},{"name":"Create/update cycle image","id":"ded54486-d58a-4ba1-9a64-572055b29c64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"Cycle Image","description":"<p>Image file. </p>\n<p> Types accepted:</p>\n<ul>\n<li><code>jpeg</code>;</li>\n<li><code>jpg</code>;</li>\n<li><code>png</code>;</li>\n<li><code>svg</code>.</li>\n</ul>\n","type":"filet","src":[]}]},"url":"{{baseUrl}}/api/cycles/:id/images?imageType=<integer>","urlObject":{"path":["api","cycles",":id","images"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Type of the image. <a href=\"#d550a6b1-76f9-4ad4-937b-4dea56abd284\">Types of campaign images</a></p>\n","type":"text/plain"},"key":"imageType","value":"<integer>"}],"variable":[{"id":"20d46e9a-72c2-4825-9221-b53b1909d908","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Cycle identifier code.(202003)</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"016fb9f0-fbce-42d4-88e1-d1010955d0a8","name":"Response Parameter Details","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"Cycle Image","description":"Image file. \n\n Types accepted:\n\n - `jpeg`;\n - `jpg`;\n - `png`;\n - `svg`.","type":"filet","src":[]}]},"url":{"raw":"{{baseUrl}}/api/cycles/:id/images?imageType=<integer>","host":["{{baseUrl}}"],"path":["api","cycles",":id","images"],"query":[{"key":"imageType","value":"<integer>","description":"**(Mandatory)**\n\n Type of the image. [Types of campaign images]()"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Cycle identifier code.(202003)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": \"Image cycle number\",\r\n \"type\": {\r\n \"id\": \"Campaign Image Type Code\", // Possible Glossary Values (Campaign Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlImage\": \"Image URL\"\r\n }"},{"id":"f19447b7-5326-4dd8-bd74-46c5122cce6e","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"Cycle Image","description":"Image file. \n\n Types accepted:\n\n - `jpeg`;\n - `jpg`;\n - `png`;\n - `svg`.","type":"filet","src":[]}]},"url":{"raw":"{{baseUrl}}/api/cycles/:id/images?imageType=<integer>","host":["{{baseUrl}}"],"path":["api","cycles",":id","images"],"query":[{"key":"imageType","value":"<integer>","description":"**(Mandatory)**\n\n Type of the image. [Types of campaign images]()"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Cycle identifier code.(202003)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"number\": 202001,\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"PC/Desktop\"\r\n },\r\n \"urlImage\": \"http://[application_address]/Pages/Images/[image_hash].png\"\r\n }"}],"_postman_id":"ded54486-d58a-4ba1-9a64-572055b29c64"},{"name":"Get cycles","id":"7505f04d-2ff6-4bb3-b689-3070c6a882b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Cycles?initialNumber=<integer>&cyclesOffset=<integer>&finalNumber=<integer>&firstOpened=<boolean>&lastOpened=<boolean>","description":"<p>This call is made to get the marketing composite cycles and sub-cycles for the order that will be captured. </p>\n<p> The cycle number received as a parameter is in yyyyMM format. To display correctly it is necessary to format to MM/yyyyy.</p>\n","urlObject":{"path":["api","Cycles"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Cycle number from which counting should start (person's current cycle).</p>\n","type":"text/plain"},"key":"initialNumber","value":"<integer>"},{"description":{"content":"<p>Number of cycles desired. Positive value = forward cycles. Negative value = backward cycles. </p>\n<p> Ex1: If 2 is entered and the current cycle is 02/2017, 02/2017, 03/2017, 04/2017 will be returned;</p>\n<p> Ex2: If -2 is entered and the current cycle is 02/2017, 17/2016, 01/2017, 02/2017 will be returned.</p>\n","type":"text/plain"},"key":"cyclesOffset","value":"<integer>"},{"description":{"content":"<p>Final cycle number.</p>\n","type":"text/plain"},"key":"finalNumber","value":"<integer>"},{"description":{"content":"<p>Indicates that the first open loop is to be returned.</p>\n","type":"text/plain"},"key":"firstOpened","value":"<boolean>"},{"description":{"content":"<p>Indicates that the last open loop is to be returned.</p>\n","type":"text/plain"},"key":"lastOpened","value":"<boolean>"}],"variable":[]}},"response":[{"id":"b787e6f9-8709-4887-898c-063f20211cce","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Cycles?initialNumber=<integer>&cyclesOffset=<integer>&finalNumber=<integer>&firstOpened=<boolean>&lastOpened=<boolean>","host":["{{baseUrl}}"],"path":["api","Cycles"],"query":[{"key":"initialNumber","value":"<integer>","description":"Cycle number from which counting should start (person&#39;s current cycle)."},{"key":"cyclesOffset","value":"<integer>","description":"Number of cycles desired. Positive value = forward cycles. Negative value = backward cycles. \n\n Ex1: If 2 is entered and the current cycle is 02/2017, 02/2017, 03/2017, 04/2017 will be returned;\n\n Ex2: If -2 is entered and the current cycle is 02/2017, 17/2016, 01/2017, 02/2017 will be returned."},{"key":"finalNumber","value":"<integer>","description":"Final cycle number."},{"key":"firstOpened","value":"<boolean>","description":"Indicates that the first open loop is to be returned."},{"key":"lastOpened","value":"<boolean>","description":"Indicates that the last open loop is to be returned."}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"number\": \"Cycle code\"\r\n }\r\n ]"},{"id":"620f4198-bc44-40fb-a711-cb2ec61901c2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Cycles?initialNumber=<integer>&cyclesOffset=<integer>&finalNumber=<integer>&firstOpened=<boolean>&lastOpened=<boolean>","host":["{{baseUrl}}"],"path":["api","Cycles"],"query":[{"key":"initialNumber","value":"<integer>","description":"Cycle number from which counting should start (person&#39;s current cycle)."},{"key":"cyclesOffset","value":"<integer>","description":"Number of cycles desired. Positive value = forward cycles. Negative value = backward cycles. \n\n Ex1: If 2 is entered and the current cycle is 02/2017, 02/2017, 03/2017, 04/2017 will be returned;\n\n Ex2: If -2 is entered and the current cycle is 02/2017, 17/2016, 01/2017, 02/2017 will be returned."},{"key":"finalNumber","value":"<integer>","description":"Final cycle number."},{"key":"firstOpened","value":"<boolean>","description":"Indicates that the first open loop is to be returned."},{"key":"lastOpened","value":"<boolean>","description":"Indicates that the last open loop is to be returned."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"number\":202101\r\n },\r\n {\r\n \"number\": 202102\r\n },\r\n {\r\n \"number\":202103\r\n },\r\n {\r\n \"number\":202104\r\n }\r\n ]"}],"_postman_id":"7505f04d-2ff6-4bb3-b689-3070c6a882b6"},{"name":"Cycle Details","id":"9016481a-d3d6-4088-a0a5-625857812fdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/calendars?initialCycleNumber=<integer>&final CycleNumber=<integer>&commercialStructureCode=<integer>&orderNumber={{codigoPedido}}&includeOptions=subcycles","urlObject":{"path":["api","calendars"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Cycle for which you want to get details, in <code>yyyyMM</code> format.</p>\n","type":"text/plain"},"key":"initialCycleNumber","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Cycle for which you want to get details, in <code>yyyyMM</code> format. </p>\n<p> Same cycle informed above.</p>\n","type":"text/plain"},"key":"final CycleNumber","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the person's business structure.</p>\n","type":"text/plain"},"key":"commercialStructureCode","value":"<integer>"},{"description":{"content":"<p>Request code. It is only used if the <code>commercialStructureCode</code> parameter is not sent.</p>\n","type":"text/plain"},"key":"orderNumber","value":"{{codigoPedido}}"},{"description":{"content":"<p>It adds an object with the information of sub-cycles in the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"subcycles"}],"variable":[]}},"response":[{"id":"4203eb61-40f9-4edd-aeb7-91e936003cd4","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/calendars?initialCycleNumber=<integer>&final CycleNumber=<integer>&commercialStructureCode=<integer>&orderNumber={{codigoPedido}}&includeOptions=subcycles","host":["{{baseUrl}}"],"path":["api","calendars"],"query":[{"key":"initialCycleNumber","value":"<integer>","description":"**(Mandatory)**\n\n Cycle for which you want to get details, in `yyyyMM` format."},{"key":"final CycleNumber","value":"<integer>","description":"**(Mandatory)**\n\n Cycle for which you want to get details, in `yyyyMM` format. \n\n Same cycle informed above."},{"key":"commercialStructureCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the person&#39;s business structure."},{"key":"orderNumber","value":"{{codigoPedido}}","description":"Request code. It is only used if the `commercialStructureCode` parameter is not sent."},{"key":"includeOptions","value":"subcycles","description":"It adds an object with the information of sub-cycles in the return of the query."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"cycleNumber\": \"Cycle number\",\n \"commercialStructureCode\": \"Commercial Structure Code\",\n \"openingDate\": \"Cycle opening date\",\n \"closingDate\": \"Cycle closing date\",\n \"daysToClose\": \"Days to close the cycle\",\n \"daysToClosingDate\": \"Days to cycle closing date\",\n \"closingDateExtendedOrdering\": \"Deadline for extended capture\",\n \"orderingDate\": \"Deadline for collection\",\n \"extendedOrderingDate\": \"<dateTime>\",\n \"blockedDates\": [ // List of blocked dates\n {\n \"blockedDate\": \"Blocked date\"\n }\n ],\n \"daysToOrderingDate\": { // Days to pickup deadline\n \"days\": \"Number of days\",\n \"hours\": \"Number of hours\",\n \"minutes\": \"Number of minutes\"\n },\n \"daysToExtendedOrderingDate\": { // Days to Extended Ordering Deadline\n \"days\": \"Number of days\",\n \"hours\": \"Number of hours\",\n \"minutes\": \"Number of minutes\"\n },\n \"subCycles\": [ // List of sub-cycles\n {\n \"subCycle\": \"Sub-cycle\",\n \"initialDate\": \"Initial date\", \n \"endDate\": \"End Date\",\n \"isSubCycleOnPeriod\": \"Indicates that the sub-cycle is a period\",\n \"description\": \"Sub-cycle description\"\n }\n ]\n }\n ]"},{"id":"adc48ec9-51d1-46f0-b01a-774787d9bd23","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/calendars?initialCycleNumber=<integer>&final CycleNumber=<integer>&commercialStructureCode=<integer>&orderNumber={{codigoPedido}}&includeOptions=subcycles","host":["{{baseUrl}}"],"path":["api","calendars"],"query":[{"key":"initialCycleNumber","value":"<integer>","description":"**(Mandatory)**\n\n Cycle for which you want to get details, in `yyyyMM` format."},{"key":"final CycleNumber","value":"<integer>","description":"**(Mandatory)**\n\n Cycle for which you want to get details, in `yyyyMM` format. \n\n Same cycle informed above."},{"key":"commercialStructureCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the person&#39;s business structure."},{"key":"orderNumber","value":"{{codigoPedido}}","description":"Request code. It is only used if the `commercialStructureCode` parameter is not sent."},{"key":"includeOptions","value":"subcycles","description":"It adds an object with the information of sub-cycles in the return of the query."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"cycleNumber\":202101,\r\n \"commercialStructureCode\":10,\r\n \"openingDate\":\"2021-02-01T00:00:00Z\",\r\n \"closingDate\":\"2021-02-28T00:00:00Z\",\r\n \"daysToClose\":12.0,\r\n \"daysToClosingDate\":12.0,\r\n \"closingDateExtendedOrdering\":\"2021-02-28T00:00:00Z\",\r\n \"orderingDate\":\"2021-02-28T11:59:59Z\",\r\n \"extendedOrderingDate\":\"2021-02-28T11:59:59Z\",\r\n \"blockedDates\":[\r\n {\r\n \"blockedDate\": \"2021-02-16T17:55:59.421Z\"\r\n }\r\n ],\r\n \"daysToOrderingDate\":{\r\n \"days\": 11,\r\n \"hours\":19,\r\n \"minutes\":27\r\n },\r\n \"daysToExtendedOrderingDate\":{\r\n \"days\": 11,\r\n \"hours\":19,\r\n \"minutes\":27\r\n },\r\n \"subCycles\":[\r\n {\r\n \"subCycle\": 1,\r\n \"initialDate\": \"2021-02-16T17:55:59.421Z\",\r\n \"endDate\": \"2021-02-16T17:55:59.421Z\",\r\n \"isSubCycleOnPeriod\": true,\r\n \"description\": \"Sub-cycle 1\"\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"9016481a-d3d6-4088-a0a5-625857812fdf"}],"id":"49578dd1-f127-4718-84fa-0b0725164fc6","_postman_id":"49578dd1-f127-4718-84fa-0b0725164fc6","description":""},{"name":"Commercial Registry","item":[{"name":"person relationship","item":[{"name":"Register relationship between people","id":"804f34a6-294b-4d89-9943-37789cd1d924","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>","description":"<p>Related person identifier code.</p>\n"},{"key":"relationshipType","value":"<integer>","description":"<p>Type of relationship to be created. <a href=\"#dc53dece-cf63-42a7-ad7d-d08caa9504d3\">Types of relationships</a></p>\n"},{"key":"salesRelationshipCode","value":"<interger>","description":"<p>Code of the relationship to be created. </p>\n<p> This parameter must be sent when the value of the <code>relationshipType</code> parameter is <code>5</code> (Sale). Otherwise it must not be sent.</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/people/:id/personRelationship","description":"<p>This call is used to register a relationship between two people.</p>\n","urlObject":{"path":["api","people",":id","personRelationship"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"981407a9-6084-41ea-8ff1-3a30ae0bbbd3","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"ad82ba2c-218b-4078-8bea-32dccff0b7cb","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>","description":"Related person identifier code."},{"key":"relationshipType","value":"<integer>","description":"Type of relationship to be created. [Types of relationships](#dc53dece-cf63-42a7-ad7d-d08caa9504d3)"},{"key":"salesRelationshipCode","value":"<interger>","description":"Code of the relationship to be created. \n\n This parameter must be sent when the value of the `relationshipType` parameter is `5` (Sale). Otherwise it must not be sent.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/personRelationship","host":["{{baseUrl}}"],"path":["api","people",":id","personRelationship"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"registered\": \"Indicates whether the relationship has been registered.\",\r\n \"personCode\": \"Person&#39;s code related to the person.\"\r\n }"},{"id":"5fa38eaa-253e-46a8-a200-3f917461ece5","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>","description":"Related person identifier code."},{"key":"relationshipType","value":"<integer>","description":"Type of relationship to be created. [Types of relationships](#dc53dece-cf63-42a7-ad7d-d08caa9504d3)"},{"key":"salesRelationshipCode","value":"<interger>","description":"Code of the relationship to be created. \n\n This parameter must be sent when the value of the `relationshipType` parameter is `5` (Sale). Otherwise it must not be sent.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/personRelationship","host":["{{baseUrl}}"],"path":["api","people",":id","personRelationship"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"registered\": true,\r\n \"personCode\": 2350\r\n }"}],"_postman_id":"804f34a6-294b-4d89-9943-37789cd1d924"},{"name":"Consult relationship between people","id":"2347e3fd-e223-46f1-b342-77d133c81c8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/personRelationship?relationType=<integer>&includeOptions=priority&includeOptions=distributor","description":"<p>This call is used to query the relationship between two people. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","people",":id","personRelationship"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Type of relationship. <a href=\"#dc53dece-cf63-42a7-ad7d-d08caa9504d3\">Types of relationships</a></p>\n","type":"text/plain"},"key":"relationType","value":"<integer>"},{"description":{"content":"<p>It adds an object with the sales priority of the related person to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"priority"},{"description":{"content":"<p>It adds an object with more data about the related person to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"distributor"}],"variable":[{"id":"3fa943be-e57a-4346-a97c-417993457c0f","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"c4d59caa-c026-4dd5-885f-e425325694fd","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/personRelationship?relationType=<integer>&includeOptions=priority&includeOptions=distributor","host":["{{baseUrl}}"],"path":["api","people",":id","personRelationship"],"query":[{"key":"relationType","value":"<integer>","description":"Type of relationship. [Types of relationships](#dc53dece-cf63-42a7-ad7d-d08caa9504d3)"},{"key":"includeOptions","value":"priority","description":"It adds an object with the sales priority of the related person to the query&#39;s return."},{"key":"includeOptions","value":"distributor","description":"It adds an object with more data about the related person to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Person&#39;s code\",\r\n \"relationedPersonCode\": \"Related Person Code\",\r\n \"relationshipType\": { // Relation Type - Possible values in the glossary (Relationship Types)\r\n \"id\": \"Relationship type code\",\r\n \"description\": \"Description of relationship type\"\r\n },\r\n \"priority\": \"Sell priority\",\r\n \"distributor\": {\r\n \"code\": \"Relationship registration code\",\r\n \"description\": \"Description of the relationship\",\r\n \"businessModel\": {\r\n \"code\": \"Business rule code\",\r\n \"description\": \"Description of business rule\"\r\n },\r\n \"distributor\": {\r\n \"code\": \"Distributor code\", \r\n \"description\": \"Distributor description\"\r\n }\r\n }\r\n }\r\n ]"},{"id":"a8b866da-d62b-486c-aef2-aa14e37a864f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/personRelationship?relationType=<integer>&includeOptions=priority&includeOptions=distributor","host":["{{baseUrl}}"],"path":["api","people",":id","personRelationship"],"query":[{"key":"relationType","value":"<integer>","description":"Type of relationship. [Types of relationships](#dc53dece-cf63-42a7-ad7d-d08caa9504d3)"},{"key":"includeOptions","value":"priority","description":"It adds an object with the sales priority of the related person to the query&#39;s return."},{"key":"includeOptions","value":"distributor","description":"It adds an object with more data about the related person to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 2391,\r\n \"relationedPersonCode\": 2350,\r\n \"relationshipType\": {\r\n \"id\": 4,\r\n \"description\": \"Leader\"\r\n },\r\n \"priority\": 1,\r\n \"distributor\": {\r\n \"code\": 1,\r\n \"description\": \"Sales ratio 1\",\r\n \"businessModel\": {\r\n \"code\": 1,\r\n \"description\": \"Business model 1\"\r\n },\r\n \"distributor\": {\r\n \"code\": 123,\r\n \"description\": \"Distributor 1\"\r\n }\r\n }\r\n }\r\n ]"}],"_postman_id":"2347e3fd-e223-46f1-b342-77d133c81c8d"}],"id":"c06bf883-837f-4d5f-9169-ce2f59448b58","_postman_id":"c06bf883-837f-4d5f-9169-ce2f59448b58","description":""},{"name":"Change credit limit/tolerance","id":"33c8e39c-e4d1-4efb-91e3-8e7133e91a2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"changetype","value":"<byte>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Type of credit change. </p>\n<p> <a href=\"#652870ee-4fcd-44ab-928b-4ef0f8b886e5\">Possible values</a></p>\n"},{"key":"validityOptions","value":"<byte>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Validity option. </p>\n<p> <a href=\"#c9eea999-4263-4a77-abd0-cdefbad4f776\">Possible values</a></p>\n"},{"key":"reason","value":"<byte>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Reason for changing credit status. </p>\n<p> <a href=\"#a4168849-5dae-4100-92c8-270a4c74202d\">Possible values</a></p>\n"},{"key":"schedulingDate","value":"<dateTime>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Schedule date for the start of the new credit limit.</p>\n"},{"key":"until","value":"<dateTime>","description":"<p>Expiry date of the new credit status. </p>\n<p> <strong>Heads up</strong></p>\n<p> If the value of the <code>validityOptions</code> parameter is <code>2</code>, this parameter is mandatory. </p>\n<p> The value of this parameter must be greater than that of the <code>schedulingDate</code> parameter, as the expiration date of the new credit limit must be later than the scheduled date for the start of the new credit limit.</p>\n"},{"key":"creditLimit","value":"<decimal>","description":"<p>New credit limit. </p>\n<p> <strong>Heads up</strong></p>\n<p> If the value of the <code>changetype</code> parameter is <code>1 - Credit Limit</code>, this parameter is mandatory. Otherwise it must not be sent.</p>\n"},{"key":"forceReclassification","value":"<byte>","description":"<p>Forces the reclassification of the person's credit limit. </p>\n<p> The reclassification of the credit limit causes it to undergo a revaluation. </p>\n<p> Possible values:</p>\n<ul>\n<li><code>0 - No</code>;</li>\n<li><code>1 - Yes</code>.</li>\n</ul>\n<p> <strong>Heads up</strong></p>\n<ul>\n<li><p>If the value of the <code>changetype</code> parameter is <code>1 - Credit limit</code>, and the value of the <code>validityOptions</code> parameter is <code>2 - Until a specific date</code>, this parameter is mandatory;</p>\n</li>\n<li><p>If the value of the <code>changetype</code> parameter is <code>1 - Credit limit</code>, and the value of the parameter <code>validityOptions</code> <strong>no</strong>is <code>2 - Until a specific date</code>, this parameter will assume the value <code>1 - No </code>;</p>\n</li>\n<li><p>If the value of the parameter <code>validityOptions</code><strong>not</strong>is <code>1 - Until next re-rating</code> or <code>2 - Until a specific date</code>, this parameter will assume the value <code>1 - No</code>;</p>\n</li>\n<li><p>If the value of the <code>changetype</code> parameter<strong>not</strong> is <code>1 - Credit Limit</code>, this parameter should not be sent.</p>\n</li>\n</ul>\n"},{"key":"endOfLimitCreditStatus","value":"<byte>","description":"<p>Credit limit status after end date. </p>\n<p> <a href=\"#6032a40d-8a7a-4674-8e10-afe663784155\">Possible values</a></p>\n<p> <strong>Heads up</strong></p>\n<p> -If the value of the <code>changetype</code> parameter is <code>1- Credit limit</code>, and the value of the <code>validityOptions</code> parameter is <code>1 -Until the next reclassification</code>, this parameter is mandatory;</p>\n<ul>\n<li><p>If the value of the <code>changetype</code> parameter is <code>1 -Credit limit</code>, and the value of the parameter <code>validityOptions</code> <strong>not</strong>is <code>1- Until the next reframing</code>, this parameter will assume the value <code>1 -Remain in the current credit</code>;</p>\n</li>\n<li><p>If the value of the <code>changetype</code> parameter<strong>not</strong> is <code>1 - Credit Limit</code>, this parameter should not be sent</p>\n</li>\n</ul>\n"},{"key":"toleranceOverCreditLimit","value":"<decimal>","description":"<p>Credit limit tolerance. </p>\n<p> If the value of the <code>changetype</code> parameter is <code>1 - Credit Limit</code>, this parameter should not be sent.</p>\n"},{"key":"maxCreditLimitStatus","value":"<decimal>","description":"<p>Maximum credit limit. </p>\n<p> If the value of the <code>changetype</code> parameter is <code>1 - Credit Limit</code>, this parameter should not be sent.</p>\n"},{"key":"extraCreditLimit","value":"<decimal>","description":"<p>Extra credit limit. </p>\n<p> If the value of the <code>changetype</code> parameter is <code>1 - Credit Limit</code>, this parameter should not be sent.</p>\n"}]},"url":"{{baseUrl}}/api/sellers/:id/creditLimitChange","description":"<p>This call is used to change the credit limit or tolerance of a registered retailer in <strong>Let</strong>. </p>\n<p> <strong>Observation</strong></p>\n<p> If the dealer in question has the status <code>Ceased</code> or <code>Intent to Resale</code>, it will not be possible to change the credit limit or tolerance.</p>\n","urlObject":{"path":["api","sellers",":id","creditLimitChange"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"66053ff2-3956-410f-bdc6-543e8d946ccf","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Dealer identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"32fa02ae-2b65-495d-bc5e-adf65adf9cae","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"changetype","value":"<byte>","description":"**(Mandatory)**\n\n Type of change."},{"key":"validityOptions","value":"<byte>","description":"**(Mandatory)**\n\n Validity option. \n\n [Possible values](#c9eea999-4263-4a77-abd0-cdefbad4f776)"},{"key":"reason","value":"<byte>","description":"**(Mandatory)**\n\n Reason for changing credit status."},{"key":"schedulingDate","value":"<dateTime>","description":"**(Mandatory)**\n\n Past credit status change date."},{"key":"until","value":"<dateTime>","description":"Expiration date. \n\n **Heads up**\n\n If the value of the `validityOptions` parameter is `2`, this parameter is mandatory. \n\n The value of this parameter must be greater than that of the `schedulingDate` parameter (the expiration date of the new credit limit must be later than the scheduled date for the start of the new credit limit)."},{"key":"creditLimit","value":"<decimal>","description":"New credit limit. \n\n **Heads up**\n\n If the value of the `changetype` parameter is `1 - Credit Limit`, this parameter is mandatory. Otherwise it must not be sent."},{"key":"forceReclassification","value":"<byte>","description":"Forces the reclassification of the person&#39;s credit limit. \n\n Possible values:\n\n - `1 - No`;\n - `2 - Yes`. \n\n **Heads up**\n\n - If the value of the `changetype` parameter is `1 - Credit limit`, and the value of the `validityOptions` parameter is `2 - Until a specific date`, this parameter is mandatory;\n\n - If the value of the `changetype` parameter is `1 - Credit limit`, and the value of the parameter `validityOptions` **no**is `2 - Until a specific date`, this parameter will assume the value `1 - No `;\n\n - If the value of the parameter `validityOptions`**not**is `1 - Until next re-rating` or `2 - Until a specific date`, this parameter will assume the value `1 - No`;\n\n - If the value of the `changetype` parameter**not** is `1 - Credit Limit`, this parameter should not be sent."},{"key":"endOfLimitCreditStatus","value":"<byte>","description":"Credit limit status after end date. \n\n [Possible values](#6032a40d-8a7a-4674-8e10-afe663784155)\n\n **Heads up**\n\n -If the value of the `changetype` parameter is `1- Credit limit`, and the value of the `validityOptions` parameter is `1 -Until the next reclassification`, this parameter is mandatory;\n\n- If the value of the `changetype` parameter is `1 -Credit limit`, and the value of the parameter `validityOptions` **not**is `1- Until the next reframing`, this parameter will assume the value `1 -Remain in the current credit`;\n\n- If the value of the `changetype` parameter**not** is `1 - Credit Limit`, this parameter should not be sent"},{"key":"toleranceOverCreditLimit","value":"<decimal>","description":"Credit limit tolerance. \n\n If the value of the `changetype` parameter is `1 - Credit Limit`, this parameter should not be sent."},{"key":"maxCreditLimitStatus","value":"<decimal>","description":"Maximum credit limit. \n\n If the value of the `changetype` parameter is `1 - Credit Limit`, this parameter should not be sent."},{"key":"extraCreditLimit","value":"<decimal>","description":"Extra credit limit. \n\n If the value of the `changetype` parameter is `1 - Credit Limit`, this parameter should not be sent."}]},"url":{"raw":"{{baseUrl}}/api/sellers/:id/creditLimitChange","host":["{{baseUrl}}"],"path":["api","sellers",":id","creditLimitChange"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person identifier code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"peopleCode\": \"Reseller Identifier Code\"\r\n }"},{"id":"5bcb128d-7e35-4250-b46a-bce9017dd033","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"changetype","value":"<byte>","description":"**(Mandatory)**\n\n Type of change."},{"key":"validityOptions","value":"<byte>","description":"**(Mandatory)**\n\n Validity option. \n\n [Possible values](#c9eea999-4263-4a77-abd0-cdefbad4f776)"},{"key":"reason","value":"<byte>","description":"**(Mandatory)**\n\n Reason for changing credit status."},{"key":"schedulingDate","value":"<dateTime>","description":"**(Mandatory)**\n\n Past credit status change date."},{"key":"until","value":"<dateTime>","description":"Expiration date. \n\n **Heads up**\n\n If the value of the `validityOptions` parameter is `2`, this parameter is mandatory. \n\n The value of this parameter must be greater than that of the `schedulingDate` parameter (the expiration date of the new credit limit must be later than the scheduled date for the start of the new credit limit)."},{"key":"creditLimit","value":"<decimal>","description":"New credit limit. \n\n **Heads up**\n\n If the value of the `changetype` parameter is `1 - Credit Limit`, this parameter is mandatory. Otherwise it must not be sent."},{"key":"forceReclassification","value":"<byte>","description":"Forces the reclassification of the person&#39;s credit limit. \n\n Possible values:\n\n - `1 - No`;\n - `2 - Yes`. \n\n **Heads up**\n\n - If the value of the `changetype` parameter is `1 - Credit limit`, and the value of the `validityOptions` parameter is `2 - Until a specific date`, this parameter is mandatory;\n\n - If the value of the `changetype` parameter is `1 - Credit limit`, and the value of the parameter `validityOptions` **no**is `2 - Until a specific date`, this parameter will assume the value `1 - No `;\n\n - If the value of the parameter `validityOptions`**not**is `1 - Until next re-rating` or `2 - Until a specific date`, this parameter will assume the value `1 - No`;\n\n - If the value of the `changetype` parameter**not** is `1 - Credit Limit`, this parameter should not be sent."},{"key":"endOfLimitCreditStatus","value":"<byte>","description":"Credit limit status after end date. \n\n [Possible values](#6032a40d-8a7a-4674-8e10-afe663784155)\n\n **Heads up**\n\n -If the value of the `changetype` parameter is `1- Credit limit`, and the value of the `validityOptions` parameter is `1 -Until the next reclassification`, this parameter is mandatory;\n\n- If the value of the `changetype` parameter is `1 -Credit limit`, and the value of the parameter `validityOptions` **not**is `1- Until the next reframing`, this parameter will assume the value `1 -Remain in the current credit`;\n\n- If the value of the `changetype` parameter**not** is `1 - Credit Limit`, this parameter should not be sent"},{"key":"toleranceOverCreditLimit","value":"<decimal>","description":"Credit limit tolerance. \n\n If the value of the `changetype` parameter is `1 - Credit Limit`, this parameter should not be sent."},{"key":"maxCreditLimitStatus","value":"<decimal>","description":"Maximum credit limit. \n\n If the value of the `changetype` parameter is `1 - Credit Limit`, this parameter should not be sent."},{"key":"extraCreditLimit","value":"<decimal>","description":"Extra credit limit. \n\n If the value of the `changetype` parameter is `1 - Credit Limit`, this parameter should not be sent."}]},"url":{"raw":"{{baseUrl}}/api/sellers/:id/creditLimitChange","host":["{{baseUrl}}"],"path":["api","sellers",":id","creditLimitChange"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person identifier code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"peopleCode\": 215\r\n }"}],"_postman_id":"33c8e39c-e4d1-4efb-91e3-8e7133e91a2f"}],"id":"7a03b18f-73d1-499c-8df0-63b4f8f0596e","_postman_id":"7a03b18f-73d1-499c-8df0-63b4f8f0596e","description":""},{"name":"Compensation Management","item":[{"name":"See person&#39;s order summary","id":"65ef6090-f418-4e9e-ae75-b9577477ebf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/consumerOrders?initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&representativeCode=<integer>&orderCode=<integer>&businessStatusCode=<integer>&page=<integer>&pageSize=<integer>&includeOptions=details","description":"<p>This call is used to consult the order summary where the person in question is indicated. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","sellers",":id","consumerOrders"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> The person's first order date.</p>\n","type":"text/plain"},"key":"initialOrderingDate","value":"<dateTime>"},{"description":{"content":"<p>The person's last order date.</p>\n","type":"text/plain"},"key":"endOrderingDate","value":"<dateTime>"},{"description":{"content":"<p>User who owns the order, in which the indicated person is referenced.</p>\n","type":"text/plain"},"key":"representativeCode","value":"<integer>"},{"description":{"content":"<p>Order code where the person is indicated.</p>\n","type":"text/plain"},"key":"orderCode","value":"<integer>"},{"description":{"content":"<p>Business status of the order. </p>\n<p> <strong>Heads up</strong></p>\n<p> For each business status code, the application must send a <code>businessStatusCode</code> parameter. </p>\n<p> E.g.: &amp;businessStatusCode=&amp;businessStatusCode=</p>\n","type":"text/plain"},"key":"businessStatusCode","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>It adds an object with the details of each order to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"details"}],"variable":[{"id":"a90a2acd-34a3-4099-b8b8-acdd9df4e9a3","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Identifier code of the indicated person.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"f92905f9-c0af-46ee-8de6-103975d5b7f4","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/consumerOrders?initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&representativeCode=<integer>&orderCode=<integer>&businessStatusCode=<integer>&page=<integer>&pageSize=<integer>&includeOptions=details","host":["{{baseUrl}}"],"path":["api","sellers",":id","consumerOrders"],"query":[{"key":"initialOrderingDate","value":"<dateTime>","description":"**(Mandatory)**\n\n The person&#39;s first order date."},{"key":"endOrderingDate","value":"<dateTime>","description":"The person&#39;s last order date."},{"key":"representativeCode","value":"<integer>","description":"User who owns the order, in which the indicated person is referenced."},{"key":"orderCode","value":"<integer>","description":"Order code where the person is indicated."},{"key":"businessStatusCode","value":"<integer>","description":"Business status of the order. \n\n **Heads up**\n\n For each business status code, the application must send a `businessStatusCode` parameter. \n\n E.g.: &amp;businessStatusCode=<integer>&amp;businessStatusCode=<integer>"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"details","description":"It adds an object with the details of each order to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the indicated person."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"ordersTotal\": \"Total number of orders where the person was referred\",\r\n \"totalValue\": \"Total value of orders where the person was referred\",\r\n \"commissionValue\": \"Total commission value\",\r\n \"orders\": [ // List of orders where the person was indicated\r\n {\r\n \"number\": \"Order number\",\r\n \"orderingDate\": \"Ordering Date\",\r\n \"representative\": {\r\n \"code\": \"Order owner user code\",\r\n \"name\": \"Order owner username\"\r\n },\r\n \"indicatedSeller\": {\r\n \"code\": \"Identifier code of the indicated consultant\",\r\n \"name\": \"Name of the indicated consultant\"\r\n },\r\n \"businessStatus\": {\r\n \"code\": \"Code of commercial status of the order\",\r\n \"name\": \"Order status name\"\r\n },\r\n \"totals\": {\r\n \"totalValue\": \"Total value of the order\",\r\n \"consumerCommissionValue\": \"Commission Value\"\r\n }\r\n }\r\n ]\r\n }"},{"id":"c5d43b10-0d93-4678-9e99-8a0aeafe6a24","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/consumerOrders?initialOrderingDate=<dateTime>&endOrderingDate=<dateTime>&representativeCode=<integer>&orderCode=<integer>&businessStatusCode=<integer>&page=<integer>&pageSize=<integer>&includeOptions=details","host":["{{baseUrl}}"],"path":["api","sellers",":id","consumerOrders"],"query":[{"key":"initialOrderingDate","value":"<dateTime>","description":"**(Mandatory)**\n\n The person&#39;s first order date."},{"key":"endOrderingDate","value":"<dateTime>","description":"The person&#39;s last order date."},{"key":"representativeCode","value":"<integer>","description":"User who owns the order, in which the indicated person is referenced."},{"key":"orderCode","value":"<integer>","description":"Order code where the person is indicated."},{"key":"businessStatusCode","value":"<integer>","description":"Business status of the order. \n\n **Heads up**\n\n For each business status code, the application must send a `businessStatusCode` parameter. \n\n E.g.: &amp;businessStatusCode=<integer>&amp;businessStatusCode=<integer>"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"details","description":"It adds an object with the details of each order to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the indicated person."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"ordersTotal\": 2,\r\n \"totalValue\": 1200.50,\r\n \"commissionValue\": 200.50,\r\n \"orders\": [ // List of orders where the person was indicated\r\n {\r\n \"number\": 1234567890,\r\n \"orderingDate\": \"2021-04-15T15:40:57.663Z\",\r\n \"representative\": {\r\n \"code\": 215,\r\n \"name\": \"Test Person 215\"\r\n },\r\n \"indicatedSeller\": {\r\n \"code\": 216,\r\n \"name\": \"Test Person 216\"\r\n },\r\n \"businessStatus\": {\r\n \"code\": 6,\r\n \"name\": \"Delivered\"\r\n },\r\n \"totals\": {\r\n \"totalValue\": 600.25,\r\n \"consumerCommissionValue\": 100.25\r\n }\r\n },\r\n {\r\n \"number\": 1234455669,\r\n \"orderingDate\": \"2021-05-15T15:40:57.663Z\",\r\n \"representative\": {\r\n \"code\": 215,\r\n \"name\": \"Test Person 215\"\r\n },\r\n \"indicatedSeller\": {\r\n \"code\": 216,\r\n \"name\": \"Test Person 216\"\r\n },\r\n \"businessStatus\": {\r\n \"code\": 6,\r\n \"name\": \"Delivered\"\r\n },\r\n \"totals\": {\r\n \"totalValue\": 600.25,\r\n \"consumerCommissionValue\": 100.25\r\n }\r\n }\r\n ]\r\n }"}],"_postman_id":"65ef6090-f418-4e9e-ae75-b9577477ebf0"},{"name":"Consult dealer remuneration","id":"7afcac1c-aba7-4709-bd04-5f9cbecdfe10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/remunerationCF?cycle=<integer>","description":"<p>This call is used to inquire about a reseller's compensation.</p>\n","urlObject":{"path":["api","sellers",":id","remunerationCF"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Dealer current cycle.(202003)</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[{"id":"8b39830b-e0fa-4be9-aefb-318f1f87abbb","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Identifier code of the logged in user.</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"d789db51-626e-4dee-9eef-35988370fd02","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/remunerationCF?cycle=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","remunerationCF"],"query":[{"key":"cycle","value":"<integer>","description":"Dealer current cycle.(202003)"}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n Identifier code of the logged in user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"sellerCode\": \"Reseller code\",\r\n \"sellerName\": \"Reseller Name\",\r\n \"sellerAlias\": \"Seller last name\",\r\n \"cycle\": \"Reseller&#39;s current cycle\",\r\n \"salesCommission\": \"Reseller sales commission\",\r\n \"orderQuantity\": \"Reseller Order Quantity\"\r\n }"},{"id":"768a3c17-c5e1-464a-902f-f54f60532c3c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/remunerationCF?cycle=<integer>","host":["{{baseUrl}}"],"path":["api","sellers",":id","remunerationCF"],"query":[{"key":"cycle","value":"<integer>","description":"Dealer current cycle.(202003)"}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n Identifier code of the logged in user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"sellerCode\": 215,\r\n \"sellerName\": \"Test Person 215\",\r\n \"sellerAlias\": \"Surname 215\",\r\n \"cycle\": 202105,\r\n \"salesCommission\": 200.50,\r\n \"orderQuantity\": 5\r\n }"}],"_postman_id":"7afcac1c-aba7-4709-bd04-5f9cbecdfe10"}],"id":"aa93c975-f774-4349-9dc4-ab3f2b227ab8","_postman_id":"aa93c975-f774-4349-9dc4-ab3f2b227ab8","description":""},{"name":"Multilevel","item":[{"name":"Consult dealers below the person","id":"1d2403c9-b5c5-4e49-9337-4885a0e266b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/multilevel?cycle=<integer>&orderBusinessStatusCode=<integer>&page=<integer>&pageSize=<integer>&includeOptions=orders","description":"<p>This call is used to return resellers that are below the wanted leader. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","sellers",":id","multilevel"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Dealer current cycle.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Business status of the order. </p>\n<p> <strong>Heads up</strong></p>\n<p> For each order business situation, the application must send an <code>orderBusinessStatusCode</code> parameter. </p>\n<p> E.g.: &amp;orderBusinessStatusCode=&amp;orderBusinessStatusCode=</p>\n","type":"text/plain"},"key":"orderBusinessStatusCode","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>It adds an object with the orders to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"orders"}],"variable":[{"id":"227aaa65-c708-4b36-891a-6527ec27ba2f","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Identifier code of the logged in user.</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"973ab665-23a9-484a-a66a-1dcafff32ccc","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/multilevel?cycle=<integer>&orderBusinessStatusCode=<integer>&page=<integer>&pageSize=<integer>&includeOptions=orders","host":["{{baseUrl}}"],"path":["api","sellers",":id","multilevel"],"query":[{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Dealer current cycle."},{"key":"orderBusinessStatusCode","value":"<integer>","description":"**(Mandatory)**\n\n Business status of the order. \n\n **Heads up**\n\n For each order business situation, the application must send an `orderBusinessStatusCode` parameter. \n\n E.g.: &amp;orderBusinessStatusCode=<integer>&amp;orderBusinessStatusCode=<integer>"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"orders","description":"It adds an object with the orders to the query&#39;s return."}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n Identifier code of the logged in user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Reseller code\",\r\n \"name\": \"Reseller name\",\r\n \"emails\": [ // Reseller email list\r\n {\r\n \"type\": {\r\n \"id\": \"Email Type Code\", // Possible Glossary Values (Email Types)\r\n \"description\": \"Description of email type\"\r\n },\r\n \"email\": \"Email address\",\r\n \"newsLetterAccepted\": \"Indicates if the email is enabled to receive NewsLetters\"\r\n }\r\n ],\r\n \"commercialStructure\": {\r\n \"code\": \"Structure code\",\r\n \"name\": \"Structure name\",\r\n \"parent\": {\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of the parent structure\"\r\n }\r\n },\r\n \"documents\": [ // List of reseller documents\r\n {\r\n \"type\": \"Type of document\", // Possible values in the Glossary (\"Types of Document\")\r\n \"documentType\": {\r\n \"id\": \"Document type code\", // Possible values in the Glossary (\"Document Types\")\r\n \"description\": \"Description of document type\"\r\n },\r\n \"document\": \"Document data\",\r\n \"relevance\": \"Relevance (order) of the document\",\r\n \"mainDocumentType\": { // It is only returned if the system parameter \"DocumentoPrincipalGenerico\" is enabled and the extra document information is a valid code. \r\n \"id\": \"Document Type Code\", // Possible Glossary Values (\"Document Types\")\r\n \"description\": \"Description of document type\"\r\n }\r\n }\r\n ],\r\n \"addresses\": [ // Reseller address list. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n {\r\n \"type\": \"Address Type Code\", // Possible Glossary Values (\"Address Types\")\r\n \"level0\": \"Description of address level 0\",\r\n \"level1\": \"Description of address level 1\",\r\n \"level2\": \"Description of address level 2\",\r\n \"level3\": \"Level 3 address description\",\r\n \"level4\": \"Level 4 address description\",\r\n \"level5\": \"Level 5 address description\",\r\n \"level6\": \"Level 6 address description\",\r\n \"level7\": \"Level 7 address description\",\r\n \"level8\": \"Level 8 address description\",\r\n \"level9\": \"Level 9 address description\",\r\n \"complement\": \"Address complement\",\r\n \"number\": \"Number\",\r\n \"reference\": \"Reference of address\",\r\n \"name\": \"Description of address\",\r\n \"zipCode\": \"zip code\",\r\n \"completeAddress\": \"Complete address assembled from level, complement, number and zip code information\",\r\n \"geographicalStructureCode\": \"Geographic Structure Code\",\r\n \"allowChangeOtherApplication\": \"Indicates whether it allows the address to be changed in applications other than LET\"\r\n }\r\n ],\r\n \"telephones\": [ // Reseller phone list\r\n {\r\n \"type\": \"Phone Type Code\", // Possible Glossary Values (\"Phone Types\")\r\n \"telephone\": \"Phone Number\",\r\n \"newsLetterAccepted\": \"Code indicating whether or not to receive newsletters\" // Possible values in the Glossary (NewsLetter Authorization) \r\n }\r\n ],\r\n \"commercialInformation\": {\r\n \"roleCode\": \"Paper Code\",\r\n \"roleName\": \"Role Description\",\r\n \"roleStartCycle\": \"Role Start Validity Campaign\"\r\n },\r\n \"orders\": [\r\n {\r\n \"number\": \"Order number\",\r\n \"businessInformation\": {\r\n \"businessStatusCode\": \"Order business status code\",\r\n \"businessStatusName\": \"Order business status name\",\r\n \"businessStatusCodeDetail\": \"Detail code (reason) for the business status of the order\", // The reasons are dependent on each installation\r\n \"businessStatusNameDetail\": \"Detail of the business status of the order\",\r\n \"externalIntegrationStatus\": \"Indicates if an external integration was performed\", // Possible values in the Glossary (External Integration Situations)\r\n \"paid\": \"Indicates if the order has already been paid\",\r\n \"orderingCycle\": \"Collecting cycle\",\r\n \"orderingSubCycle\": \"Capture sub-cycle\",\r\n \"marketingCycle\": \"Marketing Cycle\",\r\n \"marketingSubCycle\": \"Marketing Sub-cycle\",\r\n \"indicatorCycle\": \"Cycle that will be used for the accounting of indicators related to the order\",\r\n \"cancelCycle\": \"Order cancellation cycle. Indicates in which cycle the order was canceled and when it will be deducted from the indicator calculation\",\r\n \"restrictedOrdering\": \"Indicates whether the order was captured in restricted ordering\",\r\n \"orderingDate\": \"Date of pickup\",\r\n \"marketingDate\": \"Marketing Date\",\r\n \"approvalDate\": \"Approval date\",\r\n \"cancellationDate\": \"Cancellation date\",\r\n \"orderingTypes\": \"Capture medium\", // Possible values in the Glossary (Capture medium)\r\n \"itemsQuantity\": \"Quantity of items included in the order\",\r\n \"productsQuantity\": \"Amount of times the product was entered in the order with the same origin (Donation/Sale). This is generally used when working with Sales Kits\",\r\n \"pointsQuantity\": \"Amount of points earned on order\",\r\n \"totalAmount\": \"Total order amount\",\r\n \"tableValue\": \"Product table value\",\r\n \"marketValue\": \"Product value practiced\",\r\n \"netValue\": \"Net product value\",\r\n \"regularProductsValue\": \"Regular Products Value\",\r\n \"paymentPlanCode\": \"Payment Plan Code\",\r\n \"paymentPlanName\": \"Payment Plan Description\",\r\n \"isMultiplePaymentPlan\": \"Indicates if the order can have more than one payment method\",\r\n \"businessModelCode\": \"Business rule code\",\r\n \"businessModelName\": \"Business Rule Description\",\r\n \"distributionCenterCode\": \"Center code for distribution used in the order\",\r\n \"isWithdrawalCenter\": \"Indicates whether the order will be picked up at the distribution center\",\r\n \"orderIndicatedSellerCode\": \"Indicated person code\",\r\n \"orderIndicatedSeller\": {\r\n \"code\": \"Named person&#39;s code\",\r\n \"name\": \"Name of the indicated person\",\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", // Possible values in the Glossary (\"Image Types\")\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ]\r\n },\r\n \"minimumOrderType\": { // The type of value that should be considered for the minimum order - 0 for points and 1 for monetary values\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\"\r\n },\r\n \"paymentMethod\": {\r\n \"id\": \"Code of payment method\", // Possible values in the Glossary (Payment Methods - Payment Plan)\r\n \"description\": \"Description of payment method\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": \"Indicates whether it is possible to change the quantity of an embedded item (PermissaoConferenciaItensIncorporate)\"\r\n }\r\n }\r\n ]\r\n }\r\n ]"},{"id":"f7e64fda-9864-4b5f-8f53-9f1a0c8d86d0","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/multilevel?cycle=<integer>&orderBusinessStatusCode=<integer>&page=<integer>&pageSize=<integer>&includeOptions=orders","host":["{{baseUrl}}"],"path":["api","sellers",":id","multilevel"],"query":[{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Dealer current cycle."},{"key":"orderBusinessStatusCode","value":"<integer>","description":"**(Mandatory)**\n\n Business status of the order. \n\n **Heads up**\n\n For each order business situation, the application must send an `orderBusinessStatusCode` parameter. \n\n E.g.: &amp;orderBusinessStatusCode=<integer>&amp;orderBusinessStatusCode=<integer>"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"orders","description":"It adds an object with the orders to the query&#39;s return."}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n Identifier code of the logged in user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"215\",\r\n \"name\": \"Test Person 215\",\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Personal\"\r\n },\r\n \"email\": \"emailtest215@gmail.com\",\r\n \"newsLetterAccepted\": true\r\n }\r\n ],\r\n \"commercialStructure\": {\r\n \"code\": 33,\r\n \"name\": \"Test Inova 33\",\r\n \"parent\": {\r\n \"code\": 32,\r\n \"name\": \"Inova 32 Test\"\r\n }\r\n },\r\n \"documents\": [\r\n {\r\n \"type\": 1,\r\n \"documentType\": { \r\n \"id\": 1,\r\n \"description\": \"RG\"\r\n },\r\n \"document\": \"12245349\",\r\n \"relevance\": 1,\r\n \"mainDocumentType\": { // It is only returned if the system parameter \"DocumentoPrincipalGenerico\" is enabled and the extra document information is a valid code. \r\n \"id\": \"Document Type Code\", // Possible Glossary Values (\"Document Types\")\r\n \"description\": \"Description of document type\"\r\n }\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"type\": 1,\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"HORTOLAND\",\r\n \"level3\": \"ADELAIDE GARDEN\",\r\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\r\n \"level5\": \"GARDENS CONDOMINIUM\",\r\n \"level6\": \"SESSION 8\",\r\n \"level7\": \"PAVILION 3\",\r\n \"level8\": \"BLOCK 5\",\r\n \"level9\": \"ORANGE BUILDING\",\r\n \"number\": \"109\",\r\n \"zipCode\": \"13185343\", \r\n \"complement\": \"\",\r\n \"name\": \"Description of address\",\r\n \"reference\": \"Address reference\",\r\n \"completeAddress\": \"ORANGE BUILDING - BLOCK 5 - PAVILHAO 3 - SESSION 8- JARDINS CONDOMINIUM - JULIO CESAR DO NASCIMENTO 109 - JARDIM ADELAIDE - HORTOLÂNDIA - SP - BRAZIL - CEP: 13185-343\",\r\n \"geographicalStructureCode\": 541812,\r\n \"allowChangeOtherApplication\": true\r\n }\r\n ],\r\n \"telephones\": [\r\n {\r\n \"type\": 1,\r\n \"telephone\": \"1936457823\",\r\n \"newsLetterAccepted\": true\r\n }\r\n ],\r\n \"commercialInformation\": {\r\n \"roleCode\": 11,\r\n \"roleName\": \"C1\",\r\n \"roleStartCycle\": 202002\r\n },\r\n \"orders\": [\r\n {\r\n \"number\": 1234567890,\r\n \"businessInformation\": {\r\n \"businessStatusCode\": 6,\r\n \"businessStatusName\": \"Delivered\",\r\n \"businessStatusCodeDetail\": \"Order business status detail code\",\r\n \"businessStatusNameDetail\": \"Detail of the business status of the order\",\r\n \"externalIntegrationStatus\": 1,\r\n \"paid\": true,\r\n \"orderingCycle\": 20201,\r\n \"orderingSubCycle\": 1,\r\n \"marketingCycle\": 202001,\r\n \"marketingSubCycle\": 1,\r\n \"indicatorCycle\": 202001,\r\n \"cancelCycle\": 202005,\r\n \"restrictedOrdering\": false, \r\n \"orderingDate\": \"2020-04-15T15:40:57.663Z\",\r\n \"marketingDate\": \"2020-04-15T15:40:57.663Z\",\r\n \"approvalDate\": \"2020-04-16T15:40:57.663Z\",\r\n \"cancellationDate\": \"2021-04-15T15:40:57.663Z\",\r\n \"orderingTypes\": 1,\r\n \"itemsQuantity\": 10,\r\n \"productsQuantity\": 3,\r\n \"pointsQuantity\": 3456,\r\n \"totalAmount\": 100.90,\r\n \"tableValue\": 10.09,\r\n \"marketValue\": 12.09,\r\n \"netValue\": 10.09,\r\n \"regularProductsValue\": 12.09,\r\n \"paymentPlanCode\": 1,\r\n \"paymentPlanName\": \"Boleto\",\r\n \"isMultiplePaymentPlan\": false,\r\n \"businessModelCode\": 5,\r\n \"businessModelName\": \"Business Model test 5\",\r\n \"distributionCenterCode\": 45,\r\n \"isWithdrawalCenter\": true,\r\n \"orderIndicatedSellerCode\": 216,\r\n \"orderIndicatedSeller\": {\r\n \"code\": 216,\r\n \"name\": \"Test Person 216\",\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ]\r\n },\r\n \"minimumOrderType\": {\r\n \"id\": 1,\r\n \"description\": \"Monetary values\"\r\n },\r\n \"paymentMethod\": { \r\n \"id\": 1,\r\n \"description\": \"Boleto\"\r\n },\r\n \"allowChangeIncorporatedItemQuantity\": false\r\n }\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"1d2403c9-b5c5-4e49-9337-4885a0e266b0"},{"name":"See multilevel compensation","id":"67c67278-5505-4bfd-a05b-c8b72638c6b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id/multilevelRemuneration?cycle=<integer>&page=<integer>&pageSize=<integer>&includeOptions=details&includeOptions=by the way&includeOptions=cycleConsolidation&includeOptions=ruleKpiConsolidation&includeOptions=kpiOnly&includeOptions=noKpi&includeOptions=ruleConsolidation&includeOptions=kpiConsolidation","description":"<p>This call is used to query a reseller's multi-level compensation information. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter. </p>\n<h2 id=\"different-return-views\">Different Return Views</h2>\n<p> There are different return possibilities in this query, according to the <code>includeOptions</code> sent:</p>\n<p> <strong>Important</strong></p>\n<p> Only one of these views can be returned on request. Therefore, only <code>includeOptions</code> parameters with values relevant to the desired return should be sent. </p>\n<h3 id=\"detailed-view\">Detailed View:</h3>\n<ul>\n<li><code>details</code>.</li>\n</ul>\n<p> To also return the dealer's nicknames:</p>\n<ul>\n<li><code>details</code>;</li>\n<li><code>alias</code>.</li>\n</ul>\n<h3 id=\"compensation-value-consolidated-by-cycle\">Compensation Value Consolidated by Cycle:</h3>\n<ul>\n<li><code>cycleConsolidation</code>.</li>\n</ul>\n<h3 id=\"consolidated-overview-by-rule-and-indicator\">Consolidated Overview by Rule and Indicator</h3>\n<p> For a consolidated overview by rule and indicator:</p>\n<ul>\n<li><code>ruleKpiConsolidation</code>;</li>\n</ul>\n<p> To get a consolidated overview by rule and indicator, with KPIs only:</p>\n<ul>\n<li><code>ruleKpiConsolation</code>;</li>\n<li><code>kpiOnly</code>.</li>\n</ul>\n<p> To get a consolidated view by rule and indicator, without KPIs:</p>\n<ul>\n<li><code>ruleKpiConsolidation</code>;</li>\n<li><code>noKpi</code>.</li>\n</ul>\n<h3 id=\"consolidated-by-rules-view\">Consolidated by Rules View</h3>\n<ul>\n<li><code>ruleConsolidation</code>.</li>\n</ul>\n<h3 id=\"vision-consolidating-all-indicators-by-cycle\">Vision Consolidating All Indicators by Cycle</h3>\n<ul>\n<li><code>kpiConsolidation</code></li>\n</ul>\n","urlObject":{"path":["api","sellers",":id","multilevelRemuneration"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Cycle number.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>Returns detailed compensation information. </p>\n<p> <strong>Observation</strong></p>\n<p> The level of detail of the return depends on the <code>includeOptions</code> parameters sent. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter cannot be sent together with the parameter <code>includeOptions = cycleConsolidation</code>. Only one of these values must be sent per request.</p>\n","type":"text/plain"},"key":"includeOptions","value":"details"},{"description":{"content":"<p>Returns detailed compensation information by adding dealer nicknames.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>Returns consolidated compensation information by cycle.</p>\n","type":"text/plain"},"key":"includeOptions","value":"cycleConsolidation"},{"description":{"content":"<p>Returns consolidated compensation information by rule and indicator.</p>\n","type":"text/plain"},"key":"includeOptions","value":"ruleKpiConsolidation"},{"description":{"content":"<p>Returns consolidated compensation information by rule and indicator, with KPIs only.</p>\n","type":"text/plain"},"key":"includeOptions","value":"kpiOnly"},{"description":{"content":"<p>Returns compensation information consolidated by rule and indicator, without KPIs.</p>\n","type":"text/plain"},"key":"includeOptions","value":"noKpi"},{"description":{"content":"<p>Returns compensation information consolidated by rule.</p>\n","type":"text/plain"},"key":"includeOptions","value":"ruleConsolidation"},{"description":{"content":"<p>Returns consolidated compensation information by indicator.</p>\n","type":"text/plain"},"key":"includeOptions","value":"kpiConsolidation"}],"variable":[{"id":"83f0d405-5c69-4c3e-bd98-c691de3786aa","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person's award code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"cfaa3f97-f359-4e9f-afa9-6243505848c2","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/multilevelRemuneration?cycle=<integer>&page=<integer>&pageSize=<integer>&includeOptions=details&includeOptions=by the way&includeOptions=cycleConsolidation&includeOptions=ruleKpiConsolidation&includeOptions=kpiOnly&includeOptions=noKpi&includeOptions=ruleConsolidation&includeOptions=kpiConsolidation","host":["{{baseUrl}}"],"path":["api","sellers",":id","multilevelRemuneration"],"query":[{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Cycle number."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"details","description":"Returns detailed compensation information. \n\n **Observation**\n\n The level of detail of the return depends on the `includeOptions` parameters sent. \n\n **Heads up**\n\n This parameter cannot be sent together with the parameter `includeOptions = cycleConsolidation`. Only one of these values must be sent per request."},{"key":"includeOptions","value":"by the way","description":"Returns detailed compensation information by adding dealer nicknames."},{"key":"includeOptions","value":"cycleConsolidation","description":"Returns consolidated compensation information by cycle."},{"key":"includeOptions","value":"ruleKpiConsolidation","description":"Returns consolidated compensation information by rule and indicator."},{"key":"includeOptions","value":"kpiOnly","description":"Returns consolidated compensation information by rule and indicator, with KPIs only."},{"key":"includeOptions","value":"noKpi","description":"Returns compensation information consolidated by rule and indicator, without KPIs."},{"key":"includeOptions","value":"ruleConsolidation","description":"Returns compensation information consolidated by rule."},{"key":"includeOptions","value":"kpiConsolidation","description":"Returns consolidated compensation information by indicator."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person&#39;s award code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"sellerAwardCode\": \"Person&#39;s Award Code\",\r\n \"sellerAwardName\": \"Person&#39;s Award Name\",\r\n \"cycle\": \"Person&#39;s cycle\",\r\n \"ruleCode\": \"Rule code\",\r\n \"ruleName\": \"Rule name\",\r\n \"valueAward\": \"Award value\",\r\n \"sellerCode\": \"Reseller code\",\r\n \"sellerName\": \"Reseller Name\",\r\n \"sellerAlias\": [ // List of dealer aliases\r\n {\r\n \"typeId\": \"Reseller Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Reseller alias\"\r\n }\r\n ],\r\n \"kpiCode\": \"KPI Code\",\r\n \"kpiName\": \"KPI Name\",\r\n \"kpiValue\": \"KPI value\",\r\n \"percentageMultiplier\": \"Percentage Multiplier\",\r\n \"valueAwardMultiplier\": \"Award Multiplier Value\",\r\n \"validRemuneration\": {\r\n \"id\": \"Code of remuneration validity\", // 0 - No, 1 - Yes\r\n \"description\": \"Remuneration validity description\" // Yes or no\r\n },\r\n \"remunerationTracking\": \"Description of value calculation in memory\"\r\n }\r\n ]"},{"id":"28c9031c-1a42-4dfd-bf02-1e29e64da181","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/multilevelRemuneration?cycle=<integer>&page=<integer>&pageSize=<integer>&includeOptions=details&includeOptions=by the way&includeOptions=cycleConsolidation&includeOptions=ruleKpiConsolidation&includeOptions=kpiOnly&includeOptions=noKpi&includeOptions=ruleConsolidation&includeOptions=kpiConsolidation","host":["{{baseUrl}}"],"path":["api","sellers",":id","multilevelRemuneration"],"query":[{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Cycle number."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"details","description":"Returns detailed compensation information. \n\n **Observation**\n\n The level of detail of the return depends on the `includeOptions` parameters sent. \n\n **Heads up**\n\n This parameter cannot be sent together with the parameter `includeOptions = cycleConsolidation`. Only one of these values must be sent per request."},{"key":"includeOptions","value":"by the way","description":"Returns detailed compensation information by adding dealer nicknames."},{"key":"includeOptions","value":"cycleConsolidation","description":"Returns consolidated compensation information by cycle."},{"key":"includeOptions","value":"ruleKpiConsolidation","description":"Returns consolidated compensation information by rule and indicator."},{"key":"includeOptions","value":"kpiOnly","description":"Returns consolidated compensation information by rule and indicator, with KPIs only."},{"key":"includeOptions","value":"noKpi","description":"Returns compensation information consolidated by rule and indicator, without KPIs."},{"key":"includeOptions","value":"ruleConsolidation","description":"Returns compensation information consolidated by rule."},{"key":"includeOptions","value":"kpiConsolidation","description":"Returns consolidated compensation information by indicator."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person&#39;s award code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"sellerAwardCode\": 123456,\r\n \"sellerAwardName\": \"Test Award Person 123456\",\r\n \"cycle\": 202101,\r\n \"ruleCode\": 42,\r\n \"ruleName\": \"Rule 42\",\r\n \"valueAward\": 155.90,\r\n \"sellerCode\": 215,\r\n \"sellerName\": \"Test Person 215\",\r\n \"sellerAlias\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"Person 215\"\r\n }\r\n ],\r\n \"kpiCode\": 23,\r\n \"kpiName\": \"KPI 23\",\r\n \"kpiValue\": 12.34,\r\n \"percentageMultiplier\": 0.12,\r\n \"valueAwardMultiplier\": 1.12,\r\n \"validRemuneration\": {\r\n \"id\": 1, \r\n \"description\": \"Yes\"\r\n },\r\n \"remunerationTracking\": \"Description of the multilevel remuneration calculation\"\r\n }\r\n ]"}],"_postman_id":"67c67278-5505-4bfd-a05b-c8b72638c6b3"}],"id":"94c4a57b-f996-40c2-b150-e1d8082c078f","_postman_id":"94c4a57b-f996-40c2-b150-e1d8082c078f","description":""}],"id":"7322bf3c-505a-4a63-a588-1ab2b10e2457","description":"<p>Manage the sales force's commercial structure and its calendars, see the remuneration generated and coordinate the salesperson's customer base.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"439465d4-eb7b-4503-b141-83759930ea76"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d4d8fb04-5cee-450f-983d-b7babcbc553c"}}],"_postman_id":"7322bf3c-505a-4a63-a588-1ab2b10e2457"},{"name":"Registration","item":[{"name":"Final costumer","item":[{"name":"Registering an individual (public access)","id":"fac8224a-4c73-4a5a-afaa-0a9affde59fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"<p>Persons name.</p>\n","type":"text"},{"key":"birthday","value":"<dateTime>","description":"<p>The person's date of birth. (1990-12-31T00:00:00.000Z)</p>\n","type":"text"},{"key":"gender","value":"<integer>","description":"<p>Gender of the person. <a href=\"#891f3da0-a7a3-4df9-b605-e332608e4ff0\">Genres types</a></p>\n","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\"\"mainDocumentTypeId\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"<p>Identification documents of the person. </p>\n<p> -<code>document</code>: Document of the person;</p>\n<p> -<code>type</code>: Document type; <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a>. </p>\n<p> -<code>mainDocumentTypeId</code>: Reseller main document type. <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a>;</p>\n<p> -<code>documentInfoExtra</code>: Extra information about the document. \n -<code>typeInfoExtra</code>: Extra information type code. <a href=\"#5d87109b-5554-4321-b1ff-c2f58a3c435f\">Types of extra information</a>;\n -<code>infoExtra</code>: Extra info.</p>\n","type":"text"},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"ZIP code\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"type\":\"<integer>\",\"deliverToNeighbor\":\"<boolean>\"}]","description":"<p>Person's addresses. </p>\n<p> Filling in the levels depends on the type of <strong>Let</strong> installation. You can query the structure levels through an <a href=\"#62032556-68a4-4c51-ae48-abe7fd95897d\">API</a> and/or the <a href=\"#32a377c4-0a76-49d3-a1f1-0dbcad48abe7\">table</a> in the glossary. </p>\n<p> -<code>addressLevel1</code>: Name of the geographic structure that refers to the first level of the address;</p>\n<p> -<code>addressLevel2</code>: Name of the geographic structure that refers to the second level of the address;</p>\n<p> -<code>addressLevel3</code>: Name of the geographic structure that refers to the third level of the address;</p>\n<p> -<code>addressLevel4</code>: Name of the geographic structure that refers to the fourth level of the address;</p>\n<p> -<code>addressLevel5</code>: Name of the geographic structure that refers to the fifth level of the address;</p>\n<p> -<code>addressLevel6</code>: Name of the geographic structure that refers to the sixth level of the address;</p>\n<p> -<code>addressLevel7</code>: Name of the geographic structure that refers to the seventh level of the address;</p>\n<p> -<code>addressLevel8</code>: Name of the geographic structure that refers to the eighth level of the address;</p>\n<p> -<code>addressLevel9</code>: Name of geographic structure that refers to the ninth level of the address;</p>\n<p> -<code>addressLevel10</code>: Name of the geographic structure that refers to the tenth level of the address;</p>\n<p> -<code>addressComplement</code>: Address complement;</p>\n<p> -<code>addressNumber</code>: Address number;</p>\n<p> -<code>addressReference</code>: Address reference;</p>\n<p> -<code>addressName</code>: Address alias;</p>\n<p> -<code>geographicStructureCode</code>: Code of the geographic structure of the address;</p>\n<p> -<code>zipCode</code>: Zip code number of the address;</p>\n<ul>\n<li><code>type</code>: Type of address. <a href=\"#e9e9d22a-1fcc-457e-9605-f6c8a11f396b\">Types of addresses</a>;</li>\n</ul>\n<p> -<code>deliverToNeighbor</code>: Indicates whether the deliver to neighbor option is enabled at this address.</p>\n","type":"text"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"<p>Person's phone numbers. </p>\n<p> -<code>type</code>: Phone type. <a href=\"#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3\">Types of telephones</a>;</p>\n<p> -<code>telephone</code>: Person's phone number;</p>\n<p> -<code>acceptsMessages</code>: Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"<p>Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation.</p>\n","type":"text"},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"<p>The person's emails. </p>\n<p> -<code>type</code>: Type of email to be registered. <a href=\"#b6db0892-d243-4c6a-ac37-008dca199023\">Email types</a>;</p>\n<p> -<code>email</code>: Email to be registered.</p>\n","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"<p>Nicknames of the person. </p>\n<p> -<code>typeId</code>: Alias type. <a href=\"#12fa8659-d78c-4c2e-a60f-0367b7d64d74\">Alias Types</a>;</p>\n<p> -<code>alias</code>: Description of the alias. </p>\n<p> <strong>Note</strong>: For Alias of type <code>1 - WebStore</code>, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.</p>\n","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"<p>Acceptance of the terms referring to the contract registered in <strong>Let</strong>. </p>\n<p> This contract is displayed in our Virtual Office.</p>\n","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"<p>Data Disclosure Acceptance. This parameter is used by other APIs. </p>\n<p> Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.</p>\n","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"<p>Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n","type":"text"},{"key":"spouseName","value":"<string>","description":"<p>Spouse's name.</p>\n","type":"text"},{"key":"fathername","value":"<string>","description":"<p>Father's name.</p>\n","type":"text"},{"key":"mothername","value":"<string>","description":"<p>Mother's name.</p>\n","type":"text"},{"key":"externalCode","value":"<string>","description":"<p>External code (used for external integrations).</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/public/people?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","description":"<p>This call is used to register an individual with the role of end consumer. </p>\n<p> After creating a new registration, the access password will be sent to the registered person's email. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","public","people"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Function Code to register the individual. </p>\n<p> <strong>Default</strong>: 9 - Final consumer. </p>\n<p> When submitting the standard role, the person will be registered and automatically allocated in the commercial structure of the final consumer. </p>\n<p> When sending another role, the structure that the person can be allocated must be sent. If the structure is not sent, the person will not be allocated.</p>\n","type":"text/plain"},"key":"personFunction","value":"<integer>"},{"description":{"content":"<p>Default business rule code used by the application. </p>\n<p> This parameter must be used together with the <code>applicationCode</code> parameter, otherwise an error will be returned. </p>\n<p> This parameter, together with the <code>applicationCode</code>, will validate if the application is allowed to register address for person.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p>Code of the application responsible for registering the person. </p>\n<p> This parameter must be used with the <code>businessModelCode</code> parameter. Otherwise, an error will be returned. </p>\n<p> This parameter, together with the <code>businessModelCode</code> parameter, validates the application's permission to register an address for a person.</p>\n","type":"text/plain"},"key":"applicationCode","value":"<byte>"},{"description":{"content":"<p>Code of the distribution center responsible for registering the person. </p>\n<p> This parameter must be used together with the <code>cycle</code> parameter. If sent, it will be validated if the system parameter <code>LimitarAddressEndrega</code> should limit delivery addresses only served by this distribution center.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p>Current sales cycle code. (202009)</p>\n<p> This parameter must be used together with the <code>distributionCenterCode</code> parameter. If sent, it will be validated if the system parameter <code>LimitarAddressEndrega</code> must limit delivery addresses only served by the dispatched distribution center.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[]}},"response":[{"id":"6e802405-5e2a-4f1c-a2d7-af42d06a87e5","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Persons name.","type":"text"},{"key":"birthday","value":"<dateTime>","description":"The person&#39;s date of birth. (1990-12-31T00:00:00.000Z)","type":"text"},{"key":"gender","value":"<integer>","description":"Gender of the person. [Genres types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"Identification documents of the person. \n\n -`document`: Document of the person;\n\n -`type`: Document type;\n -`id`: Document type code;\n -`description`: Type of document to be registered. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4). \n\n -`mainDocumentTypeId`: Reseller main document type. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4);\n\n -`documentInfoExtra`: Extra information about the document. \n -`typeInfoExtra`: Extra information type code. [Types of extra information](#5d87109b-5554-4321-b1ff-c2f58a3c435f);\n -`infoExtra`: Extra info.","type":"text"},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"ZIP code\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"type\":\"<integer>\",\"deliverToNeighbor\":\"<boolean>\"}]","description":"Person&#39;s addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`addressLevel1`: Name of the geographic structure that refers to the first level of the address;\n\n -`addressLevel2`: Name of the geographic structure that refers to the second level of the address;\n\n -`addressLevel3`: Name of the geographic structure that refers to the third level of the address;\n\n -`addressLevel4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`addressLevel5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`addressLevel6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`addressLevel7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`addressLevel8`: Name of the geographic structure that refers to the eighth level of the address;\n\n -`addressLevel9`: Name of geographic structure that refers to the ninth level of the address;\n\n -`addressLevel10`: Name of the geographic structure that refers to the tenth level of the address;\n\n -`addressComplement`: Address complement;\n\n -`addressNumber`: Address number;\n\n -`addressReference`: Address reference;\n\n -`addressName`: Address alias;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n - `type`: Type of address. [Types of addresses](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b);\n\n -`deliverToNeighbor`: Indicates whether the deliver to neighbor option is enabled at this address.","type":"text"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"Person&#39;s phone numbers. \n\n -`type`: Phone type. [Types of telephones](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -`telephone`: Person&#39;s phone number;\n\n -`acceptsMessages`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation.","type":"text"},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"The person&#39;s emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered.","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"Nicknames of the person. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**. \n\n This contract is displayed in our Virtual Office.","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"spouseName","value":"<string>","description":"Spouse&#39;s Name.","type":"text"},{"key":"fathername","value":"<string>","description":"Father&#39;s name.","type":"text"},{"key":"mothername","value":"<string>","description":"Mother&#39;s Name.","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/public/people?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<integer>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","public","people"],"query":[{"key":"personFunction","value":"<integer>","description":"**Mandatory**\n\n Function Code to register the individual. \n\n **Default**: 9 - Final consumer. \n\n When submitting the standard role, the person will be registered and automatically allocated in the commercial structure of the final consumer. \n\n When sending another role, the structure that the person can be allocated must be sent. If the structure is not sent, the person will not be allocated."},{"key":"businessModelCode","value":"<integer>","description":"Standard Business Model Code used by the application\n\n This parameter must be used together with the `applicationCode` parameter, otherwise an error will be returned. \n\n This parameter, together with the `applicationCode`, will validate if the application is allowed to register address for person."},{"key":"applicationCode","value":"<integer>","description":"Application Code responsible for registering the person. \n\n This parameter must be used with the `businessModelCode` parameter. Otherwise, an error will be returned. \n\n This parameter, together with the `businessModelCode` parameter, validates the application&#39;s permission to register an address for a person."},{"key":"distributionCenterCode","value":"<integer>","description":"Code of the Distribution Center responsible for registering the person. \n\n This parameter must be used together with the `cycle` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` should limit delivery addresses only served by this distribution center."},{"key":"cycle","value":"<integer>","description":"Current sales cycle code. (202009)\n\n This parameter must be used together with the `distributionCenterCode` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` must limit delivery addresses only served by the dispatched distribution center."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": 3206,\n \"personalData\": {\n \"name\": \"Name of new dealer\",\n \"birthday\": \"1986-02-02T14:53:19.892Z\",\n \"Fri\": {\n \"id\": 1,\n \"description\": \"Fem\"\n },\n \"motherName\": \"mother&#39;s name\",\n \"fatherName\": \"father&#39;s name\",\n \"spouseName\": \"wife&#39;s name\"\n },\n \"addresses\": [\n {\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\",\n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"number\": \"109\",\n \"Level5\" : \"block 5\",\n \"Level6\" : \"building 3\",\n \"Level7\" : \"building 8\",\n \"Level8\" : \"input 7\",\n \"Level9\" : \"elevator 2\",\n \"Complement\" : \"apartment 55\",\n \"Number\" : 123,\n \"addressType\": {\n \"id\": 2,\n \"description\": \"Commercial\"\n },\n \"zipCode\": \"13185343\"\n }\n ],\n \"telephones\": [\n {\n \"telephoneType\": {\n \"id\": 1,\n \"description\": \"Residential\"\n },\n \"telephone\": \"19856658525\"\n }\n ],\n \"emails\": [\n {\n \"emailType\": { \n \"id\": 1,\n \"description\": \"Personal\"\n },\n \"email\": \"emersen.thatcher@twodrops.org\"\n }\n ],\n \"documents\": [\n {\n \"documentType\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"document\": \"26447778019\",\n \"mainDocumentType\": {\n \"id\": 1,\n \"description\": \"CPF\"\n },\n \"documentInfoExtra\": {\n \"typeInfoExtra\": 1,\n \"DescriptionInfoExtra\": \"DescriptionInfoExtra\",\n \"infoExtra\": \"cpf\"\n }\n }\n ],\n \"accessShoppingCart\": {\n \"userCode\": 3206,\n \"accessKey\": \"98242fc6-08f2-410c-90dc-020c654147b8\",\n \"shouldGoToShoppingCart\": true\n },\n \"externalCode\": \"123\"\n }"},{"id":"2885d4c9-b4c2-41d4-ba34-4f99e0b87b94","name":"Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Persons name.","type":"text"},{"key":"birthday","value":"<dateTime>","description":"The person&#39;s date of birth. (1990-12-31T00:00:00.000Z)","type":"text"},{"key":"gender","value":"<integer>","description":"Gender of the person. [Genres types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"Identification documents of the person. \n\n -`document`: Document of the person;\n\n -`type`: Document type;\n -`id`: Document type code;\n -`description`: Type of document to be registered. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4). \n\n -`mainDocumentTypeId`: Reseller main document type. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4);\n\n -`documentInfoExtra`: Extra information about the document. \n -`typeInfoExtra`: Extra information type code. [Types of extra information](#5d87109b-5554-4321-b1ff-c2f58a3c435f);\n -`infoExtra`: Extra info.","type":"text"},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"ZIP code\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"type\":\"<integer>\",\"deliverToNeighbor\":\"<boolean>\"}]","description":"Person&#39;s addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`addressLevel1`: Name of the geographic structure that refers to the first level of the address;\n\n -`addressLevel2`: Name of the geographic structure that refers to the second level of the address;\n\n -`addressLevel3`: Name of the geographic structure that refers to the third level of the address;\n\n -`addressLevel4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`addressLevel5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`addressLevel6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`addressLevel7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`addressLevel8`: Name of the geographic structure that refers to the eighth level of the address;\n\n -`addressLevel9`: Name of geographic structure that refers to the ninth level of the address;\n\n -`addressLevel10`: Name of the geographic structure that refers to the tenth level of the address;\n\n -`addressComplement`: Address complement;\n\n -`addressNumber`: Address number;\n\n -`addressReference`: Address reference;\n\n -`addressName`: Address alias;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n - `type`: Type of address. [Types of addresses](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b);\n\n -`deliverToNeighbor`: Indicates whether the deliver to neighbor option is enabled at this address.","type":"text"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"Person&#39;s phone numbers. \n\n -`type`: Phone type. [Types of telephones](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -`telephone`: Person&#39;s phone number;\n\n -`acceptsMessages`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation.","type":"text"},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"The person&#39;s emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered.","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"Nicknames of the person. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**. \n\n This contract is displayed in our Virtual Office.","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"spouseName","value":"<string>","description":"Spouse&#39;s Name.","type":"text"},{"key":"fathername","value":"<string>","description":"Father&#39;s name.","type":"text"},{"key":"mothername","value":"<string>","description":"Mother&#39;s Name.","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/public/people?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<integer>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","public","people"],"query":[{"key":"personFunction","value":"<integer>","description":"**Mandatory**\n\n Function Code to register the individual. \n\n **Default**: 9 - Final consumer. \n\n When submitting the standard role, the person will be registered and automatically allocated in the commercial structure of the final consumer. \n\n When sending another role, the structure that the person can be allocated must be sent. If the structure is not sent, the person will not be allocated."},{"key":"businessModelCode","value":"<integer>","description":"Standard Business Model Code used by the application\n\n This parameter must be used together with the `applicationCode` parameter, otherwise an error will be returned. \n\n This parameter, together with the `applicationCode`, will validate if the application is allowed to register address for person."},{"key":"applicationCode","value":"<integer>","description":"Application Code responsible for registering the person. \n\n This parameter must be used with the `businessModelCode` parameter. Otherwise, an error will be returned. \n\n This parameter, together with the `businessModelCode` parameter, validates the application&#39;s permission to register an address for a person."},{"key":"distributionCenterCode","value":"<integer>","description":"Code of the Distribution Center responsible for registering the person. \n\n This parameter must be used together with the `cycle` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` should limit delivery addresses only served by this distribution center."},{"key":"cycle","value":"<integer>","description":"Current sales cycle code. (202009)\n\n This parameter must be used together with the `distributionCenterCode` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` must limit delivery addresses only served by the dispatched distribution center."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Code of the person in the system\",\n \"personalData\": {\n \"name\": \"Full Name\",\n \"birthday\": \"Date of Birth\",\n \"Fri\": {\n \"id\": \"Person&#39;s Gender Code\", //Possible values available in the Glossary(\"Person&#39;s Gender\")\n \"description\": \"Genre Description\"\n },\n \"motherName\": \"mother&#39;s name\",\n \"fatherName\": \"father&#39;s name\",\n \"spouseName\": \"spouse name\"\n },\n \"addresses\": [ //Address list. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \n {\n \"level0\": \"Address data level 0\",\n \"level1\": \"Level 1 Address Data\",\n \"level2\": \"Level 2 Address Data\",\n \"level3\": \"Level 3 Address Data\",\n \"level4\": \"Level 4 Address Data\",\n \"level5\": \"Level 5 Address Data\",\n \"level6\": \"Level 6 Address Data\",\n \"level7\": \"Level 7 Address Data\",\n \"level8\": \"Level 8 Address Data\",\n \"level9\": \"Level 9 Address Data\",\n \"Complement\" : \"Complement\",\n \"Number\" : \"Number\",\n \"addressType\": {\n \"id\": \"Address Type Code\",//Possible values available in the Glossary(\"Address Types\")\n \"description\": \"Description of Type of address\"\n },\n \"zipCode\": \"Postcode\"\n }\n ],\n \"telephones\": [\n {\n \"telephoneType\": {\n \"id\": \"Phone Type Code\",//Possible values available in the Glossary(\"Phone Types\")\n \"description\": \"Description of Phone Type\"\n },\n \"telephone\": \"Phone Number\"\n }\n ],\n \"emails\": [\n {\n \"emailType\": {\n \"id\": \"Email Type Code\",//Possible values available in the Glossary(\"Email Types\")\n \"description\": \"Description of Email Type\"\n },\n \"email\": \"Address from email\"\n }\n ],\n \"documents\": [\n {\n \"documentType\": {\n \"id\": \"Document type code\", //Possible values available in the Glossary(\"Document Types\")\n \"description\": \"Description of document type\"\n },\n \"document\": \"Document data\",\n \"mainDocumentType\": {\n \"id\": \"Code of main document type\", //Possible values available in Glossary(\"Main Document Types\")\n \"description\": \"Description of main document type\"\n },\n \"documentInfoExtra\": {\n \"typeInfoExtra\": \"Extra Information Type Code\",//Possible values available in the Glossary(\"Extra Information Types\") \n \"DescriptionInfoExtra\": \"Type of Extra information\",\n \"infoExtra\": \"Extra information\"\n }\n }\n ],\n \"accessShoppingCart\": {\n \"userCode\": \"Registered user code\",\n \"AccessKey\": \"Temporary Access Key - Can be used for single sign-on between applications\",\n \"ShouldGoToShoppingCart\": \"Indicates whether it should be redirected to the Cart using the access data\"\n },\n \"externalCode\": \"External Code\"\n }"}],"_postman_id":"fac8224a-4c73-4a5a-afaa-0a9affde59fb"},{"name":"Register an individual","id":"8899f2a8-2cda-41ee-ba49-d6f3fb068d9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"<p>Persons name.</p>\n"},{"key":"birthday","value":"<dateTime>","description":"<p>The person's date of birth. (1990-12-31T00:00:00.000Z)</p>\n"},{"key":"gender","value":"<integer>","description":"<p>Gender of the person. <a href=\"#891f3da0-a7a3-4df9-b605-e332608e4ff0\">Genre Types</a></p>\n"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"<p>Person's telephone numbers. </p>\n<p> -<code>type</code>: Phone type. <a href=\"#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3\">Phone types</a>;</p>\n<p> -<code>telephone</code>: Person's phone number;</p>\n<p> -<code>acceptsMessages</code>: Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n"},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"<p>The person's emails. </p>\n<p> -<code>type</code>: Type of email to be registered. <a href=\"#b6db0892-d243-4c6a-ac37-008dca199023\">Email types</a>;</p>\n<p> -<code>email</code>: Email to be registered.</p>\n"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"<p>Identification documents of the person. </p>\n<p> -<code>document</code>: Document of the person;</p>\n<p> -<code>type</code>: Document type; <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a>. </p>\n<p> -<code>documentInfoExtra</code>: Extra information about the document. \n -<code>typeInfoExtra</code>: Extra information type code. <a href=\"#5d87109b-5554-4321-b1ff-c2f58a3c435f\">Types of extra information</a>;\n -<code>infoExtra</code>: Extra info.</p>\n"},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\",\"deliverToNeighbor\":\"<boolean>\"}]","description":"<p>Person's addresses. </p>\n<p> Filling in the levels depends on the type of <strong>Let</strong> installation. You can query the structure levels through an <a href=\"#62032556-68a4-4c51-ae48-abe7fd95897d\">API</a> and/or the <a href=\"#32a377c4-0a76-49d3-a1f1-0dbcad48abe7\">table</a> in the glossary. </p>\n<p> -<code>addressLevel1</code>: Name of the geographic structure that refers to the first level of the address;</p>\n<p> -<code>addressLevel2</code>: Name of the geographic structure that refers to the second level of the address;</p>\n<p> -<code>addressLevel3</code>: Name of the geographic structure that refers to the third level of the address;</p>\n<p> -<code>addressLevel4</code>: Name of the geographic structure that refers to the fourth level of the address;</p>\n<p> -<code>addressLevel5</code>: Name of the geographic structure that refers to the fifth level of the address;</p>\n<p> -<code>addressLevel6</code>: Name of the geographic structure that refers to the sixth level of the address;</p>\n<p> -<code>addressLevel7</code>: Name of the geographic structure that refers to the seventh level of the address;</p>\n<p> -<code>addressLevel8</code>: Name of the geographic structure that refers to the eighth level of the address;</p>\n<p> -<code>addressLevel9</code>: Name of geographic structure that refers to the ninth level of the address;</p>\n<p> -<code>addressLevel10</code>: Name of the geographic structure that refers to the tenth level of the address;</p>\n<p> -<code>addressComplement</code>: Address complement;</p>\n<p> -<code>addressNumber</code>: Address number;</p>\n<p> -<code>addressReference</code>: Address reference;</p>\n<p> -<code>addressName</code>: Address alias;</p>\n<p> -<code>geographicStructureCode</code>: Code of the geographic structure of the address;</p>\n<p> -<code>zipCode</code>: Zip code number of the address;</p>\n<ul>\n<li><code>type</code>: Type of address. <a href=\"#e9e9d22a-1fcc-457e-9605-f6c8a11f396b\">Address Types</a>;</li>\n</ul>\n<p> -<code>deliverToNeighbor</code>: Indicates whether the deliver to neighbor option is enabled at this address.</p>\n"},{"key":"commercialStructureCode","value":"<integer>","description":"<p>Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation.</p>\n"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"<p>Nicknames of the person. </p>\n<p> <a href=\"#12fa8659-d78c-4c2e-a60f-0367b7d64d74\">Types of alias</a>. </p>\n<p> -<code>typeId</code>: Alias type;</p>\n<p> -<code>alias</code>: Description of the alias. </p>\n<p> <strong>Note</strong>: For Alias of type <code>1 - WebStore</code>, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.</p>\n"},{"key":"acceptTerms","value":"<boolean>","description":"<p>Acceptance of the terms referring to the contract registered in <strong>Let</strong>.</p>\n"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"<p>Data Disclosure Acceptance. This parameter is used by other APIs. </p>\n<p> Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.</p>\n"},{"key":"acceptsMessages","value":"<boolean>","description":"<p>Allows you to receive notifications regarding events generated in <strong>Let</strong>.</p>\n"},{"key":"spouseName","value":"<string>","description":"<p>Spouse's Name.</p>\n"},{"key":"fathername","value":"<string>","description":"<p>Father's name.</p>\n"},{"key":"mothername","value":"<string>","description":"<p>Mother's Name.</p>\n"},{"key":"externalCode","value":"<string>","description":"<p>External code (used for external integrations).</p>\n"}]},"url":"{{baseUrl}}/api/people?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","description":"<p>This call is used to register an individual with the role of end consumer. </p>\n<p> After creating a new registration, the access password will be sent to the registered person's email.</p>\n","urlObject":{"path":["api","people"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Function Code to register the individual. </p>\n<p> <strong>Default:</strong> 9 - Final consumer. </p>\n<p> When submitting the standard role, the person will be registered and automatically allocated in the commercial structure of the final consumer. </p>\n<p> When sending another role, the structure that the person can be allocated must be sent. If the structure is not sent, the person will not be allocated.</p>\n","type":"text/plain"},"key":"personFunction","value":"<integer>"},{"description":{"content":"<p>Código do modelo comercial padrão utilizado pela aplicação</p>\n<p>Esse parâmetro deve ser utilizando junto com o parâmetro <code>applicationCode</code>, caso contrário um erro será retornado. </p>\n<p> This parameter, together with the <code>applicationCode</code>, will validate if the application is allowed to register address for person.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p>Code of the application responsible for registering the person. </p>\n<p> This parameter must be used with the <code>businessModelCode</code> parameter. Otherwise, an error will be returned. </p>\n<p> This parameter, together with the <code>businessModelCode</code> parameter, validates the application's permission to register an address for a person.</p>\n","type":"text/plain"},"key":"applicationCode","value":"<byte>"},{"description":{"content":"<p>Code of the distribution center responsible for registering the person. </p>\n<p> This parameter must be used together with the <code>cycle</code> parameter. If sent, it will be validated if the system parameter <code>LimitarAddressEndrega</code> should limit delivery addresses only served by this distribution center.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p>Current sales cycle code. (202009)</p>\n<p> This parameter must be used together with the <code>distributionCenterCode</code> parameter. If sent, it will be validated if the system parameter <code>LimitarAddressEndrega</code> must limit delivery addresses only served by the dispatched distribution center.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[]}},"response":[{"id":"fa79bb2a-b7ec-4e42-a50d-c6f2b6aeda92","name":"Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Persons name."},{"key":"birthday","value":"<dateTime>","description":"The person&#39;s date of birth. (1990-12-31T00:00:00.000Z)"},{"key":"gender","value":"<integer>","description":"Gender of the person. [Genre Types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"Person&#39;s telephone numbers. \n\n -`type`: Phone type. [Phone types](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -`telephone`: Person&#39;s phone number;\n\n -`acceptsMessages`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary."},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"The person&#39;s emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered."},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"Identification documents of the person. \n\n -`document`: Document of the person;\n\n -`type`: Document type;\n -`id`: Document type code;\n -`description`: Type of document to be registered. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4). \n\n -`documentInfoExtra`: Extra information about the document. \n -`typeInfoExtra`: Extra information type code. [Types of extra information](#5d87109b-5554-4321-b1ff-c2f58a3c435f);\n -`infoExtra`: Extra info."},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\",\"deliverToNeighbor\":\"<boolean>\"}]","description":"Person&#39;s addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`addressLevel1`: Name of the geographic structure that refers to the first level of the address;\n\n -`addressLevel2`: Name of the geographic structure that refers to the second level of the address;\n\n -`addressLevel3`: Name of the geographic structure that refers to the third level of the address;\n\n -`addressLevel4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`addressLevel5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`addressLevel6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`addressLevel7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`addressLevel8`: Name of the geographic structure that refers to the eighth level of the address;\n\n -`addressLevel9`: Name of geographic structure that refers to the ninth level of the address;\n\n -`addressLevel10`: Name of the geographic structure that refers to the tenth level of the address;\n\n -`addressComplement`: Address complement;\n\n -`addressNumber`: Address number;\n\n -`addressReference`: Address reference;\n\n -`addressName`: Address alias;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n - `type`: Type of address. [Address Types](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b);\n\n -`deliverToNeighbor`: Indicates whether the deliver to neighbor option is enabled at this address."},{"key":"commercialStructureCode","value":"<integer>","description":"Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation."},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"Nicknames of the person. \n\n [Types of alias](#12fa8659-d78c-4c2e-a60f-0367b7d64d74). \n\n -`typeId`: Alias type;\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters."},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**."},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration."},{"key":"acceptsMessages","value":"<boolean>","description":"Allows you to receive notifications regarding events generated in **Let**."},{"key":"spouseName","value":"<string>","description":"Spouse&#39;s Name."},{"key":"fathername","value":"<string>","description":"Father&#39;s name."},{"key":"mothername","value":"<string>","description":"Mother&#39;s Name."},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations)."}]},"url":{"raw":"{{baseUrl}}/api/people?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","people"],"query":[{"key":"personFunction","value":"<integer>","description":"**Mandatory**\n\n Function Code to register the individual. \n\n **Default:** 9 - Final consumer. \n\n When submitting the standard role, the person will be registered and automatically allocated in the commercial structure of the final consumer. \n\n When sending another role, the structure that the person can be allocated must be sent. If the structure is not sent, the person will not be allocated."},{"key":"businessModelCode","value":"<integer>","description":"Código do modelo comercial padrão utilizado pela aplicação\n\nEsse parâmetro deve ser utilizando junto com o parâmetro `applicationCode`, caso contrário um erro será retornado. \n\n This parameter, together with the `applicationCode`, will validate if the application is allowed to register address for person."},{"key":"applicationCode","value":"<byte>","description":"Code of the application responsible for registering the person. \n\n This parameter must be used with the `businessModelCode` parameter. Otherwise, an error will be returned. \n\n This parameter, together with the `businessModelCode` parameter, validates the application&#39;s permission to register an address for a person."},{"key":"distributionCenterCode","value":"<integer>","description":"Code of the distribution center responsible for registering the person. \n\n This parameter must be used together with the `cycle` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` should limit delivery addresses only served by this distribution center."},{"key":"cycle","value":"<integer>","description":"Current sales cycle code. (202009)\n\n This parameter must be used together with the `distributionCenterCode` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` must limit delivery addresses only served by the dispatched distribution center."}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Code assigned by the system to the registered person.\",\r\n \"personalData\": { //Personal Data\r\n \"name\": \"Person&#39;s name\",\r\n \"birthday\": \"Person&#39;s date of birth\",\r\n \"sex\": { //Person&#39;s Gender - Possible values in the glossary (Person&#39;s Gender)\r\n \"id\": \"Internal code of the domain corresponding to the gender\",\r\n \"description\": \"Internal description of the domain corresponding to the gender\"\r\n },\r\n \"motherName\": \"Mother&#39;s Name\",\r\n \"fatherName\": \"Father Name\",\r\n \"spouseName\": \"Spouse Name\"\r\n },\r\n \"addresses\": [ //Address list. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n {\r\n \"addressType\": { //Address Type - Possible values in the glossary (Person&#39;s Address)\r\n \"id\": \"Internal code of the domain corresponding to the Address Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Address Type\"\r\n },\r\n \"level0\": \"Address registration level zero\",\r\n \"level1\": \"Address registration level one\",\r\n \"level2\": \"Address registration level two\",\r\n \"level3\": \"Address registration level three\",\r\n \"level4\": \"Address registration level four\",\r\n \"level5\": \"Address registration level five\",\r\n \"level6\": \"Address registration level six\",\r\n \"level7\": \"Address registration level seven\",\r\n \"level8\": \"Level eight of address registration\",\r\n \"level9\": \"Address registration level nine\",\r\n \"complement\": \"Address complement\",\r\n \"number\": \"Address number\",\r\n \"zipCode\": \"Zip code of address\"\r\n }\r\n ],\r\n \"telephones\": [ //Phone List\r\n {\r\n \"telephoneType\": { //Phone Type - Possible values in glossary (Phone Type)\r\n \"id\": \"Internal code of the domain corresponding to the Telephone Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Phone Type\"\r\n },\r\n \"telephone\": \"Phone Number\"\r\n }\r\n ],\r\n \"emails\": [ //Email list\r\n { \r\n \"emailType\": {//Email Type - Possible Glossary Values (Email Type)\r\n \"id\": \"Internal code of the domain corresponding to the E-mail Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Email Type\"\r\n },\r\n \"email\": \"Email address\"\r\n }\r\n ],\r\n \"documents\": [ //List of Documents\r\n {\r\n \"documentType\": {//Document Type -Possible values in the glossary (Document Type)\r\n \"id\": \"Internal code of the domain corresponding to the Document Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Document Type\"\r\n },\r\n \"mainDocumentType\": { //Main Document Type- Possible values in glossary (Type of Main Document)\r\n \"id\": \"Internal code of the domain corresponding to the Main Document Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Main Document Type\"\r\n },\r\n \"documentsInfoExtra\" :{//Extra Document Information\r\n \"typeInfoExtra\": \"Extra Information Type Internal Code\", //Possible values in the glossary (Document Types - Extra Information)\r\n \"descriptionInfoExtra\": \"Internal Description of the Extra Information Type\", //Possible values in the glossary (Document Types - Extra Information)\r\n \"infoExtra\": \"Extra information\"\r\n },\r\n \"document\": \"Document Data\"\r\n }\r\n ],\r\n \"externalCode\": \"External registration code\"\r\n }"},{"id":"b7eeadcc-4f4d-4e4f-b73d-78c18e524e81","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Persons name."},{"key":"birthday","value":"<dateTime>","description":"The person&#39;s date of birth. (1990-12-31T00:00:00.000Z)"},{"key":"gender","value":"<integer>","description":"Gender of the person. [Genre Types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"Person&#39;s telephone numbers. \n\n -`type`: Phone type. [Phone types](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -`telephone`: Person&#39;s phone number;\n\n -`acceptsMessages`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary."},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"The person&#39;s emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered."},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"Identification documents of the person. \n\n -`document`: Document of the person;\n\n -`type`: Document type;\n -`id`: Document type code;\n -`description`: Type of document to be registered. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4). \n\n -`documentInfoExtra`: Extra information about the document. \n -`typeInfoExtra`: Extra information type code. [Types of extra information](#5d87109b-5554-4321-b1ff-c2f58a3c435f);\n -`infoExtra`: Extra info."},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\",\"deliverToNeighbor\":\"<boolean>\"}]","description":"Person&#39;s addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`addressLevel1`: Name of the geographic structure that refers to the first level of the address;\n\n -`addressLevel2`: Name of the geographic structure that refers to the second level of the address;\n\n -`addressLevel3`: Name of the geographic structure that refers to the third level of the address;\n\n -`addressLevel4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`addressLevel5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`addressLevel6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`addressLevel7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`addressLevel8`: Name of the geographic structure that refers to the eighth level of the address;\n\n -`addressLevel9`: Name of geographic structure that refers to the ninth level of the address;\n\n -`addressLevel10`: Name of the geographic structure that refers to the tenth level of the address;\n\n -`addressComplement`: Address complement;\n\n -`addressNumber`: Address number;\n\n -`addressReference`: Address reference;\n\n -`addressName`: Address alias;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n - `type`: Type of address. [Address Types](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b);\n\n -`deliverToNeighbor`: Indicates whether the deliver to neighbor option is enabled at this address."},{"key":"commercialStructureCode","value":"<integer>","description":"Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation."},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"Nicknames of the person. \n\n [Types of alias](#12fa8659-d78c-4c2e-a60f-0367b7d64d74). \n\n -`typeId`: Alias type;\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters."},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**."},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration."},{"key":"acceptsMessages","value":"<boolean>","description":"Allows you to receive notifications regarding events generated in **Let**."},{"key":"spouseName","value":"<string>","description":"Spouse&#39;s Name."},{"key":"fathername","value":"<string>","description":"Father&#39;s name."},{"key":"mothername","value":"<string>","description":"Mother&#39;s Name."},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations)."}]},"url":{"raw":"{{baseUrl}}/api/people?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","people"],"query":[{"key":"personFunction","value":"<integer>","description":"**Mandatory**\n\n Function Code to register the individual. \n\n **Default:** 9 - Final consumer. \n\n When submitting the standard role, the person will be registered and automatically allocated in the commercial structure of the final consumer. \n\n When sending another role, the structure that the person can be allocated must be sent. If the structure is not sent, the person will not be allocated."},{"key":"businessModelCode","value":"<integer>","description":"Código do modelo comercial padrão utilizado pela aplicação\n\nEsse parâmetro deve ser utilizando junto com o parâmetro `applicationCode`, caso contrário um erro será retornado. \n\n This parameter, together with the `applicationCode`, will validate if the application is allowed to register address for person."},{"key":"applicationCode","value":"<byte>","description":"Code of the application responsible for registering the person. \n\n This parameter must be used with the `businessModelCode` parameter. Otherwise, an error will be returned. \n\n This parameter, together with the `businessModelCode` parameter, validates the application&#39;s permission to register an address for a person."},{"key":"distributionCenterCode","value":"<integer>","description":"Code of the distribution center responsible for registering the person. \n\n This parameter must be used together with the `cycle` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` should limit delivery addresses only served by this distribution center."},{"key":"cycle","value":"<integer>","description":"Current sales cycle code. (202009)\n\n This parameter must be used together with the `distributionCenterCode` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` must limit delivery addresses only served by the dispatched distribution center."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 2947,\r\n \"personalData\": {\r\n \"name\": \"Adailton Bueno\",\r\n \"birthday\": \"1998-12-09T15:35:07.884Z\",\r\n \"Fri\": {\r\n \"id\": 2,\r\n \"description\": \"Male\"\r\n },\r\n \"motherName\": \"Mauve\",\r\n \"fatherName\": \"Peter\",\r\n \"spouseName\": \"Lidia\"\r\n },\r\n \"addresses\": [\r\n {\r\n \"addressType\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"HORTOLAND\",\r\n \"level3\": \"ADELAIDE GARDEN\",\r\n \"level4\": \"RUA JULIO CESAR DO BIRTH\",\r\n \"Level5\" : \"block 5\",\r\n \"Level6\" : \"building 3\",\r\n \"Level7\" : \"building 8\",\r\n \"Level8\" : \"input 7\",\r\n \"Level9\" : \"elevator 2\",\r\n \"complement\": \"Apartment 1035\",\r\n \"number\": \"34\",\r\n \"zipCode\": \"04777030\"\r\n }\r\n ],\r\n \"telephones\": [\r\n {\r\n \"telephoneType\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"11988888880\"\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"emailType\": {\r\n \"id\": 1,\r\n \"description\": \"Folks\"\r\n },\r\n \"email\": \"Adailton_01@gmail.com\"\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"documentType\": {\r\n \"id\": 2,\r\n \"description\": \"CPF\"\r\n },\r\n \"mainDocumentType\": {\r\n \"id\": 2,\r\n \"description\": \"CPF\"\r\n },\r\n \"documentsInfoExtra\" :{\r\n \"typeInfoExtra\": 1,\r\n \"descriptionInfoExtra\": \"RG Issuance Agency\",\r\n \"infoExtra\": \"SSP\"\r\n },\r\n \"document\": \"93918103064\"\r\n }\r\n ],\r\n \"externalCode\": \"2345\"\r\n }"}],"_postman_id":"8899f2a8-2cda-41ee-ba49-d6f3fb068d9a"},{"name":"Register legal entity (public access)","id":"c79aee77-2ea9-40bd-b85f-edbc6dbde58b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"<p>Company Name.</p>\n"},{"key":"acceptTerms","value":"<boolean>","description":"<p>Acceptance of the terms referring to the contract registered in <strong>Let</strong>.</p>\n"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"<p>Data Disclosure Acceptance. This parameter is used by other APIs. </p>\n<p> Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.</p>\n"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"smsAccepted\":\"<boolean>\"}]","description":"<p>Company phone numbers. </p>\n<p> -<code>type</code>: Phone type. <a href=\"#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3\">Phone types</a>;</p>\n<p> -telephone`: Company telephone number;</p>\n<p>-<code>smsAccepted</code>: Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n"},{"key":"emails","value":"emails[{\"type\":\"<integer>\",\"email\":\"<string>\",\"newsLetterAccepted\":\"<boolean>\"}]","description":"<p>Company emails. </p>\n<p> -<code>type</code>: Type of email to be registered. <a href=\"#b6db0892-d243-4c6a-ac37-008dca199023\">Email types</a>;</p>\n<p> -<code>email</code>: Email to be registered;</p>\n<p> -<code>newsLetterAccepted</code>: Indicates if you accept to receive newsletter.</p>\n"},{"key":"addresses","value":"[{\"level0\":\"<string>\",\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\"}]","description":"<p>Company addresses. </p>\n<p> Filling in the levels depends on the type of <strong>Let</strong> installation. You can query the structure levels through an <a href=\"#62032556-68a4-4c51-ae48-abe7fd95897d\">API</a> and/or the <a href=\"#32a377c4-0a76-49d3-a1f1-0dbcad48abe7\">table</a> in the glossary. </p>\n<p> -<code>level0</code>: Name of the geographic structure that refers to the zero level of the address;</p>\n<p> -<code>level1</code>: Name of the geographic structure that refers to the first level of the address;</p>\n<p> -<code>level2</code>: Name of the geographic structure that refers to the second level of the address;</p>\n<p> -<code>level3</code>: Name of the geographic structure that refers to the third level of the address;</p>\n<p> -<code>level4</code>: Name of the geographic structure that refers to the fourth level of the address;</p>\n<p> -<code>level5</code>: Name of the geographic structure that refers to the fifth level of the address;</p>\n<p> -<code>level6</code>: Name of the geographic structure that refers to the sixth level of the address;</p>\n<p> -<code>level7</code>: Name of the geographic structure that refers to the seventh level of the address;</p>\n<p> -<code>level8</code>: Name of the geographic structure that refers to the eighth level of the address; </p>\n<p> -<code>level9</code>: Name of the geographic structure that refers to the ninth level of the address;</p>\n<p> -<code>complement</code>: Complement of the address;</p>\n<p> -<code>number</code>: Address number;</p>\n<p> -<code>reference</code>: Address reference;</p>\n<p> -<code>name</code>: Last name of the address;</p>\n<p> -<code>geographicStructureCode</code>: Code of the geographic structure of the address;</p>\n<p> -<code>zipCode</code>: Zip code number of the address;</p>\n<p> -<code>type</code>: Type of address. <a href=\"#e9e9d22a-1fcc-457e-9605-f6c8a11f396b\">Address Types</a>.</p>\n","type":"text"},{"key":"businessRoleType","value":"<byte>","description":"<p>Business function code. <a href=\"#84278526-03e4-4758-8a1e-d81cbba3e0fd\">Commercial functions of individuals and legal entities</a>.</p>\n","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\"}]","description":"<p>Company identification documents. </p>\n<p> -<code>document</code>: Company document;</p>\n<p> -<code>type</code>: Document type; <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a>.</p>\n","type":"text"},{"key":"trade","value":"<string>","description":"<p>Company name.</p>\n","type":"text"},{"key":"contacts","value":"[{\"number\":\"<integer>\",\"name\":\"<string>\",\"area\":\"<string>\"\"telephone\":\"<string>\",\"branch\":\"<string>\"\"faxNumber\":\"<string>\"\"cellPhone\":\"<string>\",\"email\":\"<string>\",\"removeContact\":\"<boolean>\"}]","description":"<p>Company contacts. </p>\n<p> -<code>number</code>: Contact number;</p>\n<p> -<code>name</code>: Name of the contact;</p>\n<p> -<code>telephone</code>: Phone of the contact;</p>\n<p> -<code>branch</code>: Extension of the contact;</p>\n<p> -<code>faxNumber</code>: Contact's fax number;</p>\n<p> -<code>cellPhone</code>: The contact's cell phone;</p>\n<p> -<code>email</code>: Contact email;</p>\n<p> -<code>removeContact</code>: Indicates whether this contact should be removed.</p>\n","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\"}]","description":"<p>Company bank accounts. </p>\n<p> -<code>informationNumber</code>: Incremental number of records referring to bank accounts to be registered;</p>\n<p> -<code>bankCode</code>: Bank code. <a href=\"#c3ca5c4d-db07-4080-8477-3dfa868f8309\">Consult bank codes</a>;</p>\n<p> -<code>accountAgency</code>: Account Agency:</p>\n<p> -<code>accountNumber</code>: Bank account number;</p>\n<p> -<code>accountType</code>: Type of bank account. <a href=\"#d1720dc2-9bb5-4b7f-a077-1af6518fb91c\">Types of bank accounts</a>;</p>\n<p> -<code>defaultAccount</code>: Identifies the account as primary. This parameter is used for cases where the person's registration has more than one associated account;</p>\n","type":"text"},{"key":"externalCode","value":"<string>","description":"<p>External code (used for external integrations).</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/public/company","description":"<p>This call is used to register a legal entity with the role of end consumer. </p>\n<p> After creating a new registration, the access password will be sent to the registered person's email. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","public","company"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d526a0a1-7d86-4675-9baa-2a8279943a05","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"<integer>","description":"Legal Entity Code."},{"key":"name","value":"<string>","description":"Name of Legal Entity."},{"key":"trade","value":"<string>","description":"Type of trade."},{"key":"businessRoleType","value":"<integer>","description":"Company Segment. To find out what types exist, see [Legal Entity Types](#b831be00-a061-46e0-b0ed-bed1e505631a)."},{"key":"newsLetterAccepted","value":"<boolean>","description":"Accepted to receive news via email."},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in the let."},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data disclosure support, which is a parameter used by other APIs. \n Example: In the multilevel network, not having this parameter turned on makes the person not\n be presented as a referral option during registration."},{"key":"icmsTaxPayer","value":"<integer>","description":"Identifier if the company is an ICMS taxpayer."},{"key":"password","value":"<string>","description":"Legal Entity Password."},{"key":"externalCode","value":"<string>","description":"External Code of the Legal Entity. This code is used to identify the person by another external system."},{"key":"suframa","value":"<string>","description":"Company identifier code in the Suframa register. This regional identifier classifies the company as belonging to the Manaus Free Trade Zone and serves to indicate whether the associated company has any tax exemption."},{"key":"telephones","value":"[{\"type\":{\"id\":\"<integer>\"\"description\":\"<string>\"},\"telephone\":\"<string>\"\"smsAccepted\":\"<boolean>\"}]","description":"Legal Entity Telephone."},{"key":"emails","value":"[{\"type\":{\"id\":\"<integer>\"\"description\":\"<string>\"},\"email\":\"<string>\",\"newsLetterAccepted\":\"<boolean>\"}]","description":"Legal Entity Email."},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":{\"id\":\"<integer>\"\"description\":\"<string>\"},\"mainDocumentTypeId\":\"<integer>\",\"documentType\":{\"id\":\"<integer>\"\"description\":\"<string>\"}}]","description":"Legal Entity Identification Document."},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"},{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"}]","description":"Legal Entity&#39;s bank account details."},{"key":"contacts","value":"[{\"number\":\"<integer>\",\"name\":\"<string>\",\"area\":\"<string>\"\"telephone\":\"<string>\",\"branch\":\"<string>\"\"faxNumber\":\"<string>\"\"cellPhone\":\"<string>\",\"email\":\"<string>\",\"updatedDate\":\"<dateTime>\",\"removeContact\":\"<boolean>\"},{\"number\":\"<integer>\",\"name\":\"<string>\",\"area\":\"<string>\"\"telephone\":\"<string>\",\"branch\":\"<string>\"\"faxNumber\":\"<string>\"\"cellPhone\":\"<string>\",\"email\":\"<string>\",\"updatedDate\":\"<dateTime>\",\"removeContact\":\"<boolean>\"}]","description":"Legal Entity contact name."}]},"url":"{{baseUrl}}/api/public/company"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Code.\",\r\n \"name\": \"Company name.\",\r\n \"trade\": \"Type of trade.\",\r\n \"businessRoleType\": \"Business segment code.\",\r\n \"newsLetterAccepted\": \"Accepted to receive news via email.\",\r\n \"acceptTerms\": \"Acceptance of the terms referring to the contract registered in the let.\",\r\n \"allowsRegisterDivulgation\": \"Accepted data disclosure.\",\r\n \"icmsTaxPayer\": \"Identifier if the company is an ICMS taxpayer.\",\r\n \"password\": \"Password.\",\r\n \"externalCode\": \"External Code.\",\r\n \"suframa\": \"Company identifier code in the Suframa registration.\",\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": \"Phone type identifier code.\", \r\n \"description\": \"Description of phone type.\"\r\n },\r\n \"telephone\": \"Phone number.\",\r\n \"smsAccepted\": \"SMS Accepted Identifier.\"\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": \"Email Type Identifier Code.\",\r\n \"description\": \"Description of the email type.\"\r\n },\r\n \"email\": \"email address.\",\r\n \"newsLetterAccepted\": \"Accepted to receive news via email.\"\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"document\": \"Document of identification of the Legal Entity.\",\r\n \"type\": {\r\n \"id\": \"Document type identifier code.\",\r\n \"description\": \"Description of the document type.\"\r\n },\r\n \"mainDocumentTypeId\": \"Identifier if the document is the main one.\",\r\n \"documentType\": {\r\n \"id\": \"Document type identifier code.\",\r\n \"description\": \"Document number.\"\r\n }\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"type\": {\r\n \"id\": \"Address Type Identifier Code.\",\r\n \"description\": \"Description of address type.\"\r\n },\r\n \"level0\": \"Name of the geographic structure that refers to level 0 of the address\",\r\n \"level1\": \"Name of the geographic structure that refers to the first level of the address\",\r\n \"level2\": \"Name of the geographic structure that refers to the second level of the address\",\r\n \"level3\": \"Name of the geographic structure that refers to the third level of the address\",\r\n \"level4\": \"Name of the geographic structure that refers to the fourth level of the address\",\r\n \"level5\": \"Name of the geographic structure that refers to the fifth level of the address\",\r\n \"level6\": \"Name of the geographic structure that refers to the sixth level of the address\",\r\n \"level7\": \"Name of the geographic structure that refers to the seventh level of the address\",\r\n \"level8\": \"Name of the geographic structure that refers to the eighth level of the address\",\r\n \"level9\": \"Name of the geographic structure that refers to the ninth level of the address\",\r\n \"complement\": \"Complement of address\",\r\n \"number\": \"Address number\",\r\n \"reference\": \"Address reference\",\r\n \"name\": \"Address name\",\r\n \"zipCode\": \"Address zip number\",\r\n \"completeAddress\": \"Complete address\",\r\n \"geographicStructureCode\": \"Geographic structure code.\",\r\n \"removeAddress\": \"Identifies if the address can be deleted.\",\r\n \"isDeliveryAddress\": \"Identifies if the address is used for delivery.\"\r\n }\r\n ],\r\n \"bankAccounts\": [\r\n {\r\n \"informationNumber\": \"Bank account identifier registered in the let.\",\r\n \"bankCode\": \"Bank code.\",\r\n \"accountAgency\": \"Bank agency code.\",\r\n \"accountNumber\": \"Bank account code.\",\r\n \"accountType\": \"Bank account type identifier.\",\r\n \"defaultAccount\": \"Identifies if the bank account is the main account\",\r\n \"updatedDate\": \"Identifies the date when the bank details were updated.\",\r\n \"removeBankAccount\": \"Identifies whether the bank account can be deleted.\"\r\n }\r\n ],\r\n \"contacts\": [\r\n {\r\n \"number\": \"Contact identifier registered in the let.\",\r\n \"name\": \"Contact person&#39;s name.\",\r\n \"area\": \"Contact person area name.\",\r\n \"telephone\": \"Contact person&#39;s phone.\",\r\n \"branch\": \"Extension of the contact person&#39;s phone.\",\r\n \"faxNumber\": \"Contact person&#39;s fax number.\",\r\n \"cellPhone\": \"Contact person&#39;s cell phone number.\",\r\n \"email\": \"Contact person&#39;s email address.\",\r\n \"updatedDate\": \"Identifies the update date of the contact data.\",\r\n \"removeContact\": \"Identifies whether the contact can be deleted.\"\r\n }\r\n ]\r\n }"},{"id":"18923a8f-c05e-4783-be81-2b454887a0dc","name":"Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Company Name."},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**."},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration."},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"smsAccepted\":\"<boolean>\"}]","description":"Company phone numbers. \n\n -`type`: Phone type. [Phone types](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -telephone`: Company telephone number;\n\n-`smsAccepted`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary."},{"key":"emails","value":"emails[{\"type\":\"<integer>\",\"email\":\"<string>\",\"newsLetterAccepted\":\"<boolean>\"}]","description":"Company emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered;\n\n -`newsLetterAccepted`: Indicates if you accept to receive newsletter."},{"key":"addresses","value":"[{\"level0\":\"<string>\",\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\"}]","description":"Company addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`level0`: Name of the geographic structure that refers to the zero level of the address;\n\n -`level1`: Name of the geographic structure that refers to the first level of the address;\n\n -`level2`: Name of the geographic structure that refers to the second level of the address;\n\n -`level3`: Name of the geographic structure that refers to the third level of the address;\n\n -`level4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`level5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`level6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`level7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`level8`: Name of the geographic structure that refers to the eighth level of the address; \n\n -`level9`: Name of the geographic structure that refers to the ninth level of the address;\n\n -`complement`: Complement of the address;\n\n -`number`: Address number;\n\n -`reference`: Address reference;\n\n -`name`: Last name of the address;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n -`type`: Type of address. [Address Types](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b).","type":"text"},{"key":"businessRoleType","value":"<integer>","description":"Business function code. [Commercial functions of individuals and legal entities](#84278526-03e4-4758-8a1e-d81cbba3e0fd).","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\"}]","description":"Company identification documents. \n\n -`document`: Company document;\n\n -`type`: Document type; [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4).","type":"text"},{"key":"trade","value":"<string>","description":"Company name.","type":"text"},{"key":"contacts","value":"[{\"number\":\"<integer>\",\"name\":\"<string>\",\"area\":\"<string>\"\"telephone\":\"<string>\",\"branch\":\"<string>\"\"faxNumber\":\"<string>\"\"cellPhone\":\"<string>\",\"email\":\"<string>\",\"removeContact\":\"<boolean>\"}]","description":"Company contacts. \n\n -`number`: Contact number;\n\n -`name`: Name of the contact;\n\n -`telephone`: Phone of the contact;\n\n -`branch`: Extension of the contact;\n\n -`faxNumber`: Contact&#39;s fax number;\n\n -`cellPhone`: The contact&#39;s cell phone;\n\n -`email`: Contact email;\n\n -`removeContact`: Indicates whether this contact should be removed.","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\"}]","description":"Company bank accounts. \n\n -`informationNumber`: Incremental number of records referring to bank accounts to be registered;\n\n -`bankCode`: Bank code. [Consult bank codes](#c3ca5c4d-db07-4080-8477-3dfa868f8309);\n\n -`accountAgency`: Account Agency:\n\n -`accountNumber`: Bank account number;\n\n -`accountType`: Type of bank account. [Types of bank accounts](#d1720dc2-9bb5-4b7f-a077-1af6518fb91c);\n\n -`defaultAccount`: Identifies the account as primary. This parameter is used for cases where the person&#39;s registration has more than one associated account;","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"}]},"url":"{{baseUrl}}/api/public/company"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Reseller code\",\n \"name\": \"Reseller&#39;s Corporate Name\",\n \"FixedDistributionCenterCode\": \"Distribution Center Code\",\n \"peoplePictures\": [//Picture List\n {\n \"type\": {\n \"id\": \"Image type code\", //Possible values available in the Glossary(\"Image Types\")\n \"description\": \"Image type description\"\n },\n \"urlPicture\": \"Picture URL\"\n }\n ],\n \"addresses\": [ //Address list. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \n {\n \"addressType\": {\n \"id\": \"Address type code\",//Possible values available in the Glossary(\"Person&#39;s Address\")\n \"description\": \"Description of address type\"\n },\n \"level0\": \"Description of address level 0\",\n \"level1\": \"Description of address level 1\",\n \"level2\": \"Description of address level 2\",\n \"level3\": \"Level 3 address description\",\n \"level4\": \"Level 4 address description\",\n \"level5\": \"Level 5 address description\",\n \"level6\": \"Level 6 address description\",\n \"level7\": \"Level 7 address description\",\n \"level8\": \"Level 8 address description\",\n \"level9\": \"Level 9 address description\", \n \"complement\": \"Address complement\",\n \"number\": \"Number\",\n \"zipCode\": \"zip code\",\n \"reference\": \"Reference point\",\n \"name\": \"Surname of address registration\",\n \"geographicalStructureCode\": \"Geographical Structure Code\"\n }\n ],\n \"bankAccounts\": [ //Bank account list\n {\n \"informationNumber\": \"Bank Account Number (Order)\",\n \"bankName\": \"Bank Name\",\n \"bankCode\": \"Bank Code\",\n \"accountAgency\": \"Agency number\",\n \"accountNumber\": \"Account Number\",\n \"accountType\": \"Account Type\",//Possible values available in the Glossary(\"Bank Account Types\") \n \"defaultAccount\": \"Indicates if it is the preferred account (true/false)\",\n \"updatedDate\": \"Record update date and time\"\n }\n ],\n \"personType\": {\n \"id\": \"Person Type Code\",//Possible values available in the Glossary(\"Person Type\")\n \"description\": \"Description of Person Type\"\n },\n \"allowsRegisterDivulgation\": {\n \"id\": \"Code that indicates whether or not to allow the disclosure of records (0 - No, 1 - Yes)\",\n \"description\": \"Permission description\"\n },\n \"BusinessData\": {\n \"code\": \"Code of the person who referred the Reseller\",\n \"name\": \"Full name\"\n },\n \"companyData\": {\n \"name\": \"Company Name\",\n \"trade\": \"Fancy Name\",\n \"businessRole\": {\n \"id\": \"Code of Type of Legal Entity\",//Possible values available in the Glossary(\"Types of Legal Entity\")\n \"description\": \"Description of the Type of Legal Entity\"\n },\n \"icmsTaxPayer\": {\n \"id\": \"ID of the callsign about the person collecting ICMS or not\",\n \"description\": \"Description whether or not ICMS is collected\"\n },\n \"website\": \"Company website URL\",\n \"authorizeNewsletter\": \"Indicates whether or not to receive NewsLetter(true/false)\",\n \"externalCode\": \"C158DF\",\n \"sufram\": \"Data from the Manaus Free Trade Zone Superintendence\"\n }, \n \"alias\": [//Alias list\n {\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary(\"Alias Types\")\n \"alias\": \"Alias\"\n }\n ],\n \"telephones\": [//Phone List\n {\n \"type\": {\n \"id\": \"Phone Type Code\",//Possible values available in the Glossary(\"Phone Types\")\n \"description\": \"Phone Type Description\"\n },\n \"telephone\": \"Phone Number\",\n \"newsLetterAccepted\": \"Code that indicates whether or not you accept to receive newsletter \"//Possible values available at (NewsLetter Authorization)\n }\n ],\n \"emails\": [//Email List \n {\n \"type\": {\n \"id\": \"Email Type Code\",//Possible values available in the Glossary(\"Email Types\")\n \"description\": \"Description of Email Type\"\n },\n \"email\": \"Email address\",\n \"newsLetterAccepted\": \"Indicates whether or not to receive NewsLetter(true/false)\"\n }\n ],\n \"documents\": [//List of Documents\n {\n \"document\": \"Document data\",\n \"type\": {\n \"id\": \"Document Type Code\",//Possible values available in the Glossary(\"Document Types\")\n \"description\": \"Description\"\n }\n }\n ],\n \"contacts\": [ //Contacts list\n {\n \"number\": \"Number (Order) of the registered contact\",\n \"name\": \"Full Name\",\n \"area\": \"Area\",\n \"telephone\": \"Phone number\",\n \"branch\": \"Extension\",\n \"faxNumber\": \"Fax Number\",\n \"cellPhone\": \"Cell Number\",\n \"email\": \"Email address\"\n }\n ],\n \"functions\" : [//List of functions\n {\n \"code\": \"Function code\",\n \"name\": \"Function description\",\n \"beginDate\": \"Valid start date of this function for the reseller\",\n \"endDate\": \"End date of validity of this function for the reseller\",\n \"information\": \"Notes on role registration\",\n \"status\": {\n \"id\": \"Function registration status code\", // Possible values in the Glossary(\"Function Situations\")\n \"description\": \"Description of role registration status\"\n }\n }\n ],\n \"access\":{\n \"userCode\": \"Registered user code\",\n \"accessKey\": \"Temporary access key - Can be used for single sign-on between applications\",\n \"shouldGoToShoppingCart\": \"Indicates whether it should be redirected to the Cart using the access data\"\n }\n }"},{"id":"6a0ed594-8964-432c-bc25-fa518c0a08ee","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Company Name."},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**."},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration."},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"smsAccepted\":\"<boolean>\"}]","description":"Company phone numbers. \n\n -`type`: Phone type. [Phone types](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -telephone`: Company telephone number;\n\n-`smsAccepted`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary."},{"key":"emails","value":"emails[{\"type\":\"<integer>\",\"email\":\"<string>\",\"newsLetterAccepted\":\"<boolean>\"}]","description":"Company emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered;\n\n -`newsLetterAccepted`: Indicates if you accept to receive newsletter."},{"key":"addresses","value":"[{\"level0\":\"<string>\",\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\"}]","description":"Company addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`level0`: Name of the geographic structure that refers to the zero level of the address;\n\n -`level1`: Name of the geographic structure that refers to the first level of the address;\n\n -`level2`: Name of the geographic structure that refers to the second level of the address;\n\n -`level3`: Name of the geographic structure that refers to the third level of the address;\n\n -`level4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`level5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`level6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`level7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`level8`: Name of the geographic structure that refers to the eighth level of the address; \n\n -`level9`: Name of the geographic structure that refers to the ninth level of the address;\n\n -`complement`: Complement of the address;\n\n -`number`: Address number;\n\n -`reference`: Address reference;\n\n -`name`: Last name of the address;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n -`type`: Type of address. [Address Types](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b).","type":"text"},{"key":"businessRoleType","value":"<integer>","description":"Business function code. [Commercial functions of individuals and legal entities](#84278526-03e4-4758-8a1e-d81cbba3e0fd).","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\"}]","description":"Company identification documents. \n\n -`document`: Company document;\n\n -`type`: Document type; [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4).","type":"text"},{"key":"trade","value":"<string>","description":"Company name.","type":"text"},{"key":"contacts","value":"[{\"number\":\"<integer>\",\"name\":\"<string>\",\"area\":\"<string>\"\"telephone\":\"<string>\",\"branch\":\"<string>\"\"faxNumber\":\"<string>\"\"cellPhone\":\"<string>\",\"email\":\"<string>\",\"removeContact\":\"<boolean>\"}]","description":"Company contacts. \n\n -`number`: Contact number;\n\n -`name`: Name of the contact;\n\n -`telephone`: Phone of the contact;\n\n -`branch`: Extension of the contact;\n\n -`faxNumber`: Contact&#39;s fax number;\n\n -`cellPhone`: The contact&#39;s cell phone;\n\n -`email`: Contact email;\n\n -`removeContact`: Indicates whether this contact should be removed.","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\"}]","description":"Company bank accounts. \n\n -`informationNumber`: Incremental number of records referring to bank accounts to be registered;\n\n -`bankCode`: Bank code. [Consult bank codes](#c3ca5c4d-db07-4080-8477-3dfa868f8309);\n\n -`accountAgency`: Account Agency:\n\n -`accountNumber`: Bank account number;\n\n -`accountType`: Type of bank account. [Types of bank accounts](#d1720dc2-9bb5-4b7f-a077-1af6518fb91c);\n\n -`defaultAccount`: Identifies the account as primary. This parameter is used for cases where the person&#39;s registration has more than one associated account;","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"}]},"url":"{{baseUrl}}/api/public/company"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 2753,\r\n \"name\": \"TESTE CRISTINA MORAES CA\",\r\n \"peoplePictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"addressType\": {\r\n \"id\": 2,\r\n \"description\": \"Commercial\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"CENTER\",\r\n \"level4\": \"RUA DA QUTANDA\",\r\n \"level5\": \"JARDINS CONDOMINIUM\",\r\n \"level6\": \"SESSION 8\",\r\n \"level7\": \"PAVILION 3\",\r\n \"level8\": \"BLOCK 5\",\r\n \"level9\": \"ORANGE BUILDING\",\r\n \"number\": \"887\",\r\n \"complement\" : \"Ap 21\",\r\n \"reference\": \"Near the grocery store\",\r\n \"name\": \"My Address 1\",\r\n \"zipCode\": \"01012010\",\r\n \"geographicalStructureCode\": 629827\r\n },\r\n {\r\n \"addressType\": {\r\n \"id\": 4,\r\n \"description\": \"Billing\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"CENTER\",\r\n \"level4\": \"RUA DA QUTANDA\", \r\n \"level5\": \"GARDENS CONDOMINIUM\",\r\n \"level6\": \"SESSION 8\",\r\n \"level7\": \"PAVILION 3\",\r\n \"level8\": \"BLOCK 5\",\r\n \"level9\": \"ORANGE BUILDING\",\r\n \"number\": \"486\",\r\n \"complement\" : \"Ap 21\",\r\n \"reference\": \"Near the grocery store\",\r\n \"name\": \"My Address 2\",\r\n \"zipCode\": \"01012010\",\r\n \"geographicalStructureCode\": 629827\r\n }\r\n ],\r\n \"bankAccounts\": [\r\n {\r\n \"informationNumber\": 1,\r\n \"bankName\": \"Banco do Brasil\",\r\n \"bankCode\": 1,\r\n \"accountAgency\": \"1586\",\r\n \"accountNumber\": \"988562\",\r\n \"accountType\": 2, \r\n \"defaultAccount\": true,\r\n \"updatedDate\": \"2021-03-04T09:54:02.227Z\"\r\n }\r\n ],\r\n \"personType\": {\r\n \"id\": 2,\r\n \"description\": \"Legal person\"\r\n },\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"BusinessData\": {\r\n \"Code\": 215,\r\n \"Name\": \"Person 215\"\r\n },\r\n \"companyData\": {\r\n \"name\": \"CRISTINA MORAES\",\r\n \"trade\": \"TESTE CRISTINA MORAES CA\",\r\n \"businessRole\": {\r\n \"id\": 5,\r\n \"description\": \"Retailer\"\r\n }, \r\n \"icmsTaxPayer\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"site\": \"SITEDELA.COM.BR\",\r\n \"authorizeNewsletter\": true,\r\n \"externalCode\": \"C158DF\",\r\n \"suffram\": \"suffram\"\r\n },\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"aliascadastro2753\"\r\n }\r\n ],\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Commercial\"\r\n },\r\n \"telephone\": \"1976982001\",\r\n \"smsAccepted\": false\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Commercial\"\r\n },\r\n \"email\": \"MARTAMARTINS78276897@MAILINATOR.COM\",\r\n \"newsLetterAccepted\": true\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"document\": \"04031806000602\",\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"CNPJ\"\r\n }\r\n },\r\n {\r\n \"document\": \"EXEMPT\",\r\n \"type\": {\r\n \"id\": 6,\r\n \"description\": \"State Registration\"\r\n }\r\n }\r\n ],\r\n \"contacts\": [\r\n {\r\n \"number\": 1,\r\n \"name\": \"CATHY MARTINS\",\r\n \"area\": \"Sales\",\r\n \"telephone\": \"1174850028\",\r\n \"branch\": \"3\",\r\n \"faxNumber\": \"1135699985\",\r\n \"cellPhone\": \"11998575569\",\r\n \"email\": \"STACEYREIS73160047@MAILINATOR.COM\"\r\n }\r\n ],\r\n \"functions\" : [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Consultant\",\r\n \"beginDate\": \"2021-03-04T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"obs bla bla\",\r\n \"status\": {\r\n \"id\": 1, \r\n \"description\": \"Registration OK\"\r\n }\r\n },\r\n {\r\n \"code\": 9,\r\n \"name\": \"End Consumer\",\r\n \"beginDate\": \"2020-10-14T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n }\r\n }\r\n ],\r\n \"access\":{\r\n \"UserCode\": 2753,\r\n \"AccessKey\": \"6E59C082-42FE-402F-8853-EBD7EHB91B29\",\r\n \"ShouldGoToShoppingCart\": true\r\n }\r\n }"}],"_postman_id":"c79aee77-2ea9-40bd-b85f-edbc6dbde58b"},{"name":"Consult person (public access)","id":"5a0ec5fd-0806-4c96-9687-68f9c540d9e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{baseUrl}}/api/public/people?document=<integer>&typeDocument=<integer>&extraInformation=<integer>&email=<string>","description":"<p>This call is used to validate if a person's registration data already exists. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Result</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400 - Bad Request</td>\n<td>Data already registered</td>\n</tr>\n<tr>\n<td>200 - OK</td>\n<td>Available for registration</td>\n</tr>\n</tbody>\n</table>\n</div><p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","public","people"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Document of the person.</p>\n","type":"text/plain"},"key":"document","value":"<integer>"},{"description":{"content":"<p>Type of person's document. <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a></p>\n","type":"text/plain"},"key":"typeDocument","value":"<integer>"},{"description":{"content":"<p>Additional document information.</p>\n","type":"text/plain"},"key":"extraInformation","value":"<integer>"},{"description":{"content":"<p>The person's email address. <a href=\"#b6db0892-d243-4c6a-ac37-008dca199023\">Types of emails</a></p>\n","type":"text/plain"},"key":"email","value":"<string>"}],"variable":[]}},"response":[{"id":"8d8d0db7-08bb-4abf-8aae-2414b4f5ede1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/people?document=<integer>&typeDocument=<integer>&extraInformation=<integer>&email=<string>","host":["{{baseUrl}}"],"path":["api","public","people"],"query":[{"key":"document","value":"<integer>","description":"Document of the person."},{"key":"typeDocument","value":"<integer>","description":"Type of person&#39;s document. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4)"},{"key":"extraInformation","value":"<integer>","description":"Additional document information."},{"key":"email","value":"<string>","description":"The person&#39;s email address. [Types of emails](#b6db0892-d243-4c6a-ac37-008dca199023)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"message\": \"User not found\"\n }\n ]"},{"id":"dd46ad2e-f40e-46a0-88dc-e98b37366fa7","name":"Existing User","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/people?document=<integer>&typeDocument=<integer>&extraInformation=<integer>&email=<string>","host":["{{baseUrl}}"],"path":["api","public","people"],"query":[{"key":"document","value":"<integer>","description":"Document of the person."},{"key":"typeDocument","value":"<integer>","description":"Type of person&#39;s document. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4)"},{"key":"extraInformation","value":"<integer>","description":"Additional document information."},{"key":"email","value":"<string>","description":"The person&#39;s email address. [Types of emails](#b6db0892-d243-4c6a-ac37-008dca199023)"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"message\": \"Document already registered\"\n }\n ]"}],"_postman_id":"5a0ec5fd-0806-4c96-9687-68f9c540d9e2"}],"id":"66e511c5-8d9c-4263-9007-867f189479e5","description":"<p>Final Consumer is any natural or legal person who purchases or uses a product or service as a final recipient, in this module we will detail how to register and consult people with this role within the platform. </p>\n<p> <strong>Heads up</strong></p>\n<p> There are some settings dependent on the installation of the environment - for example the mandatory documents. To check any pending registration that may be caused by some configuration, it is necessary to consult the APIs of [Registration pending] (#9020513e-de06-4a17-b6f1-413005341970).</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"721cee14-0dee-4e3f-a320-bd4130af84c2"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"31f7cfb6-ecbe-4709-a125-8ecff6ce1c48"}}],"_postman_id":"66e511c5-8d9c-4263-9007-867f189479e5"},{"name":"Dealer","item":[{"name":"Register reseller (public access)","id":"0739592c-c617-46d0-886f-5af8b34edeb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"<p><strong>Mandatory</strong></p>\n<p> Full name of dealer.</p>\n","type":"text"},{"key":"mainDocument","value":"<string>","description":"<p>Dealer's main document. </p>\n<p> The dealer's main document is defined during the installation step. In Brazil, for example, the CPF is used.</p>\n","type":"text"},{"key":"mainDocumentTypeId","value":"<integer>","description":"<p>Reseller main document type. <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a></p>\n","type":"text"},{"key":"secondaryDocument","value":"<string>","description":"<p>Reseller's secondary document.</p>\n","type":"text"},{"key":"birthday","value":"<dateTime>","description":"<p>Dealer's date of birth. (2020-11-25T11:59:12.186Z)</p>\n","type":"text"},{"key":"gender","value":"<integer>","description":"<p>Dealer genre. <a href=\"#891f3da0-a7a3-4df9-b605-e332608e4ff0\">Genres types</a></p>\n","type":"text"},{"key":"email","value":"<string>","description":"<p>Reseller email.</p>\n","type":"text"},{"key":"ZIP code","value":"<string>","description":"<p>Reseller address zip number.</p>\n","type":"text"},{"key":"geographicStructureCode","value":"<integer>","description":"<p>Dealer address geographic structure code.</p>\n","type":"text"},{"key":"addressLevel1","value":"<string>","description":"<p>Name of the geographic structure that references the first level of the address.</p>\n","type":"text"},{"key":"addressLevel2","value":"<string>","description":"<p>Name of the geographic structure that references the second level of the address.</p>\n","type":"text"},{"key":"addressLevel3","value":"<string>","description":"<p>Name of the geographic structure that references the third level of the address.</p>\n","type":"text"},{"key":"addressLevel4","value":"<string>","description":"<p>Name of the geographic structure that references the fourth level of the address.</p>\n","type":"text"},{"key":"addressLevel5","value":"<string>","description":"<p>Name of the geographic structure that references the fifth level of the address.</p>\n","type":"text"},{"key":"addressLevel6","value":"<string>","description":"<p>Name of the geographic structure that references the sixth level of the address.</p>\n","type":"text"},{"key":"addressLevel7","value":"<string>","description":"<p>Name of the geographic structure referencing the seventh level of the address.</p>\n","type":"text"},{"key":"addressLevel8","value":"<string>","description":"<p>Name of the geographic structure that references the eighth level of the address.</p>\n","type":"text"},{"key":"addressLevel9","value":"<string>","description":"<p>Name of the geographic structure that references the ninth level of the address.</p>\n","type":"text"},{"key":"addressLevel10","value":"<string>","description":"<p>Name of the geographic structure that references the tenth level of the address.</p>\n","type":"text"},{"key":"addressNumber","value":"<string>","description":"<p>Dealer address number.</p>\n","type":"text"},{"key":"addressComplement","value":"<string>","description":"<p>Reseller address supplement.</p>\n","type":"text"},{"key":"addressReference","value":"<string>","description":"<p>Dealer address reference.</p>\n","type":"text"},{"key":"addressName","value":"<string>","description":"<p>Last name of the address.</p>\n","type":"text"},{"key":"phone","value":"<string>","description":"<p>Dealer landline phone.</p>\n","type":"text"},{"key":"mobilephone","value":"<string>","description":"<p>Dealer's mobile phone.</p>\n","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"<p>Data Disclosure Acceptance. This parameter is used by other APIs. </p>\n<p> Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.</p>\n","type":"text"},{"key":"indicatorCode","value":"<integer>","description":"<p>Referrer code - person responsible for acquiring a new customer or employee - of the reseller.</p>\n","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"<p>Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n","type":"text"},{"key":"registrationOrigin","value":"<integer>","description":"<p>Identification code of the origin of the registration. <a href=\"#9bc04a44-e133-4cf1-892e-18fb6e154272\">Types of registration sources</a>.</p>\n","type":"text"},{"key":"facebookID","value":"<string>","description":"<p>User ID registered on Facebook. Social login through Facebook.</p>\n","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"<p>Acceptance of the terms referring to the contract registered in <strong>Let</strong>.</p>\n","type":"text"},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"<p>Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller.</p>\n","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"<p>Dealer nicknames. </p>\n<p> -<code>typeId</code>: Alias type. <a href=\"#12fa8659-d78c-4c2e-a60f-0367b7d64d74\">Alias Types</a>;</p>\n<p> -<code>alias</code>: Description of the alias. </p>\n<p> <strong>Note</strong>: For Alias of type <code>1 - WebStore</code>, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.</p>\n","type":"text"},{"key":"reference","value":"[{\"name\":\"<string>\",\"relationship\":\"<string>\"\"phone\":\"<string>\"}]","description":"<p>Dealer References. </p>\n<p> -<code>name</code>: Name of the reference;</p>\n<p> -<code>relationship</code>: relationship with the reseller;</p>\n<p> -<code>phone</code>: Telephone number of the reference.</p>\n","type":"text"},{"key":"externalCode","value":"<string>","description":"<p>External code (used for external integrations).</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/Public/Sellers","description":"<p>This call is used to register an individual with the role of reseller. </p>\n<p> After creating a new registration, the access password will be sent to the registered person's email. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","Public","Sellers"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"b7364215-7ff4-4dd6-a07f-ba6cefb3353c","name":"Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"**Mandatory**\n\n Full name of dealer.","type":"text"},{"key":"mainDocument","value":"<string>","description":"Dealer&#39;s main document. \n\n The dealer&#39;s main document is defined during the installation step. In Brazil, for example, the CPF is used.","type":"text"},{"key":"mainDocumentTypeId","value":"<integer>","description":"Reseller main document type. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4)","type":"text"},{"key":"secondaryDocument","value":"<string>","description":"Reseller&#39;s secondary document.","type":"text"},{"key":"birthday","value":"<dateTime>","description":"Dealer&#39;s date of birth. (2020-11-25T11:59:12.186Z)","type":"text"},{"key":"gender","value":"<integer>","description":"Dealer genre. [Genres types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)","type":"text"},{"key":"email","value":"<string>","description":"Reseller email.","type":"text"},{"key":"ZIP code","value":"<string>","description":"Reseller address zip number.","type":"text"},{"key":"geographicStructureCode","value":"<integer>","description":"Dealer address geographic structure code.","type":"text"},{"key":"addressLevel1","value":"<string>","description":"Name of the geographic structure that references the first level of the address.\n","type":"text"},{"key":"addressLevel2","value":"<string>","description":"Name of the geographic structure that references the second level of the address.","type":"text"},{"key":"addressLevel3","value":"<string>","description":"Name of the geographic structure that references the third level of the address.","type":"text"},{"key":"addressLevel4","value":"<string>","description":"Name of the geographic structure that references the fourth level of the address.","type":"text"},{"key":"addressLevel5","value":"<string>","description":"Name of the geographic structure that references the fifth level of the address.","type":"text"},{"key":"addressLevel6","value":"<string>","description":"Name of the geographic structure that references the sixth level of the address.","type":"text"},{"key":"addressLevel7","value":"<string>","description":"Name of the geographic structure referencing the seventh level of the address.","type":"text"},{"key":"addressLevel8","value":"<string>","description":"Name of the geographic structure that references the eighth level of the address.","type":"text"},{"key":"addressLevel9","value":"<string>","description":"Name of the geographic structure that references the ninth level of the address.","type":"text"},{"key":"addressLevel10","value":"<string>","description":"Name of the geographic structure that references the tenth level of the address.","type":"text"},{"key":"addressNumber","value":"<string>","description":"Dealer address number.","type":"text"},{"key":"addressComplement","value":"<string>","description":"Reseller address supplement.","type":"text"},{"key":"addressReference","value":"<string>","description":"Dealer address reference.","type":"text"},{"key":"addressName","value":"<string>","description":"Last name of the address.","type":"text"},{"key":"phone","value":"<string>","description":"Dealer landline phone.","type":"text"},{"key":"mobilephone","value":"<string>","description":"Dealer&#39;s mobile phone.","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.","type":"text"},{"key":"indicatorCode","value":"<integer>","description":"Referrer code - person responsible for acquiring a new customer or employee - of the reseller.","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"registrationOrigin","value":"<integer>","description":"Identification code of the origin of the registration. [Types of registration sources](#9bc04a44-e133-4cf1-892e-18fb6e154272).","type":"text"},{"key":"facebookID","value":"<string>","description":"User ID registered on Facebook. Social login through Facebook.","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**.","type":"text"},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller.","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"Dealer nicknames. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.","type":"text"},{"key":"reference","value":"[{\"name\":\"<string>\",\"relationship\":\"<string>\"\"phone\":\"<string>\"}]","description":"Dealer References. \n\n -`name`: Name of the reference;\n\n -`relationship`: relationship with the reseller;\n\n -`phone`: Telephone number of the reference.","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"}]},"url":"{{baseUrl}}/api/Public/Sellers"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"chooseStructure\": \"Code of the structure that the user was allocated. If automatic allocation is not possible, it does not return User Code and Key\",\n \"userCode\": \"Registered user code\",\n \"AccessKey\": \"Temporary Access Key - Can be used for single sign-on between applications\",\n \"ShouldGoToShoppingCart\": \"Indicates whether it should be redirected to the Cart using the access data\"\n }"},{"id":"c9c32e80-742f-4baf-8600-cb48b3954347","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"**Mandatory**\n\n Full name of dealer.","type":"text"},{"key":"mainDocument","value":"<string>","description":"Dealer&#39;s main document. \n\n The dealer&#39;s main document is defined during the installation step. In Brazil, for example, the CPF is used.","type":"text"},{"key":"mainDocumentTypeId","value":"<integer>","description":"Reseller main document type. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4)","type":"text"},{"key":"secondaryDocument","value":"<string>","description":"Reseller&#39;s secondary document.","type":"text"},{"key":"birthday","value":"<dateTime>","description":"Dealer&#39;s date of birth. (2020-11-25T11:59:12.186Z)","type":"text"},{"key":"gender","value":"<integer>","description":"Dealer genre. [Genres types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)","type":"text"},{"key":"email","value":"<string>","description":"Reseller email.","type":"text"},{"key":"ZIP code","value":"<string>","description":"Reseller address zip number.","type":"text"},{"key":"geographicStructureCode","value":"<integer>","description":"Dealer address geographic structure code.","type":"text"},{"key":"addressLevel1","value":"<string>","description":"Name of the geographic structure that references the first level of the address.\n","type":"text"},{"key":"addressLevel2","value":"<string>","description":"Name of the geographic structure that references the second level of the address.","type":"text"},{"key":"addressLevel3","value":"<string>","description":"Name of the geographic structure that references the third level of the address.","type":"text"},{"key":"addressLevel4","value":"<string>","description":"Name of the geographic structure that references the fourth level of the address.","type":"text"},{"key":"addressLevel5","value":"<string>","description":"Name of the geographic structure that references the fifth level of the address.","type":"text"},{"key":"addressLevel6","value":"<string>","description":"Name of the geographic structure that references the sixth level of the address.","type":"text"},{"key":"addressLevel7","value":"<string>","description":"Name of the geographic structure referencing the seventh level of the address.","type":"text"},{"key":"addressLevel8","value":"<string>","description":"Name of the geographic structure that references the eighth level of the address.","type":"text"},{"key":"addressLevel9","value":"<string>","description":"Name of the geographic structure that references the ninth level of the address.","type":"text"},{"key":"addressLevel10","value":"<string>","description":"Name of the geographic structure that references the tenth level of the address.","type":"text"},{"key":"addressNumber","value":"<string>","description":"Dealer address number.","type":"text"},{"key":"addressComplement","value":"<string>","description":"Reseller address supplement.","type":"text"},{"key":"addressReference","value":"<string>","description":"Dealer address reference.","type":"text"},{"key":"addressName","value":"<string>","description":"Last name of the address.","type":"text"},{"key":"phone","value":"<string>","description":"Dealer landline phone.","type":"text"},{"key":"mobilephone","value":"<string>","description":"Dealer&#39;s mobile phone.","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.","type":"text"},{"key":"indicatorCode","value":"<integer>","description":"Referrer code - person responsible for acquiring a new customer or employee - of the reseller.","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"registrationOrigin","value":"<integer>","description":"Identification code of the origin of the registration. [Types of registration sources](#9bc04a44-e133-4cf1-892e-18fb6e154272).","type":"text"},{"key":"facebookID","value":"<string>","description":"User ID registered on Facebook. Social login through Facebook.","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**.","type":"text"},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller.","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"Dealer nicknames. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.","type":"text"},{"key":"reference","value":"[{\"name\":\"<string>\",\"relationship\":\"<string>\"\"phone\":\"<string>\"}]","description":"Dealer References. \n\n -`name`: Name of the reference;\n\n -`relationship`: relationship with the reseller;\n\n -`phone`: Telephone number of the reference.","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"}]},"url":"{{baseUrl}}/api/Public/Sellers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"chooseStructure\": 12,\n \"userCode\": 3117,\n \"AccessKey\": \"6E59C082-42FE-402F-8853-EBD7EHB91B29\",\n \"ShouldGoToShoppingCart\": true\n }"}],"_postman_id":"0739592c-c617-46d0-886f-5af8b34edeb7"},{"name":"Register corporate reseller (public access)","id":"b06e0707-2c3e-48df-8a64-7da24f1a4fb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"<p>Name of the legal entity reseller.</p>\n"},{"key":"businessRoleType","value":"<integer>","description":"<p>Business function code. <a href=\"#84278526-03e4-4758-8a1e-d81cbba3e0fd\">Commercial functions of individuals and legal entities</a>.</p>\n"},{"key":"mainDocument","value":"<string>","description":"<p>Main document of the legal entity reseller. </p>\n<p> The dealer's main document is defined during the installation step. In Brazil, for example, the CNPJ is used.</p>\n"},{"key":"secondaryDocument","value":"<string>","description":"<p>Secondary document of the legal entity reseller.</p>\n"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"<p>Corporate reseller telephone numbers. </p>\n<p> -<code>type</code>: Phone type. <a href=\"#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3\">Phone types</a>;</p>\n<p> -<code>telephone</code>: Person's phone number;</p>\n<p> -<code>acceptsMessages</code>: Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n"},{"key":"Web site","value":"<string>","description":"<p>Website address of the corporate reseller.</p>\n"},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\",\"newsLetterAccepted\":\"<boolean>\"}]","description":"<p>Legal entity reseller emails. </p>\n<p> -<code>type</code>: Type of email to be registered. <a href=\"#b6db0892-d243-4c6a-ac37-008dca199023\">Email types</a>;</p>\n<p> -<code>email</code>: Email to be registered;</p>\n<p> -<code>newsLetterAccepted</code>: Indicates if you accept to receive newsletter.</p>\n"},{"key":"addresses","value":"[{\"level0\":\"<string>\",\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\"}]","description":"<p>Legal entity reseller addresses. </p>\n<p> Filling in the levels depends on the type of <strong>Let</strong> installation. You can query the structure levels through an <a href=\"#62032556-68a4-4c51-ae48-abe7fd95897d\">API</a> and/or the <a href=\"#32a377c4-0a76-49d3-a1f1-0dbcad48abe7\">table</a> in the glossary. </p>\n<p> -<code>level0</code>: Name of the geographic structure that refers to the zero level of the address;</p>\n<p> -<code>level1</code>: Name of the geographic structure that refers to the first level of the address;</p>\n<p> -<code>level2</code>: Name of the geographic structure that refers to the second level of the address;</p>\n<p> -<code>level3</code>: Name of the geographic structure that refers to the third level of the address;</p>\n<p> -<code>level4</code>: Name of the geographic structure that refers to the fourth level of the address;</p>\n<p> -<code>level5</code>: Name of the geographic structure that refers to the fifth level of the address;</p>\n<p> -<code>level6</code>: Name of the geographic structure that refers to the sixth level of the address;</p>\n<p> -<code>level7</code>: Name of the geographic structure that refers to the seventh level of the address;</p>\n<p> -<code>level8</code>: Name of the geographic structure that refers to the eighth level of the address; </p>\n<p> -<code>level9</code>: Name of the geographic structure that refers to the ninth level of the address;</p>\n<p> -<code>complement</code>: Complement of the address;</p>\n<p> -<code>number</code>: Address number;</p>\n<p> -<code>reference</code>: Address reference;</p>\n<p> -<code>name</code>: Last name of the address;</p>\n<p> -<code>geographicStructureCode</code>: Code of the geographic structure of the address;</p>\n<p> -<code>zipCode</code>: Zip code number of the address;</p>\n<p> -<code>type</code>: Type of address. <a href=\"#e9e9d22a-1fcc-457e-9605-f6c8a11f396b\">Address Types</a>.</p>\n"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"<p>Data Disclosure Acceptance. This parameter is used by other APIs. </p>\n<p> Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.</p>\n"},{"key":"registrationOrigin","value":"<integer>","description":"<p>Identification code of the origin of the registration. <a href=\"#9bc04a44-e133-4cf1-892e-18fb6e154272\">Types of registration sources</a>.</p>\n"},{"key":"indicatorCode","value":"<integer>","description":"<p>Referrer code - person responsible for acquiring a new customer or employee - of the reseller.</p>\n"},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"<p>Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller.</p>\n"},{"key":"acceptTerms","value":"<boolean>","description":"<p>Acceptance of the terms referring to the contract registered in <strong>Let</strong>.</p>\n"},{"key":"facebookID","value":"<string>","description":"<p>User ID registered on Facebook. Social login through Facebook.</p>\n"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<byte>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\"}]","description":"<p>Corporate reseller bank accounts. </p>\n<p> -<code>informationNumber</code>: Incremental number of records referring to bank accounts to be registered;</p>\n<p> -<code>bankCode</code>: Bank code. <a href=\"#c3ca5c4d-db07-4080-8477-3dfa868f8309\">Consult bank codes</a>;</p>\n<p> -<code>accountAgency</code>: Account Agency:</p>\n<p> -<code>accountNumber</code>: Bank account number;</p>\n<p> -<code>accountType</code>: Type of bank account. <a href=\"#d1720dc2-9bb5-4b7f-a077-1af6518fb91c\">Types of bank accounts</a>;</p>\n<p> -<code>defaultAccount</code>: Identifies the account as primary. This parameter is used for cases where the person's registration has more than one associated account;</p>\n"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"<p>Legal entity reseller's nickname. </p>\n<p> -<code>typeId</code>: Alias type. <a href=\"#12fa8659-d78c-4c2e-a60f-0367b7d64d74\">Alias Types</a>;</p>\n<p> -<code>alias</code>: Description of the alias. </p>\n<p> <strong>Note</strong>: For Alias of type <code>1 - WebStore</code>, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.</p>\n"}]},"url":"{{baseUrl}}/api/Public/SellerCompany","description":"<p>This call is used to register a legal entity with the role of reseller. </p>\n<p> After creating a new registration, the access password will be sent to the registered person's email. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","Public","SellerCompany"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d740e55a-86f8-4bc6-9dae-cf11ed70b0bc","name":"Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Name of the legal entity reseller."},{"key":"businessRoleType","value":"<integer>","description":"Business function code. [Commercial functions of individuals and legal entities](#84278526-03e4-4758-8a1e-d81cbba3e0fd)."},{"key":"mainDocument","value":"<string>","description":"Main document of the legal entity reseller. \n\n The dealer&#39;s main document is defined during the installation step. In Brazil, for example, the CNPJ is used."},{"key":"secondaryDocument","value":"<string>","description":"Secondary document of the legal entity reseller."},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"Corporate reseller telephone numbers. \n\n -`type`: Phone type. [Phone types](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -`telephone`: Person&#39;s phone number;\n\n -`acceptsMessages`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary."},{"key":"Web site","value":"<string>","description":"Website address of the corporate reseller."},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\",\"newsLetterAccepted\":\"<boolean>\"}]","description":"Legal entity reseller emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered;\n\n -`newsLetterAccepted`: Indicates if you accept to receive newsletter."},{"key":"addresses","value":"[{\"level0\":\"<string>\",\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\"}]","description":"Legal entity reseller addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`level0`: Name of the geographic structure that refers to the zero level of the address;\n\n -`level1`: Name of the geographic structure that refers to the first level of the address;\n\n -`level2`: Name of the geographic structure that refers to the second level of the address;\n\n -`level3`: Name of the geographic structure that refers to the third level of the address;\n\n -`level4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`level5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`level6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`level7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`level8`: Name of the geographic structure that refers to the eighth level of the address; \n\n -`level9`: Name of the geographic structure that refers to the ninth level of the address;\n\n -`complement`: Complement of the address;\n\n -`number`: Address number;\n\n -`reference`: Address reference;\n\n -`name`: Last name of the address;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n -`type`: Type of address. [Address Types](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b)."},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration."},{"key":"registrationOrigin","value":"<integer>","description":"Identification code of the origin of the registration. [Types of registration sources](#9bc04a44-e133-4cf1-892e-18fb6e154272)."},{"key":"indicatorCode","value":"<integer>","description":"Referrer code - person responsible for acquiring a new customer or employee - of the reseller."},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller."},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**."},{"key":"facebookID","value":"<string>","description":"User ID registered on Facebook. Social login through Facebook."},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<byte>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\"}]","description":"Corporate reseller bank accounts. \n\n -`informationNumber`: Incremental number of records referring to bank accounts to be registered;\n\n -`bankCode`: Bank code. [Consult bank codes](#c3ca5c4d-db07-4080-8477-3dfa868f8309);\n\n -`accountAgency`: Account Agency:\n\n -`accountNumber`: Bank account number;\n\n -`accountType`: Type of bank account. [Types of bank accounts](#d1720dc2-9bb5-4b7f-a077-1af6518fb91c);\n\n -`defaultAccount`: Identifies the account as primary. This parameter is used for cases where the person&#39;s registration has more than one associated account;"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"Legal entity reseller&#39;s nickname. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters."}]},"url":"{{baseUrl}}/api/Public/SellerCompany"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"chooseStructure\": \"Code of the structure that the user was allocated. If automatic allocation is not possible, it does not return User Code and Key\",\n \"userCode\": \"Registered user code\",\n \"AccessKey\": \"Temporary Access Key - Can be used for single sign-on between applications\",\n \"ShouldGoToShoppingCart\": \"Indicates whether it should be redirected to the Cart using the access data\"\n }"},{"id":"7cbcabd8-f280-46e5-bad7-add12ec47cfa","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Name of the legal entity reseller."},{"key":"businessRoleType","value":"<integer>","description":"Business function code. [Commercial functions of individuals and legal entities](#84278526-03e4-4758-8a1e-d81cbba3e0fd)."},{"key":"mainDocument","value":"<string>","description":"Main document of the legal entity reseller. \n\n The dealer&#39;s main document is defined during the installation step. In Brazil, for example, the CNPJ is used."},{"key":"secondaryDocument","value":"<string>","description":"Secondary document of the legal entity reseller."},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"Corporate reseller telephone numbers. \n\n -`type`: Phone type. [Phone types](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -`telephone`: Person&#39;s phone number;\n\n -`acceptsMessages`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary."},{"key":"Web site","value":"<string>","description":"Website address of the corporate reseller."},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\",\"newsLetterAccepted\":\"<boolean>\"}]","description":"Legal entity reseller emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered;\n\n -`newsLetterAccepted`: Indicates if you accept to receive newsletter."},{"key":"addresses","value":"[{\"level0\":\"<string>\",\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":\"<integer>\"}]","description":"Legal entity reseller addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`level0`: Name of the geographic structure that refers to the zero level of the address;\n\n -`level1`: Name of the geographic structure that refers to the first level of the address;\n\n -`level2`: Name of the geographic structure that refers to the second level of the address;\n\n -`level3`: Name of the geographic structure that refers to the third level of the address;\n\n -`level4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`level5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`level6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`level7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`level8`: Name of the geographic structure that refers to the eighth level of the address; \n\n -`level9`: Name of the geographic structure that refers to the ninth level of the address;\n\n -`complement`: Complement of the address;\n\n -`number`: Address number;\n\n -`reference`: Address reference;\n\n -`name`: Last name of the address;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n -`type`: Type of address. [Address Types](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b)."},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration."},{"key":"registrationOrigin","value":"<integer>","description":"Identification code of the origin of the registration. [Types of registration sources](#9bc04a44-e133-4cf1-892e-18fb6e154272)."},{"key":"indicatorCode","value":"<integer>","description":"Referrer code - person responsible for acquiring a new customer or employee - of the reseller."},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller."},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**."},{"key":"facebookID","value":"<string>","description":"User ID registered on Facebook. Social login through Facebook."},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<byte>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\"}]","description":"Corporate reseller bank accounts. \n\n -`informationNumber`: Incremental number of records referring to bank accounts to be registered;\n\n -`bankCode`: Bank code. [Consult bank codes](#c3ca5c4d-db07-4080-8477-3dfa868f8309);\n\n -`accountAgency`: Account Agency:\n\n -`accountNumber`: Bank account number;\n\n -`accountType`: Type of bank account. [Types of bank accounts](#d1720dc2-9bb5-4b7f-a077-1af6518fb91c);\n\n -`defaultAccount`: Identifies the account as primary. This parameter is used for cases where the person&#39;s registration has more than one associated account;"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"Legal entity reseller&#39;s nickname. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters."}]},"url":"{{baseUrl}}/api/Public/SellerCompany"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"chooseStructure\": 12,\n \"userCode\": 3119,\n \"AccessKey\": \"6E558082-42D8-428F-8853-EBD7EHB91B29\",\n \"ShouldGoToShoppingCart\": true\n }"}],"_postman_id":"b06e0707-2c3e-48df-8a64-7da24f1a4fb4"},{"name":"Consult resellers (public access)","id":"3b95d390-9790-4a97-865f-954b2c839ea4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Public/Sellers?geographicalStructureCode=<integer>&name=<string>&aliasBusinessName=<string>&alias webstore=<string>&code=<integer>&restrictPeopleWithPendencies=<boolean>&includeOptions=sellerPictures&includeOptions=documents&includeOptions=by the way&includeOptions=customFields&page=<integer>&pageSize=<integer>","description":"<p>This call is used to consult all individuals/legal entities registered on the platform, who are allocated in some commercial structure and in their registration they have accepted to disclose their data. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data it is necessary to inform the <code>includeOptions</code> parameter. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","Public","Sellers"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the geographic structure of the reseller's business/residential address.</p>\n","type":"text/plain"},"key":"geographicalStructureCode","value":"<integer>"},{"description":{"content":"<p>Dealer name. </p>\n<p> This filter uses phonetic code to find the name by proximity. When submitting \"Mary\", all people with the word \"Mary\" in their name are returned. It is mandatory to send a word with at least 3 characters.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Dealer nickname - used for multi-level environments - where a person may have other family members or friends helping their network or sales.</p>\n","type":"text/plain"},"key":"aliasBusinessName","value":"<string>"},{"description":{"content":"<p>Name of the reseller's virtual store linked to <strong>Showcase</strong>. </p>\n<p> This parameter must use only lowercase characters, cannot contain a special character and must have a maximum of 35 characters. </p>\n<p> When accessing the window URL (ex: <a href=\"http://www.vitrine.com.br/johnsilva\">www.vitrine.com.br/johnsilva</a>) it will be as if it were a specific store of the reseller.</p>\n","type":"text/plain"},"key":"alias webstore","value":"<string>"},{"description":{"content":"<p>Dealer Code. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>code</code> parameter for each code. </p>\n<p> E.g.: &amp;code=&amp;code=</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Restrict people with pending return. </p>\n<p> <strong>Default</strong>: <code>false</code></p>\n<p> If <code>true</code> is sent, the application will apply the <em>non-core</em> filter created specifically for this installation, restricting the resellers that should be returned in this query.</p>\n","type":"text/plain"},"key":"restrictPeopleWithPendencies","value":"<boolean>"},{"description":{"content":"<p>It adds an object with the dealer's photos to the return of the consultation.</p>\n","type":"text/plain"},"key":"includeOptions","value":"sellerPictures"},{"description":{"content":"<p>It adds an object with the reseller's documents to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"documents"},{"description":{"content":"<p>It adds an object with reseller aliases to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>It adds an object with variable fields from the reseller to the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"customFields"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"790dcdb0-f7ca-4d76-be7b-e3e4c44fd740","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Public/Sellers?geographicalStructureCode=<integer>&name=<string>&aliasBusinessName=<string>&alias webstore=<string>&code=<integer>&restrictPeopleWithPendencies=<boolean>&includeOptions=sellerPictures&includeOptions=documents&includeOptions=by the way&includeOptions=customFields&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Public","Sellers"],"query":[{"key":"geographicalStructureCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the geographic structure of the reseller&#39;s business/residential address."},{"key":"name","value":"<string>","description":"Dealer name. \n\n This filter uses phonetic code to find the name by proximity. When submitting \"Mary\", all people with the word \"Mary\" in their name are returned. It is mandatory to send a word with at least 3 characters."},{"key":"aliasBusinessName","value":"<string>","description":"Dealer nickname - used for multi-level environments - where a person may have other family members or friends helping their network or sales."},{"key":"alias webstore","value":"<string>","description":"Name of the reseller&#39;s virtual store linked to **Showcase**. \n\n This parameter must use only lowercase characters, cannot contain a special character and must have a maximum of 35 characters. \n\n When accessing the window URL (ex: www.vitrine.com.br/johnsilva) it will be as if it were a specific store of the reseller."},{"key":"code","value":"<integer>","description":"Dealer Code. \n\n **Heads up**\n\n The application must send a `code` parameter for each code. \n\n E.g.: &amp;code=<integer>&amp;code=<integer>"},{"key":"restrictPeopleWithPendencies","value":"<boolean>","description":"Restrict people with pending return. \n\n **Default**: `false`\n\n If `true` is sent, the application will apply the *non-core* filter created specifically for this installation, restricting the resellers that should be returned in this query."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the dealer&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"documents","description":"It adds an object with the reseller&#39;s documents to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with reseller aliases to the query&#39;s return."},{"key":"includeOptions","value":"customFields","description":"It adds an object with variable fields from the reseller to the return of the query."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 2981,\n \"name\": \"INNOVATION CORE 01\",\n \"emails\": [\n {\n \"type\": 1,\n \"email\": \"RAYIWOR750@FEBEKS.COM\",\n \"newsLetterAccepted\": false\n }\n ],\n \"telephones\": [\n {\n \"type\": 1,\n \"telephone\": \"1936457823\",\n \"smsAccepted\": false\n },\n {\n \"type\": 2,\n \"telephone\": \"19998128879\",\n \"smsAccepted\": false\n }\n ],\n \"documents\": [\n {\n \"type\": 1,\n \"documentType\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"MainDocumentType\": {\n \"id\": 1,\n \"description\": \"CPF\"\n },\n \"document\": \"367563452\",\n \"relevance\": 2\n },\n {\n \"type\": 2,\n \"documentType\": {\n \"id\": 2,\n \"description\": \"CPF\"\n },\n \"MainDocumentType\": {\n \"id\": 1,\n \"description\": \"CPF\"\n },\n \"document\": \"59653635409\",\n \"relevance\": 1\n }\n ],\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\n }\n ],\n \"personType\": {\n \"id\": 1,\n \"description\": \"Individual\"\n },\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"inovacaocore01\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"INNOVATION CORE 01\"\n }\n ],\n \"customFields\": [\n {\n \"code\": 21,\n \"name\": \"Test1\",\n \"logicalName\": \"Test1\",\n \"description\": \"Test1\",\n \"valuesType\": {\n \"id\": 1,\n \"description\": \"Text\"\n },\n \"values\": [\n {\n \"value\": \"Field Value Here\"\n }\n ]\n }\n ]\n },\n {\n \"code\": 215,\n \"name\": \"VICTOR RUBENS FALSARELLA LIMA MACEDO\",\n \"emails\": [\n {\n \"type\": 1,\n \"email\": \"RANDOLPHCARVALHO12133458@MAILINATOR.COM\",\n \"newsLetterAccepted\": true\n }\n ],\n \"telephones\": [\n {\n \"type\": 1,\n \"telephone\": \"19337588563\",\n \"smsAccepted\": false\n },\n {\n \"type\": 2,\n \"telephone\": \"19981283449\",\n \"smsAccepted\": true\n },\n {\n \"type\": 3,\n \"telephone\": \"19999999866\",\n \"smsAccepted\": false\n }\n ],\n \"documents\": [\n {\n \"type\": 1,\n \"documentType\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"document\": \"531387080\",\n \"relevance\": 2\n },\n {\n \"type\": 2,\n \"documentType\": {\n \"id\": 2,\n \"description\": \"CPF\"\n },\n \"document\": \"45448249744\",\n \"relevance\": 1\n }\n ],\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\n }\n ],\n \"personType\": {\n \"id\": 1,\n \"description\": \"Individual\"\n }, \n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"TESTEQA215\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"NAME TES\"\n }\n ],\n \"customFields\": [\n {\n \"code\": 21,\n \"name\": \"Test1\",\n \"logicalName\": \"Test1\",\n \"description\": \"Test1\",\n \"valuesType\": {\n \"id\": 1,\n \"description\": \"Text\"\n },\n \"values\": []\n }\n ]\n },\n {\n \"code\": 2350, \n \"name\": \"SELLER 2TEST - SILMARA QA\",\n \"emails\": [\n {\n \"type\": 1,\n \"email\": \"SILMARAQA@MAILINATOR.COM\",\n \"newsLetterAccepted\": false\n }\n ],\n \"telephones\": [\n {\n \"type\": 1,\n \"telephone\": \"19914564654\",\n \"smsAccepted\": false\n },\n {\n \"type\": 2,\n \"telephone\": \"11111111111\",\n \"smsAccepted\": false\n },\n {\n \"type\": 3,\n \"telephone\": \"15646546515\",\n \"smsAccepted\": false\n } \n ],\n \"documents\": [\n {\n \"type\": 1,\n \"documentType\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"document\": \"111111111111\",\n \"relevance\": 2\n },\n {\n \"type\": 2,\n \"documentType\": {\n \"id\": 2,\n \"description\": \"CPF\"\n },\n \"document\": \"45253178848\",\n \"relevance\": 1\n },\n {\n \"type\": 8,\n \"documentType\": {\n \"id\": 8,\n \"description\": \"Citizenship Certificate\" \n },\n \"document\": \"12332123123\"\n }\n ],\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\n }\n ],\n \"personType\": {\n \"id\": 1,\n \"description\": \"Individual\"\n },\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"TESTEQA123\"\n }\n ],\n \"customFields\": [ \n {\n \"code\": 21,\n \"name\": \"Test1\",\n \"logicalName\": \"Test1\",\n \"description\": \"Test1\",\n \"valuesType\": {\n \"id\": 1,\n \"description\": \"Text\"\n },\n \"values\": [\n {\n \"value\": \"Value Registered\"\n }\n ]\n }\n ]\n }\n ]"},{"id":"cc0f3c2b-a371-4fbe-bbf6-53c9a73163fc","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Public/Sellers?geographicalStructureCode=<integer>&name=<string>&aliasBusinessName=<string>&alias webstore=<string>&code=<integer>&restrictPeopleWithPendencies=<boolean>&includeOptions=sellerPictures&includeOptions=documents&includeOptions=by the way&includeOptions=customFields&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","Public","Sellers"],"query":[{"key":"geographicalStructureCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the geographic structure of the reseller&#39;s business/residential address."},{"key":"name","value":"<string>","description":"Dealer name. \n\n This filter uses phonetic code to find the name by proximity. When submitting \"Mary\", all people with the word \"Mary\" in their name are returned. It is mandatory to send a word with at least 3 characters."},{"key":"aliasBusinessName","value":"<string>","description":"Dealer nickname - used for multi-level environments - where a person may have other family members or friends helping their network or sales."},{"key":"alias webstore","value":"<string>","description":"Name of the reseller&#39;s virtual store linked to **Showcase**. \n\n This parameter must use only lowercase characters, cannot contain a special character and must have a maximum of 35 characters. \n\n When accessing the window URL (ex: www.vitrine.com.br/johnsilva) it will be as if it were a specific store of the reseller."},{"key":"code","value":"<integer>","description":"Dealer Code. \n\n **Heads up**\n\n The application must send a `code` parameter for each code. \n\n E.g.: &amp;code=<integer>&amp;code=<integer>"},{"key":"restrictPeopleWithPendencies","value":"<boolean>","description":"Restrict people with pending return. \n\n **Default**: `false`\n\n If `true` is sent, the application will apply the *non-core* filter created specifically for this installation, restricting the resellers that should be returned in this query."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the dealer&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"documents","description":"It adds an object with the reseller&#39;s documents to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with reseller aliases to the query&#39;s return."},{"key":"includeOptions","value":"customFields","description":"It adds an object with variable fields from the reseller to the return of the query."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Reseller code\",\n \"name\": \"Reseller name\",\n \"emails\": [//Email list\n {\n \"type\": \"Reseller email type code\", //Possible values available in the Glossary(\"Email Types\")\n \"email\": \"Reseller&#39;s email address\",\n }\n ],\n \"telephones\": [ //Phone list\n {\n \"type\": \"Phone type code\", //Possible values available in the Glossary(\"Phone Types\")\n \"telephone\": \"Phone number\",\n \"smsAccepted\": \"Indicates whether SMS is accepted\"\n }\n ],\n \"documents\": [ //List of documents\n {\n \"type\": \"Type code of document\", //Possible values available in the Glossary(\"Document Types\")\n \"documentType\": {\n \"id\": \"Document type code\",\n \"description\": \"Description of document type\"\n },\n \"MainDocumentType\": { //It is only returned if the system parameter \"DocumentoPrincipalGenerico\" is enabled and the extra document information is a valid code. \n \"id\": \"Code of main document type\", //Possible values available in Glossary (\"Main Document Types\")\n \"description\": \"Description of main document type\"\n },\n \"document\": \"Document data\",\n \"relevance\": \"Relevance (order) of the document\"\n }\n ],\n \"sellerPictures\": [ //List of images\n {\n \"type\": {\n \"id\": \"Image Type Code\", //Possible values available in the Glossary (\"Image Types\")\n \"description\": \"Image type description\"\n },\n \"urlPicture\": \"URL to access the image\"\n }\n ],\n \"personType\": {\n \"id\": \"Person type code\", //Possible values available in the Glossary (\"Person Types\")\n \"description\": \"Description of type of person\"\n },\n \"alias\": [// Alias list\n {\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary (\"Alias Types\")\n \"alias\": \"Alias registered\"\n }\n ],\n \"customFields\": [ //List of variable fields, registered by the customer\n {\n \"code\": \"Field registration code\",\n \"name\": \"Registered field name\",\n \"logicalName\": \"Logical name of the registered field\",\n \"description\": \"Description\",\n \"valuesType\": {\n \"id\": \"Code of the data type that the field receives\", //Possible values available in the Glossary(\"Types of Variable Field Values\")\n \"description\": \"Description of the type of data the field receives\"\n },\n \"values\": [//List of registered values for this field\n {\n \"value\": \"Value registered\"\n }\n ]\n }\n ]\n }\n ]"}],"_postman_id":"3b95d390-9790-4a97-865f-954b2c839ea4"},{"name":"Consult resellers","id":"0213248d-9180-43fd-ae02-4b516db6787a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers?sortOptions=<string>&functionCode=<integer>&code=<integer>&name=<string>&aliasBusinessName=<string>&initialBirthday=<string>&endBirthday=<string>&initialBirthdayComplete=<dateTime>&finalBirthdayComplete=<dateTime>&indicatorCode=<integer>&indicatorName=<string>&initialTimeWorkingCycles=<integer>&finalTimeWorkingCycles=<integer>&initialCurrent Cycle=<integer>&finalCurrentCycle=<integer>&initialFirstOrderCycle=<integer>&endFirstOrderCycle=<integer>&initialCease Cycle=<integer>&endCeaseCycle=<integer>&initialReactivatedCycle=<integer>&finalReactivatedCycle=<integer>&initialInactiveCycles=<integer>&finalInactiveCycles=<integer>&initialFirstOrderDate=<dateTime>&endFirstOrderDate=<dateTime>&initialAllocationDate=<dateTime>&finalAllocationDate=<dateTime>&blocked=<boolean>&commercialSituation=<integer>&businessRoleActive=<integer>&businessRoleInactive=<integer>&businessSegments=<string>&trainingSituation=<integer>&initialRegistrationDate=<dateTime>&finalRegistrationDate=<dateTime>&registrationSituation=<integer>&registrationOrigin=<integer>&expired date=<boolean>&allowedDisclosureData=<boolean>&leaderCode=<integer>&groupCode=<integer>&searchWholeNetwork=<boolean>&geographicalStructureCode=<integer>&commercialStructureCode=<integer>&email=<string>&document=<string>&telephone=<string>&inDebit=<boolean>&page=<integer>&pageSize=<integer>&roleCode=<integer>&includeOptions=disableSearchCache&includeOptions=emails&includeOptions=onlyBasicAddresses&includeOptions=telephones&includeOptions=companyData&includeOptions=bankAccounts&includeOptions=sellerPictures&includeOptions=documents&includeOptions=by the way&includeOptions=businessData&includeOptions=training&includeOptions=registration&includeOptions=multilevel&includeOptions=commercialStructure&includeOptions=addresses&includeOptions=hierarchy&includeOptions=commercial information&includeOptions=pictures","description":"<p>This call is used to consult a list of resellers and their registration information, such as: address data, contact information, commercial allocation, etc. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data it is necessary to inform the <code>includeOptions</code> parameter. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","sellers"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Information ordering options. </p>\n<p> Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Ordering</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>Orders results by reseller code, in ascending order</td>\n</tr>\n<tr>\n<td>code desc</td>\n<td>Orders results by reseller code, in descending order</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Orders results by reseller name, in ascending order</td>\n</tr>\n<tr>\n<td>name desc</td>\n<td>Sort results by reseller name, in descending order</td>\n</tr>\n<tr>\n<td>firstOrderCycle</td>\n<td>Orders the results by cycle of the first reseller order, in ascending order</td>\n</tr>\n<tr>\n<td>firstOrderCycle desc</td>\n<td>Orders the results by cycle of the first reseller order, in descending order</td>\n</tr>\n<tr>\n<td>ceaseCycle</td>\n<td>Orders results by reseller cessation cycle, in ascending order</td>\n</tr>\n<tr>\n<td>ceaseCycle desc</td>\n<td>Orders results by reseller cessation cycle, in order decreasing</td>\n</tr>\n<tr>\n<td>reactivatedCycle</td>\n<td>Orders results by dealer reactivation cycle, in ascending order</td>\n</tr>\n<tr>\n<td>reactivatedCycle desc</td>\n<td>Sorts results by dealer reactivation cycle, in descending order</td>\n</tr>\n<tr>\n<td>inactiveCycles</td>\n<td>Sort results by dealer inactive cycles, in ascending order</td>\n</tr>\n<tr>\n<td>inactiveCycles desc</td>\n<td>Sort results by dealer inactive cycles, in descending order</td>\n</tr>\n<tr>\n<td>commercialSituation</td>\n<td>Sort results by dealer business status, in ascending order</td>\n</tr>\n<tr>\n<td>commercialSituation desc</td>\n<td>Sort results by reseller's business situation, in descending order</td>\n</tr>\n<tr>\n<td>registrationDate</td>\n<td>Orders results by reseller registration date, in ascending order</td>\n</tr>\n<tr>\n<td>registrationDate desc</td>\n<td>Orders results by reseller registration date, in descending order</td>\n</tr>\n<tr>\n<td>leaderCode</td>\n<td>Sort results by reseller leader code, in ascending order</td>\n</tr>\n<tr>\n<td>leaderCode desc</td>\n<td>Sorts results by dealer leader code, in descending order</td>\n</tr>\n<tr>\n<td>leaderName</td>\n<td>Orders results by reseller leader name, in ascending order</td>\n</tr>\n<tr>\n<td>leaderName desc</td>\n<td>Sorts results by reseller leader name, in descending order</td>\n</tr>\n<tr>\n<td>commercialStructureCode</td>\n<td>Sorts results by reseller business structure code, in ascending order</td>\n</tr>\n<tr>\n<td>commercialStructureCode desc</td>\n<td>Sorts results by reseller business structure code, in descending order</td>\n</tr>\n<tr>\n<td>groupCode</td>\n<td>Orders results by reseller allocation group code, in ascending order</td>\n</tr>\n<tr>\n<td>groupCode desc</td>\n<td>Orders results by reseller allocation group code, in descending order</td>\n</tr>\n<tr>\n<td>birthday</td>\n<td>Orders results by dealer birthday date, in ascending order</td>\n</tr>\n<tr>\n<td>birthday desc</td>\n<td>Orders the results by the dealer's birthday, in descending order</td>\n</tr>\n</tbody>\n</table>\n</div>","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Reseller role code. </p>\n<p> Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>functionCode</code> parameter to each function. </p>\n<p> E.g.: &amp;functionCode=&amp;functionCode=</p>\n<p><a href=\"#84278526-03e4-4758-8a1e-d81cbba3e0fd\">Functions of an individual/legal entity</a></p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p>Dealer identification code in <strong>Let</strong>. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>code</code> parameter for each code. </p>\n<p> E.g.: &amp;code=&amp;code=</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Dealer name. </p>\n<p> This filter uses phonetic code to find the name by proximity. When submitting \"Mary\", all people with the word \"Mary\" in their name are returned. It is mandatory to send a word with at least 3 characters.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Dealer nickname - used for multi-level environments - where a person may have other family members or friends helping their network or sales.</p>\n","type":"text/plain"},"key":"aliasBusinessName","value":"<string>"},{"description":{"content":"<p>Initial birth date.(1994-10-02)</p>\n","type":"text/plain"},"key":"initialBirthday","value":"<string>"},{"description":{"content":"<p>Final date of birth.(1994-10-02)</p>\n","type":"text/plain"},"key":"endBirthday","value":"<string>"},{"description":{"content":"<p>Initial date of birth, complete. (1990-12-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"initialBirthdayComplete","value":"<dateTime>"},{"description":{"content":"<p>Final date of birth, complete. (1990-12-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"finalBirthdayComplete","value":"<dateTime>"},{"description":{"content":"<p>Referrer code - person responsible for acquiring a new customer or employee - of the reseller.</p>\n","type":"text/plain"},"key":"indicatorCode","value":"<integer>"},{"description":{"content":"<p>Name of the representative - person responsible for the acquisition of a new customer or employee - of the reseller.</p>\n","type":"text/plain"},"key":"indicatorName","value":"<string>"},{"description":{"content":"<p>Dealer first cycle.(202013)</p>\n","type":"text/plain"},"key":"initialTimeWorkingCycles","value":"<integer>"},{"description":{"content":"<p>Dealer last cycle(202013)</p>\n","type":"text/plain"},"key":"finalTimeWorkingCycles","value":"<integer>"},{"description":{"content":"<p>Dealer Current Cycle (Initial).(202013)</p>\n","type":"text/plain"},"key":"initialCurrent Cycle","value":"<integer>"},{"description":{"content":"<p>Dealer's current cycle (Final).(202013)</p>\n","type":"text/plain"},"key":"finalCurrentCycle","value":"<integer>"},{"description":{"content":"<p>First order fulfillment cycle (Initial).(202013)</p>\n","type":"text/plain"},"key":"initialFirstOrderCycle","value":"<integer>"},{"description":{"content":"<p>First order fulfillment cycle (Final).(202013)</p>\n","type":"text/plain"},"key":"endFirstOrderCycle","value":"<integer>"},{"description":{"content":"<p>Dealer Termination Cycle (Initial).(202013)</p>\n","type":"text/plain"},"key":"initialCease Cycle","value":"<integer>"},{"description":{"content":"<p>Dealer Termination Cycle (Final).(202013)</p>\n","type":"text/plain"},"key":"endCeaseCycle","value":"<integer>"},{"description":{"content":"<p>Dealer Reactivation Cycle (Initial).(202013)</p>\n","type":"text/plain"},"key":"initialReactivatedCycle","value":"<integer>"},{"description":{"content":"<p>Dealer Reactivation Cycle (Final).(202013)</p>\n","type":"text/plain"},"key":"finalReactivatedCycle","value":"<integer>"},{"description":{"content":"<p>Dealer Down Cycle (Initial).(202013)</p>\n","type":"text/plain"},"key":"initialInactiveCycles","value":"<integer>"},{"description":{"content":"<p>Dealer Down Cycle (End).(202013)</p>\n","type":"text/plain"},"key":"finalInactiveCycles","value":"<integer>"},{"description":{"content":"<p>Date of first order placement (Initial). (1990-12-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"initialFirstOrderDate","value":"<dateTime>"},{"description":{"content":"<p>Date of last order placement (Final). (1990-12-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"endFirstOrderDate","value":"<dateTime>"},{"description":{"content":"<p>Dealer's commercial allocation date (Initial). (1990-12-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"initialAllocationDate","value":"<dateTime>"},{"description":{"content":"<p>Dealer's commercial allocation date (End). (1990-12-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"finalAllocationDate","value":"<dateTime>"},{"description":{"content":"<p>Block. </p>\n<p> Select whether to return blocked resellers.</p>\n","type":"text/plain"},"key":"blocked","value":"<boolean>"},{"description":{"content":"<p>Dealer's business situation. <a href=\"#d5e4c8a2-032e-4f0a-b807-88ffda0720cc\">Business situation of the person</a></p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>commercialSituation</code> parameter for each commercial situation. </p>\n<p> E.g.: &amp;commercialSituation=&amp;commercialSituation=</p>\n","type":"text/plain"},"key":"commercialSituation","value":"<integer>"},{"description":{"content":"<p>Active business profile for the reseller. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>businessRoleActive</code> parameter for each active business profile. </p>\n<p> E.g.: &amp;businessRoleActive=&amp;businessRoleActive=</p>\n","type":"text/plain"},"key":"businessRoleActive","value":"<integer>"},{"description":{"content":"<p>Inactive business profile for the reseller. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>businessRoleInactive</code> parameter for each inactive business profile. </p>\n<p> E.g.: &amp;businessRoleInactive=&amp;businessRoleInactive=</p>\n","type":"text/plain"},"key":"businessRoleInactive","value":"<integer>"},{"description":{"content":"<p>Dealer business segment. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>businessSegments</code> parameter for each business segment. </p>\n<p> E.g.: &amp;businessSegments=&amp;businessSegments=</p>\n","type":"text/plain"},"key":"businessSegments","value":"<string>"},{"description":{"content":"<p>Dealer training situation. <a href=\"#aa5381fd-dbf5-4e25-b3a0-ce8f49e30d84\">Training situations</a></p>\n","type":"text/plain"},"key":"trainingSituation","value":"<integer>"},{"description":{"content":"<p>Dealer registration date (Initial). (1990-12-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"initialRegistrationDate","value":"<dateTime>"},{"description":{"content":"<p>Dealer registration date (End). (1990-12-31T00:00:00.000Z)</p>\n","type":"text/plain"},"key":"finalRegistrationDate","value":"<dateTime>"},{"description":{"content":"<p>Registration status. [Registration status](# feca5810-979d-4b0d-89c7-7eb218ba67ac)</p>\n","type":"text/plain"},"key":"registrationSituation","value":"<integer>"},{"description":{"content":"<p>Identification code of the origin of the registration. <a href=\"#9bc04a44-e133-4cf1-892e-18fb6e154272\">Types of registration sources</a>.</p>\n","type":"text/plain"},"key":"registrationOrigin","value":"<integer>"},{"description":{"content":"<p>Expired data. Identifies if the reseller has any essential data marked as expired.</p>\n","type":"text/plain"},"key":"expired date","value":"<boolean>"},{"description":{"content":"<p>Allows dealer data disclosure.</p>\n","type":"text/plain"},"key":"allowedDisclosureData","value":"<boolean>"},{"description":{"content":"<p>Dealer allocation business structure leader code.</p>\n","type":"text/plain"},"key":"leaderCode","value":"<integer>"},{"description":{"content":"<p>Dealer allocation group code. </p>\n<p> <strong>Observation</strong></p>\n<p> Only in group concept installations.</p>\n","type":"text/plain"},"key":"groupCode","value":"<integer>"},{"description":{"content":"<p>Search the entire network. </p>\n<p> <strong>Heads up</strong></p>\n<p> If <code>false</code> is passed, the application returns data on the leader and all his descendants. </p>\n<p> If <code>true</code> is passed, the application only returns data from the descendants. </p>\n<p> <strong>Default</strong>: <code>false</code></p>\n","type":"text/plain"},"key":"searchWholeNetwork","value":"<boolean>"},{"description":{"content":"<p>Dealer address geographic structure code.</p>\n","type":"text/plain"},"key":"geographicalStructureCode","value":"<integer>"},{"description":{"content":"<p>Dealer allocation commercial structure code.</p>\n","type":"text/plain"},"key":"commercialStructureCode","value":"<integer>"},{"description":{"content":"<p>Reseller's email address.</p>\n","type":"text/plain"},"key":"email","value":"<string>"},{"description":{"content":"<p>Dealer's main document.</p>\n","type":"text/plain"},"key":"document","value":"<string>"},{"description":{"content":"<p>Dealer phone number.(1187654321)</p>\n","type":"text/plain"},"key":"telephone","value":"<string>"},{"description":{"content":"<p>Indicates whether the consultant has outstanding debts.</p>\n","type":"text/plain"},"key":"inDebit","value":"<boolean>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>Dealer paper code. </p>\n<p> The role concept is used to determine a person's level in a role. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>roleCode</code> parameter for each role. </p>\n<p> E.g.: &amp;roleCode=&amp;roleCode=</p>\n","type":"text/plain"},"key":"roleCode","value":"<integer>"},{"description":{"content":"<p>Disable query cache.</p>\n","type":"text/plain"},"key":"includeOptions","value":"disableSearchCache"},{"description":{"content":"<p>It adds an object with the reseller's emails to the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"emails"},{"description":{"content":"<p>Returns base addresses only.</p>\n","type":"text/plain"},"key":"includeOptions","value":"onlyBasicAddresses"},{"description":{"content":"<p>It adds an object with the dealer's telephone numbers to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"telephones"},{"description":{"content":"<p>It adds an object with the reseller's company data to the query's return. </p>\n<p> <strong>Observation</strong></p>\n<p> It only works if the reseller is a legal entity.</p>\n","type":"text/plain"},"key":"includeOptions","value":"companyData"},{"description":{"content":"<p>It adds an object with the dealer's bank accounts to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"bankAccounts"},{"description":{"content":"<p>It adds an object with the dealer's photos to the return of the consultation.</p>\n","type":"text/plain"},"key":"includeOptions","value":"sellerPictures"},{"description":{"content":"<p>It adds an object with the reseller's documents to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"documents"},{"description":{"content":"<p>It adds an object with the reseller's aliases to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>It adds an object with the dealer's business information to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessData"},{"description":{"content":"<p>It adds an object with the dealer training situation in the query return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"training"},{"description":{"content":"<p>It adds an object with the reseller's registration information to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"registration"},{"description":{"content":"<p>It adds an object with the multilevel information of the reseller in the query return. </p>\n<p> <strong>Observation</strong></p>\n<p> Only</p>\n","type":"text/plain"},"key":"includeOptions","value":"multilevel"},{"description":{"content":"<p>It adds an object with the retailer's commercial structure information in the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"commercialStructure"},{"description":{"content":"<p>It adds an object with the reseller's addresses to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"addresses"},{"description":{"content":"<p>If the <code>includeOptions: multilevel</code> parameter is passed, it filters the multilevel information by hierarchy.</p>\n","type":"text/plain"},"key":"includeOptions","value":"hierarchy"},{"description":{"content":"<p>It adds an object with the retailer's commercial information to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"commercial information"},{"description":{"content":"<p>In the return of the query, it adds an object with the dealer's photos, which are related to commercial and multilevel information.</p>\n","type":"text/plain"},"key":"includeOptions","value":"pictures"}],"variable":[]}},"response":[{"id":"3eafee8c-c502-40e1-b71c-2dce6099d8d2","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers?sortOptions=<string>&functionCode=<integer>&code=<integer>&name=<string>&aliasBusinessName=<string>&initialBirthday=<string>&endBirthday=<string>&initialBirthdayComplete=<dateTime>&finalBirthdayComplete=<dateTime>&indicatorCode=<integer>&indicatorName=<string>&initialTimeWorkingCycles=<integer>&finalTimeWorkingCycles=<integer>&initialCurrent Cycle=<integer>&finalCurrentCycle=<integer>&initialFirstOrderCycle=<integer>&endFirstOrderCycle=<integer>&initialCease Cycle=<integer>&endCeaseCycle=<integer>&initialReactivatedCycle=<integer>&finalReactivatedCycle=<integer>&initialInactiveCycles=<integer>&finalInactiveCycles=<integer>&initialFirstOrderDate=<dateTime>&endFirstOrderDate=<dateTime>&initialAllocationDate=<dateTime>&finalAllocationDate=<dateTime>&blocked=<boolean>&commercialSituation=<integer>&businessRoleActive=<integer>&businessRoleInactive=<integer>&businessSegments=<string>&trainingSituation=<integer>&initialRegistrationDate=<dateTime>&finalRegistrationDate=<dateTime>&registrationSituation=<integer>&registrationOrigin=<integer>&expired date=<boolean>&allowedDisclosureData=<boolean>&leaderCode=<integer>&groupCode=<integer>&searchWholeNetwork=<boolean>&geographicalStructureCode=<integer>&commercialStructureCode=<integer>&email=<string>&document=<string>&telephone=<string>&inDebit=<boolean>&page=<integer>&pageSize=<integer>&roleCode=<integer>&includeOptions=disableSerachCache&includeOptions=emails&includeOptions=onlyBasicAddresses&includeOptions=telephones&includeOptions=companyData&includeOptions=bankAccounts&includeOptions=sellerPictures&includeOptions=documents&includeOptions=by the way&includeOptions=businessData&includeOptions=training&includeOptions=registration&includeOptions=multilevel&includeOptions=commercialStructure&includeOptions=addresses&includeOptions=hierarchy&includeOptions=commercial information&includeOptions=pictures","host":["{{baseUrl}}"],"path":["api","sellers"],"query":[{"key":"sortOptions","value":"<string>","description":"Information ordering options."},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n\n **Heads up**\n\n The application must send a `functionCode` parameter to each function. \n\n E.g.: &amp;functionCode=<integer>&amp;functionCode=<integer>\n \n[Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"},{"key":"code","value":"<integer>","description":"Dealer identification code in **Let**. \n\n **Heads up**\n\n The application must send a `code` parameter for each code. \n\n E.g.: &amp;code=<integer>&amp;code=<integer>"},{"key":"name","value":"<string>","description":"Dealer name. \n\n This filter uses phonetic code to find the name by proximity. When submitting \"Mary\", all people with the word \"Mary\" in their name are returned. It is mandatory to send a word with at least 3 characters."},{"key":"aliasBusinessName","value":"<string>","description":"Dealer nickname - used for multi-level environments - where a person may have other family members or friends helping their network or sales."},{"key":"initialBirthday","value":"<string>","description":"Initial birth date.(1994-10-02)"},{"key":"endBirthday","value":"<string>","description":"Final date of birth.(1994-10-02)"},{"key":"initialBirthdayComplete","value":"<dateTime>","description":"Initial date of birth, complete. (1990-12-31T00:00:00.000Z)"},{"key":"finalBirthdayComplete","value":"<dateTime>","description":"Final date of birth, complete. (1990-12-31T00:00:00.000Z)"},{"key":"indicatorCode","value":"<integer>","description":"Referrer code - person responsible for acquiring a new customer or employee - of the reseller."},{"key":"indicatorName","value":"<string>","description":"Name of the representative - person responsible for the acquisition of a new customer or employee - of the reseller."},{"key":"initialTimeWorkingCycles","value":"<integer>","description":"Dealer first cycle.(202013)"},{"key":"finalTimeWorkingCycles","value":"<integer>","description":"Dealer last cycle(202013)"},{"key":"initialCurrent Cycle","value":"<integer>","description":"Dealer Current Cycle (Initial).(202013)"},{"key":"finalCurrentCycle","value":"<integer>","description":"Dealer&#39;s current cycle (Final).(202013)"},{"key":"initialFirstOrderCycle","value":"<integer>","description":"First order fulfillment cycle (Initial).(202013)"},{"key":"endFirstOrderCycle","value":"<integer>","description":"First order fulfillment cycle (Final).(202013)"},{"key":"initialCease Cycle","value":"<integer>","description":"Dealer Termination Cycle (Initial).(202013)"},{"key":"endCeaseCycle","value":"<integer>","description":"Dealer Termination Cycle (Final).(202013)"},{"key":"initialReactivatedCycle","value":"<integer>","description":"Dealer Reactivation Cycle (Initial).(202013)"},{"key":"finalReactivatedCycle","value":"<integer>","description":"Dealer Reactivation Cycle (Final).(202013)"},{"key":"initialInactiveCycles","value":"<integer>","description":"Dealer Down Cycle (Initial).(202013)"},{"key":"finalInactiveCycles","value":"<integer>","description":"Dealer Down Cycle (End).(202013)"},{"key":"initialFirstOrderDate","value":"<dateTime>","description":"Date of first order placement (Initial). (1990-12-31T00:00:00.000Z)"},{"key":"endFirstOrderDate","value":"<dateTime>","description":"Date of last order placement (Final). (1990-12-31T00:00:00.000Z)"},{"key":"initialAllocationDate","value":"<dateTime>","description":"Dealer&#39;s commercial allocation date (Initial). (1990-12-31T00:00:00.000Z)"},{"key":"finalAllocationDate","value":"<dateTime>","description":"Dealer&#39;s commercial allocation date (End). (1990-12-31T00:00:00.000Z)"},{"key":"blocked","value":"<boolean>","description":"Block. \n\n Select whether to return blocked resellers."},{"key":"commercialSituation","value":"<integer>","description":"Dealer&#39;s business situation. [Business situation of the person](#d5e4c8a2-032e-4f0a-b807-88ffda0720cc)\n\n **Heads up**\n\n The application must send a `commercialSituation` parameter for each commercial situation. \n\n E.g.: &amp;commercialSituation=<integer>&amp;commercialSituation=<integer>"},{"key":"businessRoleActive","value":"<integer>","description":"Active business profile for the reseller. \n\n **Heads up**\n\n The application must send a `businessRoleActive` parameter for each active business profile. \n\n E.g.: &amp;businessRoleActive=<integer>&amp;businessRoleActive=<integer>"},{"key":"businessRoleInactive","value":"<integer>","description":"Inactive business profile for the reseller. \n\n **Heads up**\n\n The application must send a `businessRoleInactive` parameter for each inactive business profile. \n\n E.g.: &amp;businessRoleInactive=<integer>&amp;businessRoleInactive=<integer>"},{"key":"businessSegments","value":"<string>","description":"Dealer business segment. \n\n **Heads up**\n\n The application must send a `businessSegments` parameter for each business segment. \n\n E.g.: &amp;businessSegments=<string>&amp;businessSegments=<string>"},{"key":"trainingSituation","value":"<integer>","description":"Dealer training situation. [Training situations](#aa5381fd-dbf5-4e25-b3a0-ce8f49e30d84)"},{"key":"initialRegistrationDate","value":"<dateTime>","description":"Dealer registration date (Initial). (1990-12-31T00:00:00.000Z)"},{"key":"finalRegistrationDate","value":"<dateTime>","description":"Dealer registration date (End). (1990-12-31T00:00:00.000Z)"},{"key":"registrationSituation","value":"<integer>","description":"Registration status. [Registration status](# feca5810-979d-4b0d-89c7-7eb218ba67ac)"},{"key":"registrationOrigin","value":"<integer>","description":"Identification code of the origin of the registration. [Types of registration sources](#9bc04a44-e133-4cf1-892e-18fb6e154272)."},{"key":"expired date","value":"<boolean>","description":"Expired data. Identifies if the reseller has any essential data marked as expired."},{"key":"allowedDisclosureData","value":"<boolean>","description":"Allows dealer data disclosure."},{"key":"leaderCode","value":"<integer>","description":"Dealer allocation business structure leader code."},{"key":"groupCode","value":"<integer>","description":"Dealer allocation group code. \n\n **Observation**\n\n Only in group concept installations."},{"key":"searchWholeNetwork","value":"<boolean>","description":"Search the entire network."},{"key":"geographicalStructureCode","value":"<integer>","description":"Dealer address geographic structure code."},{"key":"commercialStructureCode","value":"<integer>","description":"Dealer allocation commercial structure code."},{"key":"email","value":"<string>","description":"Reseller&#39;s email address."},{"key":"document","value":"<string>","description":"Dealer&#39;s main document."},{"key":"telephone","value":"<string>","description":"Dealer phone number.(1187654321)"},{"key":"inDebit","value":"<boolean>","description":"Indicates whether the consultant has outstanding debts."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"roleCode","value":"<integer>","description":"Dealer paper code. \n\n The role concept is used to determine a person&#39;s level in a role. \n\n **Heads up**\n\n The application must send a `roleCode` parameter for each role. \n\n E.g.: &amp;roleCode=<integer>&amp;roleCode=<integer>"},{"key":"includeOptions","value":"disableSerachCache","description":"Disable query cache."},{"key":"includeOptions","value":"emails","description":"It adds an object with the reseller&#39;s emails to the return of the query."},{"key":"includeOptions","value":"onlyBasicAddresses","description":"Returns base addresses only."},{"key":"includeOptions","value":"telephones","description":"It adds an object with the dealer&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"companyData","description":"It adds an object with the reseller&#39;s company data to the query&#39;s return. \n\n **Observation**\n\n It only works if the reseller is a legal entity."},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the dealer&#39;s bank accounts to the query&#39;s return."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the dealer&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"documents","description":"It adds an object with the reseller&#39;s documents to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the reseller&#39;s aliases to the query&#39;s return."},{"key":"includeOptions","value":"businessData","description":"It adds an object with the dealer&#39;s business information to the query&#39;s return."},{"key":"includeOptions","value":"training","description":"It adds an object with the dealer&#39;s training situation code to the query&#39;s return."},{"key":"includeOptions","value":"registration","description":"It adds an object with the reseller&#39;s registration information to the query&#39;s return."},{"key":"includeOptions","value":"multilevel","description":"It adds an object with the multilevel information of the reseller in the query return. \n\n **Observation**\n\n Only"},{"key":"includeOptions","value":"commercialStructure","description":"It adds an object with the retailer&#39;s commercial structure information in the query&#39;s return."},{"key":"includeOptions","value":"addresses","description":"It adds an object with the reseller&#39;s addresses to the query&#39;s return."},{"key":"includeOptions","value":"hierarchy","description":"If the `includeOptions: multilevel` parameter is passed, it filters the multilevel information by hierarchy."},{"key":"includeOptions","value":"commercial information","description":"It adds an object with the retailer&#39;s commercial information to the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"In the return of the query, it adds an object with the dealer&#39;s photos, which are related to commercial and multilevel information."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Reseller Code\",\r\n \"name\": \"Reseller&#39;s full name\",\r\n \"birthday\": \"Date of birth\",\r\n \"businessData\": {\r\n \"indicator\": {\r\n \"code\": \"Code of the person who referred the Reseller\",\r\n \"name\": \"Full name\",\r\n \"alias\": [//Alias list\r\n {\r\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary(\"Alias Types\")\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"pictures\": [ //List of images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", //Possible values available in the Glossary(\"Image Types\")\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ]\r\n },\r\n \"timeWorkingCycles\": \"Number of past campaigns\",\r\n \"currentCycle\": \"Current Campaign\",\r\n \"FirstOrderCycle\": \"First Order Campaign\",\r\n \"ceaseCycle\": \"Cease Campaign\",\r\n \"reactivatedCycle\": \"Reactivation Campaign\",\r\n \"inactiveCycles\": \"Number of campaigns where you were inactive\",\r\n \"allocationDate\": \"Allocation date\",\r\n \"blocked\": \"Indicates if it is blocked. (true/false)\",\r\n \"blockReason\": \"Block Reason Code\",\r\n \"commercialSituation\": \"Code of commercial situation\",\r\n \"timeWorking\": \"Time worked\",\r\n \"nextCycle\": \"Next Campaign\"\r\n },\r\n \"training\": {\r\n \"trainingSituation\": \"Training situation code\" // Possible values available in glossary (Training Situations)\r\n },\r\n \"registration\": {\r\n \"registrationDate\": \"Registration Date\",\r\n \"registrationSituation\": \"Registration Status\", // Possible values available in the glossary (Registration Status)\r\n \"registrationOrigin\": \"Registration Origin\", // Possible values available in the glossary (Types of Registration Origins)\r\n \"expiredData\": \"Indicates if the registration is expired (true/false)\",\r\n \"allowedDisclosureData\": \"Indicates whether the Reseller allows data sharing\"\r\n },\r\n \"multilevel\": {\r\n \"leader\": {\r\n \"code\": \"Code of the leader\",\r\n \"name\": \"Full name\",\r\n \"alias\": [//Alias list\r\n {\r\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary(\"Alias Types\")\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"isCommercialStructureLeader\": \"Indicates if you are the leader of the Commercial Structure (true/false)\",\r\n \"pictures\": [ //List of images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", //Possible values available in the Glossary(\"Types of image\")\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ]\r\n }\r\n },\r\n \"emails\": [//Email List\r\n {\r\n \"type\": \"Email Type Code\",//Possible values available in the Glossary(\"Email Types\")\r\n \"email\": \"Email address\",\r\n \"newsLetterAccepted\": \"Indicates whether or not to receive NewsLetter(true/false)\"\r\n }\r\n ],\r\n \"document\": [//List of Documents\r\n {\r\n \"type\": \"Document Type Code\",//Possible values available in the Glossary(\"Document Types\")\r\n \"documentType\": {\r\n \"id\": \"Document Type Code\",//Possible values available in the Glossary(\"Document Types\")\r\n \"description\": \"Description\"\r\n },\r\n \"MainDocumentType\": { //It is only returned if the system parameter \"DocumentoPrincipalGenerico\" is enabled and the extra document information is a valid code. \r\n \"id\": \"Document Type Code\",//Possible values available in the Glossary(\"Document Types\")\r\n \"description\": \"Description\"\r\n },\r\n \"document\": \"Document data\",\r\n \"relevance\": \"Relevance (order) of the Document\"\r\n }\r\n ],\r\n \"commercialStructure\": {\r\n \"code\": \"Code of the commercial structure\",\r\n \"name\": \"Structure name\",\r\n \"parent\": {\r\n \"code\": \"Code of the top level business structure\",\r\n \"name\": \"Name of the top structure\"\r\n }\r\n },\r\n \"addresses\": [ // List of addresses. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n {\r\n \"type\": \"Address Type Code\", //Possible values available in the Glossary(\"Address Types\")\r\n \"level0\": \"Description of address level 0\",\r\n \"level1\": \"Description of address level 1\",\r\n \"level2\": \"Description of address level 2\",\r\n \"level3\": \"Level 3 address description\",\r\n \"level4\": \"Level 4 address description\",\r\n \"level5\": \"Level 5 address description\",\r\n \"level6\": \"Level 6 address description\",\r\n \"level7\": \"Level 7 address description\",\r\n \"level8\": \"Level 8 address description\",\r\n \"level9\": \"Level 9 address description\",\r\n \"complement\": \"Address complement\",\r\n \"number\": \"Number\",\r\n \"zipCode\": \"zip code\",\r\n \"completeAddress\": \"Complete address assembled from level, complement, number and zip code information\",\r\n \"geographicalStructureCode\": \"Geographic Structure Code\",\r\n \"allowChangeOtherApplication\": \"Indicates whether it allows the address to be changed in applications other than LET\"\r\n }\r\n ],\r\n \"telephones\": [//Phone List\r\n {\r\n \"type\": \"Telephone Type Code\",//Possible values available in the Glossary(\"Telephone Types\")\r\n \"telephone\": \"Phone Number\",\r\n \"newsLetterAccepted\": \"Code that indicates whether or not you accept to receive newsletter \"//Possible values available at (NewsLetter Authorization)\r\n }\r\n ],\r\n \"commercialInformation\": {\r\n \"roleCode\": \"Paper Code\",\r\n \"roleName\": \"Role Description\",\r\n \"roleStartCycle\": \"Role Start Validity Campaign\"\r\n },\r\n \"MultilevelNetworkName\": \"Network Name\",\r\n \"sellerPictures\": [ //List of images\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", //Possible values available in the Glossary(\"Image Types\")\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ],\r\n \"gender\": \"Registered Gender Code\",//Possible values available in the Glossary(\"Person&#39;s Gender\")\r\n \"inDebit\": \"Indicates if there is a debit (true/false)\", \r\n \"personType\": {\r\n \"id\": \"Person Type Code\",//Possible values available in the Glossary(\"Person Type\")\r\n \"description\": \"Description of Person Type\"\r\n },\r\n \"bankAccounts\": [//List of Bank Accounts\r\n {\r\n \"informationNumber\": \"Bank Account Number (Order)\",\r\n \"bankName\": \"Bank Name\",\r\n \"bankCode\": \"Bank Code\",\r\n \"accountAgency\": \"Agency number\",\r\n \"accountNumber\": \"Account Number\",\r\n \"accountType\": \"Account Type\",//Possible values available in the Glossary(\"Bank Account Types\")\r\n \"defaultAccount\": \"Indicates if it is the preferred account (true/false)\",\r\n \"updatedDate\": \"Record update date and time\" \r\n }\r\n ],\r\n \"alias\": [//Alias list\r\n {\r\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary(\"Alias Types\")\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"companyData\": {\r\n \"name\": \"Company Name\",\r\n \"trade\": \"Fancy Name\",\r\n \"businessRole\": {\r\n \"id\": \"Code of Type of Legal Entity\",//Possible values available in the Glossary(\"Types of Legal Entity\")\r\n \"description\": \"Description of the Type of Legal Entity\"\r\n },\r\n \"IcmsTaxPayer\": {\r\n \"id\": \"ID of the callsign about the person collecting ICMS or not\",\r\n \"description\": \"Description whether or not ICMS is collected\"\r\n },\r\n \"website\": \"Company website URL\",\r\n \"newsLetterAccepted\": \"Indicates whether or not to receive NewsLetter(true/false)\"\r\n },\r\n \"recommendedReseller\": {\r\n \"code\": \"Code of the Reseller who referred this Reseller\",\r\n \"name\": \"Full name\"\r\n },\r\n \"quantityCyclesWithoutOrdering\": \"Campaigns without ordering\"\r\n }\r\n ]"},{"id":"03bae8ba-cffc-4ba8-be68-71b05a591bb8","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers?sortOptions=<string>&functionCode=<integer>&code=<integer>&name=<string>&aliasBusinessName=<string>&initialBirthday=<string>&endBirthday=<string>&initialBirthdayComplete=<dateTime>&finalBirthdayComplete=<dateTime>&indicatorCode=<integer>&indicatorName=<string>&initialTimeWorkingCycles=<integer>&finalTimeWorkingCycles=<integer>&initialCurrent Cycle=<integer>&finalCurrentCycle=<integer>&initialFirstOrderCycle=<integer>&endFirstOrderCycle=<integer>&initialCease Cycle=<integer>&endCeaseCycle=<integer>&initialReactivatedCycle=<integer>&finalReactivatedCycle=<integer>&initialInactiveCycles=<integer>&finalInactiveCycles=<integer>&initialFirstOrderDate=<dateTime>&endFirstOrderDate=<dateTime>&initialAllocationDate=<dateTime>&finalAllocationDate=<dateTime>&blocked=<boolean>&commercialSituation=<integer>&businessRoleActive=<integer>&businessRoleInactive=<integer>&businessSegments=<string>&trainingSituation=<integer>&initialRegistrationDate=<dateTime>&finalRegistrationDate=<dateTime>&registrationSituation=<integer>&registrationOrigin=<integer>&expired date=<boolean>&allowedDisclosureData=<boolean>&leaderCode=<integer>&groupCode=<integer>&searchWholeNetwork=<boolean>&geographicalStructureCode=<integer>&commercialStructureCode=<integer>&email=<string>&document=<string>&telephone=<string>&inDebit=<boolean>&page=<integer>&pageSize=<integer>&roleCode=<integer>&includeOptions=disableSerachCache&includeOptions=emails&includeOptions=onlyBasicAddresses&includeOptions=telephones&includeOptions=companyData&includeOptions=bankAccounts&includeOptions=sellerPictures&includeOptions=documents&includeOptions=by the way&includeOptions=businessData&includeOptions=training&includeOptions=registration&includeOptions=multilevel&includeOptions=commercialStructure&includeOptions=addresses&includeOptions=hierarchy&includeOptions=commercial information&includeOptions=pictures","host":["{{baseUrl}}"],"path":["api","sellers"],"query":[{"key":"sortOptions","value":"<string>","description":"Information ordering options."},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n\n **Heads up**\n\n The application must send a `functionCode` parameter to each function. \n\n E.g.: &amp;functionCode=<integer>&amp;functionCode=<integer>\n \n[Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"},{"key":"code","value":"<integer>","description":"Dealer identification code in **Let**. \n\n **Heads up**\n\n The application must send a `code` parameter for each code. \n\n E.g.: &amp;code=<integer>&amp;code=<integer>"},{"key":"name","value":"<string>","description":"Dealer name. \n\n This filter uses phonetic code to find the name by proximity. When submitting \"Mary\", all people with the word \"Mary\" in their name are returned. It is mandatory to send a word with at least 3 characters."},{"key":"aliasBusinessName","value":"<string>","description":"Dealer nickname - used for multi-level environments - where a person may have other family members or friends helping their network or sales."},{"key":"initialBirthday","value":"<string>","description":"Initial birth date.(1994-10-02)"},{"key":"endBirthday","value":"<string>","description":"Final date of birth.(1994-10-02)"},{"key":"initialBirthdayComplete","value":"<dateTime>","description":"Initial date of birth, complete. (1990-12-31T00:00:00.000Z)"},{"key":"finalBirthdayComplete","value":"<dateTime>","description":"Final date of birth, complete. (1990-12-31T00:00:00.000Z)"},{"key":"indicatorCode","value":"<integer>","description":"Referrer code - person responsible for acquiring a new customer or employee - of the reseller."},{"key":"indicatorName","value":"<string>","description":"Name of the representative - person responsible for the acquisition of a new customer or employee - of the reseller."},{"key":"initialTimeWorkingCycles","value":"<integer>","description":"Dealer first cycle.(202013)"},{"key":"finalTimeWorkingCycles","value":"<integer>","description":"Dealer last cycle(202013)"},{"key":"initialCurrent Cycle","value":"<integer>","description":"Dealer Current Cycle (Initial).(202013)"},{"key":"finalCurrentCycle","value":"<integer>","description":"Dealer&#39;s current cycle (Final).(202013)"},{"key":"initialFirstOrderCycle","value":"<integer>","description":"First order fulfillment cycle (Initial).(202013)"},{"key":"endFirstOrderCycle","value":"<integer>","description":"First order fulfillment cycle (Final).(202013)"},{"key":"initialCease Cycle","value":"<integer>","description":"Dealer Termination Cycle (Initial).(202013)"},{"key":"endCeaseCycle","value":"<integer>","description":"Dealer Termination Cycle (Final).(202013)"},{"key":"initialReactivatedCycle","value":"<integer>","description":"Dealer Reactivation Cycle (Initial).(202013)"},{"key":"finalReactivatedCycle","value":"<integer>","description":"Dealer Reactivation Cycle (Final).(202013)"},{"key":"initialInactiveCycles","value":"<integer>","description":"Dealer Down Cycle (Initial).(202013)"},{"key":"finalInactiveCycles","value":"<integer>","description":"Dealer Down Cycle (End).(202013)"},{"key":"initialFirstOrderDate","value":"<dateTime>","description":"Date of first order placement (Initial). (1990-12-31T00:00:00.000Z)"},{"key":"endFirstOrderDate","value":"<dateTime>","description":"Date of last order placement (Final). (1990-12-31T00:00:00.000Z)"},{"key":"initialAllocationDate","value":"<dateTime>","description":"Dealer&#39;s commercial allocation date (Initial). (1990-12-31T00:00:00.000Z)"},{"key":"finalAllocationDate","value":"<dateTime>","description":"Dealer&#39;s commercial allocation date (End). (1990-12-31T00:00:00.000Z)"},{"key":"blocked","value":"<boolean>","description":"Block. \n\n Select whether to return blocked resellers."},{"key":"commercialSituation","value":"<integer>","description":"Dealer&#39;s business situation. [Business situation of the person](#d5e4c8a2-032e-4f0a-b807-88ffda0720cc)\n\n **Heads up**\n\n The application must send a `commercialSituation` parameter for each commercial situation. \n\n E.g.: &amp;commercialSituation=<integer>&amp;commercialSituation=<integer>"},{"key":"businessRoleActive","value":"<integer>","description":"Active business profile for the reseller. \n\n **Heads up**\n\n The application must send a `businessRoleActive` parameter for each active business profile. \n\n E.g.: &amp;businessRoleActive=<integer>&amp;businessRoleActive=<integer>"},{"key":"businessRoleInactive","value":"<integer>","description":"Inactive business profile for the reseller. \n\n **Heads up**\n\n The application must send a `businessRoleInactive` parameter for each inactive business profile. \n\n E.g.: &amp;businessRoleInactive=<integer>&amp;businessRoleInactive=<integer>"},{"key":"businessSegments","value":"<string>","description":"Dealer business segment. \n\n **Heads up**\n\n The application must send a `businessSegments` parameter for each business segment. \n\n E.g.: &amp;businessSegments=<string>&amp;businessSegments=<string>"},{"key":"trainingSituation","value":"<integer>","description":"Dealer training situation. [Training situations](#aa5381fd-dbf5-4e25-b3a0-ce8f49e30d84)"},{"key":"initialRegistrationDate","value":"<dateTime>","description":"Dealer registration date (Initial). (1990-12-31T00:00:00.000Z)"},{"key":"finalRegistrationDate","value":"<dateTime>","description":"Dealer registration date (End). (1990-12-31T00:00:00.000Z)"},{"key":"registrationSituation","value":"<integer>","description":"Registration status. [Registration status](# feca5810-979d-4b0d-89c7-7eb218ba67ac)"},{"key":"registrationOrigin","value":"<integer>","description":"Identification code of the origin of the registration. [Types of registration sources](#9bc04a44-e133-4cf1-892e-18fb6e154272)."},{"key":"expired date","value":"<boolean>","description":"Expired data. Identifies if the reseller has any essential data marked as expired."},{"key":"allowedDisclosureData","value":"<boolean>","description":"Allows dealer data disclosure."},{"key":"leaderCode","value":"<integer>","description":"Dealer allocation business structure leader code."},{"key":"groupCode","value":"<integer>","description":"Dealer allocation group code. \n\n **Observation**\n\n Only in group concept installations."},{"key":"searchWholeNetwork","value":"<boolean>","description":"Search the entire network."},{"key":"geographicalStructureCode","value":"<integer>","description":"Dealer address geographic structure code."},{"key":"commercialStructureCode","value":"<integer>","description":"Dealer allocation commercial structure code."},{"key":"email","value":"<string>","description":"Reseller&#39;s email address."},{"key":"document","value":"<string>","description":"Dealer&#39;s main document."},{"key":"telephone","value":"<string>","description":"Dealer phone number.(1187654321)"},{"key":"inDebit","value":"<boolean>","description":"Indicates whether the consultant has outstanding debts."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"roleCode","value":"<integer>","description":"Dealer paper code. \n\n The role concept is used to determine a person&#39;s level in a role. \n\n **Heads up**\n\n The application must send a `roleCode` parameter for each role. \n\n E.g.: &amp;roleCode=<integer>&amp;roleCode=<integer>"},{"key":"includeOptions","value":"disableSerachCache","description":"Disable query cache."},{"key":"includeOptions","value":"emails","description":"It adds an object with the reseller&#39;s emails to the return of the query."},{"key":"includeOptions","value":"onlyBasicAddresses","description":"Returns base addresses only."},{"key":"includeOptions","value":"telephones","description":"It adds an object with the dealer&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"companyData","description":"It adds an object with the reseller&#39;s company data to the query&#39;s return. \n\n **Observation**\n\n It only works if the reseller is a legal entity."},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the dealer&#39;s bank accounts to the query&#39;s return."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the dealer&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"documents","description":"It adds an object with the reseller&#39;s documents to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the reseller&#39;s aliases to the query&#39;s return."},{"key":"includeOptions","value":"businessData","description":"It adds an object with the dealer&#39;s business information to the query&#39;s return."},{"key":"includeOptions","value":"training","description":"It adds an object with the dealer&#39;s training situation code to the query&#39;s return."},{"key":"includeOptions","value":"registration","description":"It adds an object with the reseller&#39;s registration information to the query&#39;s return."},{"key":"includeOptions","value":"multilevel","description":"It adds an object with the multilevel information of the reseller in the query return. \n\n **Observation**\n\n Only"},{"key":"includeOptions","value":"commercialStructure","description":"It adds an object with the retailer&#39;s commercial structure information in the query&#39;s return."},{"key":"includeOptions","value":"addresses","description":"It adds an object with the reseller&#39;s addresses to the query&#39;s return."},{"key":"includeOptions","value":"hierarchy","description":"If the `includeOptions: multilevel` parameter is passed, it filters the multilevel information by hierarchy."},{"key":"includeOptions","value":"commercial information","description":"It adds an object with the retailer&#39;s commercial information to the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"In the return of the query, it adds an object with the dealer&#39;s photos, which are related to commercial and multilevel information."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 215,\n \"name\": \"VICTOR RUBENS FALSARELLA LIMA MACEDO\",\n \"birthday\": \"2003-02-05T00:00:00Z\",\n \"businessData\": {\n \"indicator\": {\n \"code\": 210,\n \"name\": \"AAIC PERSON\",\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"SELLERSTORE\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"INACTIVE DEALER NAME INACTIVE\"\n }\n ],\n \"pictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\n }\n ]\n },\n \"timeWorkingCycles\": 46,\n \"currentCycle\": 202101,\n \"FirstOrderCycle\": 202001,\n \"ceaseCycle\": 202101,\n \"reactivatedCycle\": 202101,\n \"inactiveCycles\": 1,\n \"allocationDate\": \"2017-02-10T00:00:00Z\",\n \"blocked\": true,\n \"blockReason\": 1,\n \"commercialSituation\": 2,\n \"timeWorking\": \"16 Days\",\n \"nextCycle\": 202101\n },\n \"training\": {\n \"trainingSituation\": 1\n },\n \"registration\": {\n \"registrationDate\": \"2017-02-06T00:00:00Z\",\n \"registrationSituation\": 2,\n \"registrationOrigin\": 9,\n \"expiredData\": false,\n \"allowedDisclosureData\": true\n },\n \"multilevel\": {\n \"leader\": {\n \"code\": 2741,\n \"name\": \"INNOVATION PROJECT 1\",\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"projectonovacao1\"\n }\n ],\n \"isCommercialStructureLeader\": false,\n \"pictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[address_da_application]/Pages/Images/Fotos/[hash_da_foto].png\"\n }\n ]\n }\n },\n \"emails\": [\n {\n \"type\": 1,\n \"email\": \"RANDOLPHCARVALHO12133458@MAILINATOR.COM\",\n \"newsLetterAccepted\": true\n }\n ],\n \"document\": [\n {\n \"type\": 1,\n \"documentType\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"MainDocumentType\": {\n \"id\": 1,\n \"description\": \"CPF\"\n },\n \"document\": \"531387080\",\n \"relevance\": 2 \n },\n {\n \"type\": 5,\n \"documentType\": {\n \"id\": 5,\n \"description\": \"CNPJ\"\n },\n \"MainDocumentType\": {\n \"id\": 1,\n \"description\": \"CPF\"\n },\n \"document\": \"45448249744\",\n \"relevance\": 1\n }\n ],\n \"commercialStructure\": {\n \"code\": 10,\n \"name\": \"Test Innovates\",\n \"parent\": {\n \"code\": 4,\n \"name\": \"Inova Test\"\n }\n },\n \"addresses\": [\n {\n \"type\": 1,\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\",\n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"level5\": \"GARDENS CONDOMINIUM\",\n \"level6\": \"SESSION 8\",\n \"level7\": \"PAVILION 3\",\n \"level8\": \"BLOCK 5\",\n \"level9\": \"ORANGE BUILDING\",\n \"complement\": \"AP 68\",\n \"number\": \"479\",\n \"zipCode\": \"13185343\",\n \"completeAddress\": \"ORANGE BUILDING - BLOCK 5 - PAVILHAO 3 - SESSION 8 - JARDINS CONDOMINIUM - RUA JULIO CESAR DO NASCIMENTO 479 AP 68 - ADELAIDE GARDEN - HORTOLÂNDIA - SP - BRAZIL - CEP: 13185-343\",\n \"geographicalStructureCode\": 541812,\n \"allowChangeOtherApplication\": true\n },\n {\n \"type\": 3,\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\",\n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"complement\": \"ADDRESS 1\",\n \"number\": \"13\",\n \"reference\": \"ADDRESS 1\",\n \"zipCode\": \"13185343\",\n \"completeAddress\": \"RUA JULIO CESAR DO NASCIMENTO 13 COMPL.: ADDRESS 1 - JARDIM ADELAIDE - HORTOLANDIA - SP - BRAZIL - CEP: 13185-343 - ADDRESS 1\",\n \"geographicalStructureCode\": 541812,\n \"allowChangeOtherApplication\": true\n }\n ],\n \"telephones\": [\n {\n \"type\": 1,\n \"telephone\": \"19337588563\",\n \"smsAccepted\": false\n },\n {\n \"type\": 2,\n \"telephone\": \"19981283449\",\n \"smsAccepted\": true\n }\n ],\n \"commercialInformation\": {\n \"roleCode\": 11,\n \"roleName\": \"C1\",\n \"roleStartCycle\": 201801\n },\n \"MultilevelNetworkName\": \"Network Name\",\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\n }\n ],\n \"gender\": 2,\n \"inDebit\": true,\n \"personType\": {\n \"id\": 2,\n \"description\": \"Legal Person\"\n },\n \"bankAccounts\": [\n {\n \"informationNumber\": 1,\n \"bankName\": \"Santander Banespa\",\n \"bankCode\": 33,\n \"accountAgency\": \"1234\",\n \"accountNumber\": \"7093-0\",\n \"accountType\": 1,\n \"defaultAccount\": true,\n \"updatedDate\": \"2020-12-10T12:42:36.433Z\"\n }\n ],\n \"by the way\": [ \n {\n \"typeId\": 1,\n \"alias\": \"TESTEQA215\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"NAME TES\"\n }\n ],\n \"companyData\": {\n \"name\": \"1810008142 COMPANY ADRIANO\",\n \"trade\": \"1810008142 COMPANY ADRIANO\",\n \"businessRole\": {\n \"id\": 1,\n \"description\": \"Distribution Channel\"\n },\n \"IcmsTaxPayer\": {\n \"id\": 1,\n \"description\": \"No\"\n },\n \"site\": \"HTTPS://WWW.TESTE.COM.BR\",\n \"authorizeNewsletter\": true\n }, \n \"recommendedReseller\": {\n \"code\": \"210\",\n \"name\": \"AAIC PERSON\"\n }\n },\n {\n \"code\": 2350,\n \"name\": \"SELLER 2TEST - SILMARA QA\",\n \"birthday\": \"1987-05-07T00:00:00Z\",\n \"businessData\": {\n \"indicator\": {\n \"code\": 210,\n \"name\": \"AAIC PERSON\",\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"SELLERSTORE\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"INACTIVE DEALER NAME INACTIVE\"\n }\n ],\n \"pictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\n }\n ]\n },\n \"timeWorkingCycles\": 15,\n \"currentCycle\": 202006,\n \"firstOrderCycle\": 202003,\n \"ceaseCycle\": 202003,\n \"reactivatedCycle\": 202003,\n \"inactiveCycles\": 1,\n \"firstOrderDate\": \"2020-03-16T09:35:04.09Z\",\n \"allocationDate\": \"2019-01-18T00:00:00Z\",\n \"blocked\": true,\n \"blockReason\": 10,\n \"commercialSituation\": 2, \n \"timeWorking\": \"11 Months 12 Days\",\n \"nextCycle\": 202006\n },\n \"training\": {\n \"trainingSituation\": 1\n },\n \"registration\": {\n \"registrationDate\": \"2019-01-18T00:00:00Z\",\n \"registrationSituation\": 2,\n \"registrationOrigin\": 9,\n \"expiredData\": false,\n \"allowedDisclosureData\": true\n },\n \"multilevel\": {\n \"leader\": {\n \"isCommercialStructureLeader\": false\n }\n },\n \"emails\": [\n {\n \"type\": 1,\n \"email\": \"SILMARAQA@MAILINATOR.COM\", \n \"newsLetterAccepted\": false\n }\n ],\n \"document\": [\n {\n \"type\": 1,\n \"documentType\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"document\": \"111111111111\",\n \"relevance\": 2\n },\n {\n \"type\": 2,\n \"documentType\": {\n \"id\": 2,\n \"description\": \"CPF\"\n },\n \"document\": \"45253178848\",\n \"relevance\": 1\n }\n ],\n \"commercialStructure\": {\n \"code\": 23, \n \"name\": \"NEW RESP.\",\n \"parent\": {\n \"code\": 22,\n \"name\": \"Gestion BA\"\n }\n },\n \"addresses\": [\n {\n \"type\": 1,\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\",\n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"complement\": \"FIFTH FLOOR\",\n \"number\": \"1504\",\n \"reference\": \"CUIT ID\",\n \"zipCode\": \"13185343\",\n \"completeAddress\": \"RUA JULIO CESAR DO NASCIMENTO 1504 COMPL.: QUINTO ANDAR - JARDIM ADELAIDE - HORTOLANDIA - SP - BRAZIL - CEP: 13185-343 - ID CUIT\", \n \"geographicalStructureCode\": 541812,\n \"allowChangeOtherApplication\": false\n },\n {\n \"type\": 3,\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\",\n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"complement\": \"FIFTH FLOOR\",\n \"number\": \"1504\",\n \"reference\": \"CUIT ID\",\n \"zipCode\": \"13185343\",\n \"completeAddress\": \"RUA JULIO CESAR DO NASCIMENTO 1504 COMPL.: QUINTO ANDAR - JARDIM ADELAIDE - HORTOLANDIA - SP - BRAZIL - CEP: 13185-343 - ID CUIT\",\n \"geographicalStructureCode\": 541812,\n \"allowChangeOtherApplication\": false \n }\n ],\n \"telephones\": [\n {\n \"type\": 1,\n \"telephone\": \"19914564654\",\n \"smsAccepted\": false\n },\n {\n \"type\": 2,\n \"telephone\": \"11111111111\",\n \"smsAccepted\": false\n }\n ],\n \"commercialInformation\": {\n \"roleCode\": 11,\n \"roleName\": \"C1\"\n },\n \"MultilevelNetworkName\": \"Network Name\",\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\n }\n ],\n \"gender\": 2,\n \"inDebit\": true,\n \"personType\": {\n \"id\": 1,\n \"description\": \"Individual\"\n },\n \"bankAccounts\": [\n {\n \"informationNumber\": 0,\n \"bankName\": \"Santander Banespa\",\n \"bankCode\": 33,\n \"accountAgency\": \"1125\",\n \"accountNumber\": \"66825\",\n \"accountType\": 1,\n \"defaultAccount\": true,\n \"updatedDate\": \"2019-01-18T11:58:41.267Z\"\n }\n ], \n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"TESTEQA123\"\n }\n ],\n \"recommendedReseller\": {\n \"code\": \"210\",\n \"name\": \"AAIC PERSON\"\n }\n },\n {\n \"code\": 2981,\n \"name\": \"INNOVATION CORE 01\",\n \"birthday\": \"1965-08-25T00:00:00Z\",\n \"businessData\": {\n \"indicator\": {\n \"code\": 2743,\n \"name\": \"INNOVATION PROJECT 2\",\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"PROJETOINOVACAO2\"\n }, \n {\n \"typeId\": 2,\n \"alias\": \"INOVADEV\"\n }\n ],\n \"pictures\": []\n },\n \"timeWorkingCycles\": 0,\n \"currentCycle\": 2012,\n \"inactiveCycles\": 1,\n \"allocationDate\": \"2020-12-18T00:00:00Z\",\n \"blocked\": false,\n \"commercialSituation\": 1,\n \"timeWorking\": \"2 Months 6 Days\",\n \"nextCycle\": 202012\n },\n \"training\": {\n \"trainingSituation\": 1\n },\n \"registration\": {\n \"registrationDate\": \"2020-12-18T00:00:00Z\",\n \"registrationSituation\": 1, \n \"registrationOrigin\": 9,\n \"expiredData\": false,\n \"allowedDisclosureData\": true\n },\n \"multilevel\": {\n \"leader\": {\n \"isCommercialStructureLeader\": false\n }\n },\n \"emails\": [\n {\n \"type\": 1,\n \"email\": \"RAYIWOR750@FEBEKS.COM\",\n \"newsLetterAccepted\": false\n }\n ],\n \"document\": [\n {\n \"type\": 1,\n \"documentType\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"document\": \"367563452\", \n \"relevance\": 2\n },\n {\n \"type\": 2,\n \"documentType\": {\n \"id\": 2,\n \"description\": \"CPF\"\n },\n \"document\": \"59653635409\",\n \"relevance\": 1\n }\n ],\n \"commercialStructure\": {\n \"code\": 33,\n \"name\": \"Test Innovates\",\n \"parent\": {\n \"code\": 32,\n \"name\": \"Presentation\"\n }\n },\n \"addresses\": [\n {\n \"type\": 1,\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\", \n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"number\": \"109\",\n \"zipCode\": \"13185343\",\n \"completeAddress\": \"RUA JULIO CESAR DO NASCIMENTO 109 - JARDIM ADELAIDE - HORTOLÂNDIA - SP - BRAZIL - CEP: 13185-343\",\n \"geographicalStructureCode\": 541812,\n \"allowChangeOtherApplication\": false\n },\n {\n \"type\": 3,\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\",\n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"number\": \"109\",\n \"ZIP code\": \"13185343\",\n \"completeAddress\": \"RUA JULIO CESAR DO NASCIMENTO 109 - JARDIM ADELAIDE - HORTOLÂNDIA - SP - BRAZIL - CEP: 13185-343\",\n \"geographicalStructureCode\": 541812,\n \"allowChangeOtherApplication\": false\n }\n ],\n \"telephones\": [\n {\n \"type\": 1,\n \"telephone\": \"1936457823\",\n \"smsAccepted\": false\n },\n {\n \"type\": 2,\n \"telephone\": \"19998128879\",\n \"smsAccepted\": false\n }\n ],\n \"commercialInformation\": {\n \"roleCode\": 11,\n \"roleName\": \"C1\"\n }, \n \"MultilevelNetworkName\": \"Network Name\",\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\n }\n ],\n \"gender\": 2,\n \"inDebit\": false,\n \"personType\": {\n \"id\": 1,\n \"description\": \"Individual\"\n },\n \"bankAccounts\": [],\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"inovacaocore01\"\n },\n { \n \"typeId\": 2,\n \"alias\": \"INNOVATION CORE 01\"\n }\n ],\n \"recommendedReseller\": {\n \"code\": \"2743\",\n \"name\": \"INNOVATION PROJECT 2\"\n }\n }\n ]"}],"_postman_id":"0213248d-9180-43fd-ae02-4b516db6787a"},{"name":"Consult dealer by code","id":"31bb5c1c-4e86-49c5-ba16-15f0edaa77de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/:id?functionCode=<integer>&businessModelCode=<integer>&includeOptions=disableSearchCache&includeOptions=emails&includeOptions=onlyBasicAddresses&includeOptions=telephones&includeOptions=companyData&includeOptions=creditDate&includeOptions=creditToleranceDate&includeOptions=personalReferences&includeOptions=sellerPictures&includeOptions=autoReactivationCheck&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=pictures&includeOptions=customFields","description":"<p>This call is used to query a specific reseller through its identifier code (<code>id</code>). </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","sellers",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Reseller role code. </p>\n<p> Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. </p>\n<p> <a href=\"#84278526-03e4-4758-8a1e-d81cbba3e0fd\">Functions of an individual/legal entity</a></p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p>Dealer business rule code.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p>Disable query cache.</p>\n","type":"text/plain"},"key":"includeOptions","value":"disableSearchCache"},{"description":{"content":"<p>It adds an object with the reseller's emails to the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"emails"},{"description":{"content":"<p>Returns base addresses only.</p>\n","type":"text/plain"},"key":"includeOptions","value":"onlyBasicAddresses"},{"description":{"content":"<p>It adds an object with the dealer's telephone numbers to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"telephones"},{"description":{"content":"<p>It adds an object with the reseller's company data to the query's return. </p>\n<p> <strong>Observation</strong></p>\n<p> It only works if the reseller is a legal entity.</p>\n","type":"text/plain"},"key":"includeOptions","value":"companyData"},{"description":{"content":"<p>It adds an object with the dealer's credit information to the query return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"creditDate"},{"description":{"content":"<p>Adds an object with the reseller's credit tolerance information in the query return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"creditToleranceDate"},{"description":{"content":"<p>It adds an object with the dealer's personal references in the query return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"personalReferences"},{"description":{"content":"<p>It adds an object with the dealer's photos to the return of the consultation.</p>\n","type":"text/plain"},"key":"includeOptions","value":"sellerPictures"},{"description":{"content":"<p>Adds an object with dealer auto-reactivation information in the query return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"autoReactivationCheck"},{"description":{"content":"<p>It adds an object with the dealer's bank accounts to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"bankAccounts"},{"description":{"content":"<p>It adds an object with the reseller's aliases to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>In the return of the query, it adds an object with the dealer's photos, which are related to commercial and multilevel information.</p>\n","type":"text/plain"},"key":"includeOptions","value":"pictures"},{"description":{"content":"<p>It adds an object with variable fields from the reseller to the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"customFields"}],"variable":[{"id":"6a03d0dd-bf98-4af9-9f77-f0e16f3aaea7","description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Dealer Code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a37bcdfe-3ff0-4c16-8c48-16392730522c","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id?functionCode=<integer>&businessModelCode=<integer>&includeOptions=disableSearchCache&includeOptions=emails&includeOptions=onlyBasicAddresses&includeOptions=telephones&includeOptions=companyData&includeOptions=creditDate&includeOptions=creditToleranceDate&includeOptions=personalReferences&includeOptions=sellerPictures&includeOptions=autoReactivationCheck&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=pictures&includeOptions=customFields","host":["{{baseUrl}}"],"path":["api","sellers",":id"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n\n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"},{"key":"businessModelCode","value":"<integer>","description":"Dealer business rule code."},{"key":"includeOptions","value":"disableSearchCache","description":"Disable query cache."},{"key":"includeOptions","value":"emails","description":"It adds an object with the reseller&#39;s emails to the return of the query."},{"key":"includeOptions","value":"onlyBasicAddresses","description":"Returns base addresses only."},{"key":"includeOptions","value":"telephones","description":"It adds an object with the dealer&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"companyData","description":"It adds an object with the reseller&#39;s company data to the query&#39;s return. \n\n **Observation**\n\n It only works if the reseller is a legal entity."},{"key":"includeOptions","value":"creditDate","description":"It adds an object with the dealer&#39;s credit information to the query return."},{"key":"includeOptions","value":"creditToleranceDate","description":"Adds an object with the reseller&#39;s credit tolerance information in the query return."},{"key":"includeOptions","value":"personalReferences","description":"It adds an object with the dealer&#39;s personal references in the query return."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the dealer&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"autoReactivationCheck","description":"It adds an object with the dealer&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the dealer&#39;s bank accounts to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the reseller&#39;s aliases to the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"In the return of the query, it adds an object with the dealer&#39;s photos, which are related to commercial and multilevel information."},{"key":"includeOptions","value":"customFields","description":"It adds an object with variable fields from the reseller to the return of the query."}],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Dealer Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Person&#39;s code\",\n \"name\": \"Person&#39;s full name\",\n \"birthday\": \"Date of birth\",\n \"businessData\": {\n \"indicator\": {\n \"code\": \"Code of the person who referred the Reseller\",\n \"name\": \"Full name\",\n \"alias\": [//Alias list\n {\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary(\"Alias Types\")\n \"alias\": \"Alias\"\n }\n ],\n \"pictures\": [ //List of images\n {\n \"type\": {\n \"id\": \"Image type code\", //Possible values available in the Glossary(\"Image Types\")\n \"description\": \"Description of the type of Image\"\n },\n \"urlPicture\": \"Picture URL\"\n }\n ]\n },\n \"timeWorkingCycles\": \"Number of past campaigns\",\n \"currentCycle\": \"Current Campaign\",\n \"FirstOrderCycle\": \"First Order Campaign\",\n \"ceaseCycle\": \"Cease Campaign\",\n \"reactivatedCycle\": \"Reactivation Campaign\",\n \"inactiveCycles\": \"Number of campaigns where you were inactive\",\n \"allocationDate\": \"Allocation date\",\n \"blocked\": \"Indicates if it is blocked. (true/false)\",\n \"blockReason\": \"Block Reason Code\",\n \"commercialSituation\": \"Code of commercial situation\",\n \"timeWorking\": \"Time worked\",\n \"nextCycle\": \"Next Campaign\"\n },\n \"training\": {\n \"trainingSituation\": \"Training situation code\" // Possible values available in glossary (Training Situations)\n },\n \"registration\": {\n \"registrationDate\": \"Registration Date\",\n \"registrationSituation\": \"Registration Status\", // Possible values available in the glossary (Registration Status)\n \"registrationOrigin\": \"Registration Origin\", // Possible values available in the glossary (Types of Registration Origins)\n \"expiredData\": \"Indicates if the registration is expired (true/false)\",\n \"allowedDisclosureData\": \"Indicates whether the Reseller allows data sharing\"\n },\n \"multilevel\":\n {\n \"leader\": {\n \"code\": \"Code of the leader\",\n \"name\": \"Full name\",\n \"alias\": [//Alias list\n {\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary(\"Alias Types\")\n \"alias\": \"Alias\"\n }\n ],\n \"isCommercialStructureLeader\": \"Indicates if you are the leader of the Commercial Structure (true/false)\",\n \"pictures\": [ //List of images\n {\n \"type\": {\n \"id\": \"Image type code\", //Possible values available in the Glossary(\"Image Types\")\n \"description\": \"Image type description\"\n },\n \"urlPicture\": \"Picture URL\"\n }\n ]\n }\n },\n \"emails\": [//Email List\n {\n \"type\": \"Email Type Code\",//Possible values available in the Glossary(\"Email Types\")\n \"email\": \"Email address\",\n \"newsLetterAccepted\": \"Indicates whether or not to receive NewsLetter(true/false)\"\n }\n ],\n \"document\": [//List of Documents\n {\n \"type\": \"Document Type Code\", // Possible values in the Glossary (\"Document Types\")\n \"documentType\": { \n \"id\": \"Document Type Code\", // Possible Glossary Values (\"Document Types\")\n \"description\": \"Description\"\n },\n \"MainDocumentType\": { // It is only returned if the system parameter \"DocumentoPrincipalGenerico\" is enabled and the extra document information is a valid code. \n \"id\": \"Document Type Code\", // Possible Glossary Values (\"Document Types\")\n \"description\": \"Description\"\n },\n \"document\": \"Document data\",\n \"relevance\": \"Relevance (order) of the Document\"\n }\n ],\n \"commercialStructure\": {\n \"code\": \"Code of the commercial structure\",\n \"name\": \"Structure name\",\n \"parent\": {\n \"code\": \"Code of the top level business structure\",\n \"name\": \"Name of the top structure\"\n }\n },\n \"addresses\": [ // List of addresses. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \n {\n \"type\": \"Address Type Code\", //Possible values available in the Glossary (\"Address Types\")\n \"level0\": \"Description of address level 0\",\n \"level1\": \"Description of address level 1\",\n \"level2\": \"Description of address level 2\",\n \"level3\": \"Level 3 address description\",\n \"level4\": \"Level 4 address description\",\n \"level5\": \"Level 5 address description\",\n \"level6\": \"Level 6 address description\",\n \"level7\": \"Level 7 address description\",\n \"level8\": \"Level 8 address description\",\n \"level9\": \"Level 9 address description\",\n \"complement\": \"Address complement\",\n \"number\": \"Number\",\n \"zipCode\": \"zip code\",\n \"completeAddress\": \"Complete address assembled from level, complement, number and zip code information\",\n \"geographicalStructureCode\": \"Geographic Structure Code\",\n \"allowChangeOtherApplication\": \"Indicates whether it allows the address to be changed in applications other than LET\"\n }\n ],\n \"telephones\": [ // Phone List\n {\n \"type\": \"Phone Type Code\", // Possible values available in the Glossary (\"Phone Types\")\n \"telephone\": \"Phone Number\",\n \"newsLetterAccepted\": \"Code indicating whether or not to receive newsletter\" // Possible values available at (NewsLetter Authorization)\n }\n ],\n \"commercialInformation\": {\n \"roleCode\": \"Paper Code\",\n \"roleName\": \"Role Description\",\n \"roleStartCycle\": \"Role Start Validity Campaign\"\n },\n \"creditData\": {\n \"limit\": \"Credit limit\",\n \"allocatedToBill\": \"Credit to be billed\",\n \"allocatedToExpire\": \"Credit to expire\",\n \"allocatedOverdue\": \"Overdue credit\",\n \"availableBalance\": \"Available volume\"\n },\n \"creditToleranceData\": {\n \"Tolerance\": \"Credit tolerance\"\n },\n \"personalReferences\": [//List of References\n {\n \"name\": \"Person&#39;s Name\",\n \"document\": [ \n {\n \"document\": \"Document data\",\n \"type\": {\n \"id\": \"Document Type Code\", //Possible values available in the Glossary(\"Document Type\")\n \"description\": \"Document Type Description\"\n }\n }\n ]\n }\n ],\n \"sellerPictures\": [ // List of images\n {\n \"type\": {\n \"id\": \"Image type code\", //Possible values available in the Glossary(\"Image Types\")\n \"description\": \"Image type description\"\n },\n \"urlPicture\": \"Picture URL\"\n }\n ],\n \"gender\": \"Code of Registered gender\",//Possible values available in the Glossary(\"Person&#39;s Gender\")\n \"inDebit\": \"Indicates if there is a debit (true/false)\",\n \"personType\": {\n \"id\": \"Person Type Code\",//Possible values available in the Glossary(\"Person Type\")\n \"description\": \"Description of Person Type\"\n },\n \"autoReactivation\": {\n \"autoReactivationAllowed\": \"Indicates whether autoreactivation is allowed (true/false)\",\n \"message\": \"System message\"\n },\n \"bankAccounts\": [//List of Bank Accounts\n {\n \"informationNumber\": \"Bank Account Number (Order)\",\n \"bankName\": \"Bank Name\",\n \"bankCode\": \"Bank Code\",\n \"accountAgency\": \"Agency number\",\n \"accountNumber\": \"Account Number\",\n \"accountType\": \"Account Type\",//Possible values available in the Glossary(\"Bank Account Types\")\n \"defaultAccount\": \"Indicates if it is the preferred account (true/false)\",\n \"updatedDate\": \"Record update date and time\"\n }\n ],\n \"alias\": [//Alias list\n {\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary(\"Alias Types\")\n \"alias\": \"Alias\"\n }\n ],\n \"companyData\": {\n \"name\": \"Company Name\",\n \"trade\": \"Fancy Name\",\n \"businessRole\": {\n \"id\": \"Code of Type of Legal Entity\",//Possible values available in the Glossary(\"Types of Legal Entity\")\n \"description\": \"Description of the Type of Legal Entity\"\n },\n \"IcmsTaxPayer\": {\n \"id\": \"ID of the callsign about the person collecting ICMS or not\",\n \"description\": \"Description whether or not ICMS is collected\"\n },\n \"website\": \"Company website URL\",\n \"newsLetterAccepted\": \"Indicates whether or not to receive NewsLetter(true/false)\"\n },\n \"acceptTerms\": \"Indicates whether the Reseller has accepted the terms. (true/false)\",\n \"quantityCyclesWithoutOrdering\": \"Amount of campaigns without orders\",\n \"situation\": \"Code of business status of registration\",\n \"customFields\": [ //List of variable fields, registered by the customer\n {\n \"code\": \"Field registration code\",\n \"name\": \"Registered field name\",\n \"logicalName\": \"Logical name of the registered field\",\n \"description\": \"Description\",\n \"valuesType\": {\n \"id\": \"Code of the type of data the field receives\", //Possible values available in the Glossary(\"Types of Variable Field Values\")\n \"description\": \"Description of the type of data the field receives\"\n },\n \"values\": [//List of registered values for this field \n {\n \"value\": \"Value registered\"\n }\n ]\n }\n ]\n }"},{"id":"38061f1e-bc52-49ff-8e85-d2031a97d2cd","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id?functionCode=<integer>&businessModelCode=<integer>&includeOptions=disableSearchCache&includeOptions=emails&includeOptions=onlyBasicAddresses&includeOptions=telephones&includeOptions=companyData&includeOptions=creditDate&includeOptions=creditToleranceDate&includeOptions=personalReferences&includeOptions=sellerPictures&includeOptions=autoReactivationCheck&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=pictures&includeOptions=customFields","host":["{{baseUrl}}"],"path":["api","sellers",":id"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n\n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"},{"key":"businessModelCode","value":"<integer>","description":"Dealer business rule code."},{"key":"includeOptions","value":"disableSearchCache","description":"Disable query cache."},{"key":"includeOptions","value":"emails","description":"It adds an object with the reseller&#39;s emails to the return of the query."},{"key":"includeOptions","value":"onlyBasicAddresses","description":"Returns base addresses only."},{"key":"includeOptions","value":"telephones","description":"It adds an object with the dealer&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"companyData","description":"It adds an object with the reseller&#39;s company data to the query&#39;s return. \n\n **Observation**\n\n It only works if the reseller is a legal entity."},{"key":"includeOptions","value":"creditDate","description":"It adds an object with the dealer&#39;s credit information to the query return."},{"key":"includeOptions","value":"creditToleranceDate","description":"Adds an object with the reseller&#39;s credit tolerance information in the query return."},{"key":"includeOptions","value":"personalReferences","description":"It adds an object with the dealer&#39;s personal references in the query return."},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the dealer&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"autoReactivationCheck","description":"It adds an object with the dealer&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the dealer&#39;s bank accounts to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the reseller&#39;s aliases to the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"In the return of the query, it adds an object with the dealer&#39;s photos, which are related to commercial and multilevel information."},{"key":"includeOptions","value":"customFields","description":"It adds an object with variable fields from the reseller to the return of the query."}],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Dealer Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": 2981,\n \"name\": \"INNOVATION CORE 01\",\n \"birthday\": \"1965-08-25T00:00:00Z\",\n \"businessData\": {\n \"indicator\": {\n \"code\": 2743,\n \"name\": \"INNOVATION PROJECT 2\",\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"PROJETOINOVACAO2\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"INOVADEV\"\n }\n ],\n \"pictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[address_da_aplication)/Pages/Images/Fotos/[hash_da_foto].png\"\n }\n ]\n },\n \"timeWorkingCycles\": 0,\n \"currentCycle\": 2012,\n \"inactiveCycles\": 1,\n \"allocationDate\": \"2020-12-18T00:00:00Z\",\n \"blocked\": false,\n \"commercialSituation\": 1,\n \"timeWorking\": \"2 Months 8 Days\",\n \"nextCycle\": 202012\n },\n \"training\": {\n \"trainingSituation\": 1\n },\n \"registration\": {\n \"registrationDate\": \"2020-12-18T00:00:00Z\",\n \"registrationSituation\": 1,\n \"registrationOrigin\": 9,\n \"expiredData\": false, \n \"allowedDisclosureData\": true\n },\n \"multilevel\": {\n \"leader\": {\n \"code\": 2741,\n \"name\": \"INNOVATION PROJECT 1\",\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"PROJETOINOVACAO1\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"INNOVATION PROJECT 1\"\n }\n ],\n \"isCommercialStructureLeader\": false,\n \"pictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"http://[address_da_aplication)/Pages/Images/Fotos/[hash_da_foto].png\"\n }\n ]\n }\n },\n \"emails\": [\n {\n \"type\": 1,\n \"email\": \"RAYIWOR750@FEBEKS.COM\",\n \"newsLetterAccepted\": false\n }\n ],\n \"document\": [\n {\n \"type\": 1,\n \"documentType\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"MainDocumentType\": {\n \"id\": 1,\n \"description\": \"CNPJ\"\n },\n \"document\": \"367563452\",\n \"relevance\": 3\n },\n {\n \"type\": 2,\n \"documentType\": {\n \"id\": 2,\n \"description\": \"CPF\"\n },\n \"MainDocumentType\": {\n \"id\": 1,\n \"description\": \"CNPJ\"\n },\n \"document\": \"59653635409\",\n \"relevance\": 2\n },\n {\n \"type\": 5,\n \"documentType\": {\n \"id\": 5,\n \"description\": \"CNPJ\"\n },\n \"MainDocumentType\": {\n \"id\": 1,\n \"description\": \"CNPJ\"\n },\n \"document\": \"67686635000165\",\n \"relevance\": 1\n }\n ],\n \"commercialStructure\": {\n \"code\": 33,\n \"name\": \"Test Innovates\",\n \"parent\": {\n \"code\": 32,\n \"name\": \"Presentation\"\n }\n },\n \"addresses\": [\n {\n \"type\": 1,\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\",\n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"level5\": \"GARDENS CONDOMINIUM\",\n \"level6\": \"SESSION 8\",\n \"level7\": \"PAVILION 3\",\n \"level8\": \"BLOCK 5\", \n \"level9\": \"ORANGE BUILDING\",\n \"number\": \"109\",\n \"zipCode\": \"13185343\",\n \"completeAddress\": \"ORANGE BUILDING - BLOCK 5 - PAVILHAO 3 - SESSION 8- JARDINS CONDOMINIUM - JULIO CESAR DO NASCIMENTO 109 - JARDIM ADELAIDE - HORTOLÂNDIA - SP - BRAZIL - CEP: 13185-343\",\n \"geographicalStructureCode\": 541812,\n \"allowChangeOtherApplication\": true\n },\n {\n \"type\": 3,\n \"level0\": \"BRAZIL\",\n \"level1\": \"SP\",\n \"level2\": \"HORTOLAND\",\n \"level3\": \"ADELAIDE GARDEN\",\n \"level4\": \"RUA JULIO CESAR DO NASCIMENTO\",\n \"number\": \"109\",\n \"zipCode\": \"13185343\",\n \"completeAddress\": \"STREET JULIO CESAR DO NASCIMENTO 109 - JARDIM ADELAIDE - HORTOLÂNDIA - SP - BRAZIL - CEP: 13185-343\",\n \"geographicalStructureCode\": 541812,\n \"allowChangeOtherApplication\": true\n }\n ],\n \"telephones\": [\n {\n \"type\": 1,\n \"telephone\": \"1936457823\",\n \"smsAccepted\": false\n },\n {\n \"type\": 2,\n \"telephone\": \"19998128879\",\n \"smsAccepted\": true\n }\n ],\n \"commercialInformation\": {\n \"roleCode\": 11,\n \"roleName\": \"C1\"\n },\n \"creditData\": {\n \"limit\": 1000,\n \"allocatedToBill\": 0,\n \"allocatedToExpire\": 0,\n \"allocatedOverdue\": 0,\n \"availableBalance\": 1000\n },\n \"creditToleranceData\": {\n \"Tolerance\": 10.5\n },\n \"personalReferences\": [\n {\n \"name\": \"Person&#39;s Name\",\n \"document\": [\n {\n \"document\": \"51156115035\",\n \"type\": {\n \"id\": 1,\n \"description\": \"RG\"\n }\n }\n ]\n }\n ],\n \"sellerPictures\": [\n {\n \"type\": {\n \"id\": 1,\n \"description\": \"Avatar\"\n },\n \"urlPicture\": \"https://inovadevsgi.geravd.com.br/Paginas/Imagens/Fotos/bfa69aea829ee376819d89e145346ad2.png\"\n }\n ],\n \"gender\": 2,\n \"inDebit\": false,\n \"personType\": {\n \"id\": 1,\n \"description\": \"Individual\"\n },\n \"autoReactivation\": {\n \"autoReactivationAllowed\": false,\n \"message\": \"Reseller not terminated.\"\n },\n \"bankAccounts\": [\n {\n \"informationNumber\": 1,\n \"bankName\": \"Santander Banespa\",\n \"bankCode\": 33, \n \"accountAgency\": \"1234\",\n \"accountNumber\": \"7093-0\",\n \"accountType\": 1,\n \"defaultAccount\": true,\n \"updatedDate\": \"2020-12-10T12:42:36.433Z\"\n }\n ],\n \"by the way\": [\n {\n \"typeId\": 1,\n \"alias\": \"inovacaocore01\"\n },\n {\n \"typeId\": 2,\n \"alias\": \"INNOVATION CORE 01\"\n }\n ],\n \"companyData\": {\n \"name\": \"1810008142 COMPANY ADRIANO\",\n \"trade\": \"1810008142 COMPANY ADRIANO\",\n \"businessRole\": {\n \"id\": 1,\n \"description\": \"Distribution channel\"\n },\n \"site\": \"HTTPS://WWW.TESTE.COM.BR\",\n \"authorizeNewsletter\": true\n },\n \"acceptTerms\": true,\n \"quantityCyclesWithoutOrdering\": 1,\n \"situation\": 1,\n \"customFields\": [\n {\n \"code\": 21,\n \"name\": \"Test1\",\n \"logicalName\": \"Test1\",\n \"description\": \"Test1\",\n \"valuesType\": {\n \"id\": 1,\n \"description\": \"Text\"\n },\n \"values\": [\n {\n \"value\": \"Value Registered\"\n }\n ]\n } \n ]\n }"}],"_postman_id":"31bb5c1c-4e86-49c5-ba16-15f0edaa77de"},{"name":"Update corporate reseller","id":"9ddfdc17-f7f7-447a-b55f-73db2348bc64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"<p>Name of the legal entity reseller.</p>\n","type":"text"},{"key":"trade","value":"<string>","description":"<p>Company name.</p>\n","type":"text"},{"key":"businessRoleType","value":"<integer>","description":"<p>Business function code. <a href=\"#84278526-03e4-4758-8a1e-d81cbba3e0fd\">Commercial functions of individuals and legal entities</a>.</p>\n","type":"text"},{"key":"icmsTaxPayer","value":"<boolean>","description":"<p>Indicates whether the corporate reseller collects ICMS.</p>\n","type":"text"},{"key":"Web site","value":"<string>","description":"<p>Website address of the corporate reseller.</p>\n","type":"text"},{"key":"newsLetterAccepted","value":"<boolean>","description":"<p>Indicates if you accept to receive newsletter.</p>\n","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"<p>Data Disclosure Acceptance. This parameter is used by other APIs. </p>\n<p> Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.</p>\n","type":"text"},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"<p>Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller.</p>\n","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"<p>Acceptance of the terms referring to the contract registered in <strong>Let</strong>.</p>\n","type":"text"},{"key":"externalCode","value":"<string>","description":"<p>External code (used for external integrations).</p>\n","type":"text"},{"key":"telephones","value":"[{\"type\":{\"id\":\"<integer>\"\"description\":\"<string>\"},\"telephone\":\"<string>\"\"smsAccepted\":\"<boolean>\"}]","description":"<p>Legal entity dealer phone numbers. </p>\n<p> -<code>type</code>: Phone type. \n -<code>id</code>: Phone type code. <a href=\"#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3\">Phone types</a>. </p>\n<p> -<code>telephone</code>: Company telephone number;</p>\n<p> -<code>smsAccepted</code>: Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n","type":"text"},{"key":"emails","value":"[{\"type\":{\"id\":\"<integer>\"},\"email\":\"<string>\"}]","description":"<p>Legal entity reseller emails. </p>\n<p> -<code>type</code>: Type of email to be registered. \n -<code>id</code>: Email type code. <a href=\"#b6db0892-d243-4c6a-ac37-008dca199023\">Email types</a>. </p>\n<p> -<code>email</code>: Email to be registered;</p>\n","type":"text"},{"key":"addresses","value":"[{\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\",\"level10\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":{\"id\":\"<integer>\"},\"removeAddress\":\"<boolean>\",\"isDeliveryAddress\":\"<boolean>\",\"allowNeigDeliverToNeighbor\":\"<boolean>\"}]","description":"<p>Legal entity reseller addresses. </p>\n<p> Filling in the levels depends on the type of <strong>Let</strong> installation. You can query the structure levels through an <a href=\"#62032556-68a4-4c51-ae48-abe7fd95897d\">API</a> and/or the <a href=\"#32a377c4-0a76-49d3-a1f1-0dbcad48abe7\">table</a> in the glossary. </p>\n<p> -<code>level1</code>: Name of the geographic structure that refers to the first level of the address;</p>\n<p> -<code>level2</code>: Name of the geographic structure that refers to the second level of the address;</p>\n<p> -<code>level3</code>: Name of the geographic structure that refers to the third level of the address;</p>\n<p> -<code>level4</code>: Name of the geographic structure that refers to the fourth level of the address;</p>\n<p> -<code>level5</code>: Name of the geographic structure that refers to the fifth level of the address;</p>\n<p> -<code>level6</code>: Name of the geographic structure that refers to the sixth level of the address;</p>\n<p> -<code>level7</code>: Name of the geographic structure that refers to the seventh level of the address;</p>\n<p> -<code>level8</code>: Name of the geographic structure that refers to the eighth level of the address;</p>\n<p> -<code>level9</code>: Name of the geographic structure that refers to the ninth level of the address; </p>\n<p> -<code>level10</code>: Name of the geographic structure that refers to the tenth level of the address;</p>\n<p> -<code>complement</code>: Complement of the address;</p>\n<p> -<code>number</code>: Address number;</p>\n<p> -<code>reference</code>: Address reference;</p>\n<p> -<code>name</code>: Last name of the address;</p>\n<p> -<code>geographicStructureCode</code>: Code of the geographic structure of the address;</p>\n<p> -<code>zipCode</code>: Zip code number of the address;</p>\n<p> -<code>type</code>: Type of address. \n -<code>id</code>: Address type code. <a href=\"#e9e9d22a-1fcc-457e-9605-f6c8a11f396b\">Address Types</a>. </p>\n<p> -<code>removeAddress</code>: Indicates if the address will be removed;</p>\n<p> -<code>isDeliveryAddress</code>: indicates if the address can receive orders;</p>\n<p> -<code>allowNeigDeliverToNeighbor</code>: Indicates whether at this address, the option to deliver to neighbor is enabled.</p>\n","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"}]","description":"<p>Corporate reseller bank accounts. </p>\n<p> -<code>informationNumber</code>: Incremental number of records referring to bank accounts to be registered;</p>\n<p> -<code>bankCode</code>: Bank code. <a href=\"#c3ca5c4d-db07-4080-8477-3dfa868f8309\">Consult bank codes</a>;</p>\n<p> -<code>accountAgency</code>: Account Agency:</p>\n<p> -<code>accountNumber</code>: Bank account number;</p>\n<p> -<code>accountType</code>: Type of bank account. <a href=\"#d1720dc2-9bb5-4b7f-a077-1af6518fb91c\">Types of bank accounts</a>;</p>\n<p> -<code>defaultAccount</code>: Identifies the account as primary. This parameter is used for cases where the person's registration has more than one associated account;</p>\n<p> -<code>updatedDate</code>: Last update date; (1990-12-31T00:00:00.000Z)</p>\n<p> -<code>removeBankAccount</code>: Indicates whether the account will be removed.</p>\n","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":{\"id\":\"<integer>\"}}]","description":"<p>Identification documents of the person. </p>\n<p> -<code>document</code>: Document of the person;</p>\n<p> -<code>type</code>: Document type;\n -<code>id</code>: Document type code. <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a>.</p>\n","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"<p>Legal entity reseller's nickname. </p>\n<p> -<code>typeId</code>: Alias type. <a href=\"#12fa8659-d78c-4c2e-a60f-0367b7d64d74\">Alias Types</a>;</p>\n<p> -<code>alias</code>: Description of the alias. </p>\n<p> <strong>Note</strong>: For Alias of type <code>1 - WebStore</code>, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.</p>\n","type":"text"},{"key":"contacts","value":"[{\"number\":\"<integer>\",\"name\":\"<string>\",\"area\":\"<string>\"\"telephone\":\"<string>\",\"branch\":\"<string>\"\"faxNumber\":\"<string>\"\"cellPhone\":\"<string>\",\"email\":\"<string>\",\"removeContact\":\"<boolean>\"}]","description":"<p>Company contacts. </p>\n<p> -<code>number</code>: Contact number;</p>\n<p> -<code>name</code>: Name of the contact;</p>\n<p> -<code>telephone</code>: Phone of the contact;</p>\n<p> -<code>branch</code>: Extension of the contact;</p>\n<p> -<code>faxNumber</code>: Contact's fax number;</p>\n<p> -<code>cellPhone</code>: The contact's cell phone;</p>\n<p> -<code>email</code>: Contact email;</p>\n<p> -<code>removeContact</code>: Indicates whether this contact will be removed.</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/sellerCompany/:id?id=<integer>&personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","urlObject":{"path":["api","sellerCompany",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Legal entity reseller code.</p>\n","type":"text/plain"},"key":"id","value":"<integer>"},{"description":{"content":"<p>Corporate reseller role code. </p>\n<p> Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. </p>\n<p> <a href=\"#84278526-03e4-4758-8a1e-d81cbba3e0fd\">Functions of an individual/legal entity</a></p>\n","type":"text/plain"},"key":"personFunction","value":"<integer>"},{"description":{"content":"<p>Business rule code of the corporate reseller. </p>\n<p> Optional field, but necessary when sending the <code>applicationCode</code> parameter</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p>Application code. </p>\n<p> Optional field, but necessary when sending the <code>businessModelCode</code> parameter.</p>\n","type":"text/plain"},"key":"applicationCode","value":"<byte>"},{"description":{"content":"<p>Corporate reseller distribution center code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p>Current sales cycle code. (202009)</p>\n<p> This parameter must be used together with the <code>distributionCenterCode</code> parameter. If sent, it will be validated if the system parameter <code>LimitarAddressEndrega</code> must limit delivery addresses only served by the dispatched distribution center.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Dealer Code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"1f499252-814f-49ef-90da-bdfbe212b5a1","name":"Parameter Details","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Name of the legal entity reseller.","type":"text"},{"key":"trade","value":"<string>","description":"Company name.","type":"text"},{"key":"businessRoleType","value":"<integer>","description":"Business function code. [Commercial functions of individuals and legal entities](#84278526-03e4-4758-8a1e-d81cbba3e0fd).","type":"text"},{"key":"icmsTaxPayer","value":"<boolean>","description":"Indicates whether the corporate reseller collects ICMS.","type":"text"},{"key":"Web site","value":"<string>","description":"Website address of the corporate reseller.","type":"text"},{"key":"newsLetterAccepted","value":"<boolean>","description":"Indicates if you accept to receive newsletter.","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.","type":"text"},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller.","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**.","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"},{"key":"telephones","value":"[{\"type\":{\"id\":\"<integer>\"\"description\":\"<string>\"},\"telephone\":\"<string>\"\"smsAccepted\":\"<boolean>\"}]","description":"Legal entity dealer phone numbers. \n\n -`type`: Phone type. \n -`id`: Phone type code. [Phone types](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3). \n\n -`telephone`: Company telephone number;\n\n -`smsAccepted`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"emails","value":"[{\"type\":{\"id\":\"<integer>\"},\"email\":\"<string>\"}]","description":"Legal entity reseller emails. \n\n -`type`: Type of email to be registered. \n -`id`: Email type code. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023). \n\n -`email`: Email to be registered;","type":"text"},{"key":"addresses","value":"[{\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\",\"level10\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":{\"id\":\"<integer>\"},\"removeAddress\":\"<boolean>\",\"isDeliveryAddress\":\"<boolean>\",\"allowNeigDeliverToNeighbor\":\"<boolean>\"}]","description":"Legal entity reseller addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`level1`: Name of the geographic structure that refers to the first level of the address;\n\n -`level2`: Name of the geographic structure that refers to the second level of the address;\n\n -`level3`: Name of the geographic structure that refers to the third level of the address;\n\n -`level4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`level5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`level6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`level7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`level8`: Name of the geographic structure that refers to the eighth level of the address;\n\n -`level9`: Name of the geographic structure that refers to the ninth level of the address; \n\n -`level10`: Name of the geographic structure that refers to the tenth level of the address;\n\n -`complement`: Complement of the address;\n\n -`number`: Address number;\n\n -`reference`: Address reference;\n\n -`name`: Last name of the address;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n -`type`: Type of address. \n -`id`: Address type code. [Address Types](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b). \n\n -`removeAddress`: Indicates if the address will be removed;\n\n -`isDeliveryAddress`: indicates if the address can receive orders;\n\n -`allowNeigDeliverToNeighbor`: Indicates whether at this address, the option to deliver to neighbor is enabled.","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"}]","description":"Corporate reseller bank accounts. \n\n -`informationNumber`: Incremental number of records referring to bank accounts to be registered;\n\n -`bankCode`: Bank code. [Consult bank codes](#c3ca5c4d-db07-4080-8477-3dfa868f8309);\n\n -`accountAgency`: Account Agency:\n\n -`accountNumber`: Bank account number;\n\n -`accountType`: Type of bank account. [Types of bank accounts](#d1720dc2-9bb5-4b7f-a077-1af6518fb91c);\n\n -`defaultAccount`: Identifies the account as primary. This parameter is used for cases where the person&#39;s registration has more than one associated account;\n\n -`updatedDate`: Last update date; (1990-12-31T00:00:00.000Z)\n\n -`removeBankAccount`: Indicates whether the account will be removed.","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":{\"id\":\"<integer>\"}}]","description":"Identification documents of the person. \n\n -`document`: Document of the person;\n\n -`type`: Document type;\n -`id`: Document type code. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4).","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"Legal entity reseller&#39;s nickname. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.","type":"text"},{"key":"contacts","value":"[{\"number\":\"<integer>\",\"name\":\"<string>\",\"area\":\"<string>\"\"telephone\":\"<string>\",\"branch\":\"<string>\"\"faxNumber\":\"<string>\"\"cellPhone\":\"<string>\",\"email\":\"<string>\",\"removeContact\":\"<boolean>\"}]","description":"Company contacts. \n\n -`number`: Contact number;\n\n -`name`: Name of the contact;\n\n -`telephone`: Phone of the contact;\n\n -`branch`: Extension of the contact;\n\n -`faxNumber`: Contact&#39;s fax number;\n\n -`cellPhone`: The contact&#39;s cell phone;\n\n -`email`: Contact email;\n\n -`removeContact`: Indicates whether this contact will be removed.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/sellerCompany/:id?id=<integer>&personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","sellerCompany",":id"],"query":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Legal entity reseller code."},{"key":"personFunction","value":"<integer>","description":"Corporate reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n\n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"},{"key":"businessModelCode","value":"<integer>","description":"Business rule code of the corporate reseller. \n\n Optional field, but necessary when sending the `applicationCode` parameter"},{"key":"applicationCode","value":"<byte>","description":"Application code. \n\n Optional field, but necessary when sending the `businessModelCode` parameter."},{"key":"distributionCenterCode","value":"<integer>","description":"Corporate reseller distribution center code."},{"key":"cycle","value":"<integer>","description":"Current sales cycle code. (202009)\n\n This parameter must be used together with the `distributionCenterCode` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` must limit delivery addresses only served by the dispatched distribution center."}],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Dealer Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Reseller code\",\r\n \"name\": \"Reseller&#39;s Corporate Name\",\r\n \"FixedDistributionCenterCode\": \"Distribution Center Code\",\r\n \"peoplePictures\": [//Picture List\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\", //Possible values available in the Glossary(\"Image Types\")\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ],\r\n \"functions\": [ //List of functions\r\n {\r\n \"code\": \"Function code\",\r\n \"name\": \"Function description\",\r\n \"beginDate\": \"Valid start date of this function for the reseller\",\r\n \"endDate\": \"End date of validity of this function for the reseller\",\r\n \"information\": \"Notes on role registration\",\r\n \"status\": {\r\n \"id\": \"Function registration status code\", // Possible values in the Glossary(\"Function Situations\")\r\n \"description\": \"Description of role registration status\"\r\n }\r\n }\r\n ],\r\n \"addresses\": [ //Address list. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n {\r\n \"addressType\": {\r\n \"id\": \"Address type code\",//Possible values available in the Glossary(\"Person&#39;s Address\")\r\n \"description\": \"Description of address type\"\r\n },\r\n \"level0\": \"Description of address level 0\",\r\n \"level1\": \"Description of address level 1\",\r\n \"level2\": \"Description of address level 2\",\r\n \"level3\": \"Level 3 address description\",\r\n \"level4\": \"Level 4 address description\",\r\n \"level5\": \"Level 5 address description\",\r\n \"level6\": \"Level 6 address description\",\r\n \"level7\": \"Level 7 address description\",\r\n \"level8\": \"Level 8 address description\",\r\n \"level9\": \"Level 9 address description\", \r\n \"complement\": \"Address complement\",\r\n \"number\": \"Number\",\r\n \"zipCode\": \"zip code\",\r\n \"reference\": \"Reference point\",\r\n \"name\": \"Surname of address registration\",\r\n \"geographicalStructureCode\": \"Geographical Structure Code\"\r\n }\r\n ],\r\n \"bankAccounts\": [ //Bank account list\r\n {\r\n \"informationNumber\": \"Bank Account Number (Order)\",\r\n \"bankName\": \"Bank Name\",\r\n \"bankCode\": \"Bank Code\",\r\n \"accountAgency\": \"Agency number\",\r\n \"accountNumber\": \"Account Number\",\r\n \"accountType\": \"Account Type\",//Possible values available in the Glossary(\"Bank Account Types\") \r\n \"defaultAccount\": \"Indicates if it is the preferred account (true/false)\",\r\n \"updatedDate\": \"Record update date and time\"\r\n }\r\n ],\r\n \"personType\": {\r\n \"id\": \"Person Type Code\",//Possible values available in the Glossary(\"Person Type\")\r\n \"description\": \"Description of Person Type\"\r\n },\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": \"Code that indicates whether or not to allow the disclosure of records (0 - No, 1 - Yes)\",\r\n \"description\": \"Permission description\"\r\n },\r\n \"BusinessData\": {\r\n \"code\": \"Code of the person who referred the Reseller\",\r\n \"name\": \"Full name\"\r\n },\r\n \"companyData\": {\r\n \"name\": \"Company Name\",\r\n \"trade\": \"Fancy Name\",\r\n \"businessRole\": {\r\n \"id\": \"Code of Type of Legal Entity\",//Possible values available in the Glossary(\"Types of Legal Entity\")\r\n \"description\": \"Description of the Type of Legal Entity\"\r\n },\r\n \"icmsTaxPayer\": {\r\n \"id\": \"ID of the callsign about the person collecting ICMS or not\",\r\n \"description\": \"Description whether or not ICMS is collected\"\r\n },\r\n \"website\": \"Company website URL\",\r\n \"authorizeNewsletter\": \"Indicates whether or not to receive NewsLetter(true/false)\",\r\n \"externalCode\": \"C158DF\"\r\n },\r\n \"alias\": [//Alias list\r\n {\r\n \"typeId\": \"Alias type code\", //Possible values available in the Glossary(\"Alias Types\")\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"telephones\": [//Phone List\r\n {\r\n \"type\": {\r\n \"id\": \"Phone Type Code\",//Possible values available in the Glossary(\"Phone Types\")\r\n \"description\": \"Phone Type Description\"\r\n },\r\n \"telephone\": \"Phone Number\",\r\n \"newsLetterAccepted\": \"Code that indicates whether or not you accept to receive newsletter \"//Possible values available at (NewsLetter Authorization)\r\n }\r\n ],\r\n \"emails\": [//Email List\r\n {\r\n \"type\": {\r\n \"id\": \"Email Type Code\",//Possible values available in the Glossary(\"Email Types\")\r\n \"description\": \"Description of Email Type\"\r\n },\r\n \"email\": \"Email address\",\r\n \"newsLetterAccepted\": \"Indicates whether or not to receive NewsLetter(true/false)\"\r\n }\r\n ],\r\n \"documents\": [//List of Documents\r\n {\r\n \"document\": \"Document data\",\r\n \"type\": {\r\n \"id\": \"Document Type Code\",//Possible values available in the Glossary(\"Document Types\")\r\n \"description\": \"Description\"\r\n }\r\n }\r\n ],\r\n \"contacts\": [ //Contacts list\r\n {\r\n \"number\": \"Number (Order) of registered contact\",\r\n \"name\": \"Full Name\",\r\n \"area\": \"Area\",\r\n \"telephone\": \"Phone number\",\r\n \"branch\": \"Extension\",\r\n \"faxNumber\": \"Fax Number\",\r\n \"cellPhone\": \"Cell Number\",\r\n \"email\": \"Email address\"\r\n }\r\n ]\r\n }"},{"id":"b880ac04-c560-4a52-b754-910018f215ef","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Name of the legal entity reseller.","type":"text"},{"key":"trade","value":"<string>","description":"Company name.","type":"text"},{"key":"businessRoleType","value":"<integer>","description":"Business function code. [Commercial functions of individuals and legal entities](#84278526-03e4-4758-8a1e-d81cbba3e0fd).","type":"text"},{"key":"icmsTaxPayer","value":"<boolean>","description":"Indicates whether the corporate reseller collects ICMS.","type":"text"},{"key":"Web site","value":"<string>","description":"Website address of the corporate reseller.","type":"text"},{"key":"newsLetterAccepted","value":"<boolean>","description":"Indicates if you accept to receive newsletter.","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n\n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.","type":"text"},{"key":"commercialStructureIndicatorCode","value":"<integer>","description":"Code of the commercial structure of the referrer - person responsible for the acquisition of a new customer or employee - of the reseller.","type":"text"},{"key":"acceptTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**.","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"},{"key":"telephones","value":"[{\"type\":{\"id\":\"<integer>\"\"description\":\"<string>\"},\"telephone\":\"<string>\"\"smsAccepted\":\"<boolean>\"}]","description":"Legal entity dealer phone numbers. \n\n -`type`: Phone type. \n -`id`: Phone type code. [Phone types](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3). \n\n -`telephone`: Company telephone number;\n\n -`smsAccepted`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"emails","value":"[{\"type\":{\"id\":\"<integer>\"},\"email\":\"<string>\"}]","description":"Legal entity reseller emails. \n\n -`type`: Type of email to be registered. \n -`id`: Email type code. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023). \n\n -`email`: Email to be registered;","type":"text"},{"key":"addresses","value":"[{\"level1\":\"<string>\",\"level2\":\"<string>\",\"level3\":\"<string>\",\"level4\":\"<string>\",\"level5\":\"<string>\"\"level6\":\"<string>\"\"level7\":\"<string>\"\"level8\":\"<string>\",\"level9\":\"<string>\",\"level10\":\"<string>\"\"complement\":\"<string>\",\"number\":\"<string>\"\"reference\":\"<string>\",\"name\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"ZIP code\":\"<string>\",\"type\":{\"id\":\"<integer>\"},\"removeAddress\":\"<boolean>\",\"isDeliveryAddress\":\"<boolean>\",\"allowNeigDeliverToNeighbor\":\"<boolean>\"}]","description":"Legal entity reseller addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`level1`: Name of the geographic structure that refers to the first level of the address;\n\n -`level2`: Name of the geographic structure that refers to the second level of the address;\n\n -`level3`: Name of the geographic structure that refers to the third level of the address;\n\n -`level4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`level5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`level6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`level7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`level8`: Name of the geographic structure that refers to the eighth level of the address;\n\n -`level9`: Name of the geographic structure that refers to the ninth level of the address; \n\n -`level10`: Name of the geographic structure that refers to the tenth level of the address;\n\n -`complement`: Complement of the address;\n\n -`number`: Address number;\n\n -`reference`: Address reference;\n\n -`name`: Last name of the address;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n -`type`: Type of address. \n -`id`: Address type code. [Address Types](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b). \n\n -`removeAddress`: Indicates if the address will be removed;\n\n -`isDeliveryAddress`: indicates if the address can receive orders;\n\n -`allowNeigDeliverToNeighbor`: Indicates whether at this address, the option to deliver to neighbor is enabled.","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<integer>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"updatedDate\":\"<dateTime>\",\"removeBankAccount\":\"<boolean>\"}]","description":"Corporate reseller bank accounts. \n\n -`informationNumber`: Incremental number of records referring to bank accounts to be registered;\n\n -`bankCode`: Bank code. [Consult bank codes](#c3ca5c4d-db07-4080-8477-3dfa868f8309);\n\n -`accountAgency`: Account Agency:\n\n -`accountNumber`: Bank account number;\n\n -`accountType`: Type of bank account. [Types of bank accounts](#d1720dc2-9bb5-4b7f-a077-1af6518fb91c);\n\n -`defaultAccount`: Identifies the account as primary. This parameter is used for cases where the person&#39;s registration has more than one associated account;\n\n -`updatedDate`: Last update date; (1990-12-31T00:00:00.000Z)\n\n -`removeBankAccount`: Indicates whether the account will be removed.","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":{\"id\":\"<integer>\"}}]","description":"Identification documents of the person. \n\n -`document`: Document of the person;\n\n -`type`: Document type;\n -`id`: Document type code. [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4).","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<integer>\",\"by the way\":\"<string>\"}]","description":"Legal entity reseller&#39;s nickname. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.","type":"text"},{"key":"contacts","value":"[{\"number\":\"<integer>\",\"name\":\"<string>\",\"area\":\"<string>\"\"telephone\":\"<string>\",\"branch\":\"<string>\"\"faxNumber\":\"<string>\"\"cellPhone\":\"<string>\",\"email\":\"<string>\",\"removeContact\":\"<boolean>\"}]","description":"Company contacts. \n\n -`number`: Contact number;\n\n -`name`: Name of the contact;\n\n -`telephone`: Phone of the contact;\n\n -`branch`: Extension of the contact;\n\n -`faxNumber`: Contact&#39;s fax number;\n\n -`cellPhone`: The contact&#39;s cell phone;\n\n -`email`: Contact email;\n\n -`removeContact`: Indicates whether this contact will be removed.","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/sellerCompany/:id?id=<integer>&personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","sellerCompany",":id"],"query":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Legal entity reseller code."},{"key":"personFunction","value":"<integer>","description":"Corporate reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n\n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"},{"key":"businessModelCode","value":"<integer>","description":"Business rule code of the corporate reseller. \n\n Optional field, but necessary when sending the `applicationCode` parameter"},{"key":"applicationCode","value":"<byte>","description":"Application code. \n\n Optional field, but necessary when sending the `businessModelCode` parameter."},{"key":"distributionCenterCode","value":"<integer>","description":"Corporate reseller distribution center code."},{"key":"cycle","value":"<integer>","description":"Current sales cycle code. (202009)\n\n This parameter must be used together with the `distributionCenterCode` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` must limit delivery addresses only served by the dispatched distribution center."}],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Dealer Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 2753,\r\n \"name\": \"TESTE CRISTINA MORAES CA\",\r\n \"FixedDistributionCenterCode\": 5,\r\n \"peoplePictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ],\r\n \"functions\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Consultant\",\r\n \"beginDate\": \"2021-03-04T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\" \r\n }\r\n },\r\n {\r\n \"code\": 9,\r\n \"name\": \"End Consumer\",\r\n \"beginDate\": \"2020-10-14T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n }\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"addressType\": {\r\n \"id\": 2,\r\n \"description\": \"Commercial\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"CENTER\",\r\n \"level4\": \"RUA DA QUTANDA\",\r\n \"level5\": \"GARDENS CONDOMINIUM\",\r\n \"level6\": \"SESSION 8\",\r\n \"level7\": \"PAVILION 3\",\r\n \"level8\": \"BLOCK 5\",\r\n \"level9\": \"ORANGE BUILDING\",\r\n \"number\": \"887\",\r\n \"complement\" : \"Ap 21\",\r\n \"reference\": \"Near the grocery store\",\r\n \"name\": \"My Address 1\",\r\n \"zipCode\": \"01012010\",\r\n \"geographicalStructureCode\": 629827\r\n },\r\n {\r\n \"addressType\": {\r\n \"id\": 5,\r\n \"description\": \"Billing\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"CENTER\",\r\n \"level4\": \"RUA DA QUTANDA\",\r\n \"level5\": \"GARDENS CONDOMINIUM\",\r\n \"level6\": \"SESSION 8\",\r\n \"level7\": \"PAVILION 3\",\r\n \"level8\": \"BLOCK 5\",\r\n \"level9\": \"ORANGE BUILDING\",\r\n \"number\": \"486\",\r\n \"complement\" : \"Ap 21\",\r\n \"reference\": \"Near the grocery store\",\r\n \"name\": \"My Address 2\",\r\n \"zipCode\": \"01012010\",\r\n \"geographicalStructureCode\": 629827\r\n },\r\n {\r\n \"addressType\": {\r\n \"id\": 6,\r\n \"description\": \"Charging\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\", \r\n \"level3\": \"CENTER\",\r\n \"level4\": \"RUA DA QUTANDA\",\r\n \"level5\": \"GARDENS CONDOMINIUM\",\r\n \"level6\": \"SESSION 8\",\r\n \"level7\": \"PAVILION 3\",\r\n \"level8\": \"BLOCK 5\",\r\n \"level9\": \"ORANGE BUILDING\",\r\n \"number\": \"486358\",\r\n \"complement\" : \"Ap 21\",\r\n \"reference\": \"Near the grocery store\",\r\n \"name\": \"My Address 3\",\r\n \"zipCode\": \"01012010\",\r\n \"geographicalStructureCode\": 629827\r\n }\r\n ],\r\n \"bankAccounts\": [\r\n {\r\n \"informationNumber\": 1,\r\n \"bankName\": \"Banco do Brasil\",\r\n \"bankCode\": 1,\r\n \"accountAgency\": \"1586\",\r\n \"accountNumber\": \"988562\",\r\n \"accountType\": 2,\r\n \"defaultAccount\": true,\r\n \"updatedDate\": \"2021-03-04T09:54:02.227Z\"\r\n }\r\n ],\r\n \"personType\": {\r\n \"id\": 2,\r\n \"description\": \"Legal person\"\r\n },\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"BusinessData\": {\r\n \"Code\": 215,\r\n \"Name\": \"Person 215\"\r\n },\r\n \"companyData\": {\r\n \"name\": \"CRISTINA MORAES\",\r\n \"trade\": \"TESTE CRISTINA MORAES CA\",\r\n \"businessRole\": {\r\n \"id\": 5,\r\n \"description\": \"Retailer\"\r\n },\r\n \"icmsTaxPayer\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"site\": \"SITEDELA.COM.BR\",\r\n \"authorizeNewsletter\": true,\r\n \"externalCode\": \"C158DF\"\r\n },\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"aliascadastro2753\"\r\n }\r\n ],\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Commercial\"\r\n },\r\n \"telephone\": \"1976982001\", \r\n \"smsAccepted\": false\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Commercial\"\r\n },\r\n \"email\": \"MARTAMARTINS78276897@MAILINATOR.COM\",\r\n \"newsLetterAccepted\": true\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"document\": \"04031806000602\",\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"CNPJ\"\r\n }\r\n },\r\n {\r\n \"document\": \"EXEMPT\",\r\n \"type\": {\r\n \"id\": 6, \r\n \"description\": \"State Registration\"\r\n }\r\n }\r\n ],\r\n \"contacts\": [\r\n {\r\n \"number\": 1,\r\n \"name\": \"CATHY MARTINS\",\r\n \"area\": \"Sales\",\r\n \"telephone\": \"1174850028\",\r\n \"branch\": \"3\",\r\n \"faxNumber\": \"1135699985\",\r\n \"cellPhone\": \"11998575569\",\r\n \"email\": \"STACEYREIS73160047@MAILINATOR.COM\"\r\n }\r\n ]\r\n }"}],"_postman_id":"9ddfdc17-f7f7-447a-b55f-73db2348bc64"},{"name":"Reactivate reseller","id":"4cd767c0-300a-40fa-886e-5e4d1d147c46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{baseUrl}}/api/sellers/:id/autoReactivate","description":"<p>This call is used to reactivate a reseller.</p>\n","urlObject":{"path":["api","sellers",":id","autoReactivate"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"f4afc4c2-98a3-44db-97d9-01f2f13d6ed7","description":{"content":"<p>Dealer Code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"b1e2ba07-a506-447a-859d-044fab18ca05","name":"OK","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/:id/autoReactivate","host":["{{baseUrl}}"],"path":["api","sellers",":id","autoReactivate"],"variable":[{"key":"id","value":"<integer>","description":"Dealer Code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4cd767c0-300a-40fa-886e-5e4d1d147c46"}],"id":"350f218b-9249-4482-b329-85af586445b1","description":"<p>EndPoint for registering Individuals and Legal Persons with the Reseller role. </p>\n<h2 id=\"dealer-concept\">Dealer Concept</h2>\n<p> Reseller is that individual or legal entity that buys and sells goods or services to generate revenue from sales transactions. </p>\n<p> <strong>Heads up</strong></p>\n<p> There are some settings dependent on the installation of the environment - for example the mandatory documents. To check any pending registration that may be caused by some configuration, it is necessary to consult the APIs of [Registration pending] (#9020513e-de06-4a17-b6f1-413005341970).</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d3e71d68-6b41-4cb8-acab-e1bf661a6e04"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"bb4bdc49-1a5e-49ea-86bf-6ae48c847803"}}],"_postman_id":"350f218b-9249-4482-b329-85af586445b1"},{"name":"collaborator","item":[{"name":"Register collaborator","id":"746cbad5-db19-4a6d-9708-f402bc0f91fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"peopleEstablishmentCode","value":"<integer>","description":"<p>Code of the company to which the employee belongs.</p>\n"},{"key":"admission date","value":"<dateTime>","description":"<p>Date the employee was admitted to the company. (2020-12-11T13:20:50.45Z)</p>\n"},{"key":"resignationDate","value":"<dateTime>","description":"<p>Date on which the employee left the company. (2020-12-11T13:20:50.45Z)</p>\n"}]},"url":"{{baseUrl}}/api/people/:id/employee","description":"<p>This call is used to register a person with the collaborator role. </p>\n<p> After creating a new registration, the access password will be sent to the registered person's email.</p>\n","urlObject":{"path":["api","people",":id","employee"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"8d9ce360-7073-4e91-ac0e-ad0b4ff1f798","description":{"content":"<p>Employee identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"ba2de90b-48f9-43b7-a198-35027b79c37f","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"peopleEstablishmentCode","value":"<integer>","description":"Code of the company to which the employee belongs."},{"key":"admission date","value":"<dateTime>","description":"Date the employee was admitted to the company. (2020-12-11T13:20:50.45Z)"},{"key":"resignationDate","value":"<dateTime>","description":"Date on which the employee left the company. (2020-12-11T13:20:50.45Z)"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/employee","host":["{{baseUrl}}"],"path":["api","people",":id","employee"],"variable":[{"key":"id","value":"<integer>","description":"Employee identifier code."}]}},"status":"created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"746cbad5-db19-4a6d-9708-f402bc0f91fa"}],"id":"0c15a1f0-4a5b-47f0-bfff-03a361cc58dd","description":"<p>EndPoint of person registration with the role of Collaborator</p>\n<h2 id=\"contributor-concept\">Contributor Concept</h2>\n<p> Person who maintains a relationship with the company. </p>\n<p> <strong>Heads up</strong></p>\n<p> There are some settings dependent on the installation of the environment - for example the mandatory documents. To check any pending registration that may be caused by some configuration, it is necessary to consult the APIs of [Registration pending] (#9020513e-de06-4a17-b6f1-413005341970).</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"22e6f3dc-01bf-4e25-b0f6-5ef473cf12dd"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5b96db76-f81a-4772-b732-4d0bc361bb1a"}}],"_postman_id":"0c15a1f0-4a5b-47f0-bfff-03a361cc58dd"},{"name":"Basic data","item":[{"name":"User password","item":[{"name":"Consult access policies (public access)","id":"c8b9fe7b-88ae-4759-a471-129bb8975304","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/public/AccessPolicies?functionCode=<integer>","description":"<p>This call is used to query password creation rules. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","public","AccessPolicies"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Reseller role code. </p>\n<p> Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n <a href=\"#84278526-03e4-4758-8a1e-d81cbba3e0fd\">Functions of an individual/legal entity</a></p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"190f593d-3510-449c-81fa-cf75e2574d35","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/AccessPolicies?functionCode=<integer>","host":["{{baseUrl}}"],"path":["api","public","AccessPolicies"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"mininumLenght\": \"Minimum password length\",\r\n \"maximumLenght\": \"Maximum password length\",\r\n \"upperCase\": { // Information about uppercase letters in password\r\n \"allowed\": \"Indicates if the password can contain capital letters\",\r\n \"minQuantity\": \"Minimum amount of capital letters in password\"\r\n },\r\n \"lowerCase\": { // Information about lowercase letters in password\r\n \"allowed\": \"Indicates if the password can contain lowercase letters\",\r\n \"minQuantity\": \"Minimum number of lowercase letters in password\"\r\n },\r\n \"numbers\": { // Information about numbers in the password\r\n \"allowed\": \"Indicates if the password can contain numbers\",\r\n \"minQuantity\": \"Minimum number of numbers in password\"\r\n }, \r\n \"specialCaracter\": { // Information about special characters in the password\r\n \"allowed\": \"Indicates if the password can contain special characters\",\r\n \"minQuantity\": \"Minimum number of special characters in password\"\r\n }\r\n }"},{"id":"0833af9a-79bd-4251-8a71-0c562cd9d170","name":"Types of Response Parameters","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/AccessPolicies?functionCode=<integer>","host":["{{baseUrl}}"],"path":["api","public","AccessPolicies"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"mininumLenght\": \"<integer>\",\r\n \"maximumLenght\": \"<integer>\",\r\n \"upperCase\": {\r\n \"allowed\": \"<boolean>\",\r\n \"minQuantity\": \"<integer>\"\r\n },\r\n \"lowerCase\": {\r\n \"allowed\": \"<boolean>\",\r\n \"minQuantity\": \"<integer>\"\r\n },\r\n \"numbers\": {\r\n \"allowed\": \"<boolean>\",\r\n \"minQuantity\": \"<integer>\"\r\n },\r\n \"specialCaracter\": {\r\n \"allowed\": \"<boolean>\",\r\n \"minQuantity\": \"<integer>\"\r\n }\r\n }"},{"id":"0aa43391-5b74-4974-b3bf-478e6cbe049c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/AccessPolicies?functionCode=<integer>","host":["{{baseUrl}}"],"path":["api","public","AccessPolicies"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Reseller role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"mininumLenght\": 6,\r\n \"maximumLenght\": 12,\r\n \"upperCase\": {\r\n \"allowed\": true,\r\n \"minQuantity\": 0\r\n },\r\n \"lowerCase\": {\r\n \"allowed\": true,\r\n \"minQuantity\": 0\r\n },\r\n \"numbers\": {\r\n \"allowed\": true,\r\n \"minQuantity\": 0\r\n },\r\n \"specialCaracter\": {\r\n \"allowed\": true,\r\n \"minQuantity\": 0\r\n }\r\n }"}],"_postman_id":"c8b9fe7b-88ae-4759-a471-129bb8975304"},{"name":"Consult access policies","id":"582db6eb-8cf3-40b0-acc6-835f89bd354b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/AccessPolicies","description":"<p>This call is used to query password creation rules.</p>\n","urlObject":{"path":["api","people","AccessPolicies"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"fbb0a39e-670c-44fc-a96b-22c8cbb92a06","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/people/AccessPolicies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"mininumLenght\": \"Minimum password length\",\r\n \"maximumLenght\": \"Maximum password length\",\r\n \"upperCase\": { // Information about uppercase letters in password\r\n \"allowed\": \"Indicates if the password can contain capital letters\",\r\n \"minQuantity\": \"Minimum amount of capital letters in password\"\r\n },\r\n \"lowerCase\": { // Information about lowercase letters in password\r\n \"allowed\": \"Indicates if the password can contain lowercase letters\",\r\n \"minQuantity\": \"Minimum number of lowercase letters in password\"\r\n },\r\n \"numbers\": { // Information about numbers in the password\r\n \"allowed\": \"Indicates if the password can contain numbers\",\r\n \"minQuantity\": \"Minimum number of numbers in password\"\r\n }, \r\n \"specialCaracter\": { // Information about special characters in the password\r\n \"allowed\": \"Indicates if the password can contain special characters\",\r\n \"minQuantity\": \"Minimum number of special characters in password\"\r\n }\r\n }"},{"id":"3ea19e0a-3ac9-44b5-8bfb-db7c37d988d4","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/people/AccessPolicies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"mininumLenght\": 6,\r\n \"maximumLenght\": 12,\r\n \"upperCase\": {\r\n \"allowed\": true,\r\n \"minQuantity\": 0\r\n },\r\n \"lowerCase\": {\r\n \"allowed\": true,\r\n \"minQuantity\": 0\r\n },\r\n \"numbers\": {\r\n \"allowed\": true,\r\n \"minQuantity\": 0\r\n },\r\n \"specialCaracter\": {\r\n \"allowed\": true,\r\n \"minQuantity\": 0\r\n }\r\n }"}],"_postman_id":"582db6eb-8cf3-40b0-acc6-835f89bd354b"},{"name":"Register password (public access)","id":"e8106d66-2189-4aca-a7f8-083a877c5af3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"userEmail","value":"<string>","description":"<p><strong>(Mandatory)</strong></p>\n<p> User email.</p>\n"},{"key":"captchaText","value":"<string>","description":"<p>Captcha text. </p>\n<p> It should only be sent when the application uses internal captcha.</p>\n"},{"key":"captchaKey","value":"<string>","description":"<p>Captcha key. </p>\n<p> It should only be sent when the application uses internal captcha.</p>\n"}]},"url":"{{baseUrl}}/api/Public/Password","description":"<p>This call is used to register a user's password. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","Public","Password"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"74d8e018-028b-46b1-900e-295f6f126ee5","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"userEmail","value":"<string>","description":"**(Mandatory)**\n\n User email."},{"key":"captchaText","value":"<string>","description":"Captcha text. \n\n It should only be sent when the application uses internal captcha."},{"key":"captchaKey","value":"<string>","description":"Captcha key. \n\n It should only be sent when the application uses internal captcha."}]},"url":"{{baseUrl}}/api/Public/Password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"message\": \"Confirmation message\"\r\n }\r\n ]"},{"id":"6e67e8ab-5b97-44d3-bc07-2af40f356607","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"userEmail","value":"<string>","description":"**(Mandatory)**\n\n User email."},{"key":"captchaText","value":"<string>","description":"Captcha text. \n\n It should only be sent when the application uses internal captcha."},{"key":"captchaKey","value":"<string>","description":"Captcha key. \n\n It should only be sent when the application uses internal captcha."}]},"url":"{{baseUrl}}/api/Public/Password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"message\": \"If the e-mail informed is in our registration, you will receive an e-mail with the data of the new password.\"\r\n }\r\n ]"}],"_postman_id":"e8106d66-2189-4aca-a7f8-083a877c5af3"},{"name":"Change Password","id":"a41ac2f9-c13a-45f1-8ea2-131106952de0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"newPassword","value":"<string>","description":"<p>New user password.</p>\n"}]},"url":"{{baseUrl}}/api/password","urlObject":{"path":["api","password"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"b0c55de0-07fb-4e2c-b5f7-fde840af9fc0","name":"Response Parameter Details","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"newPassword","value":"<string>","description":"New user password."}]},"url":"{{baseUrl}}/api/password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"message\": \"Confirmation message\"\r\n }\r\n ]"},{"id":"488a99db-4f37-4b85-9fc8-e5228e34fdf5","name":"OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"newPassword","value":"<string>","description":"New user password."}]},"url":"{{baseUrl}}/api/password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"message\": \"Request sent successfully.\"\r\n }\r\n ]"}],"_postman_id":"a41ac2f9-c13a-45f1-8ea2-131106952de0"}],"id":"b98f7665-0918-4162-8e82-a7ba9f221714","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"08e07779-7cd7-4705-8a44-02230baab81c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b4a35e40-5038-48d7-a7a1-02f7b6c1fd93"}}],"_postman_id":"b98f7665-0918-4162-8e82-a7ba9f221714","description":""},{"name":"avatar","item":[{"name":"See profile photo","id":"83a630f4-435b-4ed9-8b93-2b1b5f7a4d80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/photo?functionCode=<integer>","description":"<p>This call is used to look up a person's profile picture.</p>\n","urlObject":{"path":["api","people",":id","photo"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Person's role code. </p>\n<p> Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. </p>\n<p> <a href=\"#84278526-03e4-4758-8a1e-d81cbba3e0fd\">Functions of an individual/legal entity</a></p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"}],"variable":[{"id":"2a77d78e-425b-459f-9ab6-133c192e0e85","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"37c72757-47af-4967-b2fc-90b88341459a","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/photo?functionCode=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","photo"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Person&#39;s role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n\n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"userCode\": \"User code\",\r\n \"photoType\": { // Image Type - Possible values in glossary (Image Types)\r\n \"id\": \"Image type code\",\r\n \"description\": \"Image type description\"\r\n },\r\n \"image\": \"URL of the image\"\r\n }"},{"id":"4d36c51a-08e8-48fa-b266-8d1c9591021d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/photo?functionCode=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","photo"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Person&#39;s role code. \n\n Role refers to the type of relationship the person has with the company, for example: end consumer or consultant. \n\n [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"userCode\": 0,\r\n \"photoType\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"image\": \"http://www.example.com\"\r\n }"}],"_postman_id":"83a630f4-435b-4ed9-8b93-2b1b5f7a4d80"},{"name":"Update profile picture","id":"f2a35534-d97e-4793-aeb3-a072ba325664","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"photofile","description":"<p>Profile photo file.</p>\n","type":"filet","src":[]}]},"url":"{{baseUrl}}/api/people/photo?id=<integer>","description":"<p>This call is used to update a person's profile picture.</p>\n","urlObject":{"path":["api","people","photo"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Person identifier code.</p>\n","type":"text/plain"},"key":"id","value":"<integer>"}],"variable":[]}},"response":[{"id":"f0b0ad2a-d1d5-44ce-9c08-3f1ae26dfa47","name":"Response Parameter Details","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"photofile","description":"Profile photo file.","type":"filet","src":[]}]},"url":{"raw":"{{baseUrl}}/api/people/photo?id=<integer>","host":["{{baseUrl}}"],"path":["api","people","photo"],"query":[{"key":"id","value":"<integer>","description":"Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Person&#39;s code\",\n \"name\": \"Person&#39;s name\",\n \"peoplePictures\": [ // List of person&#39;s pictures\n {\n \"type\": { // Type of images - Possible values in glossary (Image Types)\n \"id\": \"Image type code\",\n \"description\": \"Image type description\"\n },\n \"urlPicture\": \"Picture URL\"\n }\n ]\n }"},{"id":"0d31afd6-8896-438f-b345-633854dd7a42","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"photofile","description":"Profile photo file.","type":"filet","src":[]}]},"url":{"raw":"{{baseUrl}}/api/people/photo?id=<integer>","host":["{{baseUrl}}"],"path":["api","people","photo"],"query":[{"key":"id","value":"<integer>","description":"Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 2350,\r\n \"name\": \"Person 2\",\r\n \"peoplePictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ]\r\n }"}],"_postman_id":"f2a35534-d97e-4793-aeb3-a072ba325664"},{"name":"Remove profile picture","id":"eab6add9-ef34-4100-95eb-14c91a9dcb43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/people/photo?id=<integer>","description":"<p>This call is used to remove the person's profile picture.</p>\n","urlObject":{"path":["api","people","photo"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Person identifier code.</p>\n","type":"text/plain"},"key":"id","value":"<integer>"}],"variable":[]}},"response":[{"id":"4473cf1c-24ec-4249-a3c4-21a9f02fef6a","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/people/photo?id=<integer>","host":["{{baseUrl}}"],"path":["api","people","photo"],"query":[{"key":"id","value":"<integer>","description":"Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"eab6add9-ef34-4100-95eb-14c91a9dcb43"}],"id":"afcbbaa0-dbbd-4677-a446-bb7a272c06e0","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"df726138-03f5-4f62-87fa-f53f66c88288"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ca766525-5861-4bcf-9af3-115e4c52e29d"}}],"_postman_id":"afcbbaa0-dbbd-4677-a446-bb7a272c06e0","description":""},{"name":"Delivery address","item":[{"name":"Register shipping address","id":"c1317d70-729d-4f5f-b1b4-cb88f2344be3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"regionCode","value":"<integer>","description":"<p>Region code.</p>\n"},{"key":"postalCode","value":"<string>","description":"<p>Postal Code.</p>\n"},{"key":"address","value":"<string>","description":"<p>Address.</p>\n"},{"key":"number","value":"<string>","description":"<p>Number.</p>\n"},{"key":"additionalAddress","value":"<string>","description":"<p>Additional address information</p>\n"},{"key":"additionalAddressNeighbor","value":"<string>","description":"<p>Neighbor delivery information</p>\n"},{"key":"addressLevel0","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel1","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel2","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel3","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel4","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel5","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel6","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel7","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel8","value":"<string>","description":"<p>address level</p>\n"},{"key":"addressLevel9","value":"<string>","description":"<p>address level</p>\n"},{"key":"auxiliaryPostalCode","value":"<string>","description":"<p>Auxiliary Postal Code.</p>\n"},{"key":"neighborNumber","value":"<string>","description":"<p>Neighbor's phone number</p>\n"},{"key":"reference","value":"<string>","description":"<p>Delivery Reference</p>\n"},{"key":"deliverToNeighbor","value":"<byte>","description":"<p>Neighbor Delivery Authorization Identification</p>\n"}]},"url":"{{baseUrl}}/api/people/:id/deliveryAddress?businessModelCode=<integer>&applicationId=<byte>&distributionCenterCode=<integer>&cycle=<integer>","description":"<p>This call creates a delivery address in <strong>Let</strong>. To call this endpoint, the user must have the necessary permission in the business rule. </p>\n<p> In the answer to the call to get the <a href=\"#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7\">business rule</a>, there is an object called <code>configurationSystem</code>. One of the properties of this object is called <code>allowAddAddressesApplication</code>. If its value is <code>true</code>, the user can call this endpoint to register a delivery address.</p>\n","urlObject":{"path":["api","people",":id","deliveryAddress"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Address business rule code.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the application responsible for registering the address.</p>\n","type":"text/plain"},"key":"applicationId","value":"<byte>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the distribution center responsible for registering the address. </p>\n<p> It will be validated if the system parameter <code>Limit DeliveryAddress</code> must limit delivery addresses only served by the dispatched distribution center.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Current sales cycle code.(202009)</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[{"id":"74f21221-af57-453c-8c7b-46181f70800b","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Identifier code of the logged in user.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"c458ff6a-3789-4f8e-8374-4f7b084067aa","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"regionCode","value":"<integer>","description":"Region code."},{"key":"postalCode","value":"<string>","description":"Postal Code."},{"key":"address","value":"<string>","description":"Address."},{"key":"number","value":"<string>","description":"Number."},{"key":"additionalAddress","value":"<string>","description":"Additional address information"},{"key":"additionalAddressNeighbor","value":"<string>","description":"Neighbor delivery information"},{"key":"addressLevel0","value":"<string>","description":"address level"},{"key":"addressLevel1","value":"<string>","description":"address level"},{"key":"addressLevel2","value":"<string>","description":"address level"},{"key":"addressLevel3","value":"<string>","description":"address level"},{"key":"addressLevel4","value":"<string>","description":"address level"},{"key":"addressLevel5","value":"<string>","description":"address level"},{"key":"addressLevel6","value":"<string>","description":"address level"},{"key":"addressLevel7","value":"<string>","description":"address level"},{"key":"addressLevel8","value":"<string>","description":"address level"},{"key":"addressLevel9","value":"<string>","description":"address level"},{"key":"auxiliaryPostalCode","value":"<string>","description":"Auxiliary Postal Code."},{"key":"neighborNumber","value":"<string>","description":"Neighbor&#39;s phone number"},{"key":"reference","value":"<string>","description":"Delivery Reference"},{"key":"deliverToNeighbor","value":"<byte>","description":"Neighbor Delivery Authorization Identification"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/deliveryAddress?businessModelCode=<integer>&applicationId=<byte>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","deliveryAddress"],"query":[{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n Address business rule code."},{"key":"applicationId","value":"<byte>","description":"**(Mandatory)**\n\n Code of the application responsible for registering the address."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the distribution center responsible for registering the address. \n\n It will be validated if the system parameter `Limit DeliveryAddress` must limit delivery addresses only served by the dispatched distribution center."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Current sales cycle code.(202009)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the logged in user."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c1317d70-729d-4f5f-b1b4-cb88f2344be3"},{"name":"Change delivery address","id":"814b7537-7ffd-4d48-b5d9-7d005659a34e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"regionCode","value":"<integer>"},{"key":"postalCode","value":"<string>"},{"key":"address","value":"<string>"},{"key":"number","value":"<string>"},{"key":"additionalAddress","value":"<string>"},{"key":"additionalAddressNeighbor","value":"<string>"},{"key":"addressLevel0","value":"<string>"},{"key":"addressLevel1","value":"<string>"},{"key":"addressLevel2","value":"<string>"},{"key":"addressLevel3","value":"<string>"},{"key":"addressLevel4","value":"<string>"},{"key":"addressLevel5","value":"<string>"},{"key":"addressLevel6","value":"<string>"},{"key":"addressLevel7","value":"<string>"},{"key":"addressLevel8","value":"<string>"},{"key":"addressLevel9","value":"<string>"},{"key":"auxiliaryPostalCode","value":"<string>"},{"key":"neighborNumber","value":"<string>"},{"key":"reference","value":"<string>"},{"key":"deliverToNeighbor","value":"<byte>"}]},"url":"{{baseUrl}}/api/people/:id/deliveryAddress/:type?distributionCenterCode=<integer>&cycle=<integer>","description":"<p>This call changes a delivery address already registered in <strong>Let</strong>. To call this endpoint, the user must have the necessary permission in the business rule. </p>\n<p> In the answer to the call to get the <a href=\"#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7\">business rule</a>, there is an object called <code>configurationSystem</code>. One of the properties of this object is called <code>allowShowEditableAddresses</code>. If its value is <code>true</code>, the user can call this endpoint to change a delivery address.</p>\n","urlObject":{"path":["api","people",":id","deliveryAddress",":type"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> CD code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Cycle number.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[{"id":"79fb64b9-477d-426a-a77b-5349fc1f0b63","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Seller code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"e8e5719b-39ae-4019-bc94-abc496f305d9","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Type of address. </p>\n<p> Possible values in the Glossary (Person's Address)</p>\n","type":"text/plain"},"type":"any","value":"<byte>","key":"type"}]}},"response":[{"id":"fed63de8-7073-4300-b237-4bbba8378a47","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"regionCode","value":"<integer>"},{"key":"postalCode","value":"<string>"},{"key":"address","value":"<string>"},{"key":"number","value":"<string>"},{"key":"additionalAddress","value":"<string>"},{"key":"additionalAddressNeighbor","value":"<string>"},{"key":"addressLevel0","value":"<string>"},{"key":"addressLevel1","value":"<string>"},{"key":"addressLevel2","value":"<string>"},{"key":"addressLevel3","value":"<string>"},{"key":"addressLevel4","value":"<string>"},{"key":"addressLevel5","value":"<string>"},{"key":"addressLevel6","value":"<string>"},{"key":"addressLevel7","value":"<string>"},{"key":"addressLevel8","value":"<string>"},{"key":"addressLevel9","value":"<string>"},{"key":"auxiliaryPostalCode","value":"<string>"},{"key":"neighborNumber","value":"<string>"},{"key":"reference","value":"<string>"},{"key":"deliverToNeighbor","value":"<byte>"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/deliveryAddress/:type?distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","deliveryAddress",":type"],"query":[{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n CD code."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Cycle number."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Seller code."},{"key":"type","value":"<integer>","description":"**(Mandatory)**\n\n Type of address. \n\n Possible values in the Glossary (Person&#39;s Address)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"814b7537-7ffd-4d48-b5d9-7d005659a34e"},{"name":"Delete shipping address","id":"c583d577-eb45-4f60-9c18-cc1f388b7774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/people/:id/deliveryAddress/:type","description":"<p>This call removes a delivery address already registered in <strong>Let</strong>. To call this endpoint, the user must have the necessary permission in the business rule. </p>\n<p> In the answer to the call to get the <a href=\"#72ac4a5f-660d-4c6d-bc01-ff3f60ea45f7\">business rule</a>, there is an object called <code>configurationSystem</code>. One of the properties of this object is called <code>allowShowEditableAddresses</code>. If its value is <code>true</code>, the user can call this endpoint to remove a delivery address.</p>\n","urlObject":{"path":["api","people",":id","deliveryAddress",":type"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"1f58bc2c-c585-4214-882c-948098a1a1d4","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Seller code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"f3db6dc7-84a8-4c37-8d1c-2e6a77465893","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Type of address. </p>\n<p> Possible values in the Glossary (Person's Address)</p>\n","type":"text/plain"},"type":"any","value":"<byte>","key":"type"}]}},"response":[{"id":"84ddc26b-0c86-4cbc-a6f6-b60208e19703","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/deliveryAddress/:type","host":["{{baseUrl}}"],"path":["api","people",":id","deliveryAddress",":type"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Seller code."},{"key":"type","value":"<byte>","description":"**(Mandatory)**\n\n Type of address. \n\n Possible values in the Glossary (Person&#39;s Address)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c583d577-eb45-4f60-9c18-cc1f388b7774"}],"id":"fcdd6266-2d71-49a8-9072-62569f31b2c6","description":"<p>To register, change or delete a delivery address in <strong>Let</strong>, it is necessary to call the respective endpoints documented below.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6c76c514-3df5-4bf9-83b8-0e98fa7f4925"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"62a6cbfb-a84b-4e57-ab25-b3fd84acd441"}}],"_postman_id":"fcdd6266-2d71-49a8-9072-62569f31b2c6"},{"name":"Configuration Cache","item":[{"name":"Register user settings","id":"a7328fc8-2af4-482e-8ec8-839f6d10adb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"<string>","description":"<p>configuration key</p>\n"},{"key":"value","value":"<string>","description":"<p>Value to be registered</p>\n"}]},"url":"{{baseUrl}}/api/people/:id/config","description":"<p><strong>Heads up</strong></p>\n<p> The API is configured to receive a list of objects. Therefore, the content of the call body must be sent in a JSON file.</p>\n","urlObject":{"path":["api","people",":id","config"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"8ac096ca-61fd-4faf-ab07-122069092507","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n<p> It is only possible to access the values and keys with the responsible user</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"37b81052-f499-4583-b5a9-1e4eeb1a6cf3","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"<string>","description":"configuration key"},{"key":"value","value":"<string>","description":"Value to be registered"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/people/:id/config","host":["{{baseUrl}}"],"path":["api","people",":id","config"],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n person code\n\n It is only possible to access the values and keys with the responsible user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"applicationCode\": 86,\r\n \"userCode\": 0,\r\n \"key\": \"KEY_CONFIG\",\r\n \"value\": \"SETTING VALUE\"\r\n },\r\n {\r\n \"applicationCode\": 86,\r\n \"userCode\": 0,\r\n \"key\": \"KEY_CONFIG2\",\r\n \"value\": \"SETTING VALUE22\"\r\n }\r\n ]"},{"id":"0c3532d0-5188-4af4-a242-60ee36c4b38e","name":"Parameter Details","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"<string>","description":"configuration key"},{"key":"value","value":"<string>","description":"Value to be registered"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/api/people/:id/config","host":["{{baseUrl}}"],"path":["api","people",":id","config"],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n person code\n\n It is only possible to access the values and keys with the responsible user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"applicationCode\": \"Application code\",\n \"userCode\": \"User code\",\n \"key\": \"Configuration key\",\n \"value\": \"Configuration values\"\n }\n ]"}],"_postman_id":"a7328fc8-2af4-482e-8ec8-839f6d10adb2"},{"name":"Query user settings","id":"1d6b396d-f731-415b-9500-c5f779980f37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/config?sortOptions=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","people",":id","config"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Result sorting options. </p>\n<ul>\n<li><p>\"key\" for sorting by Key</p>\n</li>\n<li><p>\"key desc\" for sorting by Descending key</p>\n</li>\n</ul>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n<p> It is only possible to access the values and keys with the responsible user</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"}]}},"response":[{"id":"a63d9c64-e090-48c9-bd96-7d0706f5a64b","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/config?sortOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","config"],"query":[{"key":"sortOptions","value":"<string>","description":"Result sorting options. \n\n - \"key\" for sorting by Key\n\n - \"key desc\" for sorting by Descending key"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records.\n"},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n person code\n\n It is only possible to access the values and keys with the responsible user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"applicationCode\": 86,\r\n \"userCode\": 0,\r\n \"key\": \"HOME_INDICATORS\",\r\n \"value\": \"[{\\\"code\\\":1035,\\\"name\\\":\\\"% Activity\\\",\\\"description\\\":\\\"Number of Assets divide Channel Size.\\\",\\\" selected\\\":true,\\\"subject\\\":{\\\"code\\\":5,\\\"name\\\":\\\"Channel\\\",\\\"title\\\":\\\"Channel\\\",\\\"description\\\" :\\\"This screen displays the main channel indicators.\\\",\\\"extraInformation\\\":\\\"\\\",\\\"type\\\":{\\\"id\\\":2,\\\"description\\\":\\\"String \\\"}}},{\\\"code\\\":1040,\\\"name\\\":\\\"Closed\\\",\\\"description\\\":\\\"Retailers Ceased (Due to inactivity or manually)\\\",\\\"selected\\ \":true,\\\"subject\\\":{\\\"code\\\":5,\\\"name\\\":\\\"Channel\\\",\\\"title\\\":\\\"Channel\\\",\\\"description\\\":\\ \"This screen displays the main channel indicators.\\\",\\\"extraInformation\\\":\\\"\\\",\\\"type\\\":{\\\"id\\\":2,\\\"description\\\":\\\"String\\\" }}}]\"\r\n },\r\n {\r\n \"applicationCode\": 86, \r\n \"userCode\": 0,\r\n \"key\": \"stockOptionsCacheFV\",\r\n \"value\": \"{\\\"sellerId\\\":215,\\\"businessModelCode\\\":1,\\\"distributionCenterCode\\\":1}\"\r\n }\r\n ]"},{"id":"54a74d7d-1f9b-4cf8-9c18-065b7c886099","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/config?sortOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","config"],"query":[{"key":"sortOptions","value":"<string>","description":"Result sorting options. \n\n - \"key\" for sorting by Key\n\n - \"key desc\" for sorting by Descending key"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records.\n"},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n person code\n\n It is only possible to access the values and keys with the responsible user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"applicationCode\": \"Application code\",\n \"userCode\": \"User code\",\n \"key\": \"Configuration key\",\n \"value\": \"Configuration values\"\n }\n ]"}],"_postman_id":"1d6b396d-f731-415b-9500-c5f779980f37"},{"name":"See configuration by key","id":"29a5a501-6998-4508-b7c6-65e3a5ec9468","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/config/:key","urlObject":{"path":["api","people",":id","config",":key"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"93668a99-aee7-48a7-a629-e305c8c5d0d9","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n<p> It is only possible to access the values and keys with the responsible user</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"},{"id":"00f095f5-b898-47d9-b706-d7c1efdd2e40","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> configuration key</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"key"}]}},"response":[{"id":"788b13a5-1ef7-4fc0-8ff0-07b91b207f8e","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/config/:key","host":["{{baseUrl}}"],"path":["api","people",":id","config",":key"],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n person code\n\n It is only possible to access the values and keys with the responsible user"},{"key":"key","value":"<string>","description":"**(Mandatory)**\n\n configuration key"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"applicationCode\": 86,\r\n \"userCode\": 0,\r\n \"key\": \"HOME_INDICATORS\",\r\n \"value\": \"[{\\\"code\\\":1035,\\\"name\\\":\\\"% Activity\\\",\\\"description\\\":\\\"Number of Assets divide Channel Size.\\\",\\\" selected\\\":true,\\\"subject\\\":{\\\"code\\\":5,\\\"name\\\":\\\"Channel\\\",\\\"title\\\":\\\"Channel\\\",\\\"description\\\" :\\\"This screen displays the main channel indicators.\\\",\\\"extraInformation\\\":\\\"\\\",\\\"type\\\":{\\\"id\\\":2,\\\"description\\\":\\\"String \\\"}}},{\\\"code\\\":1040,\\\"name\\\":\\\"Closed\\\",\\\"description\\\":\\\"Retailers Ceased (Due to inactivity or manually)\\\",\\\"selected\\ \":true,\\\"subject\\\":{\\\"code\\\":5,\\\"name\\\":\\\"Channel\\\",\\\"title\\\":\\\"Channel\\\",\\\"description\\\":\\ \"This screen displays the main channel indicators.\\\",\\\"extraInformation\\\":\\\"\\\",\\\"type\\\":{\\\"id\\\":2,\\\"description\\\":\\\"String\\\" }}}]\"\r\n }"},{"id":"69eca609-e0a0-44bf-accd-9831b25d6382","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/config/:key","host":["{{baseUrl}}"],"path":["api","people",":id","config",":key"],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n person code\n\n It is only possible to access the values and keys with the responsible user"},{"key":"key","value":"<string>","description":"**(Mandatory)**\n\n configuration key"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"applicationCode\": \"Application code\",\n \"userCode\": \"User code\",\n \"key\": \"Configuration key\",\n \"value\": \"Configuration values\"\n }"}],"_postman_id":"29a5a501-6998-4508-b7c6-65e3a5ec9468"},{"name":"Update configuration by key","id":"a2b1b050-a17f-49d8-abce-723a7dc55f0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"<string>"},{"key":"value","value":"<string>"}]},"url":"{{baseUrl}}/api/people/:id/config/:key","urlObject":{"path":["api","people",":id","config",":key"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"5d55fdb2-c2ed-42bf-ab3c-210971b35f7e","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n<p> It is only possible to access the values and keys with the responsible user</p>\n","type":"text/plain"},"type":"any","value":"{{usuarioLogado}}","key":"id"},{"id":"153584be-c68c-4b6a-978f-c55c3403a982","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> configuration key</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"key"}]}},"response":[{"id":"2a06b871-ce25-4be8-bc74-b68d0d08decb","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"<string>"},{"key":"value","value":"<string>"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/config/:key","host":["{{baseUrl}}"],"path":["api","people",":id","config",":key"],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n person code\n\n It is only possible to access the values and keys with the responsible user"},{"key":"key","value":"<string>","description":"**(Mandatory)**\n\n configuration key"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"applicationCode\": 86,\n \"userCode\": 0,\n \"key\": \"KEY_CONFIG\",\n \"value\": \"SETTING VALUE CHANGED\"\n }"},{"id":"1202f750-181e-41e5-b793-c6ecc564c4d5","name":"Parameter Details","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"<string>"},{"key":"value","value":"<string>"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/config/:key","host":["{{baseUrl}}"],"path":["api","people",":id","config",":key"],"variable":[{"key":"id","value":"{{usuarioLogado}}","description":"**(Mandatory)**\n\n person code\n\n It is only possible to access the values and keys with the responsible user"},{"key":"key","value":"<string>","description":"**(Mandatory)**\n\n configuration key"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"applicationCode\": \"Application code\",\n \"userCode\": \"User code\",\n \"key\": \"Configuration key\",\n \"value\": \"Configuration values\"\n }"}],"_postman_id":"a2b1b050-a17f-49d8-abce-723a7dc55f0c"}],"id":"a2e16510-5663-44cd-bf19-febea77bf1b7","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"444febd0-6c3d-4caa-9e3e-6b6d1828f865"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b171f2ca-d888-44ed-8135-d18ad8ec22e1"}}],"_postman_id":"a2e16510-5663-44cd-bf19-febea77bf1b7","description":""},{"name":"By the way","item":[{"name":"Register or change alias","id":"437b3e57-bc8a-4fcf-9b5d-e06b4f3e370a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"typeid","value":"<integer>","description":"<p><strong>Mandatory</strong></p>\n<p> Alias Type Code <a href=\"#11077760-12fa8659-d78c-4c2e-a60f-0367b7d64d74\">Alias Types</a></p>\n"},{"key":"by the way","value":"<string>","description":"<p>Alias to be registered or edited</p>\n"}]},"url":"{{baseUrl}}/api/people/:id/alias","urlObject":{"path":["api","people",":id","alias"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"3572ccfb-f718-4922-9f83-8bd16375c061","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d312cc1f-cf74-4b2a-a5f1-2dcb814257d3","name":"OK","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"typeid","value":"<integer>","description":"**Mandatory**\n\n Alias Type Code [Alias Types](#11077760-12fa8659-d78c-4c2e-a60f-0367b7d64d74)"},{"key":"by the way","value":"<string>","description":"Alias to be registered or edited"}]},"url":{"raw":"{{baseUrl}}/api/people/:id/alias","host":["{{baseUrl}}"],"path":["api","people",":id","alias"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"437b3e57-bc8a-4fcf-9b5d-e06b4f3e370a"},{"name":"Check alias availability","id":"e062edaa-37aa-40a7-b2a4-8fe12f87a768","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/public/people/checkAlias?by the way=<string>&typeid=<byte>","description":"<p>Checks the availability of the passed Alias and indicates the situation in the HTTP return code. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Result</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>204 - No Content</td>\n<td>Alias Available</td>\n</tr>\n<tr>\n<td>200 - OK</td>\n<td>Alias already registered</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","public","people","checkAlias"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Alias to be verified</p>\n","type":"text/plain"},"key":"by the way","value":"<string>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Alias Type Code <a href=\"#11077760-12fa8659-d78c-4c2e-a60f-0367b7d64d74\">Alias Types</a></p>\n","type":"text/plain"},"key":"typeid","value":"<byte>"}],"variable":[]}},"response":[{"id":"e4690a26-54b0-40ff-a1d0-cdf7d34859dd","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/people/checkAlias?by the way=<string>&typeid=<byte>","host":["{{baseUrl}}"],"path":["api","public","people","checkAlias"],"query":[{"key":"by the way","value":"<string>","description":"**(Mandatory)**\n\n Alias to be verified"},{"key":"typeid","value":"<byte>","description":"**Mandatory**\n Alias Type Code [Alias Types](#11077760-12fa8659-d78c-4c2e-a60f-0367b7d64d74)"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e062edaa-37aa-40a7-b2a4-8fe12f87a768"}],"id":"5b58f657-3a3d-47b7-a059-13be09da72ca","_postman_id":"5b58f657-3a3d-47b7-a059-13be09da72ca","description":""},{"name":"Pending Registration","item":[{"name":"Documentation Status","item":[{"name":"Consult documents per person","id":"595626dd-52c0-46c9-9cbe-f3c250d722a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/documentRecord?allDocumentsStatus=<boolean>","description":"<p>This call is used to query a person's document record in <strong>Let</strong>.</p>\n","urlObject":{"path":["api","people",":id","documentRecord"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Indicates whether to return the status of all the person's documents (true) or only those with status registered for to-do (false)</p>\n","type":"text/plain"},"key":"allDocumentsStatus","value":"<boolean>"}],"variable":[{"id":"23d8abee-212a-40f8-9b14-86c810c579d1","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"896e5bcf-1355-4ac8-915a-f5f8cecbdce4","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/documentRecord?allDocumentsStatus=<boolean>","host":["{{baseUrl}}"],"path":["api","people",":id","documentRecord"],"query":[{"key":"allDocumentsStatus","value":"<boolean>","description":"Indicates whether to return the status of all the person&#39;s documents (true) or only those with status registered for to-do (false)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"document\": {\r\n \"id\": \"Code of Voucher type\",//Possible values available in the Glossary(Types of Vouchers)\r\n \"description\": \"Description of Voucher type\"\r\n },\r\n \"status\": {\r\n \"id\": \"Registration status code\",//Possible values available in the Glossary(Voucher Registration Status)\r\n \"description\": \"Description of registration status\"\r\n },\r\n \"statusReason\": {\r\n \"id\": \"Registration status reason status code\",//Possible values available in the Glossary(Reasons for Voucher Status)\r\n \"description\": \"Description of the reason for registration status\"\r\n },\r\n \"remark\": \"Note\",\r\n \"hasFile\": \"Indicates if there is file for download (true/false)\",\r\n \"fileLink\": \"http://[APP_URL]/Temp/[FILE_NAME].jpg\"\r\n }\r\n ]"},{"id":"72b8d2a7-76c1-45e0-91c6-fa5aa6aded3d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/documentRecord?allDocumentsStatus=<boolean>","host":["{{baseUrl}}"],"path":["api","people",":id","documentRecord"],"query":[{"key":"allDocumentsStatus","value":"<boolean>","description":"Indicates whether to return the status of all the person&#39;s documents (true) or only those with status registered for to-do (false)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"document\": {\n \"id\": 1,\n \"description\": \"RG\"\n },\n \"status\": {\n \"id\": 1,\n \"description\": \"Pending\"\n },\n \"statusReason\": {\n \"id\": 6,\n \"description\": \"Unreadable\"\n },\n \"remark\": \"Cannot read code\",\n \"hasFile\": true,\n \"fileLink\": \"http://[APP_URL]/Temp/[FILE_NAME].jpg\"\n },\n {\n \"document\": {\n \"id\": 2,\n \"description\": \"CPF\"\n },\n \"status\": {\n \"id\": 1,\n \"description\": \"Pending\"\n },\n \"statusReason\": {\n \"id\": 9,\n \"description\": \"Different name\"\n },\n \"hasFile\": false,\n \"fileLink\": \"\"\n },\n {\n \"document\": {\n \"id\": 3,\n \"description\": \"Residential\"\n },\n \"status\": {\n \"id\": 1,\n \"description\": \"Pending\"\n },\n \"hasFile\": true,\n \"fileLink\": \"http://[APP_URL]/Temp/[FILE_NAME].jpg\"\n },\n {\n \"document\": {\n \"id\": 4,\n \"description\": \"Delivery\" \n },\n \"status\": {//no status registered, it is only returned with the parameter \"allDocumentsStatus\" = false\n \"id\": 0\n },\n \"hasFile\": false,\n \"fileLink\": \"\"\n }\n ]"}],"_postman_id":"595626dd-52c0-46c9-9cbe-f3c250d722a9"},{"name":"Update document per person","id":"61847a01-a36a-4bd4-8c37-3f51274c3ca1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"url":"{{baseUrl}}/api/people/:id/documentRecord/:documentTypeId?functionCode=<integer>&status=<byte>&statusreason=<byte>&mark=<string>","description":"<p>Updates the status of the person's documentation. It can generate, update or delete to-do items. </p>\n<p> <strong>Important</strong></p>\n<p> If the person has pending issues, the API returns error 404 (Not Found), even if the request was executed successfully. \n In this error, the API returns the person's current to-do. \n Examples available in \"Not Found\" and \"Not Found - Parameter Details\"</p>\n","urlObject":{"path":["api","people",":id","documentRecord",":documentTypeId"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> function code</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Voucher registration status code</p>\n<p> Possible values available in the Glossary (Proof Registration Status)</p>\n","type":"text/plain"},"key":"status","value":"<byte>"},{"description":{"content":"<p>Reason code for voucher status</p>\n<p> Possible values available in the Glossary (Reasons for the Voucher Status)</p>\n","type":"text/plain"},"key":"statusreason","value":"<byte>"},{"description":{"content":"<p>Comment. Maximum 250 characters</p>\n","type":"text/plain"},"key":"mark","value":"<string>"}],"variable":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Document Type Code</p>\n<p> Possible values available in the Glossary (Types of Documents)</p>\n","type":"text/plain"},"type":"any","value":"<byte>","key":"documentTypeId"}]}},"response":[{"id":"01cdf743-5d5c-49e0-9bc5-157bafc6c01a","name":"Not Found - Parameter Details","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/documentRecord/:documentTypeId?functionCode=<integer>&status=<byte>&statusreason=<byte>&mark=<string>","host":["{{baseUrl}}"],"path":["api","people",":id","documentRecord",":documentTypeId"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n function code"},{"key":"status","value":"<byte>","description":"**(Mandatory)**\n\n Voucher registration status code\n\n Possible values available in the Glossary (Proof Registration Status)"},{"key":"statusreason","value":"<byte>","description":"Reason code for voucher status\n\n Possible values available in the Glossary (Reasons for the Voucher Status)"},{"key":"mark","value":"<string>","description":"Comment. Maximum 250 characters"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"},{"key":"documentTypeId","value":"<byte>","description":"**(Mandatory)**\n\n Document Type Code\n\n Possible values available in the Glossary (Types of Documents)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"ValidacaoType\": \"Validation Type Code\",//Possible values available in the Glossary(Validation Types)\r\n \"valorValidacao\": \"Value registered\",\r\n \"number\": \"Pending number(order)\",\r\n \"ValueField\": \"Current field value\",\r\n \"FieldName\": \"Name of the to-do field, in the indicated table\",\r\n \"table\": \"Table containing the to-do\",\r\n \"DomainName\": \"Domain ID with to-do description\",\r\n \"ValorDominio\": \"Domain code with to-do description\",\r\n \"CodigoCadastroSubGrupo\": \"Code of the subgroup\",\r\n \"CodigoCadastroGrupo\": \"Group Code\",\r\n \"allowsRecording\": \"Indicates whether recording is allowed (0=No/1=Yes)\",\r\n \"observation\": \"Note on pending\", \r\n \"type\": \"Registration type code\"//Possible values available in the Glossary(Registration Types)\r\n }\r\n ]"},{"id":"7d677845-6616-4e3d-9fad-ab901ab2b142","name":"Not Found","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/documentRecord/:documentTypeId?functionCode=<integer>&status=<byte>&statusreason=<byte>&mark=<string>","host":["{{baseUrl}}"],"path":["api","people",":id","documentRecord",":documentTypeId"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n function code"},{"key":"status","value":"<byte>","description":"**(Mandatory)**\n\n Voucher registration status code\n\n Possible values available in the Glossary (Proof Registration Status)"},{"key":"statusreason","value":"<byte>","description":"Reason code for voucher status\n\n Possible values available in the Glossary (Reasons for the Voucher Status)"},{"key":"mark","value":"<string>","description":"Comment. Maximum 250 characters"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"},{"key":"documentTypeId","value":"<byte>","description":"**(Mandatory)**\n\n Document Type Code\n\n Possible values available in the Glossary (Types of Documents)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"ValidationType\": 1,\n \"ValidationValue\": \"\",\n \"number\": 0,\n \"FieldValue\": \"1\",\n \"FieldName\": \"ID_SITUACAO_PROVANTE\",\n \"table\": \"TB_PESSOA_PROVANTE\",\n \"DomainName\": \"PROOF_TYPE_ID\",\n \"DomainValue\": 2,\n \"CodigoCadastroSubGrupo\": 17,\n \"CodigoCadastroGrupo\": 5,\n \"allowsRecord\": 1,\n \"Note\": \"\",\n \"type\": 3\n },\n {\n \"ValidationType\": 1,\n \"ValidationValue\": \"\",\n \"number\": 0,\n \"FieldValue\": \"1\",\n \"FieldName\": \"ID_SITUACAO_PROVANTE\",\n \"table\": \"TB_PESSOA_PROVANTE\",\n \"DomainName\": \"PROOF_TYPE_ID\",\n \"DomainValue\": 3,\n \"CodigoCadastroSubGrupo\": 17,\n \"CodigoCadastroGrupo\": 5,\n \"allowsRecord\": 1,\n \"Note\": \"\",\n \"type\": 3\n }\n ]"},{"id":"23babda8-5edb-4a88-b419-ca9a6ac5b321","name":"OK","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/documentRecord/:documentTypeId?functionCode=<integer>&status=<byte>&statusreason=<byte>&mark=<string>","host":["{{baseUrl}}"],"path":["api","people",":id","documentRecord",":documentTypeId"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n function code"},{"key":"status","value":"<byte>","description":"**(Mandatory)**\n\n Voucher registration status code\n\n Possible values available in the Glossary (Proof Registration Status)"},{"key":"statusreason","value":"<byte>","description":"Reason code for voucher status\n\n Possible values available in the Glossary (Reasons for the Voucher Status)"},{"key":"mark","value":"<string>","description":"Comment. Maximum 250 characters"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"},{"key":"documentTypeId","value":"<byte>","description":"**(Mandatory)**\n\n Document Type Code\n\n Possible values available in the Glossary (Types of Documents)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"61847a01-a36a-4bd4-8c37-3f51274c3ca1"},{"name":"Register document image per person","id":"22252e38-410e-4bb3-8345-e5b1a1df50ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"Person Document","description":"<p>Document of the person.</p>\n","type":"filet","src":[]}]},"url":"{{baseUrl}}/api/people/:id/documentRecord/:documentTypeId/image?functionCode=<integer>&mark=<string>","description":"<p>This call is used to enroll a person's document image.</p>\n","urlObject":{"path":["api","people",":id","documentRecord",":documentTypeId","image"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Comment/Observation about the image. \n Can be shipped empty. (Maximum 250 characters)</p>\n","type":"text/plain"},"key":"mark","value":"<string>"}],"variable":[{"id":"7749bb4e-1082-4ab3-9c4e-ff992ed61244","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"be5ad97a-6026-44d4-a0be-ee3eee02080e","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Document Type Code</p>\n<p> <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Possible values</a></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"documentTypeId"}]}},"response":[{"id":"63410b89-5e74-4774-ad24-e56320f30ba4","name":"Parameter Details","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"Person Document","type":"filet","src":[]}]},"url":{"raw":"{{baseUrl}}/api/people/:id/documentRecord/:documentTypeId/image?functionCode=<integer>&mark=<string>","host":["{{baseUrl}}"],"path":["api","people",":id","documentRecord",":documentTypeId","image"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n function code"},{"key":"mark","value":"<string>","description":"**(Mandatory)**\n\n Comment/Observation about the image. \n Can be shipped empty. (Maximum 250 characters)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"},{"key":"documentTypeId","value":"<integer>","description":"**(Mandatory)**\n\n Document Type Code\n\n Possible Glossary Values (Types of Documents)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"fileLink\": \"Full path of generated image file\"\n }"},{"id":"05e8b1f4-55cb-4635-a01e-f4785e76aafa","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"Person Document","type":"filet","src":[]}]},"url":{"raw":"{{baseUrl}}/api/people/:id/documentRecord/:documentTypeId/image?functionCode=<integer>&mark=<string>","host":["{{baseUrl}}"],"path":["api","people",":id","documentRecord",":documentTypeId","image"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n function code"},{"key":"mark","value":"<string>","description":"**(Mandatory)**\n\n Comment/Observation about the image. \n Can be shipped empty. (Maximum 250 characters)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"},{"key":"documentTypeId","value":"<integer>","description":"**(Mandatory)**\n\n Document Type Code\n\n Possible Glossary Values (Types of Documents)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"fileLink\": \"http://[APP_URL]/Temp/[FILE_NAME].jpg\"\n }"}],"_postman_id":"22252e38-410e-4bb3-8345-e5b1a1df50ee"}],"id":"4482ffea-c254-446b-936e-4825197c0600","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5ae8fdce-8002-408b-aa84-b54206395ebb"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2e9bccca-7ec8-44e3-b0a7-1c78c5cdbc55"}}],"_postman_id":"4482ffea-c254-446b-936e-4825197c0600","description":""},{"name":"Consult pending documentation per person","id":"fa0528ef-361c-4f1f-b88d-b1021452bc17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/pendencies?function=<integer>&pendencyType=<byte>&details=<boolean>&includeOptions=BusinessRoles&includeOptions=Documents","description":"<p>This call is used to consult pending documentation of a person registered in <strong>Let</strong>. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","people",":id","pendencies"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>function code</p>\n","type":"text/plain"},"key":"function","value":"<integer>"},{"description":{"content":"<p>to-do type code</p>\n","type":"text/plain"},"key":"pendencyType","value":"<byte>"},{"description":{"content":"<p>Indicates whether the result should be verbose (true) or summarized (false)</p>\n","type":"text/plain"},"key":"details","value":"<boolean>"},{"description":{"content":"<p>It adds an object with the business profiles to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"BusinessRoles"},{"description":{"content":"<p>Adds an object with the documents to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"Documents"}],"variable":[{"id":"beb42bab-3699-4021-84fb-cf1afb10bee4","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"20c64065-5937-441c-bfe1-070b93111a1d","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/pendencies?function=<integer>&pendencyType=<byte>&details=<boolean>&includeOptions=BusinessRoles&includeOptions=Documents","host":["{{baseUrl}}"],"path":["api","people",":id","pendencies"],"query":[{"key":"function","value":"<integer>","description":"function code"},{"key":"pendencyType","value":"<byte>","description":"to-do type code"},{"key":"details","value":"<boolean>","description":"Indicates whether the result should be verbose (true) or summarized (false)"},{"key":"includeOptions","value":"BusinessRoles","description":"It adds an object with the business profiles to the query&#39;s return"},{"key":"includeOptions","value":"Documents","description":"Adds an object with the documents to the query&#39;s return"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Person&#39;s code\",\r\n \"name\": \"Full name\",\r\n \"registrationDate\": \"Registration Date\",\r\n \"pendencies\": [//pending list\r\n {\r\n \"functionCode\": \"Function code\",\r\n \"pendenciesPerFunction\": [//pending list by function\r\n {\r\n \"pendencyType\": {\r\n \"id\": \"Pending Type Code\",//Possible values available in the Glossary (Pending Types of Registration)\r\n \"description\": \"Description of to-do type\"\r\n },\r\n \"domain\": {\r\n \"id\": \"Domain code that describes the to-do\",\r\n \"description\": \"Description of to-do\"\r\n },\r\n \"domainDescription\": \"Domain Identification\", \r\n \"field\": \"Pending field name\",\r\n \"havePendency\": \"Indicates if there is a pendency(true/false)\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"businessRolesPendencies\": [ //Business profile backlog\r\n {\r\n \"codBusinessRoles\": \"Business profile code\",\r\n \"businessRoles\": \"Business profile description\"\r\n }\r\n ]\r\n }"},{"id":"5984cc32-fb88-415f-9f65-50ce6be18d3d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/pendencies?function=<integer>&pendencyType=<byte>&details=<boolean>&includeOptions=BusinessRoles&includeOptions=Documents","host":["{{baseUrl}}"],"path":["api","people",":id","pendencies"],"query":[{"key":"function","value":"<integer>","description":"function code"},{"key":"pendencyType","value":"<byte>","description":"to-do type code"},{"key":"details","value":"<boolean>","description":"Indicates whether the result should be verbose (true) or summarized (false)"},{"key":"includeOptions","value":"BusinessRoles","description":"It adds an object with the business profiles to the query&#39;s return"},{"key":"includeOptions","value":"Documents","description":"Adds an object with the documents to the query&#39;s return"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person code"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 247,\r\n \"name\": \"PERSON AAJN\",\r\n \"registrationDate\": \"2017-02-13T00:00:00Z\",\r\n \"pendencies\": [\r\n {//EXAMPLE RETURN WITH \"details\" FALSE\r\n \"functionCode\": 9,\r\n \"pendenciesPerFunction\": [\r\n {\r\n \"pendencyType\": {\r\n \"id\": 1,\r\n \"description\": \"Basic data\"\r\n },\r\n \"havePendency\": false\r\n },\r\n {\r\n \"pendencyType\": {\r\n \"id\": 3,\r\n \"description\": \"References\"\r\n },\r\n \"havePendency\": true\r\n }\r\n ]\r\n },\r\n {//EXAMPLE RETURN WITH \"details\" TRUE\r\n \"functionCode\": 1,\r\n \"pendenciesPerFunction\": [\r\n {\r\n \"pendencyType\": {\r\n \"id\": 6,\r\n \"description\": \"Documentation status\"\r\n },\r\n \"domain\": {\r\n \"id\": 2,\r\n \"description\": \"CPF\"\r\n },\r\n \"domainDescription\": \"PROOF_TYPE_ID\",\r\n \"field\": \"ID_SITUACAO_COMPROVANTE\",\r\n \"havePendency\": true\r\n },\r\n {\r\n \"pendencyType\": {\r\n \"id\": 6,\r\n \"description\": \"Documentation status\"\r\n },\r\n \"domain\": {\r\n \"id\": 3,\r\n \"description\": \"Residential\"\r\n },\r\n \"domainDescription\": \"PROOF_TYPE_ID\",\r\n \"field\": \"ID_SITUACAO_COMPROVANTE\",\r\n \"havePendency\": true\r\n }\r\n ]\r\n }\r\n ],\r\n \"businessRolesPendencies\": [\r\n {\r\n \"CodBusinessRoles\": 905,\r\n \"businessRoles\": \"Inactive 5\"\r\n },\r\n {\r\n \"CodBusinessRoles\": 923,\r\n \"businessRoles\": \"Default\"\r\n }\r\n ]\r\n }"}],"_postman_id":"fa0528ef-361c-4f1f-b88d-b1021452bc17"},{"name":"Consult people with pending issues","id":"7c929a35-846f-43a0-b135-e7fefa17bf69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/pending?code=<integer>&searchWholeNetwork=<boolean>&page=<integer>&pageSize=<integer>&includeOptions=telephones&includeOptions=emails&includeOptions=people pictures","description":"<p>This call is used to consult people with registration pending issues in <strong>Let</strong>. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","people","pending"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person code</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Indicates whether the search is for the person who sent the code (false), or if all people related to it should be searched (true)</p>\n<p> This parameter must be used together with the <code>code</code> parameter. Otherwise, an error will be returned. \n This parameter, along with the <code>code</code> parameter, changes search filters.</p>\n","type":"text/plain"},"key":"searchWholeNetwork","value":"<boolean>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>Adds an object with the phones to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"telephones"},{"description":{"content":"<p>Adds an object with the emails to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"emails"},{"description":{"content":"<p>Adds an object with related images to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"people pictures"}],"variable":[]}},"response":[{"id":"d0a4b31b-a3d4-4d98-a268-874b3038880c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/pending?code=<integer>&searchWholeNetwork=<boolean>&page=<integer>&pageSize=<integer>&includeOptions=telephones&includeOptions=emails&includeOptions=people pictures","host":["{{baseUrl}}"],"path":["api","people","pending"],"query":[{"key":"code","value":"<integer>","description":"**(Mandatory)**\n\n person code"},{"key":"searchWholeNetwork","value":"<boolean>","description":"Indicates whether the search is for the person who sent the code (false), or if all people related to it should be searched (true)\n\n This parameter must be used together with the `code` parameter. Otherwise, an error will be returned. \n This parameter, along with the `code` parameter, changes search filters."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"telephones","description":"Adds an object with the phones to the query return"},{"key":"includeOptions","value":"emails","description":"Adds an object with the emails to the query return"},{"key":"includeOptions","value":"people pictures","description":"Adds an object with related images to the query&#39;s return"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {//EXAMPLE searchWholeNetwork FALSE (searching for code 215)\r\n \"code\": 215,\r\n \"name\": \"VICTOR RUBENS FALSARELLA LIMA MACEDO\",\r\n \"telephones\": [\r\n {\r\n \"telephoneType\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"19337588563\",\r\n \"smsAccepted\": false\r\n },\r\n {\r\n \"telephoneType\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\"\r\n },\r\n \"telephone\": \"19981283449\",\r\n \"smsAccepted\": true\r\n },\r\n {\r\n \"telephoneType\": {\r\n \"id\": 3, \r\n \"description\": \"Note\"\r\n },\r\n \"telephone\": \"19999999866\",\r\n \"smsAccepted\": false\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"emailType\": {\r\n \"id\": 1,\r\n \"description\": \"Personal\"\r\n },\r\n \"email\": \"RANDOLPHCARVALHO12133458@MAILINATOR.COM\",\r\n \"newsLetterAccepted\": true\r\n }\r\n ],\r\n \"peoplePictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\" \r\n }\r\n ],\r\n \"level\": 0\r\n }\r\n ]\r\n // ONLY ONE OF THESE LISTS IS RETURNED, DOCUMENTING BOTH FOR EXAMPLE\r\n [\r\n {//EXAMPLE searchWholeNetwork TRUE(searching for code 215)\r\n \"code\": 236,\r\n \"name\": \"TEST RENEGOTIATION USER\",\r\n \"telephones\": [\r\n {\r\n \"telephoneType\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"9999992364\",\r\n \"smsAccepted\": false\r\n },\r\n {\r\n \"telephoneType\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\" \r\n },\r\n \"telephone\": \"99999923621\",\r\n \"smsAccepted\": false\r\n }\r\n ],\r\n \"emails\": [],\r\n \"peoplePictures\": [],\r\n \"level 1\r\n },\r\n {\r\n \"code\": 739,\r\n \"name\": \"COVERAGE TEST\",\r\n \"telephones\": [\r\n {\r\n \"telephoneType\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\"\r\n },\r\n \"telephone\": \"1232569856\"\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"emailType\": {\r\n \"id\": 1,\r\n \"description\": \"Folks\"\r\n },\r\n \"email\": \"COVERAGE TEST739@EMAIL.COM\"\r\n }\r\n ],\r\n \"peoplePictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ],\r\n \"level 1\r\n }\r\n ]"},{"id":"194b0461-8d55-48de-bd7d-21847a9f1624","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/pending?code=<integer>&searchWholeNetwork=<boolean>&page=<integer>&pageSize=<integer>&includeOptions=telephones&includeOptions=emails&includeOptions=people pictures","host":["{{baseUrl}}"],"path":["api","people","pending"],"query":[{"key":"code","value":"<integer>","description":"**(Mandatory)**\n\n person code"},{"key":"searchWholeNetwork","value":"<boolean>","description":"Indicates whether the search is for the person who sent the code (false), or if all people related to it should be searched (true)\n\n This parameter must be used together with the `code` parameter. Otherwise, an error will be returned. \n This parameter, along with the `code` parameter, changes search filters."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"telephones","description":"Adds an object with the phones to the query return"},{"key":"includeOptions","value":"emails","description":"Adds an object with the emails to the query return"},{"key":"includeOptions","value":"people pictures","description":"Adds an object with related images to the query&#39;s return"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Person&#39;s code\",\r\n \"name\": \"Full name\",\r\n \"telephones\": [//Phone list\r\n {\r\n \"telephoneType\": {\r\n \"id\": \"Phone type code\",//Possible values available in Glossary(Phone Types)\r\n \"description\": \"Description of phone type\"\r\n },\r\n \"telephone\": \"Phone number\",\r\n \"smsAccepted\": \"Indicates whether or not to accept SMS (true/false)\"\r\n }\r\n ],\r\n \"emails\": [//Email list\r\n {\r\n \"emailType\": {\r\n \"id\": \"Code to email type\",//Possible values available in the Glossary(Email Types)\r\n \"description\": \"Personal\" \r\n },\r\n \"email\": \"Email address\",\r\n \"newsLetterAccepted\": \"Indicates whether or not you accept the newsletter (true/false)\"\r\n }\r\n ],\r\n \"peoplePictures\": [//Picture List\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\",//Possible values available in Glossary(Image Types)\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Full URL of the image\"\r\n }\r\n ],\r\n \"level\": \"Level of relationship with the researched person (0 = own person)\"\r\n }\r\n ]"}],"_postman_id":"7c929a35-846f-43a0-b135-e7fefa17bf69"},{"name":"Consult document types","id":"3c7e600c-169e-4d7e-8b77-38047b316985","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/documentRecord","description":"<p>This call is used to query the types of documents available in the <strong>Let</strong> environment</p>\n","urlObject":{"path":["api","documentRecord"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"db29506c-c306-4efa-9875-0a873a148cae","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/documentRecord"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"documentType\": {\r\n \"id\": 1,\r\n \"description\": \"RG\"\r\n },\r\n \"personType\": {\r\n \"id\": 1,\r\n \"description\": \"Individual\"\r\n }\r\n },\r\n {\r\n \"documentType\": {\r\n \"id\": 2,\r\n \"description\": \"CPF\"\r\n },\r\n \"personType\": {\r\n \"id\": 1,\r\n \"description\": \"Individual\"\r\n }\r\n },\r\n {\r\n \"documentType\": {\r\n \"id\": 7,\r\n \"description\": \"CNPJ\"\r\n },\r\n \"personType\": {\r\n \"id\": two,\r\n \"description\": \"Legal person\"\r\n }\r\n },\r\n {\r\n \"documentType\": {\r\n \"id\": 8,\r\n \"description\": \"CNPJ Check\"\r\n },\r\n \"personType\": {\r\n \"id\": 2,\r\n \"description\": \"Legal person\"\r\n }\r\n },\r\n {\r\n \"documentType\": {\r\n \"id\": 9,\r\n \"description\": \"State Registration\"\r\n },\r\n \"personType\": {\r\n \"id\": 2,\r\n \"description\": \"Legal person\"\r\n }\r\n }\r\n ]"},{"id":"a90a2dc2-b750-43aa-990f-343caab3e75e","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/api/documentRecord"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"documentType\": {\r\n \"id\": \"Document type code\",\r\n \"description\": \"Description of document type\"\r\n },\r\n \"personType\": {\r\n \"id\": \"Person type code\",//Possible values available in the Glossary(Person Types)\r\n \"description\": \"Description of type of person\"\r\n }\r\n }\r\n ]"}],"_postman_id":"3c7e600c-169e-4d7e-8b77-38047b316985"}],"id":"fed095fe-a7a5-463d-876b-6d2c35545668","_postman_id":"fed095fe-a7a5-463d-876b-6d2c35545668","description":""},{"name":"Physical person","item":[{"name":"Update individual","id":"94991770-b2eb-45f6-838f-ee1889b22a9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"<p>Persons name.</p>\n"},{"key":"birthday","value":"<dateTime>","description":"<p>The person's date of birth. (1990-12-31T00:00:00.000Z)</p>\n","type":"text"},{"key":"gender","value":"<byte>","description":"<p>Gender of the person. <a href=\"#891f3da0-a7a3-4df9-b605-e332608e4ff0\">Genres types</a></p>\n","type":"text"},{"key":"password","value":"<string>","description":"<p>Person's password. <a href=\"#5e8e6c6a-d89f-4563-8ccc-b03d46862be1\">Access Policies</a></p>\n","type":"text"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"<p>Person's phone numbers. </p>\n<p> -<code>type</code>: Phone type. <a href=\"#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3\">Types of telephones</a>;</p>\n<p> -<code>telephone</code>: Person's phone number;</p>\n<p> -<code>acceptsMessages</code>: Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n","type":"text"},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"<p>The person's emails. </p>\n<p> -<code>type</code>: Type of email to be registered. <a href=\"#b6db0892-d243-4c6a-ac37-008dca199023\">Email types</a>;</p>\n<p> -<code>email</code>: Email to be registered.</p>\n","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\"\"mainDocumentTypeId\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"<p>Identification documents of the person. </p>\n<p> -<code>document</code>: Document of the person;</p>\n<p> -<code>type</code>: Document type; <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a>. </p>\n<p> -<code>mainDocumentTypeId</code>: Document number;</p>\n<p> -<code>documentInfoExtra</code>: Extra information about the document. \n -<code>typeInfoExtra</code>: Extra information type code. <a href=\"#5d87109b-5554-4321-b1ff-c2f58a3c435f\">Types of extra information</a>;\n -<code>infoExtra</code>: Extra info.</p>\n","type":"text"},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"ZIP code\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"type\":\"<integer>\"\"removeAddress\":\"<boolean>\"}]","description":"<p>Person's addresses. </p>\n<p> Filling in the levels depends on the type of <strong>Let</strong> installation. You can query the structure levels through an <a href=\"#62032556-68a4-4c51-ae48-abe7fd95897d\">API</a> and/or the <a href=\"#32a377c4-0a76-49d3-a1f1-0dbcad48abe7\">table</a> in the glossary. </p>\n<p> -<code>addressLevel1</code>: Name of the geographic structure that refers to the first level of the address;</p>\n<p> -<code>addressLevel2</code>: Name of the geographic structure that refers to the second level of the address;</p>\n<p> -<code>addressLevel3</code>: Name of the geographic structure that refers to the third level of the address;</p>\n<p> -<code>addressLevel4</code>: Name of the geographic structure that refers to the fourth level of the address;</p>\n<p> -<code>addressLevel5</code>: Name of the geographic structure that refers to the fifth level of the address;</p>\n<p> -<code>addressLevel6</code>: Name of the geographic structure that refers to the sixth level of the address;</p>\n<p> -<code>addressLevel7</code>: Name of the geographic structure that refers to the seventh level of the address;</p>\n<p> -<code>addressLevel8</code>: Name of the geographic structure that refers to the eighth level of the address;</p>\n<p> -<code>addressLevel9</code>: Name of geographic structure that refers to the ninth level of the address;</p>\n<p> -<code>addressLevel10</code>: Name of the geographic structure that refers to the tenth level of the address;</p>\n<p> -<code>addressComplement</code>: Address complement;</p>\n<p> -<code>addressNumber</code>: Address number;</p>\n<p> -<code>addressReference</code>: Address reference;</p>\n<p> -<code>addressName</code>: Address alias;</p>\n<p> -<code>geographicStructureCode</code>: Code of the geographic structure of the address;</p>\n<p> -<code>zipCode</code>: Zip code number of the address;</p>\n<ul>\n<li><code>type</code>: Type of address. <a href=\"#e9e9d22a-1fcc-457e-9605-f6c8a11f396b\">Types of addresses</a>;</li>\n</ul>\n<p> -<code>removeAddress</code>: Indicates whether the address will be removed.</p>\n","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"<p>Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation.</p>\n","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<byte>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"removeBankAccount\":\"<boolean>\"}]","description":"<p>Individual retailer bank accounts. </p>\n<p> -<code>informationNumber</code>: Incremental number of records referring to bank accounts to be registered;</p>\n<p> -<code>bankCode</code>: Bank code. <a href=\"#c3ca5c4d-db07-4080-8477-3dfa868f8309\">Consult bank codes</a>;</p>\n<p> -<code>accountAgency</code>: Account Agency:</p>\n<p> -<code>accountNumber</code>: Bank account number;</p>\n<p> -<code>accountType</code>: Type of bank account. <a href=\"#d1720dc2-9bb5-4b7f-a077-1af6518fb91c\">Types of bank accounts</a>;</p>\n<p> -<code>defaultAccount</code>: Identifies the account as primary. This parameter is used for cases where the person's registration has more than one associated account;</p>\n<p> -<code>removeBankAccount</code>: Indicates whether the account will be removed.</p>\n","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"<p>Nicknames of the person. </p>\n<p> -<code>typeId</code>: Alias type. <a href=\"#12fa8659-d78c-4c2e-a60f-0367b7d64d74\">Alias Types</a>;</p>\n<p> -<code>alias</code>: Description of the alias. </p>\n<p> <strong>Note</strong>: For Alias of type <code>1 - WebStore</code>, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.</p>\n","type":"text"},{"key":"acceptsTerms","value":"<boolean>","description":"<p>Acceptance of the terms referring to the contract registered in <strong>Let</strong>. </p>\n<p> This contract is displayed in our Virtual Office.</p>\n","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"<p>Data Disclosure Acceptance. This parameter is used by other APIs. \n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.</p>\n","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"<p>Allows you to receive SMS messages referring to events generated in <strong>Let</strong>. For this functionality to be effective, a previous parameterization is necessary.</p>\n","type":"text"},{"key":"spouseName","value":"<string>","description":"<p>Spouse's name.</p>\n","type":"text"},{"key":"fathername","value":"<string>","description":"<p>Father's name.</p>\n","type":"text"},{"key":"mothername","value":"<string>","description":"<p>Mother's name.</p>\n","type":"text"},{"key":"externalCode","value":"<string>","description":"<p>External code (used for external integrations).</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/people/:id?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","description":"<p>This call is used to update an individual's record.</p>\n","urlObject":{"path":["api","people",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>Mandatory.</strong></p>\n<p> Function code related to the registration that will be updated. </p>\n<p> If the logged in user is different from the person to be updated, he must have the permission <code>PermiteCriacaoCaptacaoConsumidorFinal</code>.</p>\n","type":"text/plain"},"key":"personFunction","value":"<integer>"},{"description":{"content":"<p>Default business rule code used by the application. </p>\n<p> This parameter must be used together with the <code>applicationCode</code> parameter, otherwise an error will be returned. </p>\n<p> This parameter together with the <code>applicationCode</code>, will validate if the application is allowed to update the address for the person.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p>Code of the application responsible for registering the person. </p>\n<p> This parameter must be used with the <code>businessModelCode</code> parameter. Otherwise, an error will be returned. </p>\n<p> This parameter, along with the <code>businessModelCode</code> parameter, validates the application's permission to update the address for the person.</p>\n","type":"text/plain"},"key":"applicationCode","value":"<byte>"},{"description":{"content":"<p>Code of the distribution center responsible for registering the person. </p>\n<p> This parameter must be used together with the <code>cycle</code> parameter. If sent, it will be validated if the system parameter <code>LimitarAddressEndrega</code> should limit delivery addresses only served by this distribution center.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p>Current sales cycle code. (202009)</p>\n<p> This parameter must be used together with the <code>distributionCenterCode</code> parameter. If sent, it will be validated if the system parameter <code>LimitarAddressEndrega</code> must limit delivery addresses only served by the dispatched distribution center.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"00ff5107-b1b6-4598-8c1c-ff149d14c7b3","name":"Response Parameter Details","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Persons name."},{"key":"birthday","value":"<dateTime>","description":"The person&#39;s date of birth. (1990-12-31T00:00:00.000Z)","type":"text"},{"key":"gender","value":"<integer>","description":"Gender of the person. [Genres types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)","type":"text"},{"key":"password","value":"<string>","description":"Person&#39;s password.\n\n","type":"text"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"Person&#39;s phone numbers. \n\n -`type`: Phone type. [Types of telephones](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -`telephone`: Person&#39;s phone number;\n\n -`acceptsMessages`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"The person&#39;s emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered.","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\"\"mainDocumentTypeId\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"Identification documents of the person. \n\n -`document`: Document of the person;\n\n -`type`: Document type; [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4). \n\n -`mainDocumentTypeId`: Document number;\n\n -`documentInfoExtra`: Extra information about the document. \n -`typeInfoExtra`: Extra information type code. [Types of extra information](#5d87109b-5554-4321-b1ff-c2f58a3c435f);\n -`infoExtra`: Extra info.","type":"text"},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"ZIP code\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"type\":\"<integer>\"\"removeAddress\":\"<boolean>\"}]","description":"Person&#39;s addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`addressLevel1`: Name of the geographic structure that refers to the first level of the address;\n\n -`addressLevel2`: Name of the geographic structure that refers to the second level of the address;\n\n -`addressLevel3`: Name of the geographic structure that refers to the third level of the address;\n\n -`addressLevel4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`addressLevel5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`addressLevel6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`addressLevel7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`addressLevel8`: Name of the geographic structure that refers to the eighth level of the address;\n\n -`addressLevel9`: Name of geographic structure that refers to the ninth level of the address;\n\n -`addressLevel10`: Name of the geographic structure that refers to the tenth level of the address;\n\n -`addressComplement`: Address complement;\n\n -`addressNumber`: Address number;\n\n -`addressReference`: Address reference;\n\n -`addressName`: Address alias;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n - `type`: Type of address. [Types of addresses](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b);\n\n -`removeAddress`: Indicates whether the address will be removed.","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation.","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<byte>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"removeBankAccount\":\"<boolean>\"}]","description":"Individual retailer bank accounts. \n\n -`informationNumber`: Incremental number of records referring to bank accounts to be registered;\n\n -`bankCode`: Bank code. [Consult bank codes](#c3ca5c4d-db07-4080-8477-3dfa868f8309);\n\n -`accountAgency`: Account Agency:\n\n -`accountNumber`: Bank account number;\n\n -`accountType`: Type of bank account. [Types of bank accounts](#d1720dc2-9bb5-4b7f-a077-1af6518fb91c);\n\n -`defaultAccount`: Identifies the account as primary. This parameter is used for cases where the person&#39;s registration has more than one associated account;\n\n -`removeBankAccount`: Indicates whether the account will be removed.","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"Nicknames of the person. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.","type":"text"},{"key":"acceptsTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**. \n\n This contract is displayed in our Virtual Office.","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"spouseName","value":"<string>","description":"Spouse&#39;s name.","type":"text"},{"key":"fathername","value":"<string>","description":"Father&#39;s name.","type":"text"},{"key":"mothername","value":"<string>","description":"Mother&#39;s name.","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/people/:id?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id"],"query":[{"key":"personFunction","value":"<integer>","description":"**Mandatory.**\n\n Function code related to the registration that will be updated. \n\n If the logged in user is different from the person to be updated, he must have the permission `PermiteCriacaoCaptacaoConsumidorFinal`."},{"key":"businessModelCode","value":"<integer>","description":"Default business rule code used by the application. \n\n This parameter must be used together with the `applicationCode` parameter, otherwise an error will be returned. \n\n This parameter together with the `applicationCode`, will validate if the application is allowed to update the address for the person."},{"key":"applicationCode","value":"<byte>","description":"Code of the application responsible for registering the person. \n\n This parameter must be used with the `businessModelCode` parameter. Otherwise, an error will be returned. \n\n This parameter, along with the `businessModelCode` parameter, validates the application&#39;s permission to update the address for the person."},{"key":"distributionCenterCode","value":"<integer>","description":"Code of the distribution center responsible for registering the person. \n\n This parameter must be used together with the `cycle` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` should limit delivery addresses only served by this distribution center."},{"key":"cycle","value":"<integer>","description":"Current sales cycle code. (202009)\n\n This parameter must be used together with the `distributionCenterCode` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` must limit delivery addresses only served by the dispatched distribution center."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"name\": \"Person&#39;s name\",\r\n \"birthday\": \"Date of birth\",\r\n \"gender\": \"Person&#39;s Gender Code\", // Possible values in the Glossary(Person&#39;s Gender)\r\n \"password\": \"password\",\r\n \"telephones\": [//Phone list\r\n {\r\n \"type\": \"Phone Type Code\", //Possible Glossary Values(Phone Types)\r\n \"telephone\": \"Phone number\",\r\n \"acceptsMessages\": \"Indicates whether you accept receiving SMS (true/false)\"\r\n }\r\n ],\r\n \"emails\": [//Email list\r\n {\r\n \"type\": \"Email Type Code\",//Possible Glossary Values(Email Types)\r\n \"email\": \"Email address\"\r\n } \r\n ],\r\n \"documents\": [//List of documents\r\n {\r\n \"type\": \"Document Type Code\",//Possible values available in the Glossary(Document Types)\r\n \"document\": \"Document Data\",\r\n \"mainDocumentTypeId\": \"Main Document Type Code\", //Possible values available in the Glossary(Main Document Types)\r\n \"documentType\": {\r\n \"id\": \"Document Type Code\",//Possible values available in the Glossary(Document Types)\r\n \"description\": \"Document Type Description\"\r\n },\r\n \"documentInfoExtra\": [//List of extra information\r\n {\r\n \"typeInfoExtra\": \"Extra Information Type Code\",//Possible Glossary Available Values(Extra Information Types) \r\n \"infoExtra\": \"Information data\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addresses\": [//Address list. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n {\r\n \"addressLevel1\": \"Address level 1\",\r\n \"addressLevel2\": \"Address level 2\",\r\n \"addressLevel3\": \"Address Level 3\",\r\n \"addressLevel4\": \"Address level 4\",\r\n \"addressLevel5\": \"Address level 5\",\r\n \"AddressLevel6\": \"Address level 6\",\r\n \"AddressLevel7\": \"Address level 7\",\r\n \"AddressLevel8\": \"Address level 8\",\r\n \"AddressLevel9\": \"Address level 9\",\r\n \"AddressLevel10\": \"Address Level 10\",\r\n \"addressComplement\": \"Complement\",\r\n \"addressNumber\": \"Number\",\r\n \"addressReference\": \"Reference\",\r\n \"addressName\": \"Address Name (nickname)\",\r\n \"geographicStructureCode\": \"Geographic Structure Code\", \r\n \"zipCode\": \"Postcode\",\r\n \"type\": \"Address Type Code\",//Possible values available in the Glossary(Address Types)\r\n \"removeAddress\": \"Indicates whether the address should be removed (true/false)\",\r\n \"allowChangeOtherApplication\": \"Indicates whether to allow other applications to change the address (true/false)\",\r\n \"deliverToNeighbor\": \"Delivery to Neighbor Authorization Id\"//Possible values available in Glossary(Delivery to Neighbor Authorization)\r\n }\r\n ],\r\n \"bankAccounts\": [ // List of person&#39;s bank accounts\r\n {\r\n \"informationNumber\": \"Incremental number of records referring to bank accounts to be registered\",\r\n \"bankCode\": \"Bank code\",\r\n \"accountAgency\": \"Account Agency\", \r\n \"accountNumber\": \"Account number\",\r\n \"accountType\": \"Account Type\",//Possible values available in the Glossary(Bank Account Types)\r\n \"defaultAccount\": \"Identifies the account as main\",\r\n \"updatedDate\": \"Last updated date\",\r\n \"removeBankAccount\": \"Indicates whether the account should be removed (true/false)\"\r\n }\r\n ],\r\n \"alias\": [ // List of person&#39;s aliases\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Person alias\"\r\n }\r\n ],\r\n \"acceptTerms\": \"Indicates whether the person accepted the terms (true/false)\",\r\n \"allowsRegisterDivulgation\": \"Indicates whether the person authorizes the data sharing (true/false)\",\r\n \"acceptsMessages\": \"Indicates if the person accepts to receive newsletter (true/false)\",\r\n \"spouseName\": \"Spouse Name\",\r\n \"fatherName\": \"Father Name\",\r\n \"motherName\": \"Mother&#39;s Name\",\r\n \"externalCode\": \"External Code\"\r\n }\r\n ]"},{"id":"356ec46e-68e6-47dd-b4e9-e2a9f472afb9","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"<string>","description":"Persons name."},{"key":"birthday","value":"<dateTime>","description":"The person&#39;s date of birth. (1990-12-31T00:00:00.000Z)","type":"text"},{"key":"gender","value":"<integer>","description":"Gender of the person. [Genres types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)","type":"text"},{"key":"password","value":"<string>","description":"Person&#39;s password.\n\n","type":"text"},{"key":"telephones","value":"[{\"type\":\"<integer>\"\"telephone\":\"<string>\"\"acceptsMessages\":\"<boolean>\"}]","description":"Person&#39;s phone numbers. \n\n -`type`: Phone type. [Types of telephones](#9ddf0eb6-bf97-4d9d-b5e4-5a97700128f3);\n\n -`telephone`: Person&#39;s phone number;\n\n -`acceptsMessages`: Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"emails","value":"[{\"type\":\"<integer>\",\"email\":\"<string>\"}]","description":"The person&#39;s emails. \n\n -`type`: Type of email to be registered. [Email types](#b6db0892-d243-4c6a-ac37-008dca199023);\n\n -`email`: Email to be registered.","type":"text"},{"key":"documents","value":"[{\"document\":\"<string>\",\"type\":\"<integer>\"\"mainDocumentTypeId\":\"<integer>\",\"documentInfoExtra\":[{\"typeInfoExtra\":\"<integer>\"\"infoExtra\":\"<string>\"}]}]","description":"Identification documents of the person. \n\n -`document`: Document of the person;\n\n -`type`: Document type; [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4). \n\n -`mainDocumentTypeId`: Document number;\n\n -`documentInfoExtra`: Extra information about the document. \n -`typeInfoExtra`: Extra information type code. [Types of extra information](#5d87109b-5554-4321-b1ff-c2f58a3c435f);\n -`infoExtra`: Extra info.","type":"text"},{"key":"addresses","value":"[{\"addressLevel1\":\"<string>\",\"addressLevel2\":\"<string>\",\"addressLevel3\":\"<string>\",\"addressLevel4\":\"<string>\",\"addressLevel5\":\"<string>\",\"addressLevel6\":\"<string>\",\"addressLevel7\":\"<string>\",\"addressLevel8\":\"<string>\",\"addressLevel9\":\"<string>\",\"addressLevel10\":\"<string>\",\"addressComplement\":\"<string>\",\"addressNumber\":\"<string>\",\"addressReference\":\"<string>\",\"addressName\":\"<string>\",\"ZIP code\":\"<string>\",\"geographicStructureCode\":\"<integer>\",\"type\":\"<integer>\"\"removeAddress\":\"<boolean>\"}]","description":"Person&#39;s addresses. \n\n Filling in the levels depends on the type of **Let** installation. You can query the structure levels through an [API](#62032556-68a4-4c51-ae48-abe7fd95897d) and/or the [table](#32a377c4-0a76-49d3-a1f1-0dbcad48abe7) in the glossary. \n\n -`addressLevel1`: Name of the geographic structure that refers to the first level of the address;\n\n -`addressLevel2`: Name of the geographic structure that refers to the second level of the address;\n\n -`addressLevel3`: Name of the geographic structure that refers to the third level of the address;\n\n -`addressLevel4`: Name of the geographic structure that refers to the fourth level of the address;\n\n -`addressLevel5`: Name of the geographic structure that refers to the fifth level of the address;\n\n -`addressLevel6`: Name of the geographic structure that refers to the sixth level of the address;\n\n -`addressLevel7`: Name of the geographic structure that refers to the seventh level of the address;\n\n -`addressLevel8`: Name of the geographic structure that refers to the eighth level of the address;\n\n -`addressLevel9`: Name of geographic structure that refers to the ninth level of the address;\n\n -`addressLevel10`: Name of the geographic structure that refers to the tenth level of the address;\n\n -`addressComplement`: Address complement;\n\n -`addressNumber`: Address number;\n\n -`addressReference`: Address reference;\n\n -`addressName`: Address alias;\n\n -`geographicStructureCode`: Code of the geographic structure of the address;\n\n -`zipCode`: Zip code number of the address;\n\n - `type`: Type of address. [Types of addresses](#e9e9d22a-1fcc-457e-9605-f6c8a11f396b);\n\n -`removeAddress`: Indicates whether the address will be removed.","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"Code of the commercial structure where the person will be allocated. If automatic allocation is not enabled, permission is required to make this allocation.","type":"text"},{"key":"bankAccounts","value":"[{\"informationNumber\":\"<byte>\",\"bankCode\":\"<integer>\"\"accountAgency\":\"<string>\"\"accountNumber\":\"<string>\"\"accountType\":\"<integer>\",\"defaultAccount\":\"<boolean>\",\"removeBankAccount\":\"<boolean>\"}]","description":"Individual retailer bank accounts. \n\n -`informationNumber`: Incremental number of records referring to bank accounts to be registered;\n\n -`bankCode`: Bank code. [Consult bank codes](#c3ca5c4d-db07-4080-8477-3dfa868f8309);\n\n -`accountAgency`: Account Agency:\n\n -`accountNumber`: Bank account number;\n\n -`accountType`: Type of bank account. [Types of bank accounts](#d1720dc2-9bb5-4b7f-a077-1af6518fb91c);\n\n -`defaultAccount`: Identifies the account as primary. This parameter is used for cases where the person&#39;s registration has more than one associated account;\n\n -`removeBankAccount`: Indicates whether the account will be removed.","type":"text"},{"key":"by the way","value":"[{\"typeId\":\"<byte>\",\"by the way\":\"<string>\"}]","description":"Nicknames of the person. \n\n -`typeId`: Alias type. [Alias Types](#12fa8659-d78c-4c2e-a60f-0367b7d64d74);\n\n -`alias`: Description of the alias. \n\n **Note**: For Alias of type `1 - WebStore`, must contain only lowercase characters, cannot contain special characters, and must be between 5 and 35 characters.","type":"text"},{"key":"acceptsTerms","value":"<boolean>","description":"Acceptance of the terms referring to the contract registered in **Let**. \n\n This contract is displayed in our Virtual Office.","type":"text"},{"key":"allowsRegisterDisclosure","value":"<boolean>","description":"Data Disclosure Acceptance. This parameter is used by other APIs. \n Example: In the multilevel network, when this parameter is turned off, the person is not presented as an option during registration.","type":"text"},{"key":"acceptsMessages","value":"<boolean>","description":"Allows you to receive SMS messages referring to events generated in **Let**. For this functionality to be effective, a previous parameterization is necessary.","type":"text"},{"key":"spouseName","value":"<string>","description":"Spouse&#39;s name.","type":"text"},{"key":"fathername","value":"<string>","description":"Father&#39;s name.","type":"text"},{"key":"mothername","value":"<string>","description":"Mother&#39;s name.","type":"text"},{"key":"externalCode","value":"<string>","description":"External code (used for external integrations).","type":"text"}]},"url":{"raw":"{{baseUrl}}/api/people/:id?personFunction=<integer>&businessModelCode=<integer>&applicationCode=<byte>&distributionCenterCode=<integer>&cycle=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id"],"query":[{"key":"personFunction","value":"<integer>","description":"**Mandatory.**\n\n Function code related to the registration that will be updated. \n\n If the logged in user is different from the person to be updated, he must have the permission `PermiteCriacaoCaptacaoConsumidorFinal`."},{"key":"businessModelCode","value":"<integer>","description":"Default business rule code used by the application. \n\n This parameter must be used together with the `applicationCode` parameter, otherwise an error will be returned. \n\n This parameter together with the `applicationCode`, will validate if the application is allowed to update the address for the person."},{"key":"applicationCode","value":"<byte>","description":"Code of the application responsible for registering the person. \n\n This parameter must be used with the `businessModelCode` parameter. Otherwise, an error will be returned. \n\n This parameter, along with the `businessModelCode` parameter, validates the application&#39;s permission to update the address for the person."},{"key":"distributionCenterCode","value":"<integer>","description":"Code of the distribution center responsible for registering the person. \n\n This parameter must be used together with the `cycle` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` should limit delivery addresses only served by this distribution center."},{"key":"cycle","value":"<integer>","description":"Current sales cycle code. (202009)\n\n This parameter must be used together with the `distributionCenterCode` parameter. If sent, it will be validated if the system parameter `LimitarAddressEndrega` must limit delivery addresses only served by the dispatched distribution center."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"name\": \"SELLER 2TEST - SILMARA QA\",\r\n \"birthday\": \"2021-03-04T15:18:55.782Z\",\r\n \"gender\": 2,\r\n \"password\": \"1234\",\r\n \"telephones\": [\r\n {\r\n \"type\": 1,\r\n \"telephone\": \"19914564654\",\r\n \"acceptsMessages\": false\r\n },\r\n {\r\n \"type\": 2,\r\n \"telephone\": \"11111111111\",\r\n \"acceptsMessages\": false\r\n },\r\n {\r\n \"type\": 3,\r\n \"telephone\": \"15646546515\",\r\n \"acceptsMessages\": false\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": 1,\r\n \"email\": \"SILMARAQA@MAILINATOR.COM\"\r\n },\r\n {\r\n \"type\": 2,\r\n \"email\": \"SILMARAVANELLI@GERA.COM.BR\"\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"type\": 1,\r\n \"document\": \"111111111111\",\r\n \"mainDocumentTypeId\": 2,\r\n \"documentType\": {\r\n \"id\": 1,\r\n \"description\": \"RG\"\r\n },\r\n \"documentInfoExtra\": [\r\n {\r\n \"typeInfoExtra\": 1,\r\n \"infoExtra\": \"SSPSP\"\r\n },\r\n {\r\n \"typeInfoExtra\": 12,\r\n \"infoExtra\": \"1988-02-28T06:00:00.000Z\" \r\n }\r\n ]\r\n },\r\n {\r\n \"type\": 2,\r\n \"document\": \"45253178848\",\r\n \"mainDocumentTypeId\": 2,\r\n \"documentType\": {\r\n \"id\": 2,\r\n \"description\": \"CPF\"\r\n }\r\n },\r\n {\r\n \"type\": 8,\r\n \"document\": \"12332123123\",\r\n \"mainDocumentTypeId\": 2,\r\n \"documentType\": {\r\n \"id\": 8,\r\n \"description\": \"Citizenship Certificate\"\r\n }\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"addressLevel1\": \"BRAZIL\",\r\n \"addressLevel2\": \"SP\",\r\n \"addressLevel3\": \"HORTOLAND\",\r\n \"addressLevel4\": \"ADELAIDE GARDEN\",\r\n \"addressLevel5\": \"RUA JULIO CESAR DO NASCIMENTO\",\r\n \"AddressLevel6\": \"Address level 6\",\r\n \"AddressLevel7\": \"Address level 7\",\r\n \"AddressLevel8\": \"Address level 8\",\r\n \"AddressLevel9\": \"Address level 9\",\r\n \"AddressLevel10\": \"Address Level 10\",\r\n \"addressComplement\": \"FIFTH FLOOR\",\r\n \"addressNumber\": \"1504\",\r\n \"addressReference\": \"ID CUIT\",\r\n \"addressName\": \"STRING\",\r\n \"zipCode\": \"13185343\",\r\n \"type\": 6\r\n }\r\n ],\r\n \"bankAccounts\": [\r\n {\r\n \"informationNumber\": 0,\r\n \"bankCode\": 33,\r\n \"accountAgency\": \"1125\",\r\n \"accountNumber\": \"66825\",\r\n \"accountType\": 1,\r\n \"defaultAccount\": true,\r\n \"updatedDate\": \"2019-01-18T11:58:41.267Z\",\r\n \"removeBankAccount\": false\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"TESTEQA123\"\r\n }\r\n ],\r\n \"acceptTerms\": true,\r\n \"allowsRegisterDivulgation\": true,\r\n \"acceptsMessages\": true,\r\n \"spouseName\": \"BLA TEST\",\r\n \"fatherName\": \"MOTHER TEST\",\r\n \"motherName\": \"PARENT TEST\",\r\n \"externalCode\": \"CD2350\"\r\n }\r\n ]"}],"_postman_id":"94991770-b2eb-45f6-838f-ee1889b22a9d"},{"name":"Consult person by code","id":"7bccb743-e496-4f08-820d-4d27550f20e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id?includeOptions=activeFunctions&includeOptions=by the way&includeOptions=bankAccounts&includeOptions=businessData&includeOptions=companyData&includeOptions=disableSearchCache&includeOptions=documents&includeOptions=emails&includeOptions=fixedDistributionCenterCode&includeOptions=onlyBasicAddresses&includeOptions=personalData&includeOptions=registerDisclosure&includeOptions=roles&includeOptions=telephones&includeOptions=Establishment Data&includeOptions=EstablishmentDataHistory&includeOptions=pictures&includeOptions=docsExtraInformations&includeOptions=customFields","description":"<p>This call is used to query a person by their identifier code. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","people",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>It adds an object with the person's active roles to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"activeFunctions"},{"description":{"content":"<p>It adds an object with the person's nicknames to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>It adds an object with the person's bank accounts to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"bankAccounts"},{"description":{"content":"<p>It adds an object with the person's business information to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessData"},{"description":{"content":"<p>It adds an object with the person's company data to the query's return. </p>\n<p> <strong>Observation</strong></p>\n<p> It only works if the reseller is a legal entity.</p>\n","type":"text/plain"},"key":"includeOptions","value":"companyData"},{"description":{"content":"<p>Disables query caching.</p>\n","type":"text/plain"},"key":"includeOptions","value":"disableSearchCache"},{"description":{"content":"<p>It adds an object with the person's documents to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"documents"},{"description":{"content":"<p>It adds an object with the person's emails to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"emails"},{"description":{"content":"<p>It adds an object with the person's fixed distribution center code to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"fixedDistributionCenterCode"},{"description":{"content":"<p>Returns base addresses only.</p>\n","type":"text/plain"},"key":"includeOptions","value":"onlyBasicAddresses"},{"description":{"content":"<p>It adds an object with the person's personal data to the query's return. </p>\n<p> <strong>Observation</strong></p>\n<p> It only works if the person is a natural person.</p>\n","type":"text/plain"},"key":"includeOptions","value":"personalData"},{"description":{"content":"<p>It adds an object with the person's disclosure data to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"registerDisclosure"},{"description":{"content":"<p>It adds an object with the person's role data to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"roles"},{"description":{"content":"<p>It adds an object with the person's telephone numbers to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"telephones"},{"description":{"content":"<p>It adds an object with the establishments in which the person is a collaborator in the return of the consultation.</p>\n","type":"text/plain"},"key":"includeOptions","value":"Establishment Data"},{"description":{"content":"<p>It adds an object with the history of the establishments in which the person is a collaborator in the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"EstablishmentDataHistory"},{"description":{"content":"<p>It adds an object with the person's photos to the return of the consultation.</p>\n","type":"text/plain"},"key":"includeOptions","value":"pictures"},{"description":{"content":"<p>It adds an object with the person's extra documentation information in the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"docsExtraInformations"},{"description":{"content":"<p>It adds an object with the person's variable fields to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"customFields"}],"variable":[{"id":"19d7c4b7-b94a-4a53-8ca7-07c32d2221d1","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"81b10b73-80f9-48bc-bb81-b9fcfabcc089","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id?includeOptions=activeFunctions&includeOptions=by the way&includeOptions=bankAccounts&includeOptions=businessData&includeOptions=companyData&includeOptions=disableSearchCache&includeOptions=documents&includeOptions=emails&includeOptions=fixedDistributionCenterCode&includeOptions=onlyBasicAddresses&includeOptions=personalData&includeOptions=registerDisclosure&includeOptions=roles&includeOptions=telephones&includeOptions=Establishment Data&includeOptions=EstablishmentDataHistory&includeOptions=pictures&includeOptions=docsExtraInformations&includeOptions=customFields","host":["{{baseUrl}}"],"path":["api","people",":id"],"query":[{"key":"includeOptions","value":"activeFunctions","description":"It adds an object with the person&#39;s active roles to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the person&#39;s nicknames to the query&#39;s return."},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the person&#39;s bank accounts to the query&#39;s return."},{"key":"includeOptions","value":"businessData","description":"It adds an object with the person&#39;s business information to the query&#39;s return."},{"key":"includeOptions","value":"companyData","description":"It adds an object with the person&#39;s company data to the query&#39;s return. \n\n **Observation**\n\n It only works if the reseller is a legal entity."},{"key":"includeOptions","value":"disableSearchCache","description":"Disables query caching."},{"key":"includeOptions","value":"documents","description":"It adds an object with the person&#39;s documents to the query&#39;s return."},{"key":"includeOptions","value":"emails","description":"It adds an object with the person&#39;s emails to the query&#39;s return."},{"key":"includeOptions","value":"fixedDistributionCenterCode","description":"It adds an object with the person&#39;s fixed distribution center code to the query&#39;s return."},{"key":"includeOptions","value":"onlyBasicAddresses","description":"Returns base addresses only."},{"key":"includeOptions","value":"personalData","description":"It adds an object with the person&#39;s personal data to the query&#39;s return. \n\n **Observation**\n\n It only works if the person is a natural person."},{"key":"includeOptions","value":"registerDisclosure","description":"It adds an object with the person&#39;s disclosure data to the query&#39;s return."},{"key":"includeOptions","value":"roles","description":"It adds an object with the person&#39;s role data to the query&#39;s return."},{"key":"includeOptions","value":"telephones","description":"It adds an object with the person&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"Establishment Data","description":"It adds an object with the establishments in which the person is a collaborator in the return of the consultation."},{"key":"includeOptions","value":"EstablishmentDataHistory","description":"It adds an object with the history of the establishments in which the person is a collaborator in the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"It adds an object with the person&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"docsExtraInformations","description":"It adds an object with the person&#39;s extra documentation information in the query&#39;s return."},{"key":"includeOptions","value":"customFields","description":"It adds an object with the person&#39;s variable fields to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\":215,\r\n \"name\":\"VICTOR RUBENS FALSARELLA LIMA MACEDO\",\r\n \"spouseName\":\"FRANCISCO JOSE ZOTTO\",\r\n \"motherName\":\"MARIA DA SILVA S\",\r\n \"fatherName\":\"JOSE DA SILVA\",\r\n \"peoplePictures\":[\r\n {\r\n \"type\":{\r\n \"id\":1,\r\n \"description\":\"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ],\r\n \"personalData\":{\r\n \"name\":\"VICTOR RUBENS FALSARELLA LIMA MACEDO\",\r\n \"birthday\":\"2003-02-13T00:00:00Z\",\r\n \"Fri\":{\r\n \"id\":2,\r\n \"description\":\"Male\" \r\n },\r\n \"authorizeDisclosurePersonalDataOnline\":{\r\n \"id\":1,\r\n \"description\":\"Yes\"\r\n },\r\n \"motherName\":\"MARIA DA SILVA S\",\r\n \"fatherName\":\"JOSE DA SILVA\",\r\n \"spouseName\":\"FRANCISCO JOSE ZOTTO\"\r\n },\r\n \"addresses\":[\r\n {\r\n \"addressType\":{\r\n \"id\":1,\r\n \"description\":\"Residential\"\r\n },\r\n \"level0\":\"BRAZIL\",\r\n \"level1\":\"SP\",\r\n \"level2\":\"HORTOLAND\",\r\n \"level3\":\"GARDEN 1\",\r\n \"level4\":\"RUA BRASIL\",\r\n \"number\":\"479\",\r\n \"zipCode\":\"14185-051\",\r\n \"completeAddress\":\"RUA BRASIL 479 -JARDIM 1- HORTOLÂNDIA -SP- BRASIL - CEP: 14185-051\",\r\n \"geographicalStructureCode\":541812,\r\n \"allowChangeOtherApplication\":true\r\n },\r\n {\r\n \"addressType\":{\r\n \"id\":1,\r\n \"description\":\"Residential\"\r\n },\r\n \"level0\":\"BRAZIL\",\r\n \"level1\":\"SP\",\r\n \"level2\":\"HORTOLAND\",\r\n \"level3\":\"GARDEN 1\",\r\n \"level4\":\"RUA BRASIL\",\r\n \"complement\":\"479\",\r\n \"number\":\"13\",\r\n \"reference\":\"ADDRESS 1\",\r\n \"zipCode\":\"14185-051\",\r\n \"completeAddress\":\"RUA BRASIL 479 -JARDIM 1- HORTOLÂNDIA -SP- BRASIL - CEP: 14185-051\",\r\n \"geographicalStructureCode\":541812,\r\n \"allowChangeOtherApplication\":true\r\n }\r\n ],\r\n \"telephones\":[\r\n {\r\n \"telephoneType\":{\r\n \"id\":1,\r\n \"description\":\"Residential\"\r\n },\r\n \"telephone\":\"19337580988\",\r\n \"smsAccepted\":false\r\n },\r\n {\r\n \"telephoneType\":{\r\n \"id\":2,\r\n \"description\":\"Mobile Phone\"\r\n },\r\n \"telephone\":\"19981281149\",\r\n \"smsAccepted\":true\r\n },\r\n {\r\n \"telephoneType\":{\r\n \"id\":3,\r\n \"description\":\"Note\" \r\n },\r\n \"telephone\":\"19999999836\",\r\n \"smsAccepted\":false\r\n }\r\n ],\r\n \"emails\":[\r\n {\r\n \"emailType\":{\r\n \"id\":1,\r\n \"description\":\"Personal\"\r\n },\r\n \"email\":\"123@GMAIL.COM\",\r\n \"newsLetterAccepted\":true\r\n }\r\n ],\r\n \"documents\":[\r\n {\r\n \"documentType\":{\r\n \"id\":2,\r\n \"description\":\"CPF\"\r\n },\r\n \"document\":\"49942335405\"\r\n },\r\n {\r\n \"documentType\":{\r\n \"id\":1, \r\n \"description\":\"RG\"\r\n },\r\n \"document\":\"834570836\",\r\n \"documentsInfoExtra\":[\r\n {\r\n \"typeInfoExtra\":1,\r\n \"descriptionInfoExtra\":\"OrgaoExpedidorRG\",\r\n \"infoExtra\":\"SSP\"\r\n },\r\n {\r\n \"typeInfoExtra\":12,\r\n \"descriptionInfoExtra\":\"DataExpedicationRG\",\r\n \"infoExtra\":\"2002-01-01T05:00:00.000Z\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"functions\":[\r\n {\r\n \"code\":2,\r\n \"name\":\"Collaborator\",\r\n \"beginDate\":\"2019-01-01T00:00:00Z\",\r\n \"endDate\":\"0001-01-01T00:00:00Z\",\r\n \"information\":\"\",\r\n \"status\":{\r\n \"id\":1,\r\n \"description\":\"Registration OK\"\r\n },\r\n \"type\":{\r\n \"id\":1,\r\n \"description\":\"Registration\"\r\n }\r\n },\r\n {\r\n \"code\":4,\r\n \"name\":\"FV Member\",\r\n \"beginDate\":\"2020-12-17T12:32:18.61Z\",\r\n \"endDate\":\"0001-01-01T00:00:00Z\",\r\n \"information\":\"\",\r\n \"status\":{\r\n \"id\":1,\r\n \"description\":\"Registration OK\"\r\n },\r\n \"type\":{\r\n \"id\":2,\r\n \"description\":\"Access\" \r\n }\r\n },\r\n {\r\n \"code\":8,\r\n \"name\":\"Sales Force\",\r\n \"beginDate\":\"2017-04-19T00:00:00Z\",\r\n \"endDate\":\"0001-01-01T00:00:00Z\",\r\n \"information\":\"\",\r\n \"status\":{\r\n \"id\":1,\r\n \"description\":\"Registration OK\"\r\n },\r\n \"type\":{\r\n \"id\":1,\r\n \"description\":\"Registration\"\r\n }\r\n },\r\n {\r\n \"code\":32,\r\n \"name\":\"Special Access Managers\",\r\n \"beginDate\":\"2019-08-06T09:07:50.813Z\",\r\n \"endDate\":\"0001-01-01T00:00:00Z\",\r\n \"information\":\"\", \r\n \"status\":{\r\n \"id\":1,\r\n \"description\":\"Registration OK\"\r\n },\r\n \"type\":{\r\n \"id\":2,\r\n \"description\":\"Access\"\r\n }\r\n },\r\n {\r\n \"code\": 309,\r\n \"name\":\"Test Item to Incorporate\",\r\n \"beginDate\":\"2020-12-17T12:32:17.163Z\",\r\n \"endDate\":\"0001-01-01T00:00:00Z\",\r\n \"information\":\"\",\r\n \"status\":{\r\n \"id\":1,\r\n \"description\":\"Registration OK\"\r\n },\r\n \"type\":{\r\n \"id\":2,\r\n \"description\":\"Access\"\r\n }\r\n } \r\n ],\r\n \"roles\":[\r\n {\r\n \"code\":11,\r\n \"description\":\"C1\",\r\n \"roleSituation\":1,\r\n \"functionCode\":1\r\n },\r\n {\r\n \"code\":21,\r\n \"description\":\"Collaborator\",\r\n \"roleSituation\":1,\r\n \"functionCode\":2\r\n },\r\n {\r\n \"code\": 85,\r\n \"description\":\"Regional Manager\",\r\n \"roleSituation\":1,\r\n \"functionCode\":9\r\n },\r\n {\r\n \"code\":89,\r\n \"description\":\"Donation\",\r\n \"roleSituation\":1,\r\n \"functionCode\":8\r\n },\r\n {\r\n \"code\": 91,\r\n \"description\":\"End Consumer\",\r\n \"roleSituation\":1,\r\n \"functionCode\":9\r\n }\r\n ],\r\n \"bankAccounts\":[\r\n {\r\n \"informationNumber\":1,\r\n \"bankName\":\"Bank x\",\r\n \"bankCode\":33,\r\n \"accountAgency\":\"1234\",\r\n \"accountNumber\":\"7093-0\",\r\n \"accountType\":1,\r\n \"defaultAccount\":false,\r\n \"updatedDate\":\"2020-12-10T12:42:36.433Z\"\r\n }\r\n ],\r\n \"by the way\":[\r\n {\r\n \"typeId\":1,\r\n \"alias\":\"TESTQA215\"\r\n },\r\n {\r\n \"typeId\":2,\r\n \"alias\":\"NAME TES\"\r\n }\r\n ],\r\n \"personType\":{\r\n \"id\":1,\r\n \"description\":\"Individual\"\r\n },\r\n \"businessData\":{\r\n \"indicator\":{\r\n \"code\":210,\r\n \"name\":\"AAIC PERSON\",\r\n \"pictures\":[\r\n {\r\n \"type\":{\r\n \"id\":1,\r\n \"description\":\"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ]\r\n } \r\n },\r\n \"allowsRegisterDivulgation\":{\r\n \"id\":1,\r\n \"description\":\"Yes\"\r\n },\r\n \"fixedDistributionCenterCode\":1,\r\n \"establishments\": [\r\n {\r\n \"code\": 822,\r\n \"name\": \"GIOVANA E BRENO PIZZARIA ME\",\r\n \"admissionDate\": \"2019-02-01T00:00:00Z\",\r\n \"isCurrent\": true\r\n },\r\n {\r\n \"code\": 822,\r\n \"name\": \"GIOVANA E BRENO PIZZARIA ME\",\r\n \"admissionDate\": \"2019-02-01T00:00:00Z\",\r\n \"isCurrent\": true\r\n },\r\n {\r\n \"code\": 822,\r\n \"name\": \"GIOVANA E BRENO PIZZARIA ME\", \r\n \"admissionDate\": \"2019-02-01T00:00:00Z\",\r\n \"isCurrent\": true\r\n }\r\n ],\r\n \"companyData\":{\r\n \"name\":\"RAYMOND CARVALHO\",\r\n \"trade\":\"RAYMOND CARVALHO\",\r\n \"businessRole\":{\r\n \"id\":1,\r\n \"description\":\"Distribution Channel\"\r\n },\r\n \"icmsTaxPayer\":{\r\n \"id\":1,\r\n \"description\":\"Yes\"\r\n },\r\n \"site\":\"DOCG.COM.BR\",\r\n \"authorizeNewsletter\":true\r\n },\r\n \"customFields\":[\r\n {\r\n \"code\":21,\r\n \"name\":\"Test1\",\r\n \"logicalName\":\"Test1\", \r\n \"description\":\"Test1\",\r\n \"valuesType\":{\r\n \"id\":1,\r\n \"description\":\"Text\"\r\n },\r\n \"values\":[\r\n {\r\n \"value\": \"Test\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]"},{"id":"8590637b-2c24-4eed-94f2-48877cf07f80","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id?includeOptions=activeFunctions&includeOptions=by the way&includeOptions=bankAccounts&includeOptions=businessData&includeOptions=companyData&includeOptions=disableSearchCache&includeOptions=documents&includeOptions=emails&includeOptions=fixedDistributionCenterCode&includeOptions=onlyBasicAddresses&includeOptions=personalData&includeOptions=registerDisclosure&includeOptions=roles&includeOptions=telephones&includeOptions=Establishment Data&includeOptions=EstablishmentDataHistory&includeOptions=pictures&includeOptions=docsExtraInformations&includeOptions=customFields","host":["{{baseUrl}}"],"path":["api","people",":id"],"query":[{"key":"includeOptions","value":"activeFunctions","description":"It adds an object with the person&#39;s active roles to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the person&#39;s nicknames to the query&#39;s return."},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the person&#39;s bank accounts to the query&#39;s return."},{"key":"includeOptions","value":"businessData","description":"It adds an object with the person&#39;s business information to the query&#39;s return."},{"key":"includeOptions","value":"companyData","description":"It adds an object with the person&#39;s company data to the query&#39;s return. \n\n **Observation**\n\n It only works if the reseller is a legal entity."},{"key":"includeOptions","value":"disableSearchCache","description":"Disables query caching."},{"key":"includeOptions","value":"documents","description":"It adds an object with the person&#39;s documents to the query&#39;s return."},{"key":"includeOptions","value":"emails","description":"It adds an object with the person&#39;s emails to the query&#39;s return."},{"key":"includeOptions","value":"fixedDistributionCenterCode","description":"It adds an object with the person&#39;s fixed distribution center code to the query&#39;s return."},{"key":"includeOptions","value":"onlyBasicAddresses","description":"Returns base addresses only."},{"key":"includeOptions","value":"personalData","description":"It adds an object with the person&#39;s personal data to the query&#39;s return. \n\n **Observation**\n\n It only works if the person is a natural person."},{"key":"includeOptions","value":"registerDisclosure","description":"It adds an object with the person&#39;s disclosure data to the query&#39;s return."},{"key":"includeOptions","value":"roles","description":"It adds an object with the person&#39;s role data to the query&#39;s return."},{"key":"includeOptions","value":"telephones","description":"It adds an object with the person&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"Establishment Data","description":"It adds an object with the establishments in which the person is a collaborator in the return of the consultation."},{"key":"includeOptions","value":"EstablishmentDataHistory","description":"It adds an object with the history of the establishments in which the person is a collaborator in the query&#39;s return."},{"key":"includeOptions","value":"pictures","description":"It adds an object with the person&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"docsExtraInformations","description":"It adds an object with the person&#39;s extra documentation information in the query&#39;s return."},{"key":"includeOptions","value":"customFields","description":"It adds an object with the person&#39;s variable fields to the query&#39;s return."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Person&#39;s code\",\r\n \"name\": \"Person&#39;s name\",\r\n \"spouseName\": \"Spouse&#39;s name\",\r\n \"motherName\": \"Mother&#39;s Name\",\r\n \"fatherName\": \"Father Name\",\r\n \"peoplePictures\": [ // List of person&#39;s pictures\r\n {\r\n \"type\": { // Type of images - Possible values in glossary (Image Types)\r\n \"id\": \"Image type code\",\r\n \"description\": \"Image type description\"\r\n },\r\n \"urlPicture\": \"Picture URL\"\r\n }\r\n ],\r\n \"personalData\": { // Personal Data. Just for individuals\r\n \"name\": \"Person&#39;s name\",\r\n \"birthday\": \"Person&#39;s birthday\",\r\n \"sex\": { // Person&#39;s Gender - Possible values in the glossary (Person&#39;s Gender)\r\n \"id\": \"Person&#39;s Gender Code\",\r\n \"description\": \"Description of the person&#39;s gender\"\r\n },\r\n \"authorizeDisclosurePersonalDataOnline\": { // Authorization to disclose personal data online. 1 - Yes, 2 - No\r\n \"id\": \"Authorization code\",\r\n \"description\": \"Description of authorization\"\r\n },\r\n \"motherName\": \"Mother&#39;s Name\",\r\n \"fatherName\": \"Father Name\",\r\n \"spouseName\": \"Spouse Name\"\r\n },\r\n \"addresses\": [ // List of addresses. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n {\r\n \"addressType\": { // Address Type - Possible Glossary Values (Person&#39;s Address)\r\n \"id\": \"Internal code of the domain corresponding to the Address Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Address Type\"\r\n },\r\n \"level0\": \"Address registration level zero\",\r\n \"level1\": \"Address registration level one\",\r\n \"level2\": \"Address registration level two\",\r\n \"level3\": \"Address registration level three\",\r\n \"level4\": \"Address registration level four\",\r\n \"level5\": \"Address registration level five\",\r\n \"level6\": \"Address registration level six\",\r\n \"level7\": \"Address registration level seven\",\r\n \"level8\": \"Level eight of address registration\",\r\n \"level9\": \"Address registration level nine\",\r\n \"complement\": \"Address complement\",\r\n \"number\": \"Address number\",\r\n \"zipCode\": \"Zip code of address\"\r\n }\r\n ],\r\n \"telephones\": [ // Phone list\r\n {\r\n \"telephoneType\": { // Phone Type - Possible Glossary Values (Phone Type)\r\n \"id\": \"Internal code of the domain corresponding to the Telephone Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Phone Type\"\r\n },\r\n \"telephone\": \"Phone Number\"\r\n }\r\n ],\r\n \"emails\": [ // List of emails\r\n { \r\n \"emailType\": { // Email Type - Possible Glossary Values (Email Type)\r\n \"id\": \"Internal code of the domain corresponding to the E-mail Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Email Type\"\r\n },\r\n \"email\": \"Email address\"\r\n }\r\n ],\r\n \"documents\": [ // List of person&#39;s documents\r\n {\r\n \"documentType\": { // Document Type -Possible values in glossary (Document Type)\r\n \"id\": \"Internal code of the domain corresponding to the Document Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Document Type\"\r\n },\r\n \"mainDocumentType\": { // Main Document Type- Possible values in glossary (Type of Main Document)\r\n \"id\": \"Internal code of the domain corresponding to the Main Document Type\",\r\n \"description\": \"Internal description of the domain corresponding to the Main Document Type\"\r\n },\r\n \"documentsInfoExtra\" :{ // Extra document information\r\n \"typeInfoExtra\": \"Extra Information Type Internal Code\", // Possible values in the glossary (Document Types - Extra Information)\r\n \"descriptionInfoExtra\": \"Internal Description of the Extra Information Type\", // Possible values in the glossary (Document Types - Extra Information)\r\n \"infoExtra\": \"Extra information\"\r\n },\r\n \"document\": \"Document Data\"\r\n }\r\n ],\r\n \"functions\": [ // List of person&#39;s functions \r\n {\r\n \"code\": \"Person role code\",\r\n \"name\": \"Person&#39;s role name\",\r\n \"beginDate\": \"Date of admission of the person&#39;s role\",\r\n \"endDate\": \"Date of termination of the person&#39;s role\",\r\n \"information\": \"Function observation\",\r\n \"status\": { // Person&#39;s role status - Possible values in the glossary (Role Statuses)\r\n \"id\": \"Person role status code\",\r\n \"description\": \"Description of the person&#39;s role status\"\r\n },\r\n \"type\": { // Person&#39;s Role Type - Possible Glossary Values (Function Types)\r\n \"id\": \"Person role type code\",\r\n \"description\": \"Description of the person&#39;s role type\"\r\n } \r\n }\r\n ],\r\n \"roles\": [ // List of person&#39;s roles\r\n {\r\n \"code\": \"Person role code\",\r\n \"description\": \"Description of the person&#39;s role\",\r\n \"roleSituation\": \"Person&#39;s role situation\",\r\n \"functionCode\": \"Function code related to the role of the person\"\r\n }\r\n ],\r\n \"bankAccounts\": [ // List of person&#39;s bank accounts\r\n {\r\n \"informationNumber\": \"Incremental number of records referring to bank accounts to be registered\",\r\n \"bankName\": \"Bank name\",\r\n \"bankCode\": \"Bank code\",\r\n \"accountAgency\": \"Account Agency\",\r\n \"accountNumber\": \"Number of account\",\r\n \"accountType\": \"Account Type\",\r\n \"defaultAccount\": \"Identifies the account as main\",\r\n \"updatedDate\": \"Last updated date\"\r\n }\r\n ],\r\n \"alias\": [ // List of person&#39;s aliases\r\n {\r\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\r\n \"alias\": \"Person alias\"\r\n }\r\n ],\r\n \"personType\": { // Person Type - Possible Glossary Values (People Types)\r\n \"id\": \"Person type code\",\r\n \"description\": \"Description of type of person\"\r\n },\r\n \"businessData\": { // Business Data\r\n \"indicator\": { // Indicator of people\r\n \"code\": \"Person&#39;s indicator code\",\r\n \"name\": \"Person&#39;s bookmark name\",\r\n \"pictures\": [ // List of person&#39;s pictures\r\n {\r\n \"type\": { // Type of person&#39;s image\r\n \"id\": \"Person image type code\",\r\n \"description\": \"Description of the person&#39;s image type\"\r\n },\r\n \"urlPicture\": \"URL of person&#39;s picture\"\r\n }\r\n ]\r\n }\r\n },\r\n \"allowsRegisterDivulgation\": { // Indicates if the person allows their registration to be disclosed (1 - Yes, 2 - No)\r\n \"id\": \"Permission code\",\r\n \"description\": \"Permission description\"\r\n },\r\n \"fixedDistributionCenterCode\": \"Person&#39;s Fixed Distribution Center Code\",\r\n \"establishments\": [ // List of establishments in which the person is a collaborator\r\n {\r\n \"code\": \"Establishment code\",\r\n \"name\": \"Name of establishment\",\r\n \"admissionDate\": \"Date of admission of the person to the establishment\",\r\n \"resignationDate\": \"Date of termination of the person at the establishment\",\r\n \"isCurrent\": \"Indicates if the property is current\"\r\n }\r\n ],\r\n \"companyData\": { // Company data. Only for legal entity\r\n \"name\": \"Company name\",\r\n \"trade\": \"Company name\",\r\n \"businessRole\": { // Business role of the company - Possible values in the glossary (Types of Legal Entities)\r\n \"id\": \"Code of business function\",\r\n \"description\": \"Description of business function\"\r\n },\r\n \"icmsTaxPayer\": { // Indicates whether the legal entity collects ICMS. 0 - No, 1 - Yes\r\n \"id\": \"Code\",\r\n \"description\": \"Description\"\r\n },\r\n \"website\": \"company website URL\",\r\n \"authorizeNewsletter\": \"Indicates if the company accepts to receive newsletter\"\r\n },\r\n \"customFields\": [ // List of person&#39;s variable fields\r\n {\r\n \"code\": \"Code of variable field\",\r\n \"name\": \"Variable field name\",\r\n \"logicalName\": \"Logical name of variable field\",\r\n \"description\": \"Description of variable field\",\r\n \"valuesType\": { // Variable Field Value Type - Possible Glossary Values (Variable Field Value Types)\r\n \"id\": \"Value type code\",\r\n \"description\": \"Description of value type\" \r\n },\r\n \"values\": [ // List of values\r\n {\r\n \"value\": \"Value Registered\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"7bccb743-e496-4f08-820d-4d27550f20e8"},{"name":"consult people","id":"fc98a6d3-c9c9-49b7-8821-e5502e80c32e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people?code=<integer>&document=<string>&identification=<string>&page=<integer>&pageSize=<integer>&includeOptions=activeFunctions&includeOptions=by the way&includeOptions=bankAccounts&includeOptions=businessData&includeOptions=companyData&includeOptions=disableSearchCache&includeOptions=documents&includeOptions=emails&includeOptions=fixedDistributionCenterCode&includeOptions=onlyBasicAddresses&includeOptions=personalData&includeOptions=registerDisclosure&includeOptions=roles&includeOptions=telephones&includeOptions=Establishment Data&includeOptions=pictures&includeOptions=docsExtraInformations","description":"<p>This call is used to query people. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","people"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Identification code of the person in <strong>Let</strong>. </p>\n<p> The application must send a <code>code</code> parameter for each code. </p>\n<p> E.g.: &amp;code=1&amp;code=2</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Document of the person.</p>\n","type":"text/plain"},"key":"document","value":"<string>"},{"description":{"content":"<p>Type of person's document.</p>\n","type":"text/plain"},"key":"identification","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>It adds an object with the person's active roles to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"activeFunctions"},{"description":{"content":"<p>It adds an object with the person's nicknames to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>It adds an object with the person's bank accounts to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"bankAccounts"},{"description":{"content":"<p>It adds an object with the person's business information to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"businessData"},{"description":{"content":"<p>It adds an object with the person's company data to the query's return. </p>\n<p> <strong>Observation</strong></p>\n<p> It only works if the reseller is a legal entity.</p>\n","type":"text/plain"},"key":"includeOptions","value":"companyData"},{"description":{"content":"<p>Disables query caching.</p>\n","type":"text/plain"},"key":"includeOptions","value":"disableSearchCache"},{"description":{"content":"<p>It adds an object with the person's documents to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"documents"},{"description":{"content":"<p>It adds an object with the person's emails to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"emails"},{"description":{"content":"<p>It adds an object with the person's fixed distribution center code to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"fixedDistributionCenterCode"},{"description":{"content":"<p>Returns base addresses only.</p>\n","type":"text/plain"},"key":"includeOptions","value":"onlyBasicAddresses"},{"description":{"content":"<p>It adds an object with the person's personal data to the query's return. </p>\n<p> <strong>Observation</strong></p>\n<p> It only works if the person is a natural person.</p>\n","type":"text/plain"},"key":"includeOptions","value":"personalData"},{"description":{"content":"<p>It adds an object with the person's disclosure data to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"registerDisclosure"},{"description":{"content":"<p>It adds an object with the person's role data to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"roles"},{"description":{"content":"<p>It adds an object with the person's telephone numbers to the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"telephones"},{"description":{"content":"<p>It adds an object with the establishments in which the person is a collaborator in the return of the consultation.</p>\n","type":"text/plain"},"key":"includeOptions","value":"Establishment Data"},{"description":{"content":"<p>It adds an object with the person's photos to the return of the consultation.</p>\n","type":"text/plain"},"key":"includeOptions","value":"pictures"},{"description":{"content":"<p>It adds an object with the person's extra documentation information in the query's return.</p>\n","type":"text/plain"},"key":"includeOptions","value":"docsExtraInformations"}],"variable":[]}},"response":[{"id":"a094756d-9398-400e-a65c-cb70dfd4a587","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people?code=<integer>&document=<string>&identification=<string>&page=<integer>&pageSize=<integer>&includeOptions=activeFunctions&includeOptions=by the way&includeOptions=bankAccounts&includeOptions=businessData&includeOptions=companyData&includeOptions=disableSearchCache&includeOptions=documents&includeOptions=emails&includeOptions=fixedDistributionCenterCode&includeOptions=onlyBasicAddresses&includeOptions=personalData&includeOptions=registerDisclosure&includeOptions=roles&includeOptions=telephones&includeOptions=Establishment Data&includeOptions=pictures&includeOptions=docsExtraInformations","host":["{{baseUrl}}"],"path":["api","people"],"query":[{"key":"code","value":"<integer>","description":"Identification code of the person in **Let**."},{"key":"document","value":"<string>","description":"Document of the person."},{"key":"identification","value":"<string>","description":"Type of person&#39;s document."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records.\n"},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"activeFunctions","description":"It adds an object with the person&#39;s active roles to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the person&#39;s nicknames to the query&#39;s return."},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the person&#39;s bank accounts to the query&#39;s return."},{"key":"includeOptions","value":"businessData","description":"It adds an object with the person&#39;s business information to the query&#39;s return."},{"key":"includeOptions","value":"companyData","description":"It adds an object with the person&#39;s company data to the query&#39;s return. \n\n **Observation**\n\n It only works if the reseller is a legal entity."},{"key":"includeOptions","value":"disableSearchCache","description":"Disable query cache."},{"key":"includeOptions","value":"documents","description":"It adds an object with the person&#39;s documents to the query&#39;s return."},{"key":"includeOptions","value":"emails","description":"It adds an object with the person&#39;s emails to the query&#39;s return."},{"key":"includeOptions","value":"fixedDistributionCenterCode","description":"It adds an object with the person&#39;s fixed distribution center code to the query&#39;s return."},{"key":"includeOptions","value":"onlyBasicAddresses","description":"Returns base addresses only."},{"key":"includeOptions","value":"personalData","description":"It adds an object with the person&#39;s personal data to the query&#39;s return. \n\n **Observation**\n\n It only works if the person is a natural person."},{"key":"includeOptions","value":"registerDisclosure","description":"It adds an object with the person&#39;s disclosure data to the query&#39;s return."},{"key":"includeOptions","value":"roles","description":"It adds an object with the person&#39;s role data to the query&#39;s return."},{"key":"includeOptions","value":"telephones","description":"It adds an object with the person&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"Establishment Data","description":"It adds an object with the establishments in which the person is a collaborator in the return of the consultation."},{"key":"includeOptions","value":"pictures","description":"It adds an object with the person&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"docsExtraInformations","description":"It adds an object with the person&#39;s extra documentation information in the query&#39;s return."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Record-Count","value":"1"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Fri, 19 Feb 2021 19:59:27 GMT"},{"key":"Content-Length","value":"1501"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Person&#39;s code\",\n \"name\": \"Person&#39;s name\",\n \"spouseName\": \"Spouse&#39;s name\",\n \"motherName\": \"Mother&#39;s Name\",\n \"fatherName\": \"Father Name\",\n \"peoplePictures\": [ // List of person&#39;s pictures\n {\n \"type\": { // Type of images - Possible values in glossary (Image Types)\n \"id\": \"Image type code\",\n \"description\": \"Image type description\"\n },\n \"urlPicture\": \"Picture URL\"\n }\n ],\n \"personalData\": { // Personal Data. Just for individuals\n \"name\": \"Person&#39;s name\",\n \"birthday\": \"Person&#39;s birthday\",\n \"sex\": { // Person&#39;s Gender - Possible values in the glossary (Person&#39;s Gender)\n \"id\": \"Person&#39;s Gender Code\",\n \"description\": \"Description of the person&#39;s gender\"\n },\n \"authorizeDisclosurePersonalDataOnline\": { // Authorization to disclose personal data online. 1 - Yes, 2 - No\n \"id\": \"Authorization code\",\n \"description\": \"Description of authorization\"\n },\n \"motherName\": \"Mother&#39;s Name\",\n \"fatherName\": \"Father Name\",\n \"spouseName\": \"Spouse Name\"\n },\n \"addresses\": [ // List of addresses. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \n {\n \"addressType\": { // Address Type - Possible Glossary Values (Person&#39;s Address)\n \"id\": \"Internal code of the domain corresponding to the Address Type\",\n \"description\": \"Internal description of the domain corresponding to the Address Type\"\n },\n \"level0\": \"Address registration level zero\",\n \"level1\": \"Address registration level one\",\n \"level2\": \"Address registration level two\",\n \"level3\": \"Address registration level three\",\n \"level4\": \"Address registration level four\",\n \"level5\": \"Address registration level five\",\n \"level6\": \"Address registration level six\",\n \"level7\": \"Address registration level seven\",\n \"level8\": \"Level eight of address registration\",\n \"level9\": \"Address registration level nine\",\n \"complement\": \"Address complement\",\n \"number\": \"Address number\",\n \"zipCode\": \"Zip code of address\"\n }\n ],\n \"telephones\": [ // Phone list\n {\n \"telephoneType\": { // Phone Type - Possible Glossary Values (Phone Type)\n \"id\": \"Internal code of the domain corresponding to the Telephone Type\",\n \"description\": \"Internal description of the domain corresponding to the Phone Type\"\n },\n \"telephone\": \"Phone Number\"\n }\n ],\n \"emails\": [ // List of emails\n { \n \"emailType\": { // Email Type - Possible Glossary Values (Email Type)\n \"id\": \"Internal code of the domain corresponding to the E-mail Type\",\n \"description\": \"Internal description of the domain corresponding to the Email Type\"\n },\n \"email\": \"Email address\"\n }\n ],\n \"documents\": [ // List of person&#39;s documents\n {\n \"documentType\": { // Document Type -Possible values in glossary (Document Type)\n \"id\": \"Internal code of the domain corresponding to the Document Type\",\n \"description\": \"Internal description of the domain corresponding to the Document Type\"\n },\n \"mainDocumentType\": { // Main Document Type- Possible values in glossary (Type of Main Document)\n \"id\": \"Internal code of the domain corresponding to the Main Document Type\",\n \"description\": \"Internal description of the domain corresponding to the Main Document Type\"\n },\n \"documentsInfoExtra\" :{ // Document eExtra information\n \"typeInfoExtra\": \"Extra Information Type Internal Code\", // Possible values in the glossary (Document Types - Extra Information)\n \"descriptionInfoExtra\": \"Internal Description of the Extra Information Type\", // Possible values in the glossary (Document Types - Extra Information)\n \"infoExtra\": \"Extra information\"\n },\n \"document\": \"Document Data\"\n }\n ],\n \"functions\": [ // List of person&#39;s functions \n {\n \"code\": \"Person role code\",\n \"name\": \"Person&#39;s role name\",\n \"beginDate\": \"Date of admission of the person&#39;s role\",\n \"endDate\": \"Date of termination of the person&#39;s role\",\n \"information\": \"Function observation\",\n \"status\": { // Person&#39;s role status - Possible values in the glossary (Role Statuses)\n \"id\": \"Person role status code\",\n \"description\": \"Description of the person&#39;s role status\"\n },\n \"type\": { // Person&#39;s Role Type - Possible Glossary Values (Function Types)\n \"id\": \"Person role type code\",\n \"description\": \"Description of the person&#39;s role type\"\n } \n }\n ],\n \"roles\": [ // List of person&#39;s roles\n {\n \"code\": \"Person role code\",\n \"description\": \"Description of the person&#39;s role\",\n \"roleSituation\": \"Person&#39;s role situation\",\n \"functionCode\": \"Function code related to the role of the person\"\n }\n ],\n \"bankAccounts\": [ // List of person&#39;s bank accounts\n {\n \"informationNumber\": \"Incremental number of records referring to bank accounts to be registered\",\n \"bankName\": \"Bank name\",\n \"bankCode\": \"Bank code\",\n \"accountAgency\": \"Account Agency\",\n \"accountNumber\": \"Number of account\",\n \"accountType\": \"Account Type\",//Possible values available in the Glossary(Bank Account Types)\n \"defaultAccount\": \"Identifies the account as main\",\n \"updatedDate\": \"Last updated date\"\n }\n ],\n \"alias\": [ // List of person&#39;s aliases\n {\n \"typeId\": \"Alias Type Code\", // Possible Glossary Values (Alias Types)\n \"alias\": \"Person alias\"\n }\n ],\n \"personType\": { // Person Type - Possible Glossary Values (People Types)\n \"id\": \"Person type code\",\n \"description\": \"Description of type of person\"\n },\n \"businessData\": { // Data business\n \"indicator\": { // Person Indicator\n \"code\": \"Person&#39;s indicator code\",\n \"name\": \"Person&#39;s bookmark name\",\n \"pictures\": [ // List of person&#39;s pictures\n {\n \"type\": { // Type of person&#39;s image\n \"id\": \"Person image type code\",\n \"description\": \"Description of the person&#39;s image type\"\n },\n \"urlPicture\": \"URL of person&#39;s picture\"\n }\n ]\n }\n },\n \"allowsRegisterDivulgation\": { // Indicates if the person allows their registration to be disclosed (1 - Yes, 2 - No)\n \"id\": \"Permission code\",\n \"description\": \"Description of permission\"\n },\n \"fixedDistributionCenterCode\": \"Person&#39;s Fixed Distribution Center Code\",\n \"establishments\": [ // List of establishments in which the person is a collaborator\n {\n \"code\": \"Establishment code\",\n \"name\": \"Name of establishment\",\n \"admissionDate\": \"Date of admission of the person to the establishment\",\n \"resignationDate\": \"Date of termination of the person at the establishment\",\n \"isCurrent\": \"Indicates if the property is current\"\n }\n ],\n \"companyData\": { // Company data. Only for legal entity\n \"name\": \"Company name\",\n \"trade\": \"Company name\",\n \"businessRole\": { // Business role of the company - Possible values in the glossary (Types of Legal Entities)\n \"id\": \"Code of business function\",\n \"description\": \"Description of business function\"\n },\n \"icmsTaxPayer\": { // Indicates whether the legal entity collects ICMS. 0 - No, 1 - Yes\n \"id\": \"Code\",\n \"description\": \"Description\"\n },\n \"website\": \"company website URL\",\n \"authorizeNewsletter\": \"Indicates if the company accepts to receive newsletter\"\n }\n }\n ]"},{"id":"6bf3d1dd-7ed4-42e5-9798-8f38a2134f6f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people?code=<integer>&document=<string>&identification=<string>&page=<integer>&pageSize=<integer>&includeOptions=activeFunctions&includeOptions=by the way&includeOptions=bankAccounts&includeOptions=businessData&includeOptions=companyData&includeOptions=disableSearchCache&includeOptions=documents&includeOptions=emails&includeOptions=fixedDistributionCenterCode&includeOptions=onlyBasicAddresses&includeOptions=personalData&includeOptions=registerDisclosure&includeOptions=roles&includeOptions=telephones&includeOptions=Establishment Data&includeOptions=pictures&includeOptions=docsExtraInformations","host":["{{baseUrl}}"],"path":["api","people"],"query":[{"key":"code","value":"<integer>","description":"Identification code of the person in **Let**."},{"key":"document","value":"<string>","description":"Document of the person."},{"key":"identification","value":"<string>","description":"Type of person&#39;s document."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records.\n"},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"activeFunctions","description":"It adds an object with the person&#39;s active roles to the query&#39;s return."},{"key":"includeOptions","value":"by the way","description":"It adds an object with the person&#39;s nicknames to the query&#39;s return."},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the person&#39;s bank accounts to the query&#39;s return."},{"key":"includeOptions","value":"businessData","description":"It adds an object with the person&#39;s business information to the query&#39;s return."},{"key":"includeOptions","value":"companyData","description":"It adds an object with the person&#39;s company data to the query&#39;s return. \n\n **Observation**\n\n It only works if the reseller is a legal entity."},{"key":"includeOptions","value":"disableSearchCache","description":"Disable query cache."},{"key":"includeOptions","value":"documents","description":"It adds an object with the person&#39;s documents to the query&#39;s return."},{"key":"includeOptions","value":"emails","description":"It adds an object with the person&#39;s emails to the query&#39;s return."},{"key":"includeOptions","value":"fixedDistributionCenterCode","description":"It adds an object with the person&#39;s fixed distribution center code to the query&#39;s return."},{"key":"includeOptions","value":"onlyBasicAddresses","description":"Returns base addresses only."},{"key":"includeOptions","value":"personalData","description":"It adds an object with the person&#39;s personal data to the query&#39;s return. \n\n **Observation**\n\n It only works if the person is a natural person."},{"key":"includeOptions","value":"registerDisclosure","description":"It adds an object with the person&#39;s disclosure data to the query&#39;s return."},{"key":"includeOptions","value":"roles","description":"It adds an object with the person&#39;s role data to the query&#39;s return."},{"key":"includeOptions","value":"telephones","description":"It adds an object with the person&#39;s telephone numbers to the query&#39;s return."},{"key":"includeOptions","value":"Establishment Data","description":"It adds an object with the establishments in which the person is a collaborator in the return of the consultation."},{"key":"includeOptions","value":"pictures","description":"It adds an object with the person&#39;s photos to the return of the consultation."},{"key":"includeOptions","value":"docsExtraInformations","description":"It adds an object with the person&#39;s extra documentation information in the query&#39;s return."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 215,\r\n \"name\": \"VICTOR RUBENS FALSARELLA LIMA MACEDO\",\r\n \"spouseName\": \"FRANCISCO JOSE ZOTTO\",\r\n \"motherName\": \"MARIA DA SILVA S\",\r\n \"fatherName\": \"JOSE DA SILVA\",\r\n \"peoplePictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ],\r\n \"personalData\": {\r\n \"name\": \"VICTOR RUBENS FALSARELLA LIMA MACEDO\",\r\n \"birthday\": \"2003-02-13T00:00:00Z\",\r\n \"Fri\": {\r\n \"id\": 2,\r\n \"description\": \"Masculine\"\r\n },\r\n \"authorizeDisclosurePersonalDataOnline\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"motherName\": \"MARIA DA SILVA S\",\r\n \"fatherName\": \"JOSE DA SILVA\",\r\n \"spouseName\": \"FRANCISCO JOSE ZOTTO\"\r\n },\r\n \"addresses\": [\r\n {\r\n \"addressType\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"HORTOLAND\",\r\n \"level3\": \"GARDEN 1\",\r\n \"level4\": \"RUA BRASIL\",\r\n \"number\": \"479\",\r\n \"zipCode\": \"14185-051\", \r\n \"completeAddress\": \"RUA BRASIL 479 -JARDIM 1- HORTOLÂNDIA -SP- BRASIL - CEP: 14185-051\",\r\n \"geographicalStructureCode\": 541812,\r\n \"allowChangeOtherApplication\": true\r\n },\r\n {\r\n \"addressType\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"HORTOLAND\",\r\n \"level3\": \"GARDEN 1\",\r\n \"level4\": \"RUA BRASIL\",\r\n \"complement\": \"479\",\r\n \"number\": \"13\",\r\n \"reference\": \"ADDRESS 1\",\r\n \"zipCode\": \"14185-051\",\r\n \"completeAddress\": \"RUA BRASIL 479 -JARDIM 1- HORTOLÂNDIA -SP- BRASIL - CEP: 14185-051\",\r\n \"geographicalStructureCode\": 541812,\r\n \"allowChangeOtherApplication\": true\r\n }\r\n ],\r\n \"telephones\": [\r\n {\r\n \"telephoneType\": {\r\n \"id\": 1,\r\n \"description\": \"Residential\"\r\n },\r\n \"telephone\": \"19337580988\",\r\n \"smsAccepted\": false\r\n },\r\n {\r\n \"telephoneType\": {\r\n \"id\": 2,\r\n \"description\": \"Mobile\"\r\n },\r\n \"telephone\": \"19981281149\",\r\n \"smsAccepted\": true\r\n },\r\n {\r\n \"telephoneType\": {\r\n \"id\": 3, \r\n \"description\": \"Note\"\r\n },\r\n \"telephone\": \"19999999836\",\r\n \"smsAccepted\": false\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"emailType\": {\r\n \"id\": 1,\r\n \"description\": \"Personal\"\r\n },\r\n \"email\": \"123@GMAIL.COM\",\r\n \"newsLetterAccepted\": true\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"documentType\": {\r\n \"id\": 2,\r\n \"description\": \"CPF\"\r\n },\r\n \"document\": \"49942335405\"\r\n },\r\n {\r\n \"documentType\": {\r\n \"id\": 1,\r\n \"description\": \"RG\"\r\n },\r\n \"document\": \"834570836\",\r\n \"documentsInfoExtra\": [\r\n {\r\n \"typeInfoExtra\": 1,\r\n \"descriptionInfoExtra\": \"OrgaoExpedidorRG\",\r\n \"infoExtra\": \"SSP\"\r\n },\r\n {\r\n \"typeInfoExtra\": 12,\r\n \"descriptionInfoExtra\": \"DataExpedicaoRG\",\r\n \"infoExtra\": \"2002-01-01T05:00:00.000Z\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"functions\": [\r\n {\r\n \"code\": 2,\r\n \"name\": \"Collaborator\",\r\n \"beginDate\": \"2019-01-01T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Registration\"\r\n }\r\n },\r\n {\r\n \"code\": 4,\r\n \"name\": \"FV Member\",\r\n \"beginDate\": \"2020-12-17T12:32:18.61Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": two,\r\n \"description\": \"Access\"\r\n }\r\n },\r\n {\r\n \"code\": 8,\r\n \"name\": \"Sales Force\",\r\n \"beginDate\": \"2017-04-19T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Registration\"\r\n }\r\n },\r\n {\r\n \"code\": 32,\r\n \"name\": \"Special Access Managers\",\r\n \"beginDate\": \"2019-08-06T09:07:50.813Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Access\"\r\n }\r\n },\r\n {\r\n \"code\": 309,\r\n \"name\": \"Test Item to Embed\",\r\n \"beginDate\": \"2020-12-17T12:32:17.163Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Access\"\r\n }\r\n }\r\n ],\r\n \"roles\": [\r\n {\r\n \"code\": 11,\r\n \"description\": \"C1\",\r\n \"roleSituation\": 1,\r\n \"functionCode\": 1\r\n },\r\n {\r\n \"code\": 21,\r\n \"description\": \"Collaborator\",\r\n \"roleSituation\": 1,\r\n \"functionCode\": 2\r\n },\r\n {\r\n \"code\": 85,\r\n \"description\": \"Regional Manager\",\r\n \"roleSituation\": 1,\r\n \"functionCode\": 9\r\n },\r\n {\r\n \"code\": 89,\r\n \"description\": \"Donation\", \r\n \"roleSituation\": 1,\r\n \"functionCode\": 8\r\n },\r\n {\r\n \"code\": 91,\r\n \"description\": \"End Consumer\",\r\n \"roleSituation\": 1,\r\n \"functionCode\": 9\r\n }\r\n ],\r\n \"bankAccounts\": [\r\n {\r\n \"informationNumber\": 1,\r\n \"bankName\": \"Bank x\",\r\n \"bankCode\": 33,\r\n \"accountAgency\": \"1234\",\r\n \"accountNumber\": \"7093-0\",\r\n \"accountType\": 1,\r\n \"defaultAccount\": false,\r\n \"updatedDate\": \"2020-12-10T12:42:36.433Z\"\r\n }\r\n ],\r\n \"by the way\": [ \r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"TESTEQA215\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"NAME TES\"\r\n }\r\n ],\r\n \"personType\": {\r\n \"id\": 1,\r\n \"description\": \"Individual\"\r\n },\r\n \"businessData\": {\r\n \"indicator\": {\r\n \"code\": 210,\r\n \"name\": \"AAIC PERSON\",\r\n \"pictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[address_da_aplication)/Pages/Images/Fotos/[hash_da_foto].png\"\r\n }\r\n ]\r\n }\r\n },\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"fixedDistributionCenterCode\": 1,\r\n \"establishments\": [\r\n {\r\n \"code\": 12,\r\n \"name\": \"RAYMOND CARVALHO\",\r\n \"admissionDate\": \"2019-01-01T00:00:00Z\",\r\n \"resignationDate\": \"2019-01-01T00:00:00Z\",\r\n \"isCurrent\": true\r\n }\r\n ],\r\n \"companyData\": {\r\n \"name\": \"RAYMOND CARVALHO\",\r\n \"trade\": \"RAYMOND CARVALHO\", \r\n \"businessRole\": {\r\n \"id\": 1,\r\n \"description\": \"Distribution Channel\"\r\n },\r\n \"icmsTaxPayer\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"site\": \"DOCG.COM.BR\",\r\n \"authorizeNewsletter\": true\r\n }\r\n }\r\n ]"}],"_postman_id":"fc98a6d3-c9c9-49b7-8821-e5502e80c32e"},{"name":"Update other holders of the individual","id":"2f0f23e9-b437-443d-a357-cf90b865bb11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"personType","value":"<integer>","description":"<p>Holder type of person. <a href=\"#656cf30e-2d51-417e-bb9c-f109d8fad3b9\">Types of people</a></p>\n","type":"text"},{"key":"name","value":"<string>","description":"<p>Name of the holder linked to the person. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter must be filled in, only when the type of holder informed is an individual (<code>personType</code> = 1).</p>\n","type":"text"},{"key":"relation","value":"<string>","description":"<p>Owner's relationship with the person. Type of bond between the holder and the person, such as degree of kinship. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter must be filled in, only when the type of holder informed is an individual (<code>personType</code> = 1).</p>\n","type":"text"},{"key":"gender","value":"<integer>","description":"<p>Genre of the holder. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter must be filled in, only when the type of holder informed is an individual (<code>personType</code> = 1). \n <a href=\"#891f3da0-a7a3-4df9-b605-e332608e4ff0\">Genres types</a></p>\n","type":"text"},{"key":"birthdate","value":"<dateTime>","description":"<p>The person's date of birth. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter must be filled in, only when the type of holder informed is an individual (<code>personType</code> = 1). \n (1990-12-31T00:00:00.000Z)</p>\n","type":"text"},{"key":"companyName","value":"<string>","description":"<p>Name of the legal entity holder linked to the person. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter must be filled in, only when the type of holder informed is a legal entity (<code>personType</code> = 2).</p>\n","type":"text"},{"key":"telephone","value":"<string>","description":"<p>Telephone number of the holder linked to the person.</p>\n","type":"text"},{"key":"otherHolderDocuments","value":"[{\"type\": \"<integer>\",\"document\": \"<string>\"\"extraInformation\": \"<string>\"\"consignmentDate\": \"<datetime>\"}]\n","description":"<p>Other holders of the person</p>\n<ul>\n<li><code>type</code>: Document type; <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a>;\n -<code>document</code>: Number of the holder's document;</li>\n<li><code>extraInformation</code>: Document dispatching organ.</li>\n</ul>\n<p> <strong>Heads up</strong></p>\n<p> This parameter can be filled, only when the type of holder informed is a natural person (<code>personType</code> = 1);</p>\n<ul>\n<li><code>consignmentDate</code>: Document dispatch date (1990-12-31T00:00:00.000Z).</li>\n</ul>\n","type":"text"}]},"url":"{{baseUrl}}api/people/:id/otherHolders","urlObject":{"path":["people",":id","otherHolders"],"host":["{{baseUrl}}api"],"query":[],"variable":[{"description":{"content":"<p>Individual code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"805d83ee-7b54-4e66-aecf-90f705786f8c","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"personType","value":"<integer>","description":"Holder type of person. [Types of people](#656cf30e-2d51-417e-bb9c-f109d8fad3b9)","type":"text"},{"key":"name","value":"<string>","description":"Name of the holder linked to the person. \n\n **Heads up**\n\n This parameter must be filled in, only when the type of holder informed is an individual (`personType` = 1).","type":"text"},{"key":"relation","value":"<string>","description":"Owner&#39;s relationship with the person. Type of bond between the holder and the person, such as degree of kinship. \n\n **Heads up**\n\n This parameter must be filled in, only when the type of holder informed is an individual (`personType` = 1).","type":"text"},{"key":"gender","value":"<integer>","description":"Gender of the person. \n\n **Heads up**\n\n This parameter must be filled in, only when the type of holder informed is an individual (`personType` = 1). \n [Genres types](#891f3da0-a7a3-4df9-b605-e332608e4ff0)","type":"text"},{"key":"birthdate","value":"<dateTime>","description":"The person&#39;s date of birth. \n\n **Heads up**\n\n This parameter must be filled in, only when the type of holder informed is an individual (`personType` = 1). \n (1990-12-31T00:00:00.000Z)","type":"text"},{"key":"companyName","value":"<string>","description":"Name of the legal entity holder linked to the person. \n\n **Heads up**\n\n This parameter must be filled in, only when the type of holder informed is a legal entity (`personType` = 2).","type":"text"},{"key":"telephone","value":"<string>","description":"Telephone number of the holder linked to the person.","type":"text"},{"key":"otherHolderDocuments","value":"[{\"type\": \"<integer>\",\"document\": \"<string>\"\"extraInformation\": \"<string>\"\"consignmentDate\": \"<datetime>\"}]\n","description":"Other holders of the person\n - `type`: Document type; [Types of documents](#c4451cd4-54fe-4dad-b0b9-39b46687cae4);\n -`document&#39;: Person&#39;s document number;\n- `extraInformation`: Document dispatching organ. **Attention** This parameter can be filled in, only when the type of holder informed is an individual (`personType` = 1);\n - `consignmentDate`: Document dispatch date (1990-12-31T00:00:00.000Z).","type":"text"}]},"url":{"raw":"{{baseURL}}api/people/:id/otherHolders","host":["{{baseURL}}api"],"path":["people",":id","otherHolders"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2f0f23e9-b437-443d-a357-cf90b865bb11"},{"name":"Consult other holders of the individual","id":"a45ba2a0-e9c5-44e7-a8ec-4ed813205d4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{baseUrl}}api/people/:id/otherHolders","urlObject":{"path":["people",":id","otherHolders"],"host":["{{baseUrl}}api"],"query":[],"variable":[{"id":"8f947b6e-6e25-4ac4-8bbc-09c93b79f2d5","description":{"content":"<p>Individual code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"309af8a5-0536-4b97-84ac-c029e9facd72","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseURL}}api/people/:id/otherHolders","host":["{{baseURL}}api"],"path":["people",":id","otherHolders"],"variable":[{"key":"id","value":"<integer>","description":"Individual code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"personType\": { // Type of person. Possible values in the glossary (Types of People)\r\n \"id\": \"Person type code\",\r\n \"description\": \"Legal person\"\r\n },\r\n \"companyName\": \"Name of the legal entity holder\", // Only for legal entity holder\r\n \"name\": \"Name of individual holder\", // Only for individual holder\r\n \"relation\": \"Relationship of the holder with the person\", // Only for holder of an individual\r\n \"gender\": { // Gender of the titleholder. Possible values in the glossary (Gender of the person). Only for individual holders\r\n \"id\": \"Person&#39;s gender type code\", // Only for individual holders\r\n \"description\": \"Description of the person&#39;s gender\" // Only for individual holders\r\n },\r\n \"birthDate\": \"Holder&#39;s date of birth\", // Only for individual owner\r\n \"telephone\": \"Holder&#39;s phone number\",\r\n \"otherHolderDocuments\": [ // List of documents from other holders of the person\r\n {\r\n \"orderNumber\": \"Document type sequential number\",\r\n \"type\": { // Type of document. Possible values in the glossary (Types of documents)\r\n \"id\": \"Document type code\",\r\n \"description\": \"Description of document type\"\r\n },\r\n \"document\": \"holder&#39;s document number\",\r\n \"extraInformation\": \"Document dispatch body\"\r\n }\r\n ]\r\n }\r\n ]"},{"id":"a8e7a1b9-02b9-4c62-92d3-1caa33ce7265","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseURL}}api/people/:id/otherHolders","host":["{{baseURL}}api"],"path":["people",":id","otherHolders"],"variable":[{"key":"id","value":"<integer>","description":"Individual code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"personType\": {\r\n \"id\": 1,\r\n \"description\": \"Individual\"\r\n },\r\n \"name\": \"Luna Cristiane Santos\",\r\n \"relation\": \"mother\",\r\n \"gender\": {\r\n \"id\": 1,\r\n \"description\": \"Fem\"\r\n },\r\n \"birthDate\": \"1963-01-12T00:00:00Z\",\r\n \"otherHolderDocuments\": [\r\n {\r\n \"orderNumber\": 1,\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"RG\"\r\n },\r\n \"document\": \"321971851\"\r\n }\r\n ]\r\n },\r\n {\r\n \"personType\": { \r\n \"id\": 2,\r\n \"description\": \"Legal person\"\r\n },\r\n \"companyName\": \"string\",\r\n \"otherHolderDocuments\": [\r\n {\r\n \"orderNumber\": 1,\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"CNPJ\"\r\n },\r\n \"document\": \"65501946000187\",\r\n \"extraInformation\": \"string\"\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"a45ba2a0-e9c5-44e7-a8ec-4ed813205d4f"},{"name":"Exclude other holders of the natural person","id":"d32b7e38-2cc3-4f19-804c-e3feda292301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{baseUrl}}api/people/:id/otherHolders?documentType=<integer>&document=<string>","urlObject":{"path":["people",":id","otherHolders"],"host":["{{baseUrl}}api"],"query":[{"description":{"content":"<p>Type of holder's document. <a href=\"#c4451cd4-54fe-4dad-b0b9-39b46687cae4\">Types of documents</a></p>\n","type":"text/plain"},"key":"documentType","value":"<integer>"},{"description":{"content":"<p>Holder's document number.</p>\n","type":"text/plain"},"key":"document","value":"<string>"}],"variable":[{"id":"781aa7bd-77ee-4e00-8953-f5f653177acc","type":"any","value":"","key":"id"}]}},"response":[{"id":"3ce7db8e-1330-4e31-8025-704c19305d2b","name":"Response Parameter Details","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}api/people/:id/otherHolders","host":["{{baseUrl}}api"],"path":["people",":id","otherHolders"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"message\": \"Delete confirmation message.\"\r\n }"},{"id":"2d2d24ad-3eef-404e-aa7e-118c3c191544","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}api/people/:id/otherHolders","host":["{{baseUrl}}api"],"path":["people",":id","otherHolders"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"message\": \"Another owner successfully deleted.\"\n }"}],"_postman_id":"d32b7e38-2cc3-4f19-804c-e3feda292301"}],"id":"6c251976-0b7f-4c23-8743-e1893649b9b4","_postman_id":"6c251976-0b7f-4c23-8743-e1893649b9b4","description":""},{"name":"Legal person","item":[{"name":"Consult carriers","id":"cd4c3892-8b90-4fef-93ca-1690e8fa5b96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Carriers?corporateName=<string>","urlObject":{"path":["api","Carriers"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Corporate name (or part) for research</p>\n","type":"text/plain"},"key":"corporateName","value":"<string>"}],"variable":[]}},"response":[{"id":"cb30067b-4b97-4533-867e-c28720b8e727","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Carriers?corporateName=<string>","host":["{{baseUrl}}"],"path":["api","Carriers"],"query":[{"key":"corporateName","value":"<string>","description":"Corporate name (or part) for research"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 213,\r\n \"corporateName\": \"UNIQUE CARRIER\"\r\n },\r\n {\r\n \"code\": 2897,\r\n \"corporateName\": \"TRANSPORTADORA CAXIAS DO SUL\"\r\n }\r\n ]"},{"id":"ea711280-e23f-475d-a233-0ecb36fa9124","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Carriers?corporateName=<string>","host":["{{baseUrl}}"],"path":["api","Carriers"],"query":[{"key":"corporateName","value":"<string>","description":"Corporate name (or part) for research"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[// List of carriers\n {\n \"code\": \"Code of the legal entity\",\n \"corporateName\": \"Corporate Name\"\n }\n ]"}],"_postman_id":"cd4c3892-8b90-4fef-93ca-1690e8fa5b96"},{"name":"Consult carrier by code","id":"3819409a-b6e2-4572-b89d-7162d276a7ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Carriers/:id","urlObject":{"path":["api","Carriers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"21ef97cd-637f-42c8-a7b8-ca5bff106663","description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Code of the legal entity of the carrier type.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"c40d8df5-1045-45b2-bec7-c02bb6e5f07c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Carriers/:id","host":["{{baseUrl}}"],"path":["api","Carriers",":id"],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Code of the legal entity of the carrier type."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 213,\r\n \"corporateName\": \"UNIQUE CARRIER\"\r\n }"},{"id":"982ac43e-97f4-433b-b15b-3d84f2c4baa3","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Carriers/:id","host":["{{baseUrl}}"],"path":["api","Carriers",":id"],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Code of the legal entity of the carrier type."}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Carrier code\",\n \"corporateName\": \"Corporate Name\"\n }"}],"_postman_id":"3819409a-b6e2-4572-b89d-7162d276a7ef"},{"name":"Consult legal entities","id":"e958d133-34d8-4b8f-b1b8-ad4626b227ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellersCompany?code=<integer>&externalCode=<string>&document=<string>&identification=<string>&page=<integer>&pageSize=<integer>&includeOptions=emails&includeOptions=addresses&includeOptions=telephones&includeOptions=functions&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=documents&includeOptions=pictures&includeOptions=contacts&includeOptions=disableSearchCache","description":"<p>This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","sellersCompany"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Identification code of the person in <strong>Let</strong>. </p>\n<p> The application must send a <code>code</code> parameter for each code. </p>\n<p> E.g.: &amp;code=1&amp;code=2</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>external code</p>\n","type":"text/plain"},"key":"externalCode","value":"<string>"},{"description":{"content":"<p>Document</p>\n","type":"text/plain"},"key":"document","value":"<string>"},{"description":{"content":"<p>Identification</p>\n<p> It can be the person's code, email or document, depending on the <strong>Let</strong> configuration</p>\n","type":"text/plain"},"key":"identification","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>Adds an object with the emails to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"emails"},{"description":{"content":"<p>It adds an object with the addresses to the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"addresses"},{"description":{"content":"<p>Adds an object with the phones to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"telephones"},{"description":{"content":"<p>Adds an object with active functions to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"functions"},{"description":{"content":"<p>It adds an object with the bank accounts to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"bankAccounts"},{"description":{"content":"<p>Adds an object with aliases to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>Adds an object with the documents to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"documents"},{"description":{"content":"<p>Adds an object with the images to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"pictures"},{"description":{"content":"<p>Adds an object with contacts in the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"contacts"},{"description":{"content":"<p>Disable the cache, looking for the most up-to-date data</p>\n","type":"text/plain"},"key":"includeOptions","value":"disableSearchCache"}],"variable":[]}},"response":[{"id":"d47f486c-0a5e-470b-8ff6-3f637481a6d2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellersCompany?code=<integer>&externalCode=<string>&document=<string>&identification=<string>&page=<integer>&pageSize=<integer>&includeOptions=emails&includeOptions=addresses&includeOptions=telephones&includeOptions=functions&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=documents&includeOptions=pictures&includeOptions=contacts&includeOptions=disableSearchCache","host":["{{baseUrl}}"],"path":["api","sellersCompany"],"query":[{"key":"code","value":"<integer>","description":"Identification code of the person in **Let**. \n\n The application must send a `code` parameter for each code. \n\n E.g.: &amp;code=1&amp;code=2"},{"key":"externalCode","value":"<string>","description":"external code"},{"key":"document","value":"<string>","description":"Document"},{"key":"identification","value":"<string>","description":"Identification\n\n It can be the person&#39;s code, email or document, depending on the **Let** configuration"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"emails","description":"Adds an object with the emails to the query return"},{"key":"includeOptions","value":"addresses","description":"It adds an object with the addresses to the return of the query."},{"key":"includeOptions","value":"telephones","description":"Adds an object with the phones to the query return"},{"key":"includeOptions","value":"functions","description":"Adds an object with active functions to the query&#39;s return"},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the bank accounts to the query return"},{"key":"includeOptions","value":"by the way","description":"Adds an object with aliases to the query&#39;s return"},{"key":"includeOptions","value":"documents","description":"Adds an object with the documents to the query&#39;s return"},{"key":"includeOptions","value":"pictures","description":"Adds an object with the images to the query return"},{"key":"includeOptions","value":"contacts","description":"Adds an object with contacts in the query return"},{"key":"includeOptions","value":"disableSearchCache","description":"Disable the cache, looking for the most up-to-date data"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"name\": \"SULEYMAN ACHILLES\",\r\n \"code\": 3127,\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"personType\": {\r\n \"id\": 2,\r\n \"description\": \"Legal person\"\r\n },\r\n \"businessData\": {\r\n \"indicator\": {\r\n \"code\": 3127,\r\n \"name\": \"SULEYMAN ACHILLES\"\r\n }\r\n },\r\n \"companyData\": {\r\n \"name\": \"SULEYMAN ACHILLES\",\r\n \"trade\": \"SULEYMAN ACHILLES\",\r\n \"businessRole\": {\r\n \"id\": 6,\r\n \"description\": \"Representative\"\r\n },\r\n \"icmsTaxPayer\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"site\": \"WWW.EMANUELFLAVIAFINANCEIRAME.COM.BR\",\r\n \"authorizeNewsletter\": true,\r\n \"externalCode\": \"CD1234\",\r\n \"suffram\": \"413214\"\r\n },\r\n \"addresses\": [\r\n {\r\n \"addressType\": {\r\n \"id\": 2,\r\n \"description\": \"Commercial\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"TUCURUVI\",\r\n \"level4\": \"SANTA MARIA ROAD\",\r\n \"level5\": \"Data for this level\",\r\n \"level6\": \"Data for this level\",\r\n \"level7\": \"Data for this level\",\r\n \"level8\": \"Data for this level\",\r\n \"level9\": \"Data for this level\",\r\n \"complement\": \"OUTPUT 42B\",\r\n \"number\": \"123\",\r\n \"reference\": \"KM 20\",\r\n \"name\": \"MAIN ADDRESS\",\r\n \"zipCode\": \"02306040\",\r\n \"geographicalStructureCode\": 661804\r\n },\r\n {\r\n \"addressType\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"VILA MEDEIROS\",\r\n \"level4\": \"RUA ITAMONTE\",\r\n \"complement\": \"STORE 4\", \r\n \"number\": \"2050\",\r\n \"reference\": \"PHARMACY CORNER\",\r\n \"name\": \"House two\",\r\n \"zipCode\": \"02220000\",\r\n \"geographicalStructureCode\": 670967\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"suleymanachillestwodropsorg\"\r\n },\r\n {\r\n \"typeId\": 2,\r\n \"alias\": \"suleymanachillestwodropsorgsomething else\"\r\n }\r\n ],\r\n \"bankAccounts\": [\r\n {\r\n \"informationNumber\": 0,\r\n \"bankName\": \"Banco do Brasil\",\r\n \"bankCode\": 1,\r\n \"accountAgency\": \"123485\", \r\n \"accountNumber\": \"145885555\",\r\n \"accountType\": 1,\r\n \"defaultAccount\": true,\r\n \"updatedDate\": \"2021-02-24T11:07:41.25Z\"\r\n },\r\n {\r\n \"informationNumber\": 1,\r\n \"bankName\": \"Itaú\",\r\n \"bankCode\": 341,\r\n \"accountAgency\": \"0010\",\r\n \"accountNumber\": \"00008-9\",\r\n \"accountType\": 1,\r\n \"defaultAccount\": false,\r\n \"updatedDate\": \"2020-11-28T10:58:54.403Z\"\r\n }\r\n ],\r\n \"contacts\": [\r\n {\r\n \"number\": 1,\r\n \"name\": \"JENNIE NOGUEIRA\",\r\n \"area\": \"11\",\r\n \"telephone\": \"1174857869\",\r\n \"branch\": \"15\",\r\n \"faxNumber\": \"1174857884\",\r\n \"cellPhone\": \"999887766\",\r\n \"email\": \"HUBERTSILVA62385347@MAILINATOR.COM\"\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"document\": \"64520069000129\",\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"CNPJ\"\r\n }\r\n },\r\n {\r\n \"document\": \"553098817711\",\r\n \"type\": {\r\n \"id\": 6,\r\n \"description\": \"State Registration\"\r\n }\r\n }\r\n ],\r\n \"emails\": [\r\n { \r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Commercial\"\r\n },\r\n \"email\": \"SULEYMAN.ACHILLES@TWODROPS.ORG\",\r\n \"newsLetterAccepted\": true\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Alternative\"\r\n },\r\n \"email\": \"REVULTRA@MAILINATOR.COM\",\r\n \"newsLetterAccepted\": false\r\n }\r\n ],\r\n \"functions\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Consultant\",\r\n \"beginDate\": \"2021-02-24T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"registration observation\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n }\r\n },\r\n {\r\n \"code\": 9,\r\n \"name\": \"End Consumer\",\r\n \"beginDate\": \"2020-11-26T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n }\r\n }\r\n ],\r\n \"peoplePictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[address_da_application]/Pages/Images/Fotos/[hash_da_foto].png\"\r\n }\r\n ],\r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Commercial\"\r\n },\r\n \"telephone\": \"1828210330\",\r\n \"smsAccepted\": true\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Alternative Commercial\"\r\n },\r\n \"telephone\": \"5592122\",\r\n \"smsAccepted\": false\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GUADALUPE SILVA\",\r\n \"code\": 2799,\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"personType\": {\r\n \"id\": 2,\r\n \"description\": \"Legal person\"\r\n },\r\n \"companyData\": {\r\n \"name\": \"GUADALUPE SILVA\",\r\n \"trade\": \"GUADALUPE SILVA\",\r\n \"businessRole\": {\r\n \"id\": 6,\r\n \"description\": \"Representative\"\r\n },\r\n \"authorizeNewsletter\": true\r\n },\r\n \"addresses\": [\r\n {\r\n \"addressType\": {\r\n \"id\": 2,\r\n \"description\": \"Commercial\"\r\n }, \r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"CENTER\",\r\n \"level4\": \"RUA DA QUTANDA\",\r\n \"number\": \"370\",\r\n \"zipCode\": \"01012010\",\r\n \"geographicalStructureCode\": 629827\r\n },\r\n {\r\n \"addressType\": {\r\n \"id\": 5,\r\n \"description\": \"Billing\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"CENTER\",\r\n \"level4\": \"RUA DA QUTANDA\",\r\n \"number\": \"219\",\r\n \"zipCode\": \"01012010\",\r\n \"geographicalStructureCode\": 629827\r\n },\r\n {\r\n \"addressType\": {\r\n \"id\": 6,\r\n \"description\": \"Charging\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"CENTER\",\r\n \"level4\": \"RUA DA QUTANDA\",\r\n \"number\": \"219378\",\r\n \"zipCode\": \"01012010\",\r\n \"geographicalStructureCode\": 629827\r\n }\r\n ],\r\n \"by the way\": [],\r\n \"bankAccounts\": [],\r\n \"contacts\": [\r\n {\r\n \"number\": 1,\r\n \"name\": \"JOHNNIE MELO\",\r\n \"area\": \"\",\r\n \"telephone\": \"1174859840\",\r\n \"branch\": \"\",\r\n \"faxNumber\": \"\",\r\n \"cellPhone\": \"\",\r\n \"email\": \"JAMIEBATISTA26735867@MAILINATOR.COM\"\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"document\": \"88640637000517\",\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"CNPJ\"\r\n }\r\n },\r\n {\r\n \"document\": \"EXEMPT\",\r\n \"type\": {\r\n \"id\": 6,\r\n \"description\": \"State Registration\"\r\n }\r\n }\r\n ],\r\n \"emails\": [ \r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Commercial\"\r\n },\r\n \"email\": \"CALVINALBUQUERQUE94162607@MAILINATOR.COM\",\r\n \"newsLetterAccepted\": false\r\n }\r\n ],\r\n \"functions\": [\r\n {\r\n \"code\": 9,\r\n \"name\": \"End Consumer\",\r\n \"beginDate\": \"2020-10-22T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n }\r\n }\r\n ],\r\n \"peoplePictures\": [], \r\n \"telephones\": [\r\n {\r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Commercial\"\r\n },\r\n \"telephone\": \"1976985227\",\r\n \"smsAccepted\": false\r\n }\r\n ]\r\n }\r\n ]"},{"id":"2b7c90c3-ebad-482b-93c9-7bddcdf67b5e","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellersCompany?code=<integer>&externalCode=<string>&document=<string>&identification=<string>&page=<integer>&pageSize=<integer>&includeOptions=emails&includeOptions=addresses&includeOptions=telephones&includeOptions=functions&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=documents&includeOptions=pictures&includeOptions=contacts&includeOptions=disableSearchCache","host":["{{baseUrl}}"],"path":["api","sellersCompany"],"query":[{"key":"code","value":"<integer>","description":"Identification code of the person in **Let**. \n\n The application must send a `code` parameter for each code. \n\n E.g.: &amp;code=1&amp;code=2"},{"key":"externalCode","value":"<string>","description":"external code"},{"key":"document","value":"<string>","description":"Document"},{"key":"identification","value":"<string>","description":"Identification\n\n It can be the person&#39;s code, email or document, depending on the **Let** configuration"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"includeOptions","value":"emails","description":"Adds an object with the emails to the query return"},{"key":"includeOptions","value":"addresses","description":"It adds an object with the addresses to the return of the query."},{"key":"includeOptions","value":"telephones","description":"Adds an object with the phones to the query return"},{"key":"includeOptions","value":"functions","description":"Adds an object with active functions to the query&#39;s return"},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the bank accounts to the query return"},{"key":"includeOptions","value":"by the way","description":"Adds an object with aliases to the query&#39;s return"},{"key":"includeOptions","value":"documents","description":"Adds an object with the documents to the query&#39;s return"},{"key":"includeOptions","value":"pictures","description":"Adds an object with the images to the query return"},{"key":"includeOptions","value":"contacts","description":"Adds an object with contacts in the query return"},{"key":"includeOptions","value":"disableSearchCache","description":"Disable the cache, looking for the most up-to-date data"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"name\": \"Fancy Name\",\r\n \"code\": \"Registration code\",\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": \"Code that indicates whether you accept the disclosure of contact data (0-No/1-Yes)\",\r\n \"description\": \"Description (Yes/No)\"\r\n },\r\n \"personType\": {\r\n \"id\": \"Code of type of person\",//Possible values in the Glossary(Types of Persons)\r\n \"description\": \"Description of type of person\"\r\n },\r\n \"businessData\": {\r\n \"indicator\": {\r\n \"code\": \"Code of the person who indicated\",\r\n \"name\": \"Name of the person you referred\"\r\n }\r\n },\r\n \"companyData\": {\r\n \"name\": \"Corporate name\", \r\n \"trade\": \"Fancy Name\",\r\n \"businessRole\": {\r\n \"id\": \"Code of the type of legal entity\", // Possible values available in the Glossary(Types of Legal Entity)\r\n \"description\": \"Description of the type of legal entity\"\r\n },\r\n \"icmsTaxPayer\": {\r\n \"id\": \"Code indicating whether ICSM is collected (0-No/1-Yes)\",\r\n \"description\": \"Description (Yes/No)\"\r\n },\r\n \"website\": \"Company website\",\r\n \"authorizeNewsletter\": \"Indicates if you accept to receive newsletter (true/false)\",\r\n \"externalCode\": \"External code\",\r\n \"sufram\": \"Code of the Manaus Free Trade Zone\"\r\n },\r\n \"addresses\": [//Address list. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n {\r\n \"addressType\": {\r\n \"id\": \"Address type code\",//Possible values available in the Glossary(Person&#39;s Address)\r\n \"description\": \"Description of address type\"\r\n },\r\n \"level0\": \"Address level 0\",\r\n \"level1\": \"level 1 address\",\r\n \"level2\": \"level 2 address\",\r\n \"level3\": \"level 3 address\",\r\n \"level4\": \"level 4 address\",\r\n \"level5\": \"Address level 5\",\r\n \"level6\": \"Address level 6\",\r\n \"level7\": \"level 7 address\",\r\n \"level8\": \"level 8 address\",\r\n \"level9\": \"level 9 address\",\r\n \"complement\": \"Complement\",\r\n \"number\": \"Number\",\r\n \"reference\": \"Point of reference\",\r\n \"name\": \"Address registration alias\",\r\n \"zipCode\": \"Postcode\",\r\n \"geographicalStructureCode\": \"Geographical Structure Code\"\r\n }\r\n ],\r\n \"alias\": [//Alias list\r\n {\r\n \"typeId\": \"Alias Type Code\",//Possible values available in Glossary(Alias Type)\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"bankAccounts\": [//List of bank accounts\r\n {\r\n \"informationNumber\": \"Registration number (order)\",\r\n \"bankName\": \"Bank name\",\r\n \"bankCode\": \"Bank code\",\r\n \"accountAgency\": \"Agency\",\r\n \"accountNumber\": \"Account number\", \r\n \"accountType\": \"Account Type Code\",//Possible values available in the Glossary(Bank Account Types)\r\n \"defaultAccount\": \"Indicates if it is the default account (true/false)\",\r\n \"updatedDate\": \"Date/time of last update\"\r\n }\r\n ],\r\n \"contacts\": [//Contacts list\r\n {\r\n \"number\": \"Contact number (order)\",\r\n \"name\": \"Name\",\r\n \"area\": \"area\",\r\n \"telephone\": \"Phone\",\r\n \"branch\": \"Extension\",\r\n \"faxNumber\": \"Fax\",\r\n \"cellPhone\": \"Mobile\",\r\n \"email\": \"Email\"\r\n }\r\n ],\r\n \"documents\": [//List of documents\r\n {\r\n \"document\": \"Document data\",\r\n \"type\": {\r\n \"id\": \"Document type code\",//Possible values available in the Glossary(Document Types)\r\n \"description\": \"Description of document type\"\r\n }\r\n }\r\n ],\r\n \"emails\": [//Email list\r\n {\r\n \"type\": {\r\n \"id\": \"Email type code\",//Possible values available in the Glossary(Email Types)\r\n \"description\": \"Description of email type\"\r\n },\r\n \"email\": \"Email address\",\r\n \"newsLetterAccepted\": \"Indicates if you accept to receive newsletter (true/false)\"\r\n }\r\n ],\r\n \"functions\": [//List of functions\r\n {\r\n \"code\": \"Function code\",\r\n \"name\": \"Function description\",\r\n \"beginDate\": \"Function start date/time\",\r\n \"endDate\": \"Function end date/time\",\r\n \"information\": \"registration observation\",\r\n \"status\": {\r\n \"id\": \"Code of the registration status of the function\",//Possible values available in the Glossary(Registration Status)\r\n \"description\": \"Description of the registration status of the role\"\r\n }\r\n }\r\n ],\r\n \"peoplePictures\": [//List of person&#39;s pictures\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\",//Possible values available in Glossary(Image Types)\r\n \"description\": \"Description of type of image\"\r\n },\r\n \"urlPicture\": \"Full URL of the image\"\r\n }\r\n ],\r\n \"telephones\": [//Phone list\r\n {\r\n \"type\": {\r\n \"id\": \"Phone type code\",//Possible values available in Glossary(Phone Types)\r\n \"description\": \"Description of phone type\"\r\n },\r\n \"telephone\": \"Phone number\",\r\n \"newsLetterAccepted\": \"Code that indicates whether or not you accept to receive newsletter \"//Possible values available at (NewsLetter Authorization)\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"e958d133-34d8-4b8f-b1b8-ad4626b227ac"},{"name":"Consult legal entity by code","id":"3a2851ba-4c69-402e-95c3-a8fe540fbd50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellerCompany/:id?includeOptions=emails&includeOptions=addresses&includeOptions=telephones&includeOptions=functions&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=documents&includeOptions=pictures&includeOptions=contacts&includeOptions=disableSearchCache","description":"<p>The data returned is basic; to return more complete data, it is necessary to inform the <code>includeOptions</code> parameter.</p>\n","urlObject":{"path":["api","sellerCompany",":id"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Adds an object with the emails to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"emails"},{"description":{"content":"<p>It adds an object with the addresses to the return of the query.</p>\n","type":"text/plain"},"key":"includeOptions","value":"addresses"},{"description":{"content":"<p>Adds an object with the phones to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"telephones"},{"description":{"content":"<p>Adds an object with active functions to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"functions"},{"description":{"content":"<p>It adds an object with the bank accounts to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"bankAccounts"},{"description":{"content":"<p>Adds an object with aliases to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"by the way"},{"description":{"content":"<p>Adds an object with the documents to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"documents"},{"description":{"content":"<p>Adds an object with the images to the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"pictures"},{"description":{"content":"<p>Adds an object with contacts in the query return</p>\n","type":"text/plain"},"key":"includeOptions","value":"contacts"},{"description":{"content":"<p>Disable the cache, looking for the most up-to-date data</p>\n","type":"text/plain"},"key":"includeOptions","value":"disableSearchCache"}],"variable":[{"id":"ae5b536f-c4fe-408f-bc92-0ca38703ae9c","description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Legal entity code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"6a7eb0de-41b9-4e72-b218-e4c624b19287","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellerCompany/:id?includeOptions=emails&includeOptions=addresses&includeOptions=telephones&includeOptions=functions&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=documents&includeOptions=pictures&includeOptions=contacts&includeOptions=disableSearchCache","host":["{{baseUrl}}"],"path":["api","sellerCompany",":id"],"query":[{"key":"includeOptions","value":"emails","description":"Adds an object with the emails to the query return"},{"key":"includeOptions","value":"addresses","description":"It adds an object with the addresses to the return of the query."},{"key":"includeOptions","value":"telephones","description":"Adds an object with the phones to the query return"},{"key":"includeOptions","value":"functions","description":"Adds an object with active functions to the query&#39;s return"},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the bank accounts to the query return"},{"key":"includeOptions","value":"by the way","description":"Adds an object with aliases to the query&#39;s return"},{"key":"includeOptions","value":"documents","description":"Adds an object with the documents to the query&#39;s return"},{"key":"includeOptions","value":"pictures","description":"Adds an object with the images to the query return"},{"key":"includeOptions","value":"contacts","description":"Adds an object with contacts in the query return"},{"key":"includeOptions","value":"disableSearchCache","description":"Disable the cache, looking for the most up-to-date data"}],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Legal entity code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"name\": \"SULEYMAN ACHILLES\",\r\n \"code\": 3127,\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"personType\": {\r\n \"id\": 2,\r\n \"description\": \"Legal person\"\r\n },\r\n \"businessData\": {\r\n \"indicator\": {\r\n \"code\": 3127,\r\n \"name\": \"SULEYMAN ACHILLES\"\r\n }\r\n },\r\n \"companyData\": {\r\n \"name\": \"SULEYMAN ACHILLES\",\r\n \"trade\": \"SULEYMAN ACHILLES\",\r\n \"businessRole\": {\r\n \"id\": 6,\r\n \"description\": \"Representative\"\r\n }, \r\n \"icmsTaxPayer\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"site\": \"WWW.EMANUELFLAVIAFINANCEIRAME.COM.BR\",\r\n \"authorizeNewsletter\": true,\r\n \"externalCode\": \"CD1234\",\r\n \"suffram\": \"413214\"\r\n },\r\n \"addresses\": [\r\n {\r\n \"addressType\": {\r\n \"id\": 2,\r\n \"description\": \"Commercial\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"TUCURUVI\",\r\n \"level4\": \"SANTA MARIA ROAD\",\r\n \"level5\": \"Data for this level\",\r\n \"level6\": \"Data for this level\", \r\n \"level7\": \"Data for this level\",\r\n \"level8\": \"Data for this level\",\r\n \"level9\": \"Data for this level\",\r\n \"complement\": \"OUTPUT 42B\",\r\n \"number\": \"123\",\r\n \"reference\": \"KM 20\",\r\n \"name\": \"MAIN ADDRESS\",\r\n \"zipCode\": \"02306040\",\r\n \"geographicalStructureCode\": 661804\r\n },\r\n {\r\n \"addressType\": {\r\n \"id\": 3,\r\n \"description\": \"Delivery\"\r\n },\r\n \"level0\": \"BRAZIL\",\r\n \"level1\": \"SP\",\r\n \"level2\": \"SÃO PAULO\",\r\n \"level3\": \"VILA MEDEIROS\",\r\n \"level4\": \"RUA ITAMONTE\",\r\n \"complement\": \"STORE 4\", \r\n \"number\": \"2050\",\r\n \"reference\": \"PHARMACY CORNER\",\r\n \"name\": \"House two\",\r\n \"zipCode\": \"02220000\",\r\n \"geographicalStructureCode\": 670967\r\n }\r\n ],\r\n \"by the way\": [\r\n {\r\n \"typeId\": 1,\r\n \"alias\": \"suleymanachillestwodropsorg\"\r\n }\r\n ],\r\n \"bankAccounts\": [\r\n {\r\n \"informationNumber\": 0,\r\n \"bankName\": \"Banco do Brasil\",\r\n \"bankCode\": 1,\r\n \"accountAgency\": \"123485\",\r\n \"accountNumber\": \"145885555\",\r\n \"accountType\": 1,\r\n \"defaultAccount\": true,\r\n \"updatedDate\": \"2021-02-24T11:07:41.25Z\"\r\n },\r\n {\r\n \"informationNumber\": 1,\r\n \"bankName\": \"Itaú\",\r\n \"bankCode\": 341,\r\n \"accountAgency\": \"0010\",\r\n \"accountNumber\": \"00008-9\",\r\n \"accountType\": 1,\r\n \"defaultAccount\": false,\r\n \"updatedDate\": \"2020-11-28T10:58:54.403Z\"\r\n }\r\n ],\r\n \"contacts\": [\r\n {\r\n \"number\": 1,\r\n \"name\": \"JOHNNIE MELO\",\r\n \"area\": \"\",\r\n \"telephone\": \"1174859840\",\r\n \"branch\": \"\",\r\n \"faxNumber\": \"\",\r\n \"cellPhone\": \"\",\r\n \"email\": \"JAMIEBATISTA26735867@MAILINATOR.COM\"\r\n }\r\n ],\r\n \"documents\": [\r\n {\r\n \"document\": \"64520069000129\",\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"CNPJ\"\r\n }\r\n },\r\n {\r\n \"document\": \"553098817711\",\r\n \"type\": {\r\n \"id\": 6,\r\n \"description\": \"State Registration\"\r\n }\r\n }\r\n ],\r\n \"emails\": [\r\n {\r\n \"type\": {\r\n \"id\": 3,\r\n \"description\": \"Commercial\"\r\n },\r\n \"email\": \"SULEYMAN.ACHILLES@TWODROPS.ORG\",\r\n \"newsLetterAccepted\": true\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Alternative\"\r\n },\r\n \"email\": \"REVULTRA@MAILINATOR.COM\",\r\n \"newsLetterAccepted\": false\r\n }\r\n ],\r\n \"functions\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Consultant\",\r\n \"beginDate\": \"2021-02-24T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n }\r\n },\r\n {\r\n \"code\": 9,\r\n \"name\": \"End Consumer\",\r\n \"beginDate\": \"2020-11-26T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n }\r\n }\r\n ],\r\n \"peoplePictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"http://[application_address]/Pages/Images/Pictures/[photo_hash].png\"\r\n }\r\n ],\r\n \"telephones\": [\r\n { \r\n \"type\": {\r\n \"id\": 4,\r\n \"description\": \"Commercial\"\r\n },\r\n \"telephone\": \"1828210330\",\r\n \"smsAccepted\": true\r\n },\r\n {\r\n \"type\": {\r\n \"id\": 5,\r\n \"description\": \"Alternative Commercial\"\r\n },\r\n \"telephone\": \"5592122\",\r\n \"smsAccepted\": false\r\n }\r\n ]\r\n }"},{"id":"5d66cbc0-6b36-49a9-a107-555172e7f695","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellerCompany/:id?includeOptions=emails&includeOptions=addresses&includeOptions=telephones&includeOptions=functions&includeOptions=bankAccounts&includeOptions=by the way&includeOptions=documents&includeOptions=pictures&includeOptions=contacts&includeOptions=disableSearchCache","host":["{{baseUrl}}"],"path":["api","sellerCompany",":id"],"query":[{"key":"includeOptions","value":"emails","description":"Adds an object with the emails to the query return"},{"key":"includeOptions","value":"addresses","description":"It adds an object with the addresses to the return of the query."},{"key":"includeOptions","value":"telephones","description":"Adds an object with the phones to the query return"},{"key":"includeOptions","value":"functions","description":"Adds an object with active functions to the query&#39;s return"},{"key":"includeOptions","value":"bankAccounts","description":"It adds an object with the bank accounts to the query return"},{"key":"includeOptions","value":"by the way","description":"Adds an object with aliases to the query&#39;s return"},{"key":"includeOptions","value":"documents","description":"Adds an object with the documents to the query&#39;s return"},{"key":"includeOptions","value":"pictures","description":"Adds an object with the images to the query return"},{"key":"includeOptions","value":"contacts","description":"Adds an object with contacts in the query return"},{"key":"includeOptions","value":"disableSearchCache","description":"Disable the cache, looking for the most up-to-date data"}],"variable":[{"key":"id","value":"<integer>","description":"**Mandatory**\n\n Legal entity code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"name\": \"Fancy Name\",\r\n \"code\": \"Registration code\",\r\n \"allowsRegisterDivulgation\": {\r\n \"id\": \"Code that indicates whether you accept the disclosure of contact data (0-No/1-Yes)\",\r\n \"description\": \"Description (Yes/No)\"\r\n },\r\n \"personType\": {\r\n \"id\": \"Code of type of person\",//Possible values in the Glossary(Types of Persons)\r\n \"description\": \"Description of type of person\"\r\n },\r\n \"businessData\": {\r\n \"indicator\": {\r\n \"code\": \"Code of the person who indicated\",\r\n \"name\": \"Name of the person you referred\"\r\n }\r\n },\r\n \"companyData\": {\r\n \"name\": \"Corporate name\",\r\n \"trade\": \"Fancy Name\",\r\n \"businessRole\": {\r\n \"id\": \"Code of the type of legal entity\", // Possible values available in the Glossary(Types of Legal Entity)\r\n \"description\": \"Description of the type of legal entity\"\r\n },\r\n \"icmsTaxPayer\": {\r\n \"id\": \"Code indicating whether ICSM is collected (0-No/1-Yes)\",\r\n \"description\": \"Description (Yes/No)\"\r\n },\r\n \"website\": \"Company website\",\r\n \"authorizeNewsletter\": \"Indicates if you accept to receive newsletter (true/false)\",\r\n \"externalCode\": \"External code\",\r\n \"sufram\": \"Code of the Manaus Free Trade Zone\"\r\n },\r\n \"addresses\": [//Address list. Filling in the address levels depends on the **Let** installation type. You can query structure levels through an endpoint (Query Structure Levels) and/or the glossary (Address Levels). \r\n {\r\n \"addressType\": {\r\n \"id\": \"Address type code\",//Possible values available in the Glossary(Person&#39;s Address)\r\n \"description\": \"Description of address type\"\r\n },\r\n \"level0\": \"Address level 0\",\r\n \"level1\": \"level 1 address\",\r\n \"level2\": \"level 2 address\",\r\n \"level3\": \"level 3 address\",\r\n \"level4\": \"level 4 address\",\r\n \"level5\": \"Address level 5\",\r\n \"level6\": \"Address level 6\",\r\n \"level7\": \"level 7 address\",\r\n \"level8\": \"level 8 address\",\r\n \"level9\": \"level 9 address\",\r\n \"complement\": \"Complement\",\r\n \"number\": \"Number\",\r\n \"reference\": \"Point of reference\",\r\n \"name\": \"Address registration alias\",\r\n \"zipCode\": \"Postcode\",\r\n \"geographicalStructureCode\": \"Geographical Structure Code\"\r\n }\r\n ],\r\n \"alias\": [//Alias list\r\n {\r\n \"typeId\": \"Alias Type Code\",//Possible values available in Glossary(Alias Type)\r\n \"alias\": \"Alias\"\r\n }\r\n ],\r\n \"bankAccounts\": [//List of bank accounts\r\n {\r\n \"informationNumber\": \"Registration number (order)\",\r\n \"bankName\": \"Bank name\",\r\n \"bankCode\": \"Bank code\",\r\n \"accountAgency\": \"Agency\",\r\n \"accountNumber\": \"Account number\", \r\n \"accountType\": \"Account Type Code\",//Possible values available in the Glossary(Bank Account Types)\r\n \"defaultAccount\": \"Indicates if it is the default account (true/false)\",\r\n \"updatedDate\": \"Date/time of last update\"\r\n }\r\n ],\r\n \"contacts\": [//Contacts list\r\n {\r\n \"number\": \"Contact number (order)\",\r\n \"name\": \"Name\",\r\n \"area\": \"area\",\r\n \"telephone\": \"Phone\",\r\n \"branch\": \"Extension\",\r\n \"faxNumber\": \"Fax\",\r\n \"cellPhone\": \"Mobile\",\r\n \"email\": \"Email\"\r\n }\r\n ],\r\n \"documents\": [//List of documents\r\n {\r\n \"document\": \"Document data\",\r\n \"type\": {\r\n \"id\": \"Document type code\",//Possible values available in the Glossary(Document Types)\r\n \"description\": \"Description of document type\"\r\n }\r\n }\r\n ],\r\n \"emails\": [//Email list\r\n {\r\n \"type\": {\r\n \"id\": \"Email type code\",//Possible values available in the Glossary(Email Types)\r\n \"description\": \"Description of email type\"\r\n },\r\n \"email\": \"Email address\",\r\n \"newsLetterAccepted\": \"Indicates if you accept to receive newsletter (true/false)\"\r\n }\r\n ],\r\n \"functions\": [//List of functions\r\n {\r\n \"code\": \"Function code\",\r\n \"name\": \"Function description\",\r\n \"beginDate\": \"Function start date/time\",\r\n \"endDate\": \"Function end date/time\",\r\n \"information\": \"registration observation\",\r\n \"status\": {\r\n \"id\": \"Code of the registration status of the function\",//Possible values available in the Glossary(Registration Status)\r\n \"description\": \"Description of the registration status of the role\"\r\n }\r\n }\r\n ],\r\n \"peoplePictures\": [//List of person&#39;s pictures\r\n {\r\n \"type\": {\r\n \"id\": \"Image type code\",//Possible values available in Glossary(Image Types)\r\n \"description\": \"Description of type of image\"\r\n },\r\n \"urlPicture\": \"Full URL of the image\"\r\n }\r\n ],\r\n \"telephones\": [//Phone list\r\n {\r\n \"type\": {\r\n \"id\": \"Phone type code\",//Possible values available in Glossary(Phone Types)\r\n \"description\": \"Description of phone type\"\r\n },\r\n \"telephone\": \"Phone number\",\r\n \"smsAccepted\": \"Indicates whether you accept receiving SMS (true/false)\"\r\n }\r\n ]\r\n }"}],"_postman_id":"3a2851ba-4c69-402e-95c3-a8fe540fbd50"}],"id":"b907439f-d031-4b71-9313-345b2fac1608","_postman_id":"b907439f-d031-4b71-9313-345b2fac1608","description":""},{"name":"Link user to Facebook","item":[{"name":"Link user to Facebook","id":"ab01d0b8-c29b-47e7-81b4-19cbaa420e24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"resourceName","value":"FACEBOOK","description":"<p>Identifier of the person responsible for the login.</p>\n"},{"key":"resourceUserIdentification","value":"<string>","description":"<p>User ID on Facebook.</p>\n"}]},"url":"{{baseUrl}}/api/people/:id/linkedaccount","description":"<p>This call is used to link a <strong>Let</strong> user to a Facebook account.</p>\n","urlObject":{"path":["api","people",":id","linkedaccount"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"5670dbdf-ec43-4214-8c11-46c02a9a8cdb","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> User identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"306c157d-7b4a-4e47-a414-98069e39ecb2","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"resourceName","value":"FACEBOOK","description":"Identifier of the person responsible for the login."},{"key":"resourceUserIdentification","value":"<string>","description":"User ID on Facebook."}]},"url":{"raw":"{{baseUrl}}/api/people/:id/linkedaccount","host":["{{baseUrl}}"],"path":["api","people",":id","linkedaccount"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n User identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ab01d0b8-c29b-47e7-81b4-19cbaa420e24"},{"name":"Unlink user to Facebook","id":"0e31841a-a3ef-45b4-a3bd-75547ced6b67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{baseUrl}}/api/people/:id/linkedaccount?externalResourceName=FACEBOOK","description":"<p>This call is used to unlink a <strong>Let</strong> user to a Facebook account.</p>\n","urlObject":{"path":["api","people",":id","linkedaccount"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> External login application name.</p>\n","type":"text/plain"},"key":"externalResourceName","value":"FACEBOOK"}],"variable":[{"id":"3e6273eb-3fcd-4ef4-bdf7-0d38e126310f","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> User identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"24269853-ddd9-4d3b-bcf3-571584152371","name":"OK","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/linkedaccount?externalResourceName=FACEBOOK","host":["{{baseUrl}}"],"path":["api","people",":id","linkedaccount"],"query":[{"key":"externalResourceName","value":"FACEBOOK","description":"**(Mandatory)**\n\n External application name."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n User identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0e31841a-a3ef-45b4-a3bd-75547ced6b67"}],"id":"bbae11b1-3936-4539-84c2-d2dc640ae09c","_postman_id":"bbae11b1-3936-4539-84c2-d2dc640ae09c","description":""},{"name":"Submit suggestion","id":"4314477e-26b2-4496-8df0-8ee82c6bdcd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"suggestionDescription","value":"<string>","description":"<p>Suggestion content.</p>\n"},{"key":"subject","value":"<string>","description":"<p>Suggestion subject.</p>\n"}]},"url":"{{baseUrl}}/api/Suggestion","description":"<p>This call is used to send a suggestion email.</p>\n","urlObject":{"path":["api","Suggestion"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"a3286083-a76b-4b00-9636-b8d8a5504a7c","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"suggestionDescription","value":"<string>"},{"key":"subject","value":"<string>"}]},"url":"{{baseUrl}}/api/Suggestion"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4314477e-26b2-4496-8df0-8ee82c6bdcd6"}],"id":"4b07a814-dd13-4395-a32c-829332f749b0","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"9aecbc6d-debd-45ca-9620-c97d58760028"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"38359507-121d-45ed-a633-ccd79ec9f8bf"}}],"_postman_id":"4b07a814-dd13-4395-a32c-829332f749b0","description":""},{"name":"Roles","item":[{"name":"Assign role to person","id":"c5a60cee-a18d-42e5-a0ba-dac3d40ac513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{baseUrl}}/api/people/:id/functions/:functionCode","description":"<p>This call is used to assign the role <code>9 - Final Consumer</code> to a person.</p>\n","urlObject":{"path":["api","people",":id","functions",":functionCode"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"81f425b6-1384-4352-b0b1-970848e81e8e","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"},{"id":"040f31ef-f937-4009-bd68-2f2bb16dee20","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the role to be assigned. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter must have the value <code>9 - Final Consumer</code></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"functionCode"}]}},"response":[{"id":"4cf6b93a-9df7-4d1d-8efc-244cf10ddb08","name":"OK","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/functions/:functionCode","host":["{{baseUrl}}"],"path":["api","people",":id","functions",":functionCode"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."},{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of the role to be assigned. [Functions of an individual/legal entity](#84278526-03e4-4758-8a1e-d81cbba3e0fd)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c5a60cee-a18d-42e5-a0ba-dac3d40ac513"},{"name":"Consult functions of the person","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"f791b02f-fab6-4505-b274-d291c52a68eb"}}],"id":"18df7622-d421-4fa8-b804-3c82d6e1c394","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/functions?functionStatus=<byte>&functionType=<byte>","description":"<p>This call is used to query a person's roles.</p>\n","urlObject":{"path":["api","people",":id","functions"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Function status. </p>\n<p> If not filled in, the application will default to <code>1</code> and <code>2</code>. <a href=\"#a1d11ffa-3ac2-4b54-8670-795c54a10cb1\">Function situations</a></p>\n<p> The application must send a <code>functionStatus</code> parameter for each situation. </p>\n<p> E.g.: functionStatus=&amp;functionStatus&amp;</p>\n","type":"text/plain"},"key":"functionStatus","value":"<byte>"},{"description":{"content":"<p>Type of function. </p>\n<p> <a href=\"#a1d11ffa-3ac2-4b54-8670-795c54a10cb1\">Function types</a></p>\n","type":"text/plain"},"key":"functionType","value":"<byte>"}],"variable":[{"id":"45abded3-7f5f-488d-a3ba-c1355d272e5c","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"db80749e-c376-4db5-ae70-877524a3fc8d","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/functions?functionStatus=<byte>&functionType=<byte>","host":["{{baseUrl}}"],"path":["api","people",":id","functions"],"query":[{"key":"functionStatus","value":"<byte>","description":"Function status. \n\n If not filled in, the application will use the default value `Active` and `Register Pending`. \n\n The application must send a `functionStatus` parameter for each situation. \n\n E.g.: functionStatus=<integer>&amp;functionStatus&amp;<integer>\n \n[Function situations](#a1d11ffa-3ac2-4b54-8670-795c54a10cb1)"},{"key":"functionType","value":"<byte>","description":"Type of function. \n\n [Function types](#a1d11ffa-3ac2-4b54-8670-795c54a10cb1)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"exhale","value":"-1"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"X-UA-Compatible","value":"IE=edge,chrome=1"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Gives you","value":"Mon, 22 Feb 2021 15:38:23 GMT"},{"key":"Content-Length","value":"367"}],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Person role code\",\n \"name\": \"Function name\",\n \"beginDate\": \"Function start date\",\n \"endDate\": \"Function end date\",\n \"information\": \"Function observation\",\n \"status\": { // Function status - Possible values in glossary (Function Status)\n \"id\": \"Function status code\",\n \"description\": \"Description of role status\"\n },\n \"type\": { // Function Type - Possible Glossary Values (Function Types)\n \"id\": \"Function type code\",\n \"description\": \"Function type description\"\n }\n }\n ]"},{"id":"d72f2052-c6aa-4cdb-8de3-e8a9fbfc8280","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/functions?functionStatus=<byte>&functionType=<byte>","host":["{{baseUrl}}"],"path":["api","people",":id","functions"],"query":[{"key":"functionStatus","value":"<byte>","description":"Function status. \n\n If not filled in, the application will use the default value `Active` and `Register Pending`. \n\n The application must send a `functionStatus` parameter for each situation. \n\n E.g.: functionStatus=<integer>&amp;functionStatus&amp;<integer>\n \n[Function situations](#a1d11ffa-3ac2-4b54-8670-795c54a10cb1)"},{"key":"functionType","value":"<byte>","description":"Type of function. \n\n [Function types](#a1d11ffa-3ac2-4b54-8670-795c54a10cb1)"}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Consultant\",\r\n \"beginDate\": \"2021-02-15T00:00:00Z\",\r\n \"endDate\": \"2021-02-20T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 3,\r\n \"description\": \"Inactive Registration\"\r\n },\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Registration\"\r\n }\r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"Collaborator\",\r\n \"beginDate\": \"2019-01-01T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Registration\"\r\n }\r\n },\r\n {\r\n \"code\": 4,\r\n \"name\": \"FV Member\",\r\n \"beginDate\": \"2020-12-17T12:32:18.61Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Access\"\r\n }\r\n },\r\n {\r\n \"code\": 8,\r\n \"name\": \"Sales Force\", \r\n \"beginDate\": \"2017-04-19T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Registration\"\r\n }\r\n },\r\n {\r\n \"code\": 9,\r\n \"name\": \"End Consumer\",\r\n \"beginDate\": \"2017-05-15T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 2,\r\n \"description\": \"Registration not OK\"\r\n },\r\n \"type\": { \r\n \"id\": 1,\r\n \"description\": \"Registration\"\r\n }\r\n },\r\n {\r\n \"code\": 32,\r\n \"name\": \"Special Access Managers\",\r\n \"beginDate\": \"2019-08-06T09:07:50.813Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Access\"\r\n }\r\n },\r\n {\r\n \"code\": 309,\r\n \"name\": \"Test Item to Embed\",\r\n \"beginDate\": \"2020-12-17T12:32:17.163Z\", \r\n \"endDate\": \"0001-01-01T00:00:00Z\",\r\n \"information\": \"\",\r\n \"status\": {\r\n \"id\": 1,\r\n \"description\": \"Registration OK\"\r\n },\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Access\"\r\n }\r\n }\r\n ]"}],"_postman_id":"18df7622-d421-4fa8-b804-3c82d6e1c394"},{"name":"Query functions by name","id":"595a23bb-b284-4a45-a306-5a2db2a58fbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Functions?name=<string>","description":"<p>This call is used to query functions like <code>1 - Register</code> by name.</p>\n","urlObject":{"path":["api","Functions"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Function name (complete or partial). </p>\n<p> <strong>Observation</strong></p>\n<p> If the application does not find any functions, all functions of type <code>1 - Register</code> will be returned.</p>\n","type":"text/plain"},"key":"name","value":"<string>"}],"variable":[]}},"response":[{"id":"409567e3-0837-4310-8f51-39d7cd9f7b4e","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Functions?name=<string>","host":["{{baseUrl}}"],"path":["api","Functions"],"query":[{"key":"name","value":"<string>","description":"Function name (complete or partial). \n\n If the application does not find any functions, all functions of type `1 - Register` will be returned."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Function code\",\r\n \"name\": \"Function name\"\r\n }\r\n ]"},{"id":"c248d3ca-6d9b-440d-960d-a679a3e52540","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Functions?name=<string>","host":["{{baseUrl}}"],"path":["api","Functions"],"query":[{"key":"name","value":"<string>","description":"Function name (complete or partial). \n\n If the application does not find any functions, all functions of type `1 - Register` will be returned."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Consultant\"\r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"Collaborator\"\r\n },\r\n {\r\n \"code\": 9,\r\n \"name\": \"End Consumer\"\r\n }\r\n ]"}],"_postman_id":"595a23bb-b284-4a45-a306-5a2db2a58fbf"},{"name":"Consult function by code","id":"d5e759f1-80fb-4c52-8a17-91a4923759e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Functions/:id","description":"<p>This call is used to query a function of type <code>1 - Register</code> by code.</p>\n","urlObject":{"path":["api","Functions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"7577f57e-07b6-4b67-aaf1-5888fc7f47dc","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"6401f41f-675e-48c1-9d75-fd3ab35ca048","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Functions/:id","host":["{{baseUrl}}"],"path":["api","Functions",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Function identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Function code\",\r\n \"name\": \"Function name\",\r\n \"beginDate\": \"Function start date\",\r\n \"endDate\": \"Function end date\"\r\n }\r\n ]"},{"id":"66557579-a264-4342-a0a0-4adec39bdc7a","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Functions/:id","host":["{{baseUrl}}"],"path":["api","Functions",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Function identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Consultant\",\r\n \"beginDate\": \"0001-01-01T00:00:00Z\",\r\n \"endDate\": \"0001-01-01T00:00:00Z\"\r\n }\r\n ]"}],"_postman_id":"d5e759f1-80fb-4c52-8a17-91a4923759e4"}],"id":"c38ea78c-0c4a-49e7-8cf8-b1304a5e67a3","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"23854a5b-e22d-42ce-a626-794d3e0e13d7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"4a9ad2c9-709f-4cb6-b4b4-410080e1bb5f"}}],"_postman_id":"c38ea78c-0c4a-49e7-8cf8-b1304a5e67a3","description":""},{"name":"Paper","item":[{"name":"Consult papers","id":"9226b905-accf-4bb7-8f14-5af41a3906f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Roles?functionCode=<string>&name=<string>","description":"<p>This call is used to consult papers registered in <strong>Let</strong>.</p>\n","urlObject":{"path":["api","Roles"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Function identifier code related to the desired roles. </p>\n<p> <strong>Observation</strong></p>\n<p> If no value is sent, the application will return roles related to all functions.</p>\n","type":"text/plain"},"key":"functionCode","value":"<string>"},{"description":{"content":"<p>Role name (full or partial). </p>\n<p> <strong>Observation</strong></p>\n<p> If no value is sent, the application will return all roles related to the function sent in the <code>functionCode</code> parameter.</p>\n","type":"text/plain"},"key":"name","value":"<string>"}],"variable":[]}},"response":[{"id":"e71671ce-48c9-4e23-8d23-6b2a2244ea93","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Roles?functionCode=<integer>&name=<string>","host":["{{baseUrl}}"],"path":["api","Roles"],"query":[{"key":"functionCode","value":"<integer>","description":"Function identifier code related to the desired roles. \n\n **Observation**\n\n If no value is sent, the application will return roles related to all functions."},{"key":"name","value":"<string>","description":"Role name (full or partial). \n\n **Observation**\n\n If no value is sent, the application will return all roles related to the function sent in the `functionCode` parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Paper code\",\r\n \"name\": \"Role name\",\r\n \"functionCode\": \"Code of the function related to the role\", // Possible values in the glossary (Functions of Individuals/Legal)\r\n \"leaderConcept\": \"Indicates if it is a group role\",\r\n \"pictureUrl\": \"paper image URL\",\r\n \"color\": \"Paper Color Hex Code\"\r\n }\r\n ]"},{"id":"c09bf5eb-aa92-49c8-a458-d44738a8d379","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Roles?functionCode=<integer>&name=<string>","host":["{{baseUrl}}"],"path":["api","Roles"],"query":[{"key":"functionCode","value":"<integer>","description":"Function identifier code related to the desired roles. \n\n **Observation**\n\n If no value is sent, the application will return roles related to all functions."},{"key":"name","value":"<string>","description":"Role name (full or partial). \n\n **Observation**\n\n If no value is sent, the application will return all roles related to the function sent in the `functionCode` parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 11,\r\n \"name\": \"C1\",\r\n \"functionCode\": 1,\r\n \"leaderConcept\": false,\r\n \"pictureUrl\": \"https://inovadevsgi.geravd.com.br/Paginas/Imagens/Papel/[hash_da_foto].png\",\r\n \"color\": \"#f314d2\"\r\n },\r\n {\r\n \"code\": 12,\r\n \"name\": \"C2\",\r\n \"functionCode\": 1,\r\n \"leaderConcept\": true,\r\n \"pictureUrl\": \"https://inovadevsgi.geravd.com.br/Paginas/Imagens/Papel/[hash_da_foto].png\",\r\n \"color\": \"#f6f4fe\"\r\n }\r\n ]"}],"_postman_id":"9226b905-accf-4bb7-8f14-5af41a3906f3"},{"name":"Consult paper by code","id":"193f2bb2-5dc4-4fd1-86c4-6472eebee59e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Roles/:id","description":"<p>This call is used to query a role registered in <strong>Let</strong> by code.</p>\n","urlObject":{"path":["api","Roles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"4c20d28b-f825-4d8c-b21e-3371f3f5f0b6","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Paper identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"77dee489-e0c8-4e7d-bb87-cffd674c42ca","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Roles/:id","host":["{{baseUrl}}"],"path":["api","Roles",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Paper identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Paper code\",\r\n \"name\": \"Role name\",\r\n \"functionCode\": \"Code of the function related to the role\", // Possible values in the glossary (Functions of Individuals/Legal)\r\n \"leaderConcept\": \"Indicates if it is a group role\",\r\n \"pictureUrl\": \"paper image URL\",\r\n \"color\": \"Paper Color Hex Code\"\r\n }\r\n ]"},{"id":"92815c9a-4833-4385-9d2d-d7bc6c5459db","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Roles/:id","host":["{{baseUrl}}"],"path":["api","Roles",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Paper identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 11,\r\n \"name\": \"C1\",\r\n \"functionCode\": 1,\r\n \"leaderConcept\": false,\r\n \"pictureUrl\": \"https://inovadevsgi.geravd.com.br/Paginas/Imagens/Papel/[hash_da_foto].png\",\r\n \"color\": \"#f314d2\"\r\n }\r\n ]"}],"_postman_id":"193f2bb2-5dc4-4fd1-86c4-6472eebee59e"},{"name":"Consult active roles of the person","id":"29b4bbd4-c1c3-434a-9641-47446f0d9284","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/roles?function=<integer>","description":"<p>This call is used to query a person's active roles.</p>\n","urlObject":{"path":["api","people",":id","roles"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Function identifier code related to the desired roles.</p>\n","type":"text/plain"},"key":"function","value":"<integer>"}],"variable":[{"id":"9b2d4851-e14b-498e-8386-ee54a08d57a7","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"a3765bc9-e990-4a12-b2ca-80e7ed21e7ea","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/roles?function=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","roles"],"query":[{"key":"function","value":"<integer>","description":"Function identifier code related to the desired roles."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 11,\r\n \"description\": \"C1\",\r\n \"roleSituation\": \"Role Situation\", // Possible values in the glossary (Role Situations)\r\n \"functionCode\": \"Code of the role related function\"\r\n }\r\n ]"},{"id":"13d709e3-2575-4b6b-b530-228022740ad7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/roles?function=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","roles"],"query":[{"key":"function","value":"<integer>","description":"Function identifier code related to the desired roles."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 11,\r\n \"description\": \"C1\",\r\n \"roleSituation\": 1,\r\n \"functionCode\": 1\r\n },\r\n {\r\n \"code\": 21,\r\n \"description\": \"Collaborator\",\r\n \"roleSituation\": 1,\r\n \"functionCode\": 2\r\n },\r\n {\r\n \"code\": 91,\r\n \"description\": \"End Consumer\",\r\n \"roleSituation\": 1,\r\n \"functionCode\": 9\r\n }\r\n ]"}],"_postman_id":"29b4bbd4-c1c3-434a-9641-47446f0d9284"}],"id":"c58eb92b-4acd-434c-a53e-9507be1fd8f5","_postman_id":"c58eb92b-4acd-434c-a53e-9507be1fd8f5","description":""},{"name":"Commercial Segment","item":[{"name":"Consult business segments","id":"f127e8c9-3545-461b-92c3-58e2d7fa7a2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/businessSegments?page=<integer>&pageSize=<integer>","urlObject":{"path":["api","businessSegments"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Page number to be returned. \n <strong>Default</strong>: 1\n <strong>Observation</strong>\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. \n <strong>Default</strong>: 10\n <strong>Observation</strong>\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"7739de94-157f-400d-9838-3e3adeb06cc3","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/businessSegments?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","businessSegments"],"query":[{"key":"page","value":"<integer>","description":"Page number to be returned. \n **Default**: 1\n **Observation**\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records.\n"},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n **Default**: 10\n **Observation**\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Active\",\r\n \"description\": \"Indicates if the person is active\",\r\n \"situation\": {\r\n \"id\": 1,\r\n \"description\": \"Active\"\r\n },\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Automatic\"\r\n },\r\n \"allowMultipleValues\": {\r\n \"id\": 0,\r\n \"description\": \"No\"\r\n },\r\n \"creationDateTime\": \"2019-07-22T14:45:02.84Z\",\r\n \"updateDateTime\": \"0001-01-01T00:00:00Z\"\r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"Vanguard\",\r\n \"description\": \"Vanguard Profiles\", \r\n \"situation\": {\r\n \"id\": 1,\r\n \"description\": \"Active\"\r\n },\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Manual\"\r\n },\r\n \"allowMultipleValues\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"creationDateTime\": \"2019-08-08T17:28:32.03Z\",\r\n \"updateDateTime\": \"2020-11-09T10:48:49.263Z\"\r\n }\r\n ]"},{"id":"fd4f819e-eadf-40a6-a53d-b3a3bc84869c","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/businessSegments?page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","businessSegments"],"query":[{"key":"page","value":"<integer>","description":"Page number to be returned. \n **Default**: 1\n **Observation**\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records.\n"},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n **Default**: 10\n **Observation**\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Commercial segment code\",\r\n \"name\": \"Business segment name\",\r\n \"description\": \"Description of the business segment\",\r\n \"situation\": { // Type of images - Possible values in the Glossary(Situations of the Business Segment)\r\n \"id\": \"Code of the commercial segment situation\",\r\n \"description\": \"Description of the type of business segment situation\"\r\n },\r\n \"type\": {\r\n \"id\": \"Business Segment type code\", //Possible values in the Glossary(Business Segment Types)\r\n \"description\": \"Description of Business Segment Type\"\r\n },\r\n \"allowMultipleValues\": {\r\n \"id\": \"Code that indicates whether the business segment accepts multiple values (0-No/1-Yes)\", \r\n \"description\": \"Description if the business segment accepts multiple values\"\r\n },\r\n \"creationDateTime\": \"Creation date and time\",\r\n \"updateDateTime\": \"Last update date and time\"\r\n }\r\n ]"}],"_postman_id":"f127e8c9-3545-461b-92c3-58e2d7fa7a2a"},{"name":"Consult business segment by code","id":"eb2625c5-21ee-403d-a630-c77bb6c1edef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/businessSegments/:id","urlObject":{"path":["api","businessSegments",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"056d56a9-760f-426e-8545-df79bdbce917","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Business Segment Code</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"0d46199f-cff1-4661-bdbb-47f6d78b7194","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/businessSegments/:id","host":["{{baseUrl}}"],"path":["api","businessSegments",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Business Segment Code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 2,\r\n \"name\": \"Vanguard\",\r\n \"description\": \"Vanguard Profiles\",\r\n \"situation\": {\r\n \"id\": 1,\r\n \"description\": \"Active\"\r\n },\r\n \"type\": {\r\n \"id\": 2,\r\n \"description\": \"Manual\"\r\n },\r\n \"allowMultipleValues\": {\r\n \"id\": 1,\r\n \"description\": \"Yes\"\r\n },\r\n \"creationDateTime\": \"2019-08-08T17:28:32.03Z\",\r\n \"updateDateTime\": \"2020-11-09T10:48:49.263Z\"\r\n }"},{"id":"6b3aad1c-ad48-4cb3-a293-1fc0faa628ae","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/businessSegments/:id","host":["{{baseUrl}}"],"path":["api","businessSegments",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Business Segment Code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Commercial segment code\",\r\n \"name\": \"Business segment name\",\r\n \"description\": \"Description of the business segment\",\r\n \"situation\": { // Type of images - Possible values in the Glossary(Situations of the Business Segment)\r\n \"id\": \"Code of the commercial segment situation\",\r\n \"description\": \"Description of the type of business segment situation\"\r\n },\r\n \"type\": {\r\n \"id\": \"Business Segment type code\", //Possible values in the Glossary(Business Segment Types)\r\n \"description\": \"Description of Business Segment Type\"\r\n },\r\n \"allowMultipleValues\": {\r\n \"id\": \"Code that indicates whether the business segment accepts multiple values (0-No/1-Yes)\",\r\n \"description\": \"Description if the business segment accepts multiple values\"\r\n },\r\n \"creationDateTime\": \"Creation date and time\",\r\n \"updateDateTime\": \"Last update date and time\"\r\n }"}],"_postman_id":"eb2625c5-21ee-403d-a630-c77bb6c1edef"},{"name":"Update a person&#39;s business segment values","id":"ec148ecd-ee9c-4f44-86bf-646a14f1c9c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Person identifier code.</p>\n","type":"text"},{"key":"businessSegmentCode","value":"<integer>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Business segment identifier code</p>\n","type":"text"},{"key":"businessSegmentValues","value":"<integer>","description":"<p><strong>(Mandatory)</strong></p>\n<p> List of values for the commercial segment</p>\n","type":"text"},{"key":"issuedAt","value":"<long>","description":"<p><strong>(Mandatory)</strong></p>\n<p> Unix time, date and time of assignment in seconds</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/peopleBusinessSegments","description":"<p><strong>Heads up</strong></p>\n<p> The parameters documented in the call body make up just one object. The API, however, is configured to receive a list of objects. Therefore, the content of the call body must be sent in a JSON file.</p>\n","urlObject":{"path":["api","peopleBusinessSegments"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"4ccd84c4-978a-46e5-a4c6-2d290c36afef","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>","description":"**(Mandatory)**\n\n Person identifier code.","type":"text"},{"key":"businessSegmentCode","value":"<integer>","description":"**(Mandatory)**\n\n Business segment identifier code","type":"text"},{"key":"businessSegmentValues","value":"<integer>","description":"**(Mandatory)**\n\n List of values for the commercial segment","type":"text"},{"key":"issuedAt","value":"<long>","description":"**(Mandatory)**\n\n Unix time, date and time of assignment in seconds","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/peopleBusinessSegments"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ec148ecd-ee9c-4f44-86bf-646a14f1c9c5"},{"name":"Querying a person&#39;s business segment values","id":"58d41b86-fa12-41a4-af1c-141d74792f03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/people/:id/businessSegments?businessSegmentCode=<integer>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","people",":id","businessSegments"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Commercial segment identification code in <strong>Let</strong>. \n The application must send a <code>businessSegmentCode</code> parameter for each code. \n E.g.: &amp;businessSegmentCode=1&amp;businessSegmentCode=2</p>\n","type":"text/plain"},"key":"businessSegmentCode","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. \n <strong>Default</strong>: 1\n <strong>Observation</strong>\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. \n <strong>Default</strong>: 10\n <strong>Observation</strong>\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"96911b4f-df54-440f-b1c1-ade31ec87bea","description":{"content":"<p><strong>(Mandatory)</strong>\n Person identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"d7a0a093-795f-4409-9d09-e67cdd7d7b0a","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/businessSegments?businessSegmentCode=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","businessSegments"],"query":[{"key":"businessSegmentCode","value":"<integer>","description":"Commercial segment identification code in **Let**. \n The application must send a `businessSegmentCode` parameter for each code. \n E.g.: &amp;businessSegmentCode=1&amp;businessSegmentCode=2"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n **Default**: 1\n **Observation**\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records.\n"},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n **Default**: 10\n **Observation**\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"personCode\": 2198,\r\n \"businessSegmentCode\": 1,\r\n \"businessSegmentName\": \"Active\",\r\n \"businessSegmentValues\": [\r\n {\r\n \"id\": 7,\r\n \"description\": \"Not applicable\"\r\n }\r\n ]\r\n },\r\n {\r\n \"personCode\": 2198,\r\n \"businessSegmentCode\": 2,\r\n \"businessSegmentName\": \"Vanguard\",\r\n \"businessSegmentValues\": [\r\n {\r\n \"id\": 1,\r\n \"description\": \"Vanguard\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"description\": \"Bronze\"\r\n },\r\n { \r\n \"id\": 3,\r\n \"description\": \"FV\"\r\n }\r\n ]\r\n }\r\n ]"},{"id":"58b9f409-1bbf-43bf-ba64-c9e94eeab29d","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/people/:id/businessSegments?businessSegmentCode=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","people",":id","businessSegments"],"query":[{"key":"businessSegmentCode","value":"<integer>","description":"Commercial segment identification code in **Let**. \n The application must send a `businessSegmentCode` parameter for each code. \n E.g.: &amp;businessSegmentCode=1&amp;businessSegmentCode=2"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n **Default**: 1\n **Observation**\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records.\n"},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n **Default**: 10\n **Observation**\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n Person identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"personCode\": \"Person Code\",\r\n \"businessSegmentCode\": \"Business segment code\",\r\n \"businessSegmentName\": \"Business Segment Name\",\r\n \"businessSegmentValues\": [ //List of business segment values for this person\r\n {\r\n \"id\": \"Code to register the value of the commercial segment\",\r\n \"description\": \"Description of business segment value\"\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"58d41b86-fa12-41a4-af1c-141d74792f03"}],"id":"cb3bd7b7-be0f-4913-a7f7-2bca69062688","_postman_id":"cb3bd7b7-be0f-4913-a7f7-2bca69062688","description":""},{"name":"geographical structure","item":[{"name":"Consult geographic structures","id":"6dd8c1dc-1f05-4714-a513-78261ce40543","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/GeographicalStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&postalCode=<string>&sortOptions=<string>&page=<integer>&pageSize=<integer>","description":"<p>This call is used to query geographic structures. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","GeographicalStructures"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Identifier code of the geographic structure. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>code</code> parameter for each geographic structure code. </p>\n<p> E.g.: &amp;code=&amp;code=</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Name of the geographic structure.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Parent structure code.</p>\n","type":"text/plain"},"key":"parentCode","value":"<integer>"},{"description":{"content":"<p>Structure level code.</p>\n","type":"text/plain"},"key":"levelCode","value":"<integer>"},{"description":{"content":"<p>Postal code of the geographic structure. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>postalCode</code> parameter for each zip code. </p>\n<p> E.g.: &amp;postalCode=&amp;postalCode=</p>\n","type":"text/plain"},"key":"postalCode","value":"<string>"},{"description":{"content":"<p>Ordering Options. </p>\n<p> Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Ordering</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>Orders results by geographic structure code, in ascending order</td>\n</tr>\n<tr>\n<td>code desc</td>\n<td>Orders results by geographic structure code, in descending order</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Orders the results by name of the geographic structure, in ascending order</td>\n</tr>\n<tr>\n<td>name desc</td>\n<td>Orders the results by name of the geographic structure, in descending order</td>\n</tr>\n</tbody>\n</table>\n</div>","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"72729f16-4779-4662-90e4-663d7a5f2411","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/GeographicalStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&postalCode=<string>&sortOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","GeographicalStructures"],"query":[{"key":"code","value":"<integer>","description":"Identifier code of the geographic structure. \n\n **Heads up**\n\n The application must send a `code` parameter for each geographic structure code. \n\n E.g.: &amp;code=<integer>&amp;code=<integer>"},{"key":"name","value":"<string>","description":"Name of the geographic structure."},{"key":"parentCode","value":"<integer>","description":"Parent structure code."},{"key":"levelCode","value":"<integer>","description":"Structure level code."},{"key":"postalCode","value":"<string>","description":"Postal code of the geographic structure. \n\n **Heads up**\n\n The application must send a `postalCode` parameter for each zip code. \n\n E.g.: &amp;postalCode=<string>&amp;postalCode=<string>"},{"key":"sortOptions","value":"<string>","description":"Ordering Options. \n\n Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. \n\n |Parameter|Ordering|\n |-- |-- |\n |code|Orders results by geographic structure code, in ascending order|\n |code desc|Orders results by geographic structure code, in descending order|\n |name|Orders the results by name of the geographic structure, in ascending order|\n |name desc|Orders the results by name of the geographic structure, in descending order|"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Code of geographic structure\",\r\n \"name\": \"Name of geographic structure\",\r\n \"parent\": { // Parent structure information\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\"\r\n },\r\n \"level\": { // Level of geographic structure\r\n \"code\": \"Geographic structure level code\",\r\n \"name\": \"Geographic structure level name\"\r\n },\r\n \"isLeaf\": \"Indicates if it is the last level of the geographic structure\"\r\n }\r\n ]"},{"id":"def73ee3-8f82-41ef-a320-7caf11e77fd7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/GeographicalStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&postalCode=<string>&sortOptions=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","GeographicalStructures"],"query":[{"key":"code","value":"<integer>","description":"Identifier code of the geographic structure. \n\n **Heads up**\n\n The application must send a `code` parameter for each geographic structure code. \n\n E.g.: &amp;code=<integer>&amp;code=<integer>"},{"key":"name","value":"<string>","description":"Name of the geographic structure."},{"key":"parentCode","value":"<integer>","description":"Parent structure code."},{"key":"levelCode","value":"<integer>","description":"Structure level code."},{"key":"postalCode","value":"<string>","description":"Postal code of the geographic structure. \n\n **Heads up**\n\n The application must send a `postalCode` parameter for each zip code. \n\n E.g.: &amp;postalCode=<string>&amp;postalCode=<string>"},{"key":"sortOptions","value":"<string>","description":"Ordering Options. \n\n Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. \n\n |Parameter|Ordering|\n |-- |-- |\n |code|Orders results by geographic structure code, in ascending order|\n |code desc|Orders results by geographic structure code, in descending order|\n |name|Orders the results by name of the geographic structure, in ascending order|\n |name desc|Orders the results by name of the geographic structure, in descending order|"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Brazil\",\r\n \"level\": {\r\n \"code\": 0,\r\n \"name\": \"Country\"\r\n },\r\n \"isLeaf\": false\r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"AC\",\r\n \"parent\": {\r\n \"code\": 1,\r\n \"name\": \"Brazil\"\r\n },\r\n \"level\": {\r\n \"code\": 1,\r\n \"name\": \"State\"\r\n },\r\n \"isLeaf\": false\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"AL\",\r\n \"parent\": {\r\n \"code\": 1,\r\n \"name\": \"Brazil\"\r\n },\r\n \"level\": {\r\n \"code\": 1,\r\n \"name\": \"State\"\r\n },\r\n \"isLeaf\": false\r\n }\r\n ]"}],"_postman_id":"6dd8c1dc-1f05-4714-a513-78261ce40543"},{"name":"Consult geographic structure by code","id":"821c3cce-8083-4ea8-bb90-58221f905d01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/GeographicalStructures/:id","description":"<p>This call is used to query a geographic structure by code.</p>\n","urlObject":{"path":["api","GeographicalStructures",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"a21286c0-2024-4b18-bb00-b46324a5f5a4","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Identifier code of the geographic structure.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"e4397538-8ade-4bd6-9c41-8d9a0da09c28","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/GeographicalStructures/:id","host":["{{baseUrl}}"],"path":["api","GeographicalStructures",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the geographic structure."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Code of geographic structure\",\r\n \"name\": \"Name of geographic structure\",\r\n \"parent\": { // Parent structure information\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\"\r\n },\r\n \"level\": { // Level of geographic structure\r\n \"code\": \"Geographic structure level code\",\r\n \"name\": \"Geographic structure level name\"\r\n },\r\n \"isLeaf\": \"Indicates if it is the last level of the geographic structure\",\r\n \"sourceInfo\": { // Source of structure - Possible values in glossary (Sources of Geographic Structures)\r\n \"id\": \"Structure source code\",\r\n \"description\": \"Structure source name\"\r\n } \r\n }"},{"id":"92e51f39-35fa-45b0-a388-ae745c4757e2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/GeographicalStructures/:id","host":["{{baseUrl}}"],"path":["api","GeographicalStructures",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Identifier code of the geographic structure."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 2,\r\n \"name\": \"AC\",\r\n \"parent\": {\r\n \"code\": 1,\r\n \"name\": \"Brazil\"\r\n },\r\n \"level\": {\r\n \"code\": 1,\r\n \"name\": \"State\"\r\n },\r\n \"isLeaf\": false,\r\n \"sourceInfo\": {\r\n \"id\": 2,\r\n \"description\": \"DNE\"\r\n }\r\n }"}],"_postman_id":"821c3cce-8083-4ea8-bb90-58221f905d01"},{"name":"Consult geographic structures (public access)","id":"09dd6f31-153c-48de-bbf5-83d9e686fdc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Public/GeographicalStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&postalCode=<string>&sortOptions=<string>&page=<integer>&pageSize=<integer>&externalCodes=<string>","description":"<p>This call is used to query geographic structures registered in <strong>Let</strong>. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","Public","GeographicalStructures"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Identifier code of the geographic structure. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>code</code> parameter for each geographic structure code. </p>\n<p> E.g.: &amp;code=&amp;code=</p>\n","type":"text/plain"},"key":"code","value":"<integer>"},{"description":{"content":"<p>Name of the geographic structure.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Parent structure code.</p>\n","type":"text/plain"},"key":"parentCode","value":"<integer>"},{"description":{"content":"<p>Structure level code.</p>\n","type":"text/plain"},"key":"levelCode","value":"<integer>"},{"description":{"content":"<p>Postal code of the geographic structure. </p>\n<p> <strong>Heads up</strong></p>\n<p> The application must send a <code>postalCode</code> parameter for each zip code. </p>\n<p> E.g.: &amp;postalCode=&amp;postalCode=</p>\n","type":"text/plain"},"key":"postalCode","value":"<string>"},{"description":{"content":"<p>Ordering Options. </p>\n<p> Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Ordering</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>Orders results by geographic structure code, in ascending order</td>\n</tr>\n<tr>\n<td>code desc</td>\n<td>Orders results by geographic structure code, in descending order</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Orders the results by name of the geographic structure, in ascending order</td>\n</tr>\n<tr>\n<td>name desc</td>\n<td>Orders the results by name of the geographic structure, in descending order</td>\n</tr>\n</tbody>\n</table>\n</div>","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>External code (used for external integrations). </p>\n<p> <strong>Heads up</strong>\n The application must send an <code>externalCodes</code> parameter for each external code. </p>\n<p> E.g.: &amp;externalCodes=&amp;externalCodes=</p>\n","type":"text/plain"},"key":"externalCodes","value":"<string>"}],"variable":[]}},"response":[{"id":"e59ade9d-95ff-4ad8-abd2-222ecef22a8a","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Public/GeographicalStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&postalCode=<string>&sortOptions=<string>&page=<integer>&pageSize=<integer>&externalCodes=<string>","host":["{{baseUrl}}"],"path":["api","Public","GeographicalStructures"],"query":[{"key":"code","value":"<integer>","description":"Identifier code of the geographic structure. \n\n **Heads up**\n\n The application must send a `code` parameter for each geographic structure code. \n\n E.g.: &amp;code=<integer>&amp;code=<integer>"},{"key":"name","value":"<string>","description":"Name of the geographic structure."},{"key":"parentCode","value":"<integer>","description":"Parent structure code."},{"key":"levelCode","value":"<integer>","description":"Structure level code."},{"key":"postalCode","value":"<string>","description":"Postal code of the geographic structure. \n\n **Heads up**\n\n The application must send a `postalCode` parameter for each zip code. \n\n E.g.: &amp;postalCode=<string>&amp;postalCode=<string>"},{"key":"sortOptions","value":"<string>","description":"Ordering Options. \n\n Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. \n\n |Parameter|Ordering|\n |-- |-- |\n |code|Orders results by geographic structure code, in ascending order|\n |code desc|Orders results by geographic structure code, in descending order|\n |name|Orders the results by name of the geographic structure, in ascending order|\n |name desc|Orders the results by name of the geographic structure, in descending order|"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"externalCodes","value":"<string>","description":"External code (used for external integrations). \n\n **Heads up**\n The application must send an `externalCodes` parameter for each external code. \n\n E.g.: &amp;externalCodes=<string>&amp;externalCodes=<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Code of geographic structure\",\r\n \"name\": \"Name of geographic structure\",\r\n \"parent\": { // Parent structure information\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\"\r\n },\r\n \"level\": { // Level of geographic structure\r\n \"code\": \"Geographic structure level code\",\r\n \"name\": \"Geographic structure level name\"\r\n },\r\n \"isLeaf\": \"Indicates if it is the last level of the geographic structure\"\r\n }\r\n ]"},{"id":"097386ec-7d77-4985-9b31-fa5d4262bacd","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Public/GeographicalStructures?code=<integer>&name=<string>&parentCode=<integer>&levelCode=<integer>&postalCode=<string>&sortOptions=<string>&page=<integer>&pageSize=<integer>&externalCodes=<string>","host":["{{baseUrl}}"],"path":["api","Public","GeographicalStructures"],"query":[{"key":"code","value":"<integer>","description":"Identifier code of the geographic structure. \n\n **Heads up**\n\n The application must send a `code` parameter for each geographic structure code. \n\n E.g.: &amp;code=<integer>&amp;code=<integer>"},{"key":"name","value":"<string>","description":"Name of the geographic structure."},{"key":"parentCode","value":"<integer>","description":"Parent structure code."},{"key":"levelCode","value":"<integer>","description":"Structure level code."},{"key":"postalCode","value":"<string>","description":"Postal code of the geographic structure. \n\n **Heads up**\n\n The application must send a `postalCode` parameter for each zip code. \n\n E.g.: &amp;postalCode=<string>&amp;postalCode=<string>"},{"key":"sortOptions","value":"<string>","description":"Ordering Options. \n\n Sorting options modify the results of a search according to the submitted parameter. Only one sorting parameter per search can be sent. \n\n |Parameter|Ordering|\n |-- |-- |\n |code|Orders results by geographic structure code, in ascending order|\n |code desc|Orders results by geographic structure code, in descending order|\n |name|Orders the results by name of the geographic structure, in ascending order|\n |name desc|Orders the results by name of the geographic structure, in descending order|"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"externalCodes","value":"<string>","description":"External code (used for external integrations). \n\n **Heads up**\n The application must send an `externalCodes` parameter for each external code. \n\n E.g.: &amp;externalCodes=<string>&amp;externalCodes=<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Brazil\",\r\n \"level\": {\r\n \"code\": 0,\r\n \"name\": \"Country\"\r\n },\r\n \"isLeaf\": false\r\n },\r\n {\r\n \"code\": 2,\r\n \"name\": \"AC\",\r\n \"parent\": {\r\n \"code\": 1,\r\n \"name\": \"Brazil\"\r\n },\r\n \"level\": {\r\n \"code\": 1,\r\n \"name\": \"State\"\r\n },\r\n \"isLeaf\": false\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"AL\",\r\n \"parent\": {\r\n \"code\": 1,\r\n \"name\": \"Brazil\"\r\n },\r\n \"level\": {\r\n \"code\": 1,\r\n \"name\": \"State\"\r\n },\r\n \"isLeaf\": false\r\n }\r\n ]"}],"_postman_id":"09dd6f31-153c-48de-bbf5-83d9e686fdc5"},{"name":"Consult geographic structure by code (public access)","id":"99a58e64-e8f9-4f27-b4b8-8413bf6c2402","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/Public/GeographicalStructures/:id","description":"<p>This call is used to query a geographic structure by code. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","Public","GeographicalStructures",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"8c208786-381c-43e1-9611-ba007c251467","description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"12fa5579-cbfb-4178-a7a4-9fc754830d93","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Public/GeographicalStructures/:id","host":["{{baseUrl}}"],"path":["api","Public","GeographicalStructures",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Code of geographic structure\",\r\n \"name\": \"Name of geographic structure\",\r\n \"parent\": { // Parent structure information\r\n \"code\": \"Code of parent structure\",\r\n \"name\": \"Name of parent structure\"\r\n },\r\n \"level\": { // Level of geographic structure\r\n \"code\": \"Geographic structure level code\",\r\n \"name\": \"Geographic structure level name\"\r\n },\r\n \"isLeaf\": \"Indicates if it is the last level of the geographic structure\",\r\n \"sourceInfo\": { // Source of structure - Possible values in glossary (Sources of Geographic Structures)\r\n \"id\": \"Structure source code\",\r\n \"description\": \"Structure source name\"\r\n } \r\n }"},{"id":"63d14e5f-3574-4ec1-94ed-a1e1246b0810","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/Public/GeographicalStructures/:id","host":["{{baseUrl}}"],"path":["api","Public","GeographicalStructures",":id"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 2,\r\n \"name\": \"AC\",\r\n \"parent\": {\r\n \"code\": 1,\r\n \"name\": \"Brazil\"\r\n },\r\n \"level\": {\r\n \"code\": 1,\r\n \"name\": \"State\"\r\n },\r\n \"isLeaf\": false,\r\n \"sourceInfo\": {\r\n \"id\": 2,\r\n \"description\": \"DNE\"\r\n }\r\n }"}],"_postman_id":"99a58e64-e8f9-4f27-b4b8-8413bf6c2402"}],"id":"e81286d5-95c1-4870-b5de-3d44a7b98983","_postman_id":"e81286d5-95c1-4870-b5de-3d44a7b98983","description":""},{"name":"Business Profile","item":[{"name":"See commercial profile by dealer and campaign","id":"d617b8fc-3cdc-44c6-ac7b-32db6743930d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/sellers/businessRoles?initial Cycle=<integer>&endcycle=<integer>&sellerCodes=<integer>&businessRoles=<integer>&includeOptions=sellerPictures","description":"<p>Returns a list with active resellers in the campaign range sent, informing if the commercial profiles sent were active for them. </p>\n<p> The \"sellerCodes\" and \"businessRoles\" parameters can be sent once or several times, to query multiple values.</p>\n","urlObject":{"path":["api","sellers","businessRoles"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> initial campaign</p>\n","type":"text/plain"},"key":"initial Cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Final campaign</p>\n","type":"text/plain"},"key":"endcycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Reseller code, mandatory to send at least one</p>\n","type":"text/plain"},"key":"sellerCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Business profile code, mandatory to send at least one</p>\n","type":"text/plain"},"key":"businessRoles","value":"<integer>"},{"description":{"content":"<p>It adds an object with the person's images to the query's return</p>\n","type":"text/plain"},"key":"includeOptions","value":"sellerPictures"}],"variable":[]}},"response":[{"id":"389d503e-2781-413b-8eac-8231edb37572","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/businessRoles?initial Cycle=<integer>&endcycle=<integer>&sellerCodes=<integer>&businessRoles=<integer>&includeOptions=sellerPictures","host":["{{baseUrl}}"],"path":["api","sellers","businessRoles"],"query":[{"key":"initial Cycle","value":"<integer>","description":"**(Mandatory)**\n\n initial campaign"},{"key":"endcycle","value":"<integer>","description":"**(Mandatory)**\n\n Final campaign"},{"key":"sellerCodes","value":"<integer>","description":"**(Mandatory)**\n\n Reseller code, mandatory to send at least one"},{"key":"businessRoles","value":"<integer>","description":"**(Mandatory)**\n\n Business profile code, mandatory to send at least one"},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the person&#39;s images to the query&#39;s return"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"cycle\": 202010,\r\n \"sellerCode\": 210,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": true,\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ]\r\n },\r\n {\r\n \"cycle\": 201912,\r\n \"sellerCode\": 210,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": true,\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1, \r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ]\r\n },\r\n {\r\n \"cycle\": 202001,\r\n \"sellerCode\": 210,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": true,\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ]\r\n },\r\n {\r\n \"cycle\": 202002, \r\n \"sellerCode\": 210,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": true,\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ]\r\n },\r\n {\r\n \"cycle\": 202003,\r\n \"sellerCode\": 210,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": true,\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\" \r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ]\r\n },\r\n {\r\n \"cycle\": 202004,\r\n \"sellerCode\": 210,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": true,\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ]\r\n },\r\n {\r\n \"cycle\": 202005,\r\n \"sellerCode\": 210,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": true,\r\n \"sellerPictures\": [\r\n {\r\n \"type\": {\r\n \"id\": 1,\r\n \"description\": \"Avatar\"\r\n },\r\n \"urlPicture\": \"https://[URL_DA_APLICACAO]/Pages/Images/Pictures/[HASH_DA_FOTO]\"\r\n }\r\n ]\r\n },\r\n {\r\n \"cycle\": 202102,\r\n \"sellerCode\": 211,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": false,\r\n \"sellerPictures\": []\r\n },\r\n {\r\n \"cycle\": 202007,\r\n \"sellerCode\": 211,\r\n \"businessRoleCode\": 4,\r\n \"businessRoleActive\": false,\r\n \"sellerPictures\": []\r\n }\r\n ]"},{"id":"48737e8b-f48e-4af3-b9c1-cb4b8fee8ebc","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/sellers/businessRoles?initial Cycle=<integer>&endcycle=<integer>&sellerCodes=<integer>&businessRoles=<integer>&includeOptions=sellerPictures","host":["{{baseUrl}}"],"path":["api","sellers","businessRoles"],"query":[{"key":"initial Cycle","value":"<integer>","description":"**(Mandatory)**\n\n initial campaign"},{"key":"endcycle","value":"<integer>","description":"**(Mandatory)**\n\n Final campaign"},{"key":"sellerCodes","value":"<integer>","description":"**(Mandatory)**\n\n Reseller code, mandatory to send at least one"},{"key":"businessRoles","value":"<integer>","description":"**(Mandatory)**\n\n Business profile code, mandatory to send at least one"},{"key":"includeOptions","value":"sellerPictures","description":"It adds an object with the person&#39;s images to the query&#39;s return"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"cycle\": \"Campaign\",\n \"sellerCode\": \"Reseller code\",\n \"businessRoleCode\": \"Business profile code\",\n \"businessRoleActive\": \"Indicates if the business profile was active in this campaign for this reseller(true/false\",\n \"sellerPictures\": [ // List of images\n {\n \"type\": {\n \"id\": \"Image type code\", // Possible values available in the Glossary (Image Types)\n \"description\": \"Image type description\"\n },\n \"urlPicture\": \"Full URL of the image\"\n }\n ]\n }\n ]"}],"_postman_id":"d617b8fc-3cdc-44c6-ac7b-32db6743930d"},{"name":"Assign/unassign business profile","id":"2c7500a5-fc32-4154-9d56-ed60744957f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"list","value":"[{\"personCode\":<integer>\"\"roleCode\":<integer>\"\"status\":\"<boolean>\"}]","description":"<p>List of business profiles to be assigned or removed. </p>\n<p> -<code>personCode</code>: Person code;</p>\n<p> -<code>roleCode</code>: Business profile code;</p>\n<p> -<code>status</code>: Profile status.</p>\n","type":"text"}]},"url":"{{baseUrl}}/api/BusinessRoles","urlObject":{"path":["api","BusinessRoles"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"50858262-7fd7-46a2-989f-93d4819b104b","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"list","value":"[{\"personCode\":<integer>\"\"roleCode\":<integer>\"\"status\":\"<boolean>\"}]","description":"List of assigned business profiles. \n\n -`personCode`: Person code;\n\n -`roleCode`: Business profile code;\n\n -`status`: Profile status.","type":"text"}]},"url":"{{baseUrl}}/api/BusinessRoles"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"\"\""}],"_postman_id":"2c7500a5-fc32-4154-9d56-ed60744957f6"},{"name":"Consult people associated with the business profile","id":"a2e11999-7d9d-43f4-8bce-3f70fe2adf2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/BusinessRoles/:id/BusinessRolesProfiles?situation=<integer>&country=<integer>&page=<integer>&pageSize=<integer>","description":"<p>This call is used to query people associated with a business profile. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively.</p>\n","urlObject":{"path":["api","BusinessRoles",":id","BusinessRolesProfiles"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>This filter returns people who are or are not associated with the profile queried. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Not associated</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Associates</td>\n</tr>\n</tbody>\n</table>\n</div><p> <strong>Observation</strong></p>\n<p> If no value is sent, the filter returns both unassociated and associated people.</p>\n","type":"text/plain"},"key":"situation","value":"<integer>"},{"description":{"content":"<p>This filter returns people from the country whose code is sent. If the parameter is not sent, all people associated with the business profile are returned.</p>\n","type":"text/plain"},"key":"country","value":"<integer>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"41c5b911-5bcd-4c1f-84d9-65cba34e7324","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Business profile identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"fad98fcc-fa93-4081-96ba-11196f4f81c2","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/BusinessRoles/:id/BusinessRolesProfiles?situation=<integer>&country=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","BusinessRoles",":id","BusinessRolesProfiles"],"query":[{"key":"situation","value":"<integer>","description":"This filter returns people who are or are not associated with the profile queried. \n\n |||\n |-- |-- |\n |0|Not associated|\n |1|Associates|\n\n **Observation**\n\n If no value is sent, the filter returns both unassociated and associated people."},{"key":"country","value":"<integer>","description":"This filter returns people from the country whose code is sent. If the parameter is not sent, all people associated with the business profile are returned."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Business profile identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Person&#39;s code\",\r\n \"name\": \"Person&#39;s name\",\r\n \"situation\": \"Situation of the person in relation to the business profile\" // 0 - Not associated, 1 - Associate\r\n }\r\n ]"},{"id":"46ba4564-ef89-490d-bc51-7ef5fa2bc5dc","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/BusinessRoles/:id/BusinessRolesProfiles?situation=<integer>&country=<integer>&page=<integer>&pageSize=<integer>","host":["{{baseUrl}}"],"path":["api","BusinessRoles",":id","BusinessRolesProfiles"],"query":[{"key":"situation","value":"<integer>","description":"This filter returns people who are or are not associated with the profile queried. \n\n |||\n |-- |-- |\n |0|Not associated|\n |1|Associates|\n\n **Observation**\n\n If no value is sent, the filter returns both unassociated and associated people."},{"key":"country","value":"<integer>","description":"This filter returns people from the country whose code is sent. If the parameter is not sent, all people associated with the business profile are returned."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Business profile identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 210,\r\n \"name\": \"AAIC PERSON\",\r\n \"situation\": 1\r\n },\r\n {\r\n \"code\": 215,\r\n \"name\": \"Person 2\",\r\n \"situation\": 1\r\n }\r\n ]"}],"_postman_id":"a2e11999-7d9d-43f4-8bce-3f70fe2adf2c"}],"id":"c0d1a8c9-785f-4aa4-b89a-0b7df2282c35","_postman_id":"c0d1a8c9-785f-4aa4-b89a-0b7df2282c35","description":""},{"name":"Bank Agency","item":[{"name":"Consult banks (public access)","id":"bf856246-0c66-4b7f-b74f-ee81f28a18b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{public_access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{baseUrl}}/api/public/banks?BankDetail=<string>&Page=<integer>&PageSize=<integer>","description":"<p>This call is used to consult the banks registered in <strong>Let</strong>. </p>\n<p> This query is paginated: on callback, data is displayed according to page and number of records per page. These values are determined by the <code>page</code> and <code>pageSize</code> parameters respectively. </p>\n<p> This is a public API. To gain access, you need a <a href=\"#03a937c4-6d3d-4907-bd06-abc47e4bdbf8\">public token</a>.</p>\n","urlObject":{"path":["api","public","banks"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Bank details. </p>\n<p> <strong>Observation</strong></p>\n<p> If the bank code is sent, the application looks for a bank with the exact code. </p>\n<p> If a text is sent, the application searches for banks whose names match the text (or part of it).</p>\n","type":"text/plain"},"key":"BankDetail","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"Page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"PageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"ae14da25-5d9d-41fe-80c3-2b3770806ed4","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/banks?BankDetail=<string>&Page=<integer>&PageSize=<integer>","host":["{{baseUrl}}"],"path":["api","public","banks"],"query":[{"key":"BankDetail","value":"<string>","description":"Bank details. \n\n **Observation**\n\n If the bank code is sent, the application looks for a bank with the exact code. \n\n If a text is sent, the application searches for banks whose names match the text (or part of it)."},{"key":"Page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"PageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"bankCode\": \"Bank code\",\r\n \"bankName\": \"Bank Name\"\r\n }\r\n ]"},{"id":"a221a7df-da61-46d2-a45e-ab0f85a12aaf","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/public/banks?BankDetail=<string>&Page=<integer>&PageSize=<integer>","host":["{{baseUrl}}"],"path":["api","public","banks"],"query":[{"key":"BankDetail","value":"<string>","description":"Bank details. \n\n **Observation**\n\n If the bank code is sent, the application looks for a bank with the exact code. \n\n If a text is sent, the application searches for banks whose names match the text (or part of it)."},{"key":"Page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"PageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"bankCode\": 1,\r\n \"bankName\": \"Banco do Brasil\"\r\n },\r\n {\r\n \"bankCode\": 33,\r\n \"bankName\": \"Santander Banespa\"\r\n },\r\n {\r\n \"bankCode\": 104,\r\n \"bankName\": \"Caixa Econômica Federal\"\r\n },\r\n {\r\n \"bankCode\": 237,\r\n \"bankName\": \"Bradesco\"\r\n },\r\n {\r\n \"bankCode\": 341,\r\n \"bankName\": \"Itaú\"\r\n }\r\n ]"}],"_postman_id":"bf856246-0c66-4b7f-b74f-ee81f28a18b1"}],"id":"34409bf8-9077-4f7c-8d0c-1b8957f37139","_postman_id":"34409bf8-9077-4f7c-8d0c-1b8957f37139","description":""}],"id":"968db605-4c8a-4924-8081-cd01a12a0b17","description":"<p>The module allows you to manage the records of reseller, employee, end consumer, individual and legal entity.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"458f4c35-55d0-402e-b9ea-3b833a4d157d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"df1c48c9-4084-42bb-8963-6ac82f6802f5"}}],"_postman_id":"968db605-4c8a-4924-8081-cd01a12a0b17"},{"name":"Gera Promo - Promotional Engine","item":[{"name":"create order","id":"3c820ee3-e27b-404e-93e0-5dfe2a8f6015","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"{{chave_let_promo}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>","description":"<p>Person code.</p>\n","type":"text"},{"key":"businessModelCode","value":"<integer>","description":"<p>Business rule code.</p>\n","type":"text"},{"key":"paymentPlanCode","value":"<integer>","description":"<p>Order payment plan code. </p>\n<p> <strong>Heads up</strong></p>\n<p> This parameter is required when using promotions by payment plan.</p>\n","type":"text"},{"key":"coupon","value":"<string>","description":"<p>Coupon</p>\n","type":"text"},{"key":"roleCode","value":"<integer>","description":"<p>Paper code.</p>\n","type":"text"},{"key":"functionCode","value":"<integer>","description":"<p>Function code.</p>\n","type":"text"},{"key":"cycle","value":"<integer>","description":"<p>Cycle(202001) .</p>\n","type":"text"},{"key":"gives you","value":"<DateTime>","description":"<p>Date (yyyy-MM-dd T HH:mm:ss).</p>\n","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"<p>Commercial structure code.</p>\n","type":"text"},{"key":"geographicalStructureCode","value":"<integer>","description":"<p>Geographical structure code.</p>\n","type":"text"},{"key":"distributionCenterCode","value":"<integer>","description":"<p>Distribution center code.</p>\n","type":"text"},{"key":"businessRoleActive","value":"<integer>","description":"<p>Active profile code. </p>\n<p> <strong>Heads up</strong></p>\n<p> For each active profile, a <code>businessRoleActive</code> parameter must be sent:</p>\n<p> &amp;businessRoleActive=&amp;businessRoleActive=</p>\n","type":"text"},{"key":"businessRoleInactive","value":"<integer>","description":"<p>Profile code disabled. </p>\n<p> <strong>Heads up</strong></p>\n<p> For each active profile, a <code>businessRoleInactive</code> parameter must be sent:</p>\n<p> &amp;businessRoleInactive=&amp;businessRoleInactive=</p>\n","type":"text"},{"key":"businessSegments","value":"<string>","description":"<p>Commercial segment. </p>\n<p> <strong>Heads up</strong></p>\n<p> For each active role, a <code>businessSegments</code> parameter must be sent:</p>\n<p> &amp;businessSegments=\"&lt;código do segmento&gt;,\"&amp;businessSegments=\"&lt;código do segmento&gt;,\"</p>\n<p> E.g.: \"1,5,6\" for seed 1 and values 5 and 6. and \"1000.1,3\"</p>\n<p> &amp;businessSegments=\"1,5,6\"&amp;businessSegments=\"1000,1,3\"</p>\n","type":"text"},{"key":"wayOfOrdering","value":"<byte>","description":"<p>Means of capturing the order in <strong>Let</strong>. </p>\n<p> <a href=\"#cb8c2f7b-6f1b-4729-b9c1-aba89e7f6767\">Possible values</a></p>\n","type":"text"}]},"url":"{{baseUrlLetPromo}}/api/orders","description":"<p>This call is used to create an order in the promotions engine, for later application of promotions. </p>\n<p> <strong>Heads up</strong></p>\n<p> The <code>paymentPlanCode</code> parameter does not work as a filter. It must be submitted whenever payment plan promotions are used. Otherwise they will not be applied. </p>\n<p> The other parameters must be sent according to the desired promotion application mode. </p>\n<p> This API is configured to receive the body parameters in raw/JSON format.</p>\n","urlObject":{"path":["api","orders"],"host":["{{baseUrlLetPromo}}"],"query":[],"variable":[]}},"response":[{"id":"4a760ede-902a-4baf-a58e-22d1d4b2a226","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"{{chave_let_promo}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>","description":"Person code.","type":"text"},{"key":"businessModelCode","value":"<integer>","description":"Business rule code.","type":"text"},{"key":"paymentPlanCode","value":"<integer>","description":"Order payment plan code. \n\n **Heads up**\n\n This parameter is required when using promotions by payment plan.","type":"text"},{"key":"coupon","value":"<string>","description":"Coupon","type":"text"},{"key":"roleCode","value":"<integer>","description":"Paper code.","type":"text"},{"key":"functionCode","value":"<integer>","description":"Function code.","type":"text"},{"key":"cycle","value":"<integer>","description":"Cycle(202001) .","type":"text"},{"key":"gives you","value":"<DateTime>","description":"Date (yyyy-MM-dd T HH:mm:ss).","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"Commercial structure code.","type":"text"},{"key":"geographicalStructureCode","value":"<integer>","description":"Geographical structure code.","type":"text"},{"key":"distributionCenterCode","value":"<integer>","description":"Distribution center code.","type":"text"},{"key":"businessRoleActive","value":"<integer>","description":"Active profile code. \n\n **Heads up**\n\n For each active profile, a `businessRoleActive` parameter must be sent:\n\n &amp;businessRoleActive=<integer>&amp;businessRoleActive=<integer>","type":"text"},{"key":"businessRoleInactive","value":"<integer>","description":"Profile code disabled. \n\n **Heads up**\n\n For each active profile, a `businessRoleInactive` parameter must be sent:\n\n &amp;businessRoleInactive=<integer>&amp;businessRoleInactive=<integer>","type":"text"},{"key":"businessSegments","value":"<string>","description":"Commercial segment. \n\n **Heads up**\n\n For each active role, a `businessSegments` parameter must be sent:\n\n &amp;businessSegments=\"<código do segmento>,<valor do segmento>\"&amp;businessSegments=\"<código do segmento>,<valor do segmento>\"\n\n E.g.: \"1,5,6\" for seed 1 and values 5 and 6. and \"1000.1,3\"\n\n &amp;businessSegments=\"1,5,6\"&amp;businessSegments=\"1000,1,3\"","type":"text"},{"key":"wayOfOrdering","value":"<byte>","description":"Means of capturing the order in **Let**. \n\n [Possible values](#cb8c2f7b-6f1b-4729-b9c1-aba89e7f6767)","type":"text"}]},"url":"https://letpromodemo.azurewebsites.net/api/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"orderId\": \"Order code\",\r\n \"orderStatus\": \"Order Status\" // 1 - Open\r\n }"},{"id":"73ce2500-024c-4755-8517-1ad6d3ea0ca1","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"{{chave_let_promo}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"personCode","value":"<integer>","description":"Person code.","type":"text"},{"key":"businessModelCode","value":"<integer>","description":"Business rule code.","type":"text"},{"key":"paymentPlanCode","value":"<integer>","description":"Order payment plan code. \n\n **Heads up**\n\n This parameter is required when using promotions by payment plan.","type":"text"},{"key":"coupon","value":"<string>","description":"Coupon","type":"text"},{"key":"roleCode","value":"<integer>","description":"Paper code.","type":"text"},{"key":"functionCode","value":"<integer>","description":"Function code.","type":"text"},{"key":"cycle","value":"<integer>","description":"Cycle(202001) .","type":"text"},{"key":"gives you","value":"<DateTime>","description":"Date (yyyy-MM-dd T HH:mm:ss).","type":"text"},{"key":"commercialStructureCode","value":"<integer>","description":"Commercial structure code.","type":"text"},{"key":"geographicalStructureCode","value":"<integer>","description":"Geographical structure code.","type":"text"},{"key":"distributionCenterCode","value":"<integer>","description":"Distribution center code.","type":"text"},{"key":"businessRoleActive","value":"<integer>","description":"Active profile code. \n\n **Heads up**\n\n For each active profile, a `businessRoleActive` parameter must be sent:\n\n &amp;businessRoleActive=<integer>&amp;businessRoleActive=<integer>","type":"text"},{"key":"businessRoleInactive","value":"<integer>","description":"Profile code disabled. \n\n **Heads up**\n\n For each active profile, a `businessRoleInactive` parameter must be sent:\n\n &amp;businessRoleInactive=<integer>&amp;businessRoleInactive=<integer>","type":"text"},{"key":"businessSegments","value":"<string>","description":"Commercial segment. \n\n **Heads up**\n\n For each active role, a `businessSegments` parameter must be sent:\n\n &amp;businessSegments=\"<código do segmento>,<valor do segmento>\"&amp;businessSegments=\"<código do segmento>,<valor do segmento>\"\n\n E.g.: \"1,5,6\" for seed 1 and values 5 and 6. and \"1000.1,3\"\n\n &amp;businessSegments=\"1,5,6\"&amp;businessSegments=\"1000,1,3\"","type":"text"},{"key":"wayOfOrdering","value":"<byte>","description":"Means of capturing the order in **Let**. \n\n [Possible values](#cb8c2f7b-6f1b-4729-b9c1-aba89e7f6767)","type":"text"}]},"url":"https://letpromodemo.azurewebsites.net/api/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"orderId\": \"egac4522-erf6e-44df6-a11dd4-f2b5asghafdasg7653b\",\n \"orderStatus\": 1\n }"}],"_postman_id":"3c820ee3-e27b-404e-93e0-5dfe2a8f6015"},{"name":"Apply promotions","id":"68daf9cb-6be1-4bb4-bacc-fd467b2bcc63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"{{chave_let_promo}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"orderid","value":"<string>","description":"<p>Request code.</p>\n","type":"text"},{"key":"items","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"unitOriginalPriceValue\":\"<decimal>\",\"paymentPlanCode\":\"<integer>\",\"unitPointsValue\":\"<integer>\"}]","description":"<p>Order cart. </p>\n<ul>\n<li><p><code>productCode</code> - <strong>(Required)</strong>: Product code;</p>\n</li>\n<li><p><code>quantity</code> - <strong>(Required)</strong>: Quantity;</p>\n</li>\n<li><p><code>unitOriginalPriceValue</code> - <strong>(Required)</strong>: Original price;</p>\n</li>\n<li><p><code>paymentPlanCode</code>: Product payment plan code;</p>\n</li>\n<li><p><code>unitPointsValue</code>: Number of points.</p>\n</li>\n</ul>\n","type":"text"},{"key":"promotionsDebug","value":"<boolean>","description":"<p>When this parameter is sent with a <code>true</code> value, an object is returned that includes the following information:</p>\n<ul>\n<li><p>Promotions analyzed for the order;</p>\n</li>\n<li><p>Application order;</p>\n</li>\n<li><p>Application time;</p>\n</li>\n<li><p>Indicates whether the requirements were met or not;</p>\n</li>\n<li><p>Number of prizes awarded.</p>\n</li>\n</ul>\n","type":"text"}]},"url":"{{baseUrlLetPromo}}/api/promotions/apply","description":"<p>This call is used to apply promotions loaded from <strong>Let</strong> to the order, according to the cart sent. </p>\n<h2 id=\"important-parameters\">Important Parameters</h2>\n<p> The return of this API has some important parameters, which are worth highlighting here. </p>\n<p> In the <code>missingRequirements</code> object:</p>\n<p> The <code>valueType</code> property describes the requirement's value type. There are four possible values:</p>\n<ul>\n<li><p>\"Different Items\": The requirement consists of different items;</p>\n</li>\n<li><p>\"Items\": The requirement is an item;</p>\n</li>\n<li><p>\"Points\": The requirement is an amount of points;</p>\n</li>\n<li><p>\"$\": The requirement is a currency amount.</p>\n</li>\n</ul>\n<p> The <code>targetType</code> property describes the requirement's target type. There are five possible values:</p>\n<ul>\n<li><p>\"AnyProduct\": The requirement target can be any product;</p>\n</li>\n<li><p>\"ProductLine\": The target of the requirement can be any product from a specific product structure;</p>\n</li>\n<li><p>\"Product\": The target of the requirement is a specific product;</p>\n</li>\n<li><p>\"Coupon\": The requirement target is a specific coupon;</p>\n</li>\n<li><p>\"ProductClassification\": The target of the requirement can be any product of a specific classification;</p>\n</li>\n</ul>\n<p> The <code>targetCode</code> property describes the requirement's target code. There are five possible values:</p>\n<p> *Empty: When the value of the <code>targetType</code> property is equal to \"AnyProduct\";</p>\n<ul>\n<li>Structure code: When <code>targetType</code> property value is equal to \"ProductLine\";</li>\n</ul>\n<p> *Product code: When <code>targetType</code> property value is equal to \"Product\";</p>\n<ul>\n<li>Coupon Code: When <code>targetType</code> property value is equal to \"Coupon\";</li>\n</ul>\n<p> *Product classification: When the value of the <code>targetType</code> property is equal to \"ProductClassification\";</p>\n<p><strong>Heads up</strong></p>\n<p> This API is configured to receive the body parameters in raw/JSON format.</p>\n","urlObject":{"path":["api","promotions","apply"],"host":["{{baseUrlLetPromo}}"],"query":[],"variable":[]}},"response":[{"id":"30e880be-fa94-4e70-a64e-fbe481e74441","name":"Response Parameter Details","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"P8CxGZwv4bTrxeUzzhH7PAsdkyjrp86MS2FSJLjrociJXn0Dthma6A==","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"orderid","value":"<string>","description":"Request code.","type":"text"},{"key":"items","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"unitOriginalPriceValue\":\"<decimal>\",\"paymentPlanCode\":\"<integer>\",\"unitPointsValue\":\"<integer>\"}]","description":"Order cart. \n\n -`productCode` -**(Required)**: Product code;\n\n-`quantity` -**(Required)**: Quantity;\n\n-`unitOriginalPriceValue` -**(Required)**: Original price;\n\n-`paymentPlanCode`: Product payment plan code;\n\n -`unitPointsValue`: Number of points.","type":"text"},{"key":"promotionsDebug","value":"<boolean>","description":"When this parameter is sent with a `true` value, an object is returned that includes the following information:\n\n - Promotions analyzed for the order;\n\n - Application order;\n\n - Application time;\n\n - Indicates whether the requirements were met or not;\n\n - Number of prizes awarded.","type":"text"}]},"url":"https://letpromodemo.azurewebsites.net/api/promotions/apply"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalOriginalPriceValue\": \"Original Order Price\",\r\n \"totalFinalPriceValue\": \"Final order price (with promotional discounts)\",\r\n \"items\": [ // List of items in cart\r\n {\r\n \"productCode\": \"Product code\",\r\n \"quantity\": \"Product quantity\",\r\n \"unitOriginalPriceValue\": \"Original unit price of the product\",\r\n \"unitFinalPriceValue\": \"Final unit price of the product (with promotional discounts)\"\r\n }\r\n ],\r\n \"discounts\": [ // List of discounts applied to the order\r\n {\r\n \"productCode\": \"Product code\",\r\n \"quantity\": \"Product quantity\",\r\n \"type\": \"Type of discount\", // Possible values in the glossary (Types of Discounts) \r\n \"value\": \"Discount amount\",\r\n \"promotionCode\": \"Discount related promotion code\"\r\n }\r\n ],\r\n \"gifts\": [ // List of won gifts\r\n {\r\n \"productCode\": \"Product code\",\r\n \"quantity\": \"Product quantity\",\r\n \"promotionCode\": \"Promotion code related to the gift\"\r\n }\r\n ],\r\n \"giftsToChoose\": [\r\n {\r\n \"promotionCode\": \"Promotion code related to the gift\",\r\n \"valueToChoose\": \"Gift Value\", // On items, points or $\r\n \"valueType\": \"Type of value of the gift\", // Possible values in the glossary (Types of Value of Gifts)\r\n \"products\" : [ // Product list available\r\n {\r\n \"code\": \"Product code\",\r\n \"unitValue\": \"Unit value of product\" // Dependent on `valueType` parameter\r\n }\r\n ]\r\n }\r\n ],\r\n \"promotions\": {\r\n \"acquired\": [ // List of promotions earned\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\"\r\n }\r\n ],\r\n \"partial\": [ // List of partially won promotions\r\n {\r\n \"missingRequirements\": [ // List of missing requirements to win promotion\r\n {\r\n \"missingValue\": \"Value required for the condition to be satisfied\", \r\n \"valueType\": \"Requirement value type\", // Special property. Explanation in call description\r\n \"targetType\": \"Requirement target type\", // Special property. Explanation in call description\r\n \"targetCode\": \"Requirement target code\", // Special property. Explanation in call description\r\n \"logicOperator\": \"Logical operator\", // Logical operator - Possible values in the glossary (Logical Operators)\r\n \"minimumNecessaryRequiriments\": \"Amount of requirements that need to be met before the promotion can be conquered\" // If the promotions register is configured to have a minimum number of requirements to be met, this field shows the number of requirements needed to conquer the promotion. \r\n }\r\n ],\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\"\r\n }\r\n ],\r\n \"notAcquired\": [ // List of unearned promotions\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\"\r\n }\r\n ],\r\n \"unavailable\": [ // List of unavailable promotions (freebie out of stock)\r\n {\r\n \"code\": \"Promotion code\",\r\n \"description\": \"Description of the promotion\"\r\n }\r\n ]\r\n },\r\n \"promotionsDebug\": [ // Object with debug info\r\n {\r\n \"code\": \"Promotion code\",\r\n \"order\": \"Promotion application order\",\r\n \"duration\": \"Promotion application time\",\r\n \"acquired\": \"Indicates if the requirements were met\",\r\n \"use\": \"Amount of prizes awarded\"\r\n }\r\n ]\r\n }"},{"id":"77f7b0de-e3ba-4dd5-a62a-2d4dab180ef2","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"P8CxGZwv4bTrxeUzzhH7PAsdkyjrp86MS2FSJLjrociJXn0Dthma6A==","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"orderid","value":"<string>","description":"Request code.","type":"text"},{"key":"items","value":"[{\"productCode\":\"<integer>\"\"quantity\":\"<integer>\",\"unitOriginalPriceValue\":\"<decimal>\",\"paymentPlanCode\":\"<integer>\",\"unitPointsValue\":\"<integer>\"}]","description":"Order cart. \n\n -`productCode` -**(Required)**: Product code;\n\n-`quantity` -**(Required)**: Quantity;\n\n-`unitOriginalPriceValue` -**(Required)**: Original price;\n\n-`paymentPlanCode`: Product payment plan code;\n\n -`unitPointsValue`: Number of points.","type":"text"},{"key":"promotionsDebug","value":"<boolean>","description":"When this parameter is sent with a `true` value, an object is returned that includes the following information:\n\n - Promotions analyzed for the order;\n\n - Application order;\n\n - Application time;\n\n - Indicates whether the requirements were met or not;\n\n - Number of prizes awarded.","type":"text"}]},"url":"https://letpromodemo.azurewebsites.net/api/promotions/apply"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalOriginalPriceValue\": 218.63,\r\n \"totalFinalPriceValue\": 184.96,\r\n \"items\": [\r\n {\r\n \"productCode\": 100245,\r\n \"quantity\": 1,\r\n \"unitOriginalPriceValue\": 13.96,\r\n \"unitFinalPriceValue\": 11.17\r\n },\r\n {\r\n \"productCode\": 100722,\r\n \"quantity\": 1,\r\n \"unitOriginalPriceValue\": 80.0,\r\n \"unitFinalPriceValue\": 64.0\r\n },\r\n {\r\n \"productCode\": 100722,\r\n \"quantity\": 1,\r\n \"unitOriginalPriceValue\": 80.0,\r\n \"unitFinalPriceValue\": 80.0\r\n },\r\n {\r\n \"productCode\": 101392,\r\n \"quantity\": 3,\r\n \"unitOriginalPriceValue\": 14.89,\r\n \"unitFinalPriceValue\": 9.93\r\n }\r\n ],\r\n \"discounts\": [\r\n {\r\n \"productCode\": 100245,\r\n \"quantity\": 1,\r\n \"type\": \"%\",\r\n \"value\": 20.0,\r\n \"promotionCode\": 256\r\n },\r\n {\r\n \"productCode\": 100722,\r\n \"quantity\": 1,\r\n \"type\": \"%\",\r\n \"value\": 20.0,\r\n \"promotionCode\": 256\r\n },\r\n {\r\n \"productCode\": 101392,\r\n \"quantity\": 3,\r\n \"type\": \"%\",\r\n \"value\": 33.3,\r\n \"promotionCode\": 257\r\n }\r\n ],\r\n \"gifts\": [\r\n {\r\n \"productCode\": 101392,\r\n \"quantity\": 1,\r\n \"promotionCode\": 257\r\n }\r\n ],\r\n \"giftsToChoose\": [\r\n {\r\n \"promotionCode\": 1048,\r\n \"valueToChoose\": 100.00,\r\n \"valueType\": \"Points\",\r\n \"products\": []\r\n },\r\n {\r\n \"promotionCode\": 231,\r\n \"valueToChoose\": 99.90,\r\n \"valueType\": \"$\",\r\n \"products\" : []\r\n },\r\n {\r\n \"promotionCode\": 123, \r\n \"valueToChoose\": 2,\r\n \"valueType\": \"Items\",\r\n \"products\" : [\r\n {\r\n \"code\": 10,\r\n \"unitValue\": 1\r\n },\r\n {\r\n \"code\": 11,\r\n \"unitValue\": 1\r\n },\r\n {\r\n \"code\": 12,\r\n \"unitValue\": 1\r\n }\r\n ]\r\n }\r\n ],\r\n \"promotions\": {\r\n \"acquired\": [\r\n {\r\n \"code\": 801,\r\n \"description\": \"Promotion 801\"\r\n },\r\n {\r\n \"code\": 828,\r\n \"description\": \"Promotion 828\" \r\n },\r\n {\r\n \"code\": 831,\r\n \"description\": \"Promotion 831\"\r\n },\r\n {\r\n \"code\": 1024,\r\n \"description\": \"Promotion 1024\"\r\n }\r\n ],\r\n \"partial\": [\r\n {\r\n \"missingRequirements\": [\r\n {\r\n \"missingValue\": 781.37,\r\n \"valueType\": \"$\",\r\n \"targetType\": \"AnyProduct\",\r\n \"targetCode\": null,\r\n \"logicOperator\": null\r\n }\r\n ],\r\n \"code\": 238,\r\n \"description\": \"Promotion 238\"\r\n },\r\n { \r\n \"missingRequirements\": [\r\n {\r\n \"missingValue\": 2.0,\r\n \"valueType\": \"Items\",\r\n \"targetType\": \"ProductLine\",\r\n \"targetCode\": 57,\r\n \"logicOperator\": null\r\n }\r\n ],\r\n \"code\": 259,\r\n \"description\": \"Promotion 259\"\r\n },\r\n {\r\n \"missingRequirements\": [\r\n {\r\n \"missingValue\": 1,\r\n \"valueType\": \"Items\",\r\n \"targetType\": \"Product\",\r\n \"targetCode\": 201,\r\n \"logicOperator\": null\r\n }\r\n ],\r\n \"code\": 201,\r\n \"description\": \"Promotion 201\"\r\n },\r\n {\r\n \"missingRequirements\": [\r\n {\r\n \"missingValue\": 1,\r\n \"valueType\": \"Items\",\r\n \"targetType\": \"Coupon\",\r\n \"targetCode\": 1235522342,\r\n \"logicOperator\": null\r\n }\r\n ],\r\n \"code\": 202,\r\n \"description\": \"Promotion 202\"\r\n },\r\n {\r\n \"missingRequirements\": [\r\n {\r\n \"missingValue\": 2,\r\n \"valueType\": \"Items\",\r\n \"targetType\": \"ProductClassification\",\r\n \"targetCode\": 955,\r\n \"logicOperator\": \"Or\"\r\n }\r\n ],\r\n \"code\": 203,\r\n \"description\": \"Promotion 203\"\r\n }\r\n ],\r\n \"notAcquired\": [\r\n {\r\n \"code\": 687,\r\n \"description\": \"Promotion 687\"\r\n },\r\n {\r\n \"code\": 688,\r\n \"description\": \"Promotion 688\"\r\n },\r\n {\r\n \"code\": 691,\r\n \"description\": \"Promotion 691\"\r\n },\r\n {\r\n \"code\": 696,\r\n \"description\": \"Promotion 696\"\r\n },\r\n {\r\n \"code\": 699,\r\n \"description\": \"Promotion 699\" \r\n },\r\n {\r\n \"code\": 703,\r\n \"description\": \"Promotion 703\"\r\n },\r\n {\r\n \"code\": 704,\r\n \"description\": \"Promotion 704\"\r\n }\r\n ],\r\n \"unavailable\": [\r\n {\r\n \"code\": 705,\r\n \"description\": \"Promotion 705\"\r\n },\r\n {\r\n \"code\": 706,\r\n \"description\": \"Promotion 706\"\r\n }\r\n ]\r\n },\r\n \"promotionsDebug\": [\r\n {\r\n \"code\": 995,\r\n \"order\": 1,\r\n \"duration\": 7,317, \r\n \"acquired\": false,\r\n \"use\": 0\r\n },\r\n {\r\n \"code\": 996,\r\n \"order\": 2,\r\n \"duration\": 17,609,\r\n \"acquired\": true,\r\n \"use\": 1\r\n }\r\n ]\r\n }"}],"_postman_id":"68daf9cb-6be1-4bb4-bacc-fd467b2bcc63"},{"name":"Complete/cancel order","id":"242ae3e4-7c45-4ad2-9ec3-29ff2bed4696","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"{{chave_let_promo}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"orderid","value":"<string>","description":"<p>Request code.</p>\n","type":"text"},{"key":"orderStatus","value":"<integer>","description":"<p>Order status code. </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Action</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2</td>\n<td>Finish</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Cancel</td>\n</tr>\n</tbody>\n</table>\n</div>","type":"text"}]},"url":"{{baseUrlLetPromo}}/api/orders","description":"<p>This call is used to complete or cancel an order in the promotions engine. </p>\n<p> <strong>Heads up</strong></p>\n<p> This API is configured to receive the body parameters in raw/JSON format.</p>\n","urlObject":{"path":["api","orders"],"host":["{{baseUrlLetPromo}}"],"query":[],"variable":[]}},"response":[{"id":"414d4de1-be0a-4e28-b273-0d28ea5e4074","name":"Response Parameter Details","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"P8CxGZwv4bTrxeUzzhH7PAsdkyjrp86MS2FSJLjrociJXn0Dthma6A==","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"orderid","value":"<string>","description":"Request code.","type":"text"},{"key":"orderStatus","value":"<integer>","description":"Order status code. \n\n |Code|Action|\n |-- |-- |\n |2|Finish|\n |3|Cancel|","type":"text"}]},"url":"https://letpromodemo.azurewebsites.net/api/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"orderId\": \"Order code\",\r\n \"orderStatus\": \"Order Status\", // 2 - Completed, 3 - Canceled\r\n \"totalOriginalPriceValue\": \"Original Order Price\",\r\n \"totalFinalPriceValue\": \"Final Order Price\"\r\n }"},{"id":"76e0bd8c-7d6d-4fe0-9294-a9be1af96182","name":"OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-functions-key","value":"P8CxGZwv4bTrxeUzzhH7PAsdkyjrp86MS2FSJLjrociJXn0Dthma6A==","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"orderid","value":"<string>","description":"Request code.","type":"text"},{"key":"orderStatus","value":"<integer>","description":"Order status code. \n\n |Code|Action|\n |-- |-- |\n |2|Finish|\n |3|Cancel|","type":"text"}]},"url":"https://letpromodemo.azurewebsites.net/api/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"orderId\": \"f543356acd5-ef6dd7-41733b-a7d84-4ef332d379d9ae5\",\r\n \"orderStatus\": 2,\r\n \"totalOriginalPriceValue\": 250.50,\r\n \"totalFinalPriceValue\": 230.50\r\n }"}],"_postman_id":"242ae3e4-7c45-4ad2-9ec3-29ff2bed4696"},{"name":"Consult loaded promotions","id":"fdd1592e-6c9a-4eed-9c51-a270b488a81b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-functions-key","value":"{{chave_let_promo}}","type":"text"}],"url":"{{baseUrlLetPromo}}/api/promotions?reload=<boolean>&orderid=<string>&productCode=<integer>","description":"<p>This call is used to consult promotions loaded from <strong>Let</strong>.</p>\n","urlObject":{"path":["api","promotions"],"host":["{{baseUrlLetPromo}}"],"query":[{"description":{"content":"<p>If the value sent is <code>true</code>, a reload of <strong>Let</strong> promotions is forced. </p>\n<p> <strong>Default</strong>: <code>false</code></p>\n","type":"text/plain"},"key":"reload","value":"<boolean>"},{"description":{"content":"<p>Order identifier code. </p>\n<p> Used to get a list of valid promotions for an order, without applying them.</p>\n","type":"text/plain"},"key":"orderid","value":"<string>"},{"description":{"content":"<p>Product identifier code. </p>\n<p> Used to obtain a list of promotions that have a product as a requirement or prize directly through a product structure.</p>\n","type":"text/plain"},"key":"productCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"53de604a-3897-4e3a-ba39-f2fe50c09624","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[{"key":"x-functions-key","value":"P8CxGZwv4bTrxeUzzhH7PAsdkyjrp86MS2FSJLjrociJXn0Dthma6A==","type":"text"}],"url":{"raw":"https://letpromodemo.azurewebsites.net/api/promotions?reload=<boolean>&orderid=<string>&productCode=<integer>","protocol":"https","host":["letpromodemo","azurewebsites","net"],"path":["api","promotions"],"query":[{"key":"reload","value":"<boolean>","description":"If the value sent is `true`, a reload of **Let** promotions is forced. \n\n **Default**: `false`"},{"key":"orderid","value":"<string>","description":"Order identifier code. \n\n Used to get a list of valid promotions for an order, without applying them."},{"key":"productCode","value":"<integer>","description":"Product identifier code. \n\n Used to obtain a list of promotions that have a product as a requirement or prize directly through a product structure."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"message\": \"Message with the number of promotions loaded\",\r\n \"loadedPromotions\": [ // List of loaded promotions\r\n {\r\n \"code\": \"Code of the loaded promotion\",\r\n \"description\": \"Description of the uploaded promotion\"\r\n }\r\n ]\r\n }"},{"id":"23993eb0-58f4-4afb-95ed-8f7f1e6208b9","name":"OK","originalRequest":{"method":"GET","header":[{"key":"x-functions-key","value":"P8CxGZwv4bTrxeUzzhH7PAsdkyjrp86MS2FSJLjrociJXn0Dthma6A==","type":"text"}],"url":{"raw":"https://letpromodemo.azurewebsites.net/api/promotions?reload=<boolean>&orderid=<string>&productCode=<integer>","protocol":"https","host":["letpromodemo","azurewebsites","net"],"path":["api","promotions"],"query":[{"key":"reload","value":"<boolean>","description":"If the value sent is `true`, a reload of **Let** promotions is forced. \n\n **Default**: `false`"},{"key":"orderid","value":"<string>","description":"Order identifier code. \n\n Used to get a list of valid promotions for an order, without applying them."},{"key":"productCode","value":"<integer>","description":"Product identifier code. \n\n Used to obtain a list of promotions that have a product as a requirement or prize directly through a product structure."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"message\": \"6 loaded promotion(s)\",\r\n \"loadedPromotions\": [\r\n {\r\n \"code\": 688,\r\n \"description\": \"Test 688 Promotion\"\r\n },\r\n {\r\n \"code\": 691,\r\n \"description\": \"Test 691 Promotion\"\r\n },\r\n {\r\n \"code\": 696,\r\n \"description\": \"Test 696 Promotion\"\r\n },\r\n {\r\n \"code\": 687,\r\n \"description\": \"Test 687 Promotion\"\r\n },\r\n {\r\n \"code\": 699,\r\n \"description\": \"Test 699 Promotion\"\r\n },\r\n {\r\n \"code\": 832,\r\n \"description\": \"Test 832 Promotion\"\r\n }\r\n ]\r\n }"}],"_postman_id":"fdd1592e-6c9a-4eed-9c51-a270b488a81b"}],"id":"9e9e32b2-a414-4e6f-aa2f-60ee66cc4c73","description":"<h2 id=\"which-is\">Which is</h2>\n<p> <strong>LetPromo</strong>is a set of services that uses the<strong>Gera</strong>promotional engine in a cloud environment; It allows you to send a shopping cart, apply<strong>Let</strong> promotions, and return discounts and freebies from that cart you sent. </p>\n<p> All promotions can be applied, or only those valid for something specific (person, cycle, commercial segmentation, etc.). </p>\n<p> The diagram below details the components involved a little better:</p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetPromo_diagrama.png\" alt=\"LetPromo Diagram\" /></p>\n<h2 id=\"authentication\">Authentication</h2>\n<p> <strong>LetPromo</strong> APIs perform authentication through a key, generated on demand by the client. To obtain this key, you must contact the customer responsible for the environment in question. </p>\n<p> This key must be sent as the value of a Header called <code>x-functions-key</code>. </p>\n<h2 id=\"api-flow\">API flow</h2>\n<p> To apply promotions to a cart, there is a necessary flow. This flow involves creating an order in the engine, applying promotions to a product list, and completing the order in the engine. </p>\n<p> As stated earlier, it is possible to apply all promotions, or those available to a specific person. In both cases, the flow below follows:</p>\n<ol>\n<li><p><a href=\"#7369b44f-d9ee-4b36-afc1-504daec44477\">Create an order</a></p>\n</li>\n<li><p><a href=\"#e2b5db01-aeeb-4fa2-b55f-a6b4075a51be\">Apply promotions</a></p>\n</li>\n<li><p><a href=\"#00b0de6a-6ba0-4cc1-a6e9-7cd905e8f0cf\">Complete or cancel the order</a></p>\n</li>\n</ol>\n<h3 id=\"apply-all-promotions\">Apply All Promotions</h3>\n<p> In the first step -creating an order- only the <code>paymentPlanCode</code> parameter must be sent. Thus, the promotions engine applies all <a href=\"#6f16053f-7926-4430-b49b-5955da31d18c\">uploaded promotions</a>, without any filtering, including the order payment plan promotions. </p>\n<h3 id=\"apply-specific-promotions\">Apply Specific Promotions</h3>\n<p> In the first step - creating an order - the relevant optional parameters must be sent. For example, to apply promotions valid only for one cycle, just send the parameter <code>cycle = 202101</code>. </p>\n","_postman_id":"9e9e32b2-a414-4e6f-aa2f-60ee66cc4c73"},{"name":"Gera Price - Online Store","item":[{"name":"Settings","item":[{"name":"Get default settings","id":"bd90cc28-73a5-421c-bafa-5f5ee50992a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/defaultconfigs","description":"<p>The API gets the default settings from <em>Let Price</em>. \n These settings are used for anonymous users or users who have not selected their location. </p>\n<p> <strong>Important</strong></p>\n<ul>\n<li>Parameters with the beginning \"geographicalStructure\" refer to the default geographic structure used;</li>\n<li>Parameters with the beginning \"commercialStructure\" refer to the standard commercial structure used;</li>\n<li>The parameter \"businessModel\" refers to the default business model;</li>\n</ul>\n<p> If any of these parameters is missing in the application configuration, an error is returned.</p>\n","urlObject":{"path":["api","defaultconfigs"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[]}},"response":[{"id":"23468b96-ca55-468f-853a-33672a7a25c0","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/defaultconfigs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"geographicalStructureLevel\": { // Used as default value for anonymous or localized users\r\n \"code\": \"Geographic structure level code\", // Explanations of geographic structure and possible values in the Glossary (Address Levels)\r\n \"name\": \"Description of the geographic structure level\"\r\n },\r\n \"geographicalStructureInfo\": { // Used as default value for anonymous or locationless users\r\n \"code\": \"Code of geographic structure\",\r\n \"name\": \"Name of geographic structure\"\r\n },\r\n \"commercialStructureLevel\": { // Used as default value for anonymous or localized users\r\n \"code\": \"Code of commercial structure level\",\r\n \"name\": \"Description of business structure level\"\r\n }, \r\n \"commercialStructureInfo\": { // Used as default value for anonymous or locationless users\r\n \"code\": \"Code of the commercial structure\",\r\n \"name\": \"Description of business structure\"\r\n },\r\n \"businessModel\": { // Used as default value for anonymous or localized users\r\n \"code\": \"Business model code\",\r\n \"name\": \"Description of business model\"\r\n },\r\n \"distributionCenter\": { // Used as default value for anonymous or locationless users\r\n \"code\": \"Distribution center code\",\r\n \"name\": \"Distribution center description\"\r\n },\r\n \"allowIndicationSellerOrder\": \"Indicates whether to allow to indicate a reseller in the order (true/false)\",\r\n \"mandatorySellerIndication\": \"Indicates whether it is mandatory to indicate the reseller in the order (true/false)\",\r\n \"showLocationChooseOnEnter\": \"Indicates whether to display the option to choose the address at the start of the application (true/false)\",\r\n \"permanentLinkWithSeller\": \"Indicates whether a permanent link is created between the end customer and the reseller, when a referral is made and the order is approved (true/false)\",\r\n \"timeZone\": \"Description of timeZone\",\r\n \"cycleNumber\": \"Campaign number\",\r\n \"geographicalStructureLevel0\": { // Indicates the code and name of the smallest geographic structure, usually the country\r\n \"code\": \"level zero geographic structure code\",\r\n \"name\": \"Description of the level zero geographic structure\"\r\n },\r\n \"zipCodeSearchLink\": \"URl for zip code search\",\r\n \"defaultIconColor\": \"Hexadecimal of default icon color\",\r\n \"crossSellingProductsQuantity\": \"Indicates the quantity of products to be displayed in the &#39;Products purchased with the host&#39;\" section\",\r\n \"saleProductsQuantity\": \"Indicates the quantity of products to be displayed in the &#39;Bestsellers&#39; section\",\r\n \"defaultMetaDescription\": \"Default description for display on store search pages\",\r\n \"loadNumber\": \"Load number\",\r\n \"pointsInCurrency\": \"Indicates whether the showcase should work with punctuation or currency\", // true - punctuation, false - currency\r\n \"showCreditInformation\": \"Indicates whether to display credit information (true/false)\",\r\n \"naturalPersonMainDocument\": \"Code of main document\",\r\n \"naturalPersonSecondaryDocument\": \"Description of main document\",\r\n \"genericMainDocument\": \"Indicates if you have a generic main document (true/false)\"\r\n }"},{"id":"33f90d43-a768-401c-9f0b-437b0f9a3181","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/defaultconfigs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"geographicalStructureLevel\": {\r\n \"code\": 2,\r\n \"name\": \"City\"\r\n },\r\n \"geographicalStructureInfo\": {\r\n \"code\": 372538,\r\n \"name\": \"Rio de Janeiro\"\r\n },\r\n \"commercialStructureLevel\": {\r\n \"code\": 0,\r\n \"name\": \"Board\"\r\n },\r\n \"commercialStructureInfo\": {\r\n \"code\": 30,\r\n \"name\": \"CONSUMER\"\r\n },\r\n \"businessModel\": {\r\n \"code\": 5,\r\n \"name\": \"Commercial Model - Final Consumer\"\r\n },\r\n \"distributionCenter\": {\r\n \"code\": 1,\r\n \"name\": \"Capture center Ecommerce orders\"\r\n },\r\n \"allowIndicationSellerOrder\": true,\r\n \"mandatorySellerIndication\": false,\r\n \"showLocationChooseOnEnter\": true,\r\n \"permanentLinkWithSeller\": true,\r\n \"timeZone\": \"E. South America Standard Time\",\r\n \"cycleNumber\": 202103,\r\n \"geographicalStructureLevel0\": {\r\n \"code\": 1,\r\n \"name\": \"Brazil\"\r\n },\r\n \"zipCodeSearchLink\": \"https://www.buscacep.correios.com.br/sistemas/buscacep/\",\r\n \"defaultIconColor\": \"0000000\",\r\n \"crossSellingProductsQuantity\": \"20\",\r\n \"saleProductsQuantity\": \"10\",\r\n \"defaultMetaDescription\": \"super christmas offers\",\r\n \"loadNumber\": 17038,\r\n \"pointsInCurrency\": false,\r\n \"showCreditInformation\": true,\r\n \"naturalPersonMainDocument\": 2,\r\n \"naturalPersonSecondaryDocument\": 1,\r\n \"genericMainDocument\": false\r\n }"}],"_postman_id":"bd90cc28-73a5-421c-bafa-5f5ee50992a8"},{"name":"Get current data load number","id":"142b5b69-ab8e-4fc3-885d-2fa11ca56a35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/defaultconfigs/loadNumber","description":"<p>Returns an integer(number) of the current payload.</p>\n","urlObject":{"path":["api","defaultconfigs","loadNumber"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[]}},"response":[{"id":"d88951d7-fb7d-4f7b-a65c-a76cd832dfde","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/defaultconfigs"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"0"}],"_postman_id":"142b5b69-ab8e-4fc3-885d-2fa11ca56a35"}],"id":"c36c2c25-0e79-4d9c-a74e-07c12150a3fe","description":"<p>The composition of prices, products and other scopes uploaded to <strong>LetPrice</strong>is based on the commercial and geographic structure levels configured in the<strong>Let</strong> platform. \n Within the <strong>Let</strong> platform, with administrator permissions, it is possible to access the <code>Adm. Sales &gt; General Rules &gt; Consult General Rules</code>, and select in the field <code>Group</code> of the tab <em>General Rules</em>the option<em>Showcase - General</em>. \n In this group we see the customization and configuration options for <strong>LetPrice</strong>, as well as the parameters <code>Default commercial level</code> and <code>Default geographic structure level</code>, as shown in the image below. </p>\n<p><img src=\"https://geradev.blob.core.windows.net/images/en-Us/GeraPrice_Configuaracao_VitrineGeral.png\" alt=\"Settings - LetPrice Geral\" /></p>\n<p> In addition to the structure levels settings, there are other pre-configured access parameters that can be changed, and features that can be turned on or off depending on the client's installation. </p>\n<p> Another existing configuration group is <em>LetPrice - Anonymous</em>, where default information can be configured so that the client application, when in an anonymous mode (without an authenticated user), can use it to call APIs that need this information to assemble ranges, such as price, product, among others. \n In the parameter <code>default geographic structure</code>, a structure compatible with the <code>Default geographic structure level</code> configured above must be configured, that is, if the configured level was <em>City</em>, the code of a <em>City</em>. \n This information is optional and, if the client application has other default settings, it does not need to use these returned values. However, in any case, it is important to respect the levels configured above. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/GeraPrice_Configuracao_VitrineCF.png\" alt=\"Settings - LetPrice Final Consumer\" /></p>\n<p> It is also possible to configure three other parameters - which are related to the reseller's remuneration - in the <em>Compensation</em> part. </p>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/GeraPrice_Configuracao_Remuneracao.png\" alt=\"Settings - LetPrice Final Consumer\" /></p>\n<p> Once these values are set, they will be loaded to <strong>LetPrice</strong>through automated loading, usually configured in a productive environment to run<em>1 time a day</em>, and it is possible to query the current values from the API <a href=\"#fb725699-281f-4807-9ec3-967d3c6a7494\">Settings</a>. </p>\n<p> To consult several of the <strong>LetPrice</strong> public APIs that need some information that may have a restrictive scope (eg price that may vary by geographic region, commercial, among others), it is necessary that the structure codes be sent (commercial and geographic), campaign (cycle), commercial model, function and distribution center. </p>\n<p> Among these parameters, there are 2 particularities for the <code>commercial structure</code> and <code>geographic structure</code> parameters, where we must send from the lowest level to the highest level (which would be the top of the structure), to which the user belongs (in case of <em>anonymous</em> use the <code>default code</code> of the configurations). \n Therefore, if the structure used is level 3 (Neighborhood), the API expects to receive codes from the related structures of higher levels 2 (City), 1 (State) and 0 (Country) in ascending order. \n It is important to emphasize that the commercial structure codes are repeated if the levels are not equivalent, as shown in the first example. </p>\n<p> <strong>Example 1</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Configuration</th>\n<th>Sent Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Commercial Structure</td>\n<td>0-Management</td>\n<td>30,30,30</td>\n</tr>\n<tr>\n<td>Geographic Structure</td>\n<td>2-City</td>\n<td>1,20,372538</td>\n</tr>\n</tbody>\n</table>\n</div><p> <strong>Example 2</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Configuration</th>\n<th>Sent Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Commercial Structure</td>\n<td>3-Franchise</td>\n<td>1,2,16,17</td>\n</tr>\n<tr>\n<td>Geographic Structure</td>\n<td>3-Neighborhood</td>\n<td>1,27.626787.674477</td>\n</tr>\n</tbody>\n</table>\n</div><p> <strong>Example 3</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Configuration</th>\n<th>Sent Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Commercial Structure</td>\n<td>0-Directorate</td>\n<td>30</td>\n</tr>\n<tr>\n<td>Geographic Structure</td>\n<td>0-Country</td>\n<td>1</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"get-structure-trees\"> <strong>Get Structure Trees</strong></h1>\n<p> Since it is necessary to pass the commercial and geographic structure parameters in this specific way, we have two APIs in the <strong>LET</strong> that return this ready-made structure, from the code of the lowest level desired. </p>\n<ul>\n<li>[Geographic Structures] (89077774-f0b6-4f73-bb9d-6b9d20d1a3ab)</li>\n<li><a href=\"d28c6670-dfcc-4bbe-8ac9-ee9a1abe0b81\">Commercial Structures</a></li>\n</ul>\n","_postman_id":"c36c2c25-0e79-4d9c-a74e-07c12150a3fe"},{"name":"Distribution centers","item":[{"name":"Get distribution centers","id":"6e6a31b9-d071-4638-a634-975eb6a0bfd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/distributionCenters?cycle=<integer>&businessModelCode=<integer>&commercialStructureCodes=[integer]&geographicalStructureCodes=[integer]","urlObject":{"path":["api","distributionCenters"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Business Model Code.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Commercial structure code. </p>\n<p> At least one is mandatory, but it can be sent several times by adding the parameter to the request as many times as desired.</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"[integer]"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Geographical structure code. </p>\n<p> At least one is mandatory, but it can be sent several times by adding the parameter to the request as many times as desired.</p>\n","type":"text/plain"},"key":"geographicalStructureCodes","value":"[integer]"}],"variable":[]}},"response":[{"id":"c6f54d5c-b9d5-45b4-8eb7-b8b3dc8a4610","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/distributionCenters?cycle=<integer>&businessModelCode=<integer>&commercialStructureCodes=[integer]&geographicalStructureCodes=[integer]","host":["{{baseUrlLetPrice}}"],"path":["api","distributionCenters"],"query":[{"key":"cycle","value":"<integer>","description":"**Mandatory**\n\n Campaign code."},{"key":"businessModelCode","value":"<integer>","description":"**Mandatory**\n\n Business Model Code."},{"key":"commercialStructureCodes","value":"[integer]","description":"**Mandatory**\n\n Commercial structure code. \n\n At least one is mandatory, but it can be sent several times by adding the parameter to the request as many times as desired."},{"key":"geographicalStructureCodes","value":"[integer]","description":"**Mandatory**\n\n Geographical structure code. \n\n At least one is mandatory, but it can be sent several times by adding the parameter to the request as many times as desired."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Distribution center code\",\r\n \"name\": \"Distribution center name\"\r\n }"},{"id":"0299cdaa-274d-4fa3-99bc-137ac922b54e","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/distributionCenters?cycle=<integer>&businessModelCode=<integer>&commercialStructureCodes=[integer]&geographicalStructureCodes=[integer]","host":["{{baseUrlLetPrice}}"],"path":["api","distributionCenters"],"query":[{"key":"cycle","value":"<integer>","description":"**Mandatory**\n\n Campaign code."},{"key":"businessModelCode","value":"<integer>","description":"**Mandatory**\n\n Business Model Code."},{"key":"commercialStructureCodes","value":"[integer]","description":"**Mandatory**\n\n Commercial structure code. \n\n At least one is mandatory, but it can be sent several times by adding the parameter to the request as many times as desired."},{"key":"geographicalStructureCodes","value":"[integer]","description":"**Mandatory**\n\n Geographical structure code. \n\n At least one is mandatory, but it can be sent several times by adding the parameter to the request as many times as desired."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 123,\r\n \"name\": \"Distribution Center 123\"\r\n }"}],"_postman_id":"6e6a31b9-d071-4638-a634-975eb6a0bfd2"}],"id":"766aaa84-c49d-4a28-bc30-d6b7d63d31d9","_postman_id":"766aaa84-c49d-4a28-bc30-d6b7d63d31d9","description":""},{"name":"Product Classification","item":[{"name":"See list of classifications","id":"2d4f449e-0023-4968-a116-f162e535b3bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/productClassifications/list","urlObject":{"path":["api","productClassifications","list"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[]}},"response":[{"id":"ef9d5aa4-1ed5-4872-a420-f4701824ce86","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/productClassifications/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Classification Code\",\n \"name\": \"Description\",\n \"values\": [//List of \"daughter\" ratings\n {\n \"code\": \"Classification Code\",\n \"name\": \"Description\"\n }\n ]\n }"},{"id":"aae5ee0f-9ae0-448c-a71b-2b62143d98b3","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/productClassifications/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 8,\r\n \"name\": \"Perfumery\",\r\n \"values\": [\r\n {\r\n \"code\": 85,\r\n \"name\": \"QA Perfumes\"\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 9,\r\n \"name\": \"Cosmetics\",\r\n \"values\": [\r\n {\r\n \"code\": 81,\r\n \"name\": \"Cosmetics\"\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 10,\r\n \"name\": \"TVs and Radio\",\r\n \"values\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"plasma TV\"\r\n }, \r\n {\r\n \"code\": 3,\r\n \"name\": \"4k TV / Ultra HD\"\r\n },\r\n {\r\n \"code\": 10,\r\n \"name\": \"Speaker\"\r\n },\r\n {\r\n \"code\": 11,\r\n \"name\": \"Big Screens\"\r\n },\r\n {\r\n \"code\": 12,\r\n \"name\": \"Mark 12\"\r\n },\r\n {\r\n \"code\": 13,\r\n \"name\": \"Mark 13\"\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"2d4f449e-0023-4968-a116-f162e535b3bf"},{"name":"See Product Ratings","id":"98ecf1e3-ffb2-435b-b19a-9075a24f360a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/productClassifications?functionCode=<integer>&anonymous=<byte>","urlObject":{"path":["api","productClassifications"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Function Code</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Indicates whether to search available ratings for logged in or anonymous users. <code>(0=Logged in/1=Anonymous)</code></p>\n<p> When the search is anonymous<code>(1) </code>, the function (parameter <code>functionCode</code> ) must be \"End Consumer\" <code>(code 9)</code>. </p>\n<p> If sent <code>9</code> and Anonymous<code>(1) </code>, the ratings for logged in \"End Consumer\" will be returned.</p>\n","type":"text/plain"},"key":"anonymous","value":"<byte>"}],"variable":[]}},"response":[{"id":"8086ac79-0d4c-4690-87cf-0fddbbfe65d2","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/productClassifications?functionCode=<integer>&anonymous=<byte>","host":["{{baseUrlLetPrice}}"],"path":["api","productClassifications"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Function Code"},{"key":"anonymous","value":"<byte>","description":"**Mandatory**\n\n Search for ratings that should be displayed to anonymous user(1) , or not(0)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[//list of ratings\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"icon\": \"Rating display icon name\",\r\n \"color\": \"Color, in hexadecimal code, display classification\"\r\n }\r\n ]"},{"id":"7b12d3e8-3d48-41e4-be04-fa0bd7ca316f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/productClassifications?functionCode=<integer>&anonymous=<byte>","host":["{{baseUrlLetPrice}}"],"path":["api","productClassifications"],"query":[{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Function Code"},{"key":"anonymous","value":"<byte>","description":"**Mandatory**\n\n Search for ratings that should be displayed to anonymous user(1) , or not(0)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 9,\r\n \"name\": \"Cosmetics\",\r\n \"icon\": \"opacity\",\r\n \"color\": \"#FCFCFC\"\r\n },\r\n {\r\n \"code\": 8,\r\n \"name\": \"Perfumery\",\r\n \"icon\": \"card_giftcard\",\r\n \"color\": \"#FCFCFC\"\r\n }\r\n ]"}],"_postman_id":"98ecf1e3-ffb2-435b-b19a-9075a24f360a"}],"id":"a805492f-0d9f-48db-8d40-6c0f24689b00","_postman_id":"a805492f-0d9f-48db-8d40-6c0f24689b00","description":""},{"name":"Product Structures","item":[{"name":"Consult product structures","id":"65c04fec-0b4d-4008-a15c-1330d18adf07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/productStructures?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=[integer]&geoStrCode=[integer]","description":"<p>This API relies on scope filters. \n Consult the <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> documentation for information on how to use it.</p>\n","urlObject":{"path":["api","productStructures"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Distribution Center Code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Function Code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Commercial Model Code.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"comStrCode","value":"[integer]"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geoStrCode","value":"[integer]"}],"variable":[]}},"response":[{"id":"ab58412f-00f9-4072-9b6f-e5fb6042745a","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/productStructures?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=[integer]&geoStrCode=[integer]","host":["{{baseUrlLetPrice}}"],"path":["api","productStructures"],"query":[{"key":"distributionCenterCode","value":"<integer>","description":"**Mandatory**\n\n Distribution Center Code"},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Function Code"},{"key":"businessModelCode","value":"<integer>","description":"**Mandatory**\n\n Commercial Model Code"},{"key":"comStrCode","value":"[integer]","description":"**Mandatory**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geoStrCode","value":"[integer]","description":"**Mandatory**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[//List of main categories (Level 0)\r\n {\r\n \"code\": \"Category code\",\r\n \"name\": \"Category name\",\r\n \"children\": [//List of child categories, level below this one (Level 1)\r\n {\r\n \"code\": \"Category code\",\r\n \"name\": \"Category name\",\r\n \"children\": []//List of child categories (Level 2) and so on\r\n }\r\n ]\r\n }\r\n ]"},{"id":"7828c886-0289-45f9-b27d-678a61628dc2","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/productStructures?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=[integer]&geoStrCode=[integer]","host":["{{baseUrlLetPrice}}"],"path":["api","productStructures"],"query":[{"key":"distributionCenterCode","value":"<integer>","description":"**Mandatory**\n\n Distribution Center Code"},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Function Code"},{"key":"businessModelCode","value":"<integer>","description":"**Mandatory**\n\n Commercial Model Code"},{"key":"comStrCode","value":"[integer]","description":"**Mandatory**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geoStrCode","value":"[integer]","description":"**Mandatory**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 1,\r\n \"name\": \"Portfolio\",\r\n \"children\": [\r\n {\r\n \"code\": 6,\r\n \"name\": \"Perfumery\",\r\n \"children\": [\r\n {\r\n \"code\": 7,\r\n \"name\": \"Male\"\r\n },\r\n {\r\n \"code\": 16,\r\n \"name\": \"Female\"\r\n },\r\n {\r\n \"code\": 50,\r\n \"name\": \"Imported perfumes\"\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 51,\r\n \"name\": \"Cosmetics\",\r\n \"children\": [\r\n {\r\n \"code\": 54,\r\n \"name\": \"Hair Care\"\r\n },\r\n {\r\n \"code\": 55,\r\n \"name\": \"Nail Care\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]"}],"_postman_id":"65c04fec-0b4d-4008-a15c-1330d18adf07"}],"id":"aaeb8767-78df-4f87-b5d6-e9b422d47b40","_postman_id":"aaeb8767-78df-4f87-b5d6-e9b422d47b40","description":""},{"name":"Events","item":[{"name":"Approve order","id":"3789f1d1-03ed-42c1-8098-58c7e9230086","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..MN5poW4lQHrSEsw-j_mn8BLOVV0G7OkQAugo9UeIqxw","options":{"raw":{"language":"text"}}},"url":"{{baseUrlLetPrice}}/api/eventsOrder/aproved","description":"<p>When an order is approved in the system, it is possible to send to this API an object with some order data - encrypted using <strong>JWT</strong> (<code>HS256</code>). For this, you need a key (<code>secret</code>), which is configured for each environment. </p>\n<p> With the information from this order, the API assembles a list of <a href=\"#1a87710f-eba6-4af8-b530-4af386485a38\">Cross Sell</a> and <a href=\"#f2388bf0-8a2b-4c51-99ef-26f6a804a1ad\">Product Ranking</a>. </p>\n<p> Applications will only be considered approved in up to x days before. This configuration is also done for each environment. </p>\n<p> After the call is processed, the product lists will be kept for a number of days configured for each environment. </p>\n<p> Below is an example of JSON with the parameters required for this API to work. This JSON must be encrypted with the <code>secret</code> set, using <strong>JWT</strong> (HS256)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-Json\">{\n\"FunctionCode\": \"Order Function Code\", // Possible values available in the Glossary (Individual/Legal Functions)\n\"GeographicStructure\": {\n\"Code\": \"Code of geographic structure of order delivery\",\n\"Level\": \"Order delivery geographic structure level\", // The sent structure level must be the same as configured in the environment\n\"ParentStructure\": {} // Parent Structure\n},\n\"Items\": [ // List of items in order\n{\n\"ProductCode\": \"Product Code\",\n\"Quantity\": \"Quantity of product on order\",\n\"UnitNetValue\": \"Unit product value\" \n}\n],\n\"Sub\": \"OrderApproved\", // Signal that the order has been approved\n\"Jti\": \"Order identification code (unique for each order)\",\n\"Iat\": \"Order approval date in UNIX format (in seconds)\"\n}\n</code></pre>\n","urlObject":{"path":["api","eventsOrder","aproved"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3789f1d1-03ed-42c1-8098-58c7e9230086"}],"id":"e8b626df-d829-4b7f-98e6-1bf5addc3b21","_postman_id":"e8b626df-d829-4b7f-98e6-1bf5addc3b21","description":""},{"name":"Cargo Logs","item":[{"name":"Consult load logs by period","id":"9daa0551-e5a3-4fd7-bb60-ca7061ca8b99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPromo}}/api/loaderLogs?beginDate=<DateTime>&endDate=<DateTime>","urlObject":{"path":["api","loaderLogs"],"host":["{{baseUrlLetPromo}}"],"query":[{"description":{"content":"<p>Log search start date</p>\n<p> Must be passed in YYYY-MM-DD format</p>\n<p> <em>example: 2020-12-31</em></p>\n","type":"text/plain"},"key":"beginDate","value":"<DateTime>"},{"description":{"content":"<p>End date of log search</p>\n<p> Must be passed in YYYY-MM-DD format</p>\n<p> <em>example: 2020-12-31</em></p>\n","type":"text/plain"},"key":"endDate","value":"<DateTime>"}],"variable":[]}},"response":[{"id":"2dcc1ba4-bb45-4755-aeab-24f4f8530d8f","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPromo}}/api/loaderLogs?beginDate=<DateTime>&endDate=<DateTime>","host":["{{baseUrlLetPromo}}"],"path":["api","loaderLogs"],"query":[{"key":"beginDate","value":"<DateTime>","description":"Log search start date\n\n Must be passed in YYYY-MM-DD format\n\n *example: 2020-12-31*"},{"key":"endDate","value":"<DateTime>","description":"End date of log search\n\n Must be passed in YYYY-MM-DD format\n\n *example: 2020-12-31*"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"count\": \"Amount of records returned\",\r\n \"loaderLogs\": [//Load logs list\r\n {\r\n \"key\": \"key(code) of the load performed\",\r\n \"types\": [//List of load types performed. Below, all types listed. \r\n \"WARNING\",\r\n \"INFO\",\r\n \"ERROR\",\r\n \"FATAL\"\r\n ],\r\n \"date\": \"Date and time of charge\"\r\n }\r\n ]\r\n }"},{"id":"0b189fbd-e2be-4bb7-9c94-4beed9f9bc61","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPromo}}/api/loaderLogs?beginDate=<DateTime>&endDate=<DateTime>","host":["{{baseUrlLetPromo}}"],"path":["api","loaderLogs"],"query":[{"key":"beginDate","value":"<DateTime>","description":"Log search start date\n\n Must be passed in YYYY-MM-DD format\n\n *example: 2020-12-31*"},{"key":"endDate","value":"<DateTime>","description":"End date of log search\n\n Must be passed in YYYY-MM-DD format\n\n *example: 2020-12-31*"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"count\": 5,\r\n \"loaderLogs\": [\r\n {\r\n \"key\": \"20210405000000\",\r\n \"types\": [\r\n \"WARNING\",\r\n \"INFO\"\r\n ],\r\n \"date\": \"2021-04-05T00:00:00Z\"\r\n },\r\n {\r\n \"key\": \"20210405000501\",\r\n \"types\": [\r\n \"INFO\",\r\n \"WARNING\"\r\n ],\r\n \"date\": \"2021-04-05T00:05:01Z\"\r\n },\r\n {\r\n \"key\": \"20210405001000\",\r\n \"types\": [\r\n \"WARNING\",\r\n \"INFO\"\r\n ],\r\n \"date\": \"2021-04-05T00:10:00Z\"\r\n }, \r\n {\r\n \"key\": \"2021040001500\",\r\n \"types\": [\r\n \"INFO\",\r\n \"WARNING\"\r\n ],\r\n \"date\": \"2021-04-05T00:15:00Z\"\r\n },\r\n {\r\n \"key\": \"20210405002000\",\r\n \"types\": [\r\n \"INFO\",\r\n \"WARNING\"\r\n ],\r\n \"date\": \"2021-04-05T00:20:00Z\"\r\n }\r\n ]\r\n }"}],"_postman_id":"9daa0551-e5a3-4fd7-bb60-ca7061ca8b99"},{"name":"Consult load log by key","id":"9ad57a66-0688-4b7b-8fb1-8b86f029bd13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/loaderLogs/:key","urlObject":{"path":["api","loaderLogs",":key"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[{"id":"e3230453-d04e-498d-bdcf-d4f99ec1ef9e","description":{"content":"<p>Key (code) of the cargo to be searched</p>\n","type":"text/plain"},"type":"any","value":"string","key":"key"}]}},"response":[{"id":"26a7f1d9-56f1-4ff8-89fb-7659684bdd3a","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/loaderLogs/:key","host":["{{baseUrlLetPrice}}"],"path":["api","loaderLogs",":key"],"variable":[{"key":"key","value":"string","description":"Key (code) of the cargo to be searched"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"count\": \"Amount of records returned\",\r\n \"loaderLogs\": [//List of logs recorded by load\r\n {\r\n \"key\": \"Load key(Code)\",\r\n \"type\": \"Log type\",\r\n \"date\": \"Date and time of registration\",\r\n \"application\": \"Application\",\r\n \"message\": \"Messages that inform the process step, success or problems\"\r\n }\r\n ]\r\n }"},{"id":"1197fff6-fa8b-4bab-8ee9-7187e0f59eda","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/loaderLogs/:key","host":["{{baseUrlLetPrice}}"],"path":["api","loaderLogs",":key"],"variable":[{"key":"key","value":"string","description":"Key (code) of the cargo to be searched"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"count\": 69,\r\n \"loaderLogs\": [\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.24Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"Configurations file loaded.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.32Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - Computing key namespace prefixes\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.51Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - Computing key namespace prefixes\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.59Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"Last load namespace prefix is webStore:19628:\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.68Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"This load namespace prefix is webStore:19629:\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.73Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - Delete keys from previous incomplete loads\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.88Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - Delete keys from previous incomplete loads\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.96Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_COMPLETA\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:01.46Z\", \r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:01.53Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:05.53Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:07.18Z\", \r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_COMPLETA\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:07.26Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_ESTOQUES\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:07.68Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"gives you\": \"2021-04-07T10:40:07.74Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:07.84Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:09.51Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_DISPLAY_CARGA_ESTOQUES\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:09.59Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_SELOS\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:10.03Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:10.09Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\", \r\n \"date\": \"2021-04-07T10:40:10.7Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:12.35Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_SELOS\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:12.43Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_COMPRA_FACIL\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:12.85Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:12.92Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:13.51Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\", \r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:15.17Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_COMPRA_FACIL\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:15.24Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_LOJAS\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:15.67Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:15.73Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:16.12Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:17.78Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_STORES\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:17.85Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_PLANOS_PAGAMENTO\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:18.34Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:18.4Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n { \r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:21.93Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:23.59Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_PLANOS_PAGAMENTO\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:23.67Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_PRODUTO_REQUISITO_PROMOCAO\" \r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:24.15Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:24.2Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:24.21Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript finished.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:25.87Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_PRODUTO_REQUISITO_PROMOCAO\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:25.95Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - WebStore.Load.SearchIndexer.exe\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.57Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Getting available cycles\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.6Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Getting available products and creating search list.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Reducing product list by model product.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Changing search index order.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Saving the search list on the redis server.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000019 not exists on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000021 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000066 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\", \r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000065 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000064 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000052 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000051 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000052 not exists on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000053 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000051 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"WARNING\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"[ WebStore.Load.SearchIndexer - Product p0000000050 does not exist on referencedProducts list ].\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.67Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"WebStore.Load.SearchIndexer finished.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.68Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - WebStore.Load.SearchIndexer.exe\" \r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.75Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - WebStore.Load.StoreSearchIndexer.exe\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:28.32Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - WebStore.Load.StoreSearchIndexer.exe\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:29Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - Updating load control data\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:29.12Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - Updating load control data\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:29.2Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"Removing data from previous namespace webStore:19628: load in 60 seconds\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:29.9Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"Waiting for 60 seconds to clear last records\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:41:30.16Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - Start removing Keys\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:41:30.41Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - Keys was successfully removed\"\r\n }\r\n ]\r\n }"}],"_postman_id":"9ad57a66-0688-4b7b-8fb1-8b86f029bd13"},{"name":"Consult load log by key and type","id":"a4991032-c170-4347-9d02-b44cf46dd82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/loaderLogs/:key/:type","urlObject":{"path":["api","loaderLogs",":key",":type"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Charge key(code)</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"key"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Type of log. </p>\n<p> Available types: \"WARNING\", \"INFO\", \"ERROR\", \"FATAL\"</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"type"}]}},"response":[{"id":"be296fd0-c1e2-44aa-802c-29f6625682af","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/loaderLogs/:key/:type","host":["{{baseUrlLetPrice}}"],"path":["api","loaderLogs",":key",":type"],"variable":[{"key":"key","value":"<string>","description":"**Mandatory**\n\n Charge key(code)"},{"key":"type","value":"<string>","description":"**Mandatory**\n\n Type of log. \n\n Available types: \"WARNING\", \"INFO\", \"ERROR\", \"FATAL\""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"count\": \"Amount of records returned\",\r\n \"loaderLogs\": [//Load logs list\r\n {\r\n \"key\": \"key(code) of the load performed\",\r\n \"types\": [//List of load types performed. Below, all types listed. \r\n \"WARNING\",\r\n \"INFO\",\r\n \"ERROR\",\r\n \"FATAL\"\r\n ],\r\n \"date\": \"Date and time of charge\"\r\n }\r\n ]\r\n }"},{"id":"22be5ae1-0ef2-4c03-ab0f-2b32658ff597","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/loaderLogs/:key/:type","host":["{{baseUrlLetPrice}}"],"path":["api","loaderLogs",":key",":type"],"variable":[{"key":"key","value":"<string>","description":"**Mandatory**\n\n Charge key(code)"},{"key":"type","value":"<string>","description":"**Mandatory**\n\n Type of log. \n\n Available types: \"WARNING\", \"INFO\", \"ERROR\", \"FATAL\""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"count\": 58,\r\n \"loaderLogs\": [\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.24Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"Configurations file loaded.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.32Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - Computing key namespace prefixes\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.51Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - Computing key namespace prefixes\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.59Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"Last load namespace prefix is webStore:19628:\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.68Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"This load namespace prefix is webStore:19629:\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.73Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - Delete keys from previous incomplete loads\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.88Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - Delete keys from previous incomplete loads\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:00.96Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_COMPLETA\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:01.46Z\", \r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:01.53Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:05.53Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:07.18Z\", \r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_COMPLETA\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:07.26Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_ESTOQUES\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:07.68Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"gives you\": \"2021-04-07T10:40:07.74Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:07.84Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:09.51Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_DISPLAY_CARGA_ESTOQUES\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:09.59Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_SELOS\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:10.03Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:10.09Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\", \r\n \"date\": \"2021-04-07T10:40:10.7Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:12.35Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_SELOS\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:12.43Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_COMPRA_FACIL\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:12.85Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:12.92Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:13.51Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\", \r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:15.17Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_COMPRA_FACIL\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:15.24Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_LOJAS\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:15.67Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:15.73Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:16.12Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:17.78Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_STORES\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:17.85Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_PLANOS_PAGAMENTO\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:18.34Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:18.4Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n { \r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:21.93Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript terminated.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:23.59Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_PLANOS_PAGAMENTO\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:23.67Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - USP_VITRINE_CARGA_PRODUTO_REQUISITO_PROMOCAO\" \r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:24.15Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Connecting to database.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:24.2Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"Running the script.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:24.21Z\",\r\n \"application\": \"sqlscript\",\r\n \"message\": \"sqlscript finished.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:25.87Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - USP_VITRINE_CARGA_PRODUTO_REQUISITO_PROMOCAO\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:25.95Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - WebStore.Load.SearchIndexer.exe\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.57Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Getting available cycles\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.6Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Getting available products and creating search list.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Reducing product list by model product.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Changing search index order.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.62Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"Saving the search list on the redis server.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.67Z\",\r\n \"application\": \"WebStore.Load.SearchIndexer\",\r\n \"message\": \"WebStore.Load.SearchIndexer finished.\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.68Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - WebStore.Load.SearchIndexer.exe\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:26.75Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - WebStore.Load.StoreSearchIndexer.exe\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:28.32Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - WebStore.Load.StoreSearchIndexer.exe\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:29Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - Updating load control data\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:29.12Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - Updating load control data\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:29.2Z\",\r\n \"application\": \"MAIN\", \r\n \"message\": \"Removing data from previous namespace webStore:19628: load in 60 seconds\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:40:29.9Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"Waiting for 60 seconds to clear last records\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"date\": \"2021-04-07T10:41:30.16Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"BEGIN - Start removing Keys\"\r\n },\r\n {\r\n \"key\": \"20210407104000\",\r\n \"type\": \"INFO\",\r\n \"gives you\": \"2021-04-07T10:41:30.41Z\",\r\n \"application\": \"MAIN\",\r\n \"message\": \"END - Keys was successfully removed\"\r\n }\r\n ]\r\n }"}],"_postman_id":"a4991032-c170-4347-9d02-b44cf46dd82c"}],"id":"06a24ad4-c8d9-4fb0-9f79-f674fa709e96","_postman_id":"06a24ad4-c8d9-4fb0-9f79-f674fa709e96","description":""},{"name":"Shops","item":[{"name":"services","item":[{"name":"Search services","id":"bb784000-c1da-4d5e-9657-fe934f58fc6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/services","urlObject":{"path":["api","services"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[]}},"response":[{"id":"b640b0cf-9042-4fb8-b4a2-3bfbe4f160b4","name":"Parameter Details","originalRequest":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/services"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": \"Service code\",\n \"name\": \"Service name\"\n }\n ]"},{"id":"6bfa9a6a-39a4-424a-a882-faf2a350a89e","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/services"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n {\n \"code\": 4,\n \"name\": \"Test Service 4\"\n },\n {\n \"code\": 3,\n \"name\": \"Test service 2\"\n },\n {\n \"code\": 2,\n \"name\": \"Test Service 1\"\n },\n {\n \"code\": 9,\n \"name\": \"Wi-FI\"\n },\n {\n \"code\": 10,\n \"name\": \"Scenario 22 - Service Test\"\n }\n ]"}],"_postman_id":"bb784000-c1da-4d5e-9657-fe934f58fc6a"}],"id":"79165f1f-75ba-4c4f-b253-532b668049af","_postman_id":"79165f1f-75ba-4c4f-b253-532b668049af","description":""},{"name":"Search stores","id":"e737f1cb-a2a8-4e79-a7ea-eb692f66b8cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/stores?addressSearchText=<string>&serviceIds=<integer>&allday=<boolean>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","stores"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p>address, or part of it</p>\n","type":"text/plain"},"key":"addressSearchText","value":"<string>"},{"description":{"content":"<p>service code</p>\n","type":"text/plain"},"key":"serviceIds","value":"<integer>"},{"description":{"content":"<p>Indicates whether the store is open all day or not</p>\n","type":"text/plain"},"key":"allday","value":"<boolean>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"6f076a14-e78c-4407-89f5-7700cb0c39a7","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/stores?addressSearchText=<string>&serviceIds=<integer>&allday=<boolean>&page=<integer>&pageSize=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","stores"],"query":[{"key":"addressSearchText","value":"<string>","description":"address, or part of it"},{"key":"serviceIds","value":"<integer>","description":"service code"},{"key":"allday","value":"<boolean>","description":"Indicates whether the store is open all day or not"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalStoreCount\": \"total number of stores returned\",\r\n \"stores\": [//List of stores\r\n {\r\n \"name\": \"Store Name\",\r\n \"allDay\": \"Indicates if the store is open 24h(true) or if it has a defined opening hours(false)\",\r\n \"openHolidays\": \"Indicates if the store is open on holidays (true/false)\",\r\n \"email\": \"Store email address\",\r\n \"schedules\": [//List of store opening hours. If it is 24H this list will be empty. \r\n {\r\n \"weekdayFrom\": {//If it works on holidays, the API returns weekdayFrom and weekdayTo with the code \"0\", and the service time. \r\n \"id\": \"Code of the day of the week the store starts servicing\",\r\n \"description\": \"Name of the day of the week\"\r\n },\r\n \"weekdayTo\": {\r\n \"id\": \"Code of the day of the week the store ends service\",\r\n \"description\": \"Name of the day of the week\"\r\n },\r\n \"dhTimeOpen\": \"Store opening hours\",\r\n \"dhTimeClosed\": \"Store Closing Time\"\r\n }\r\n ],\r\n \"services\": [//List of store services\r\n {\r\n \"code\": \"Service code\",\r\n \"description\": \"Description\",\r\n \"image\": \"[name].[extension] of service image file\"\r\n }\r\n ],\r\n \"formatedPhone\": \"formatted phones\",\r\n \"formatedAddress\": \"Full formatted address\"\r\n }\r\n ]\r\n }"},{"id":"6b34e528-3b7c-4579-a6e3-412bfe2b1360","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/stores?addressSearchText=<string>&serviceIds=<integer>&allday=<boolean>&page=<integer>&pageSize=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","stores"],"query":[{"key":"addressSearchText","value":"<string>","description":"address, or part of it"},{"key":"serviceIds","value":"<integer>","description":"service code"},{"key":"allday","value":"<boolean>","description":"Indicates whether the store is open all day or not"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalStoreCount\": 2,\r\n \"stores\": [\r\n {\r\n \"name\": \"API Store\",\r\n \"allDay\": false,\r\n \"openHolidays\": true,\r\n \"email\": \"\",\r\n \"schedules\": [\r\n {\r\n \"weekdayFrom\": {\r\n \"id\": 0,\r\n \"description\": \"\"\r\n },\r\n \"weekdayTo\": {\r\n \"id\": 0,\r\n \"description\": \"\"\r\n },\r\n \"dhTimeOpen\": \"2021-04-07T09:00:00Z\",\r\n \"dhTimeClosed\": \"2021-04-07T11:00:00Z\"\r\n },\r\n {\r\n \"weekdayFrom\": {\r\n \"id\": 2,\r\n \"description\": \"Monday\"\r\n }, \r\n \"weekdayTo\": {\r\n \"id\": 7,\r\n \"description\": \"Saturday\"\r\n },\r\n \"dhTimeOpen\": \"2021-04-07T08:00:00Z\",\r\n \"dhTimeClosed\": \"2021-04-07T19:00:00Z\"\r\n }\r\n ],\r\n \"services\": [\r\n {\r\n \"code\": 3,\r\n \"description\": \"Test service 2\",\r\n \"image\": \"4f91d40c1631547d6a6df92b4b55d9a1.jpg\"\r\n },\r\n {\r\n \"code\": 2,\r\n \"description\": \"Test Service 1\",\r\n \"image\": \"f0ebb7b675820a0fe5a3733afcbdda6a.jpg\"\r\n },\r\n {\r\n \"code\": 4,\r\n \"description\": \"Test Service 4\",\r\n \"image\": \"bf30d5f4c48d2e742a923c6772275691.jpg\"\r\n }\r\n ],\r\n \"formatedPhone\": \"11985652235\",\r\n \"formatedAddress\": \"Rua Augusta, N 25, Consolação, São Paulo, SP, 01305000\"\r\n },\r\n {\r\n \"name\": \"24h API Store\",\r\n \"allDay\": true,\r\n \"openHolidays\": false,\r\n \"email\": \"\",\r\n \"schedules\": [],\r\n \"services\": [\r\n {\r\n \"code\": 10,\r\n \"description\": \"Scenario 22 - Service Test\",\r\n \"image\": \"86f665fcbd855b0bb71e48202382f1a8.jpg\"\r\n },\r\n {\r\n \"code\": 9,\r\n \"description\": \"Wi-FI\",\r\n \"image\": \"1af1366dccc997f0d6d09d0d131a519b.jpg\"\r\n }\r\n ],\r\n \"formatedPhone\": \"119565582235\",\r\n \"formatedAddress\": \"Rua Augusta, N 30, Consolação, São Paulo, SP, 01305000\"\r\n }\r\n ]\r\n }"}],"_postman_id":"e737f1cb-a2a8-4e79-a7ea-eb692f66b8cb"},{"name":"Check if there are any active stores","id":"0446b4c7-8083-4f3c-8b56-568293cb196f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/stores/hasActiveStores","description":"<p>Returns <em>true</em>if there are active stores and<em>false</em> if not.</p>\n","urlObject":{"path":["api","stores","hasActiveStores"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[]}},"response":[{"id":"2bc00dcc-d243-473f-abf8-05f20e8510b4","name":"OK","originalRequest":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/stores/hasActiveStores"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"0446b4c7-8083-4f3c-8b56-568293cb196f"}],"id":"9c2cdc18-43cf-470d-aa2f-b80eeee3a44f","description":"<p>On the stores side, there are two features that can be registered and configured through the <strong>LetPrice</strong> Content Manager:</p>\n<h4 id=\"services\">Services</h4>\n<p><img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetPrice_Cadastro_Servi%C3%A7os.png\" alt=\"LetPrice_Services\" /></p>\n<p> A service offered by a store has:</p>\n<p> -Description;</p>\n<ul>\n<li><p>Name;</p>\n</li>\n<li><p>Image.</p>\n</li>\n</ul>\n<p> After registering the service, it is necessary to assign it to the respective store, through the registration of the store in question. </p>\n<p> The registered services can be consulted in their respective <a href=\"#200e51d3-8251-4057-bdfa-4ec44d08ac42\">endpoint</a>. </p>\n<h4 id=\"our-stores\">Our stores</h4>\n<p><img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetPrice_Cadastro_Lojas.png\" alt=\"LetPrice_nossasLojas\" /></p>\n<p> A store has:</p>\n<p> -A contact;</p>\n<ul>\n<li>An address;</li>\n</ul>\n<p> -Opening hours;</p>\n<ul>\n<li>Services offered.</li>\n</ul>\n","_postman_id":"9c2cdc18-43cf-470d-aa2f-b80eeee3a44f"},{"name":"Home/Internal Page","item":[{"name":"Browse pages","id":"f8f2fa43-69d5-438a-968d-cd22bf2d1ca8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/pages?functionCode=<integer>&businessModelCode=<integer>&comStrCode=<integer>&geoStrCode=<integer>&cycle=<integer>&type=<integer>&productClassification=<integer>&productStructure=<integer>","description":"<p><strong>Heads up</strong></p>\n<p> The <code>productClassification</code> and <code>productStructure</code> parameters must not be sent simultaneously.</p>\n","urlObject":{"path":["api","pages"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function Code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Commercial model code.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"comStrCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geoStrCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Type of page. </p>\n<p> Accepted values:</p>\n<ul>\n<li><p><code>1 - Home</code></p>\n</li>\n<li><p><code>2 - Internal</code></p>\n</li>\n</ul>\n","type":"text/plain"},"key":"type","value":"<integer>"},{"description":{"content":"<p>Product classification. </p>\n<p> <strong>Heads up</strong></p>\n<p> In order for this parameter to be sent, the <code>type</code> parameter must be sent with a value of <code>2 - Internal</code>. </p>\n<p> This parameter must not be sent together with the <code>productStructure</code> parameter.</p>\n","type":"text/plain"},"key":"productClassification","value":"<integer>"},{"description":{"content":"<p>Product structure. </p>\n<p> <strong>Heads up</strong></p>\n<p> In order for this parameter to be sent, the <code>type</code> parameter must be sent with a value of <code>2 - Internal</code>. </p>\n<p> This parameter must not be sent together with the <code>productClassification</code> parameter.</p>\n","type":"text/plain"},"key":"productStructure","value":"<integer>"}],"variable":[]}},"response":[{"id":"37600104-a69c-43db-b82a-251371aed9da","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/pages?functionCode=<integer>&businessModelCode=<integer>&comStrCode=<integer>&geoStrCode=<integer>&cycle=<integer>&type=<integer>&productClassification=<integer>&productStructure=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","pages"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function Code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n Commercial model code."},{"key":"comStrCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geoStrCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"type","value":"<integer>","description":"**(Mandatory)**\n\n Type of page. \n\n Accepted values:\n\n - `1 - Home`\n\n - `2 - Internal`"},{"key":"productClassification","value":"<integer>","description":"Product classification. \n\n **Heads up**\n\n In order for this parameter to be sent, the `type` parameter must be sent with a value of `2 - Internal`. \n\n This parameter must not be sent together with the `productStructure` parameter."},{"key":"productStructure","value":"<integer>","description":"Product structure. \n\n **Heads up**\n\n In order for this parameter to be sent, the `type` parameter must be sent with a value of `2 - Internal`. \n\n This parameter must not be sent together with the `productClassification` parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Page code\",\r\n \"title\": \"Page title\",\r\n \"description\": \"Page description\",\r\n \"keywords\": \"Keywords\",\r\n \"sections\": [ // List of sections\r\n {\r\n \"values\": [\r\n {\r\n \"type\": \"Section type\", // 1 - Result, 2 - Banner, 3 - Card\r\n \"bannerType\": \"Banner Type\", // 1 - Grouping, 2 - External Link, 3 - Static Page\r\n \"cardType\": \"Type of card\", // 1 - Carousel, 2 - Table\r\n \"groupType\": \"Group Type\", // 1 - Automatic, 2 - Manual\r\n \"group\": \"Group code\",\r\n \"productClassification\": \"Product Classification\",\r\n \"externalLink\": \"External Link\",\r\n \"staticPageCode\": \"Static code of page\",\r\n \"rows\": \"Number of rows\",\r\n \"assets\": [ // List of assets\r\n {\r\n \"type\": \"Asset type code\",\r\n \"url\": \"URL\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }"},{"id":"eee5e431-9f07-4412-8f8e-c7ad9dbe1314","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/pages?functionCode=<integer>&businessModelCode=<integer>&comStrCode=<integer>&geoStrCode=<integer>&cycle=<integer>&type=<integer>&productClassification=<integer>&productStructure=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","pages"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function Code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n Commercial model code."},{"key":"comStrCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geoStrCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"type","value":"<integer>","description":"**(Mandatory)**\n\n Type of page. \n\n Accepted values:\n\n - `1 - Home`\n\n - `2 - Internal`"},{"key":"productClassification","value":"<integer>","description":"Product classification. \n\n **Heads up**\n\n In order for this parameter to be sent, the `type` parameter must be sent with a value of `2 - Internal`. \n\n This parameter must not be sent together with the `productStructure` parameter."},{"key":"productStructure","value":"<integer>","description":"Product structure. \n\n **Heads up**\n\n In order for this parameter to be sent, the `type` parameter must be sent with a value of `2 - Internal`. \n\n This parameter must not be sent together with the `productClassification` parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 60,\r\n \"title\": \"Test 60\",\r\n \"description\": \"Manage your entire commercial operation on a single platform\",\r\n \"keywords\": \"Test\",\r\n \"sections\": [\r\n {\r\n \"values\": [\r\n {\r\n \"type\": 2,\r\n \"bannerType\": 3,\r\n \"staticPageCode\": 6,\r\n \"assets\": [\r\n {\r\n \"type\": 7,\r\n \"url\": \"12726028bf3355e1bbd6572e3232d477b.jpg\"\r\n },\r\n {\r\n \"type\": 8,\r\n \"url\": \"a0ed0232913822c6aca563355e8656a3.jpg\"\r\n }\r\n ]\r\n }\r\n ]\r\n }, \r\n {\r\n \"values\": [\r\n {\r\n \"type\": 3,\r\n \"cardType\": 1,\r\n \"groupType\": 2,\r\n \"productClassification\": 19,\r\n \"rows\": 1\r\n }\r\n ]\r\n },\r\n {\r\n \"values\": [\r\n {\r\n \"type\": 3,\r\n \"cardType\": 2,\r\n \"groupType\": 2,\r\n \"productClassification\": 15,\r\n \"rows\": 8\r\n }\r\n ]\r\n },\r\n {\r\n \"values\": [\r\n {\r\n \"type\": 3,\r\n \"cardType\": 1,\r\n \"groupType\": 1,\r\n \"group\": 1,\r\n \"rows\": 2\r\n }\r\n ]\r\n },\r\n {\r\n \"values\": [\r\n {\r\n \"type\": 3,\r\n \"cardType\": 1,\r\n \"groupType\": 2,\r\n \"productClassification\": 13,\r\n \"rows\": 2\r\n }\r\n ]\r\n }\r\n ]\r\n }"}],"_postman_id":"f8f2fa43-69d5-438a-968d-cd22bf2d1ca8"},{"name":"Browse page by code","id":"87290b06-fdec-4acc-b6cb-5c1d7be66ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://brapivitrinedemo.geravd.com.br/api/pages/:code","urlObject":{"protocol":"https","path":["api","pages",":code"],"host":["brapivitrinedemo","geravd","com","br"],"query":[],"variable":[{"id":"83724226-0e79-421f-a03e-bb92d60d0609","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of the desired page.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"code"}]}},"response":[{"id":"aadeb5cf-f76c-4774-91e9-41b22f8f16fa","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/pages/:code","host":["{{baseUrlLetPrice}}"],"path":["api","pages",":code"],"variable":[{"key":"code","value":"<integer>","description":"**(Mandatory)**\n\n Code of the desired page."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Page code\",\r\n \"title\": \"Page title\",\r\n \"description\": \"Page description\",\r\n \"keywords\": \"Keywords\",\r\n \"sections\": [ // List of sections\r\n {\r\n \"values\": [ // List of values\r\n {\r\n \"type\": \"Section type\", // 1 - Result, 2 - Banner, 3 - Card\r\n \"bannerType\": \"Banner Type\", // 1 - Grouping, 2 - External Link, 3 - Static Page\r\n \"cardType\": \"Type of card\", // 1 - Carousel, 2 - Table\r\n \"groupType\": \"Group Type\", // 1 - Automatic, 2 - Manual\r\n \"group\": \"Group code\",\r\n \"productClassification\": \"Product Classification\",\r\n \"externalLink\": \"External Link\",\r\n \"staticPageCode\": \"Static page code\",\r\n \"rows\": \"Number of rows\",\r\n \"assets\": [ // List of assets\r\n {\r\n \"type\": \"Asset type code\",\r\n \"url\": \"URL\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }"},{"id":"cdc2bfb8-dd2c-4cd7-b636-a2e8b0698003","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/pages/:code","host":["{{baseUrlLetPrice}}"],"path":["api","pages",":code"],"variable":[{"key":"code","value":"<integer>","description":"**(Mandatory)**\n\n Code of the desired page."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 60,\r\n \"title\": \"Test 60\",\r\n \"description\": \"Manage your entire commercial operation on a single platform\",\r\n \"keywords\": \"Test\",\r\n \"sections\": [\r\n {\r\n \"values\": [\r\n {\r\n \"type\": 2,\r\n \"bannerType\": 3,\r\n \"staticPageCode\": 6,\r\n \"assets\": [\r\n {\r\n \"type\": 7,\r\n \"url\": \"12726028bf3355e1bbd6572e3232d477b.jpg\"\r\n },\r\n {\r\n \"type\": 8,\r\n \"url\": \"a0ed0232913822c6aca563355e8656a3.jpg\"\r\n }\r\n ]\r\n }\r\n ]\r\n }, \r\n {\r\n \"values\": [\r\n {\r\n \"type\": 3,\r\n \"cardType\": 1,\r\n \"groupType\": 2,\r\n \"productClassification\": 19,\r\n \"rows\": 1\r\n }\r\n ]\r\n },\r\n {\r\n \"values\": [\r\n {\r\n \"type\": 3,\r\n \"cardType\": 2,\r\n \"groupType\": 2,\r\n \"productClassification\": 15,\r\n \"rows\": 8\r\n }\r\n ]\r\n },\r\n {\r\n \"values\": [\r\n {\r\n \"type\": 3,\r\n \"cardType\": 1,\r\n \"groupType\": 1,\r\n \"group\": 1,\r\n \"rows\": 2\r\n }\r\n ]\r\n },\r\n {\r\n \"values\": [\r\n {\r\n \"type\": 3,\r\n \"cardType\": 1,\r\n \"groupType\": 2,\r\n \"productClassification\": 13,\r\n \"rows\": 2\r\n }\r\n ]\r\n }\r\n ]\r\n }"}],"_postman_id":"87290b06-fdec-4acc-b6cb-5c1d7be66ccf"}],"id":"61d4d1f4-4156-4bb1-bddd-a935c38ed5f2","description":"<p>In the pages part, there are two functionalities that can be registered and configured through the <strong>LetPrice</strong> Content Manager. </p>\n<p> <strong>Heads up</strong></p>\n<p> It is possible to segment the <code>Home</code> and <code>Internal Page</code> through scopes. However, if two screens have the same scope, only the last one will be considered. </p>\n<h4 id=\"home\">Home</h4>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetPrice_Cadastro_Home.png\" alt=\"LetPrice_Selo\" /></p>\n<p> A <code>Home</code> has:</p>\n<p> -Coverage;</p>\n<ul>\n<li>Title;</li>\n</ul>\n<p> -Descriptive;</p>\n<ul>\n<li><p>Key words;</p>\n</li>\n<li><p>At least one section (there are two types):</p>\n</li>\n</ul>\n<h6 id=\"banners\">Banners</h6>\n<p> Section with product banners. This section has:</p>\n<ul>\n<li><p>One image for <code>mobile</code> and one for <code>desktop and tablet</code>;</p>\n</li>\n<li><p>The type of banner link, which can be one of the following:</p>\n</li>\n<li><p><code>Grouping</code> - The marketing grouping the link will redirect the user to;</p>\n</li>\n<li><p><code>External Link</code> - The link to a page external to the Showcase, to which the user will be redirected;</p>\n</li>\n<li><p><code>Static Page</code> - A static page (immutable page) to which the user will be redirected.</p>\n</li>\n</ul>\n<h6 id=\"cards\">Cards</h6>\n<p> Section with product cards from a marketing grouping. This section has:</p>\n<ul>\n<li><p>Marketing grouping. It can be one of the following types:</p>\n</li>\n<li><p><code>Automatic</code> - The grouping is assembled automatically (best selling products);</p>\n</li>\n<li><p><code>Manual</code> - Grouping is user-defined. </p>\n</li>\n<li><p>View:</p>\n</li>\n<li><p><code>Carousel</code>;</p>\n</li>\n<li><p><code>Table</code>. </p>\n</li>\n<li><p>Height - Number of existing lines.</p>\n</li>\n</ul>\n<h4 id=\"internal-page\">Internal Page</h4>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetPrice_Cadastro_telaInterna.png\" alt=\"LetPrice_Selo\" /></p>\n<p> An <code>Internal Page</code> has:</p>\n<p> -Coverage;</p>\n<ul>\n<li>The sorting type of items displayed on the page:</li>\n</ul>\n<p> -<code>Product Structure</code>;</p>\n<ul>\n<li><code>Marketing Grouping</code>.</li>\n</ul>\n<p> -Title;</p>\n<ul>\n<li>Descriptive;</li>\n</ul>\n<p> -Key words;</p>\n<ul>\n<li>At least one section (there are two types):</li>\n</ul>\n<h6 id=\"banners-1\">Banners</h6>\n<p> Section with product banners. This section has:</p>\n<ul>\n<li><p>One image for <code>mobile</code> and one for <code>desktop and tablet</code>;</p>\n</li>\n<li><p>The type of banner link, which can be one of the following:</p>\n</li>\n<li><p><code>Grouping</code> - The marketing grouping the link will redirect the user to;</p>\n</li>\n<li><p><code>External Link</code> - The link to a page external to the Showcase, to which the user will be redirected;</p>\n</li>\n<li><p><code>Static Page</code> - A static page (immutable page) to which the user will be redirected.</p>\n</li>\n</ul>\n<h6 id=\"cards-1\">Cards</h6>\n<p> Section with product cards from a marketing grouping. This section has:</p>\n<ul>\n<li><p>Marketing grouping. It can be one of the following types:</p>\n</li>\n<li><p><code>Automatic</code> - The grouping is assembled automatically (best selling products);</p>\n</li>\n<li><p><code>Manual</code> - Grouping is user-defined. </p>\n</li>\n<li><p>View:</p>\n</li>\n<li><p><code>Carousel</code>;</p>\n</li>\n<li><p><code>Table</code>. </p>\n</li>\n<li><p>Height - Number of existing lines.</p>\n</li>\n</ul>\n","_postman_id":"61d4d1f4-4156-4bb1-bddd-a935c38ed5f2"},{"name":"Payment Plans","item":[{"name":"Consult payment plans","id":"548d8964-1da4-48f9-8945-636f14a58bf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/paymentPlans?cycle=<integer>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=[integer]&geographicalStructureCodes=[integer]&productCode=<integer>","description":"<p>This call is used to query available payment plans.</p>\n","urlObject":{"path":["api","paymentPlans"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Function code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Commercial model code.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"[integer]"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geographicalStructureCodes","value":"[integer]"},{"description":{"content":"<p>Product code.</p>\n","type":"text/plain"},"key":"productCode","value":"<integer>"}],"variable":[]}},"response":[{"id":"171e7bbb-45c3-4ec8-9674-62fffcd8126f","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/paymentPlans?cycle=<integer>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=[integer]&geographicalStructureCodes=[integer]&productCode=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","paymentPlans"],"query":[{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n Commercial model code."},{"key":"commercialStructureCodes","value":"[integer]","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"[integer]","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"productCode","value":"<integer>","description":"Product code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"paymentPlans\": [ // List of payment plans\r\n {\r\n \"code\": \"Payment plan code\",\r\n \"description\": \"Payment plan description\",\r\n \"externalCode\": \"External payment plan code\",\r\n \"paymentMode\": \"Payment method\", // Possible values in the Glossary (Payment Methods - Payment Plan)\r\n \"paymentModeDescription\": [ // List of payment method descriptions\r\n {\r\n \"id\": \"Code of payment method\",\r\n \"description\": \"Description of payment method\", // In the language indicated in the parameter below\r\n \"location\": \"Location and language\"\r\n }\r\n ],\r\n \"creditCardType\": \"Card Flag\",\r\n \"paymentDetails\": [ // List of payment details\r\n {\r\n \"paymentMode\": \"Payment method code\", // Possible values in the Glossary (Payment Methods - Brand)\r\n \"creditCardType\": \"Card Flag\",\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentDays\": \"Payment Days\",\r\n \"interestRate\": \"Interest rate\",\r\n \"administrateTax\": \"Administrative tax\",\r\n \"isOrderpaymentPlan\": \"Indicates payment plan is by order\",\r\n \"isProductPaymentPlan\": \"Indicates payment plan is for product\",\r\n \"installments\": \"Number of installments\",\r\n \"installmentsInterval\": \"Interval between installments (in days)\"\r\n }\r\n ],\r\n \"paymentPlansByProduct\": {\r\n \"productCode\": \"Product code\",\r\n \"productPaymentPlans\": [ // List of payment plans for the product returned above\r\n {\r\n \"code\": \"Payment plan code\",\r\n \"description\": \"Payment plan description\",\r\n \"externalCode\": \"External payment plan code\",\r\n \"paymentMode\": \"Payment method\", // Possible values in the Glossary (Payment Methods - Payment Plan)\r\n \"paymentModeDescription\": [ // List of payment method descriptions\r\n {\r\n \"id\": \"Code of payment method\",\r\n \"description\": \"Description of payment method\", // In the language indicated in the parameter below\r\n \"location\": \"Location and language\"\r\n } \r\n ],\r\n \"creditCardType\": \"Card Flag\",\r\n \"paymentDetails\": [ // Payment Details List\r\n {\r\n \"paymentMode\": \"Payment method code\",\r\n \"creditCardType\": \"Card Flag\",\r\n \"installmentsQuantity\": \"Number of installments\"\r\n }\r\n ],\r\n \"paymentDays\": \"Payment Days\",\r\n \"interestRate\": \"Interest rate\",\r\n \"administrateTax\": \"Administrative tax\",\r\n \"isOrderpaymentPlan\": \"Indicates payment plan is by order\",\r\n \"isProductPaymentPlan\": \"Indicates payment plan is for product\",\r\n \"installments\": \"Number of installments\",\r\n \"installmentsInterval\": \"Interval between installments\" \r\n }\r\n ]\r\n }\r\n }"},{"id":"24818173-4651-425b-b1ff-c79f37e3e854","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/paymentPlans?cycle=<integer>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=[integer]&geographicalStructureCodes=[integer]&productCode=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","paymentPlans"],"query":[{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n Commercial model code."},{"key":"commercialStructureCodes","value":"[integer]","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"[integer]","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"productCode","value":"<integer>","description":"Product code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"paymentPlans\": [\r\n {\r\n \"code\": 34,\r\n \"description\": \"Term payment slip - 21 days\",\r\n \"externalCode\": \"\",\r\n \"paymentMode\": 1,\r\n \"paymentModeDescription\": [\r\n {\r\n \"id\": 1,\r\n \"description\": \"Payment Slip\",\r\n \"location\": \"en-US\"\r\n },\r\n {\r\n \"id\": 1,\r\n \"description\": \"Bill\",\r\n \"location\": \"es-CL\"\r\n },\r\n {\r\n \"id\": 1,\r\n \"description\": \"Boleto\",\r\n \"location\": \"pt-BR\"\r\n }\r\n ],\r\n \"paymentDays\": 10,\r\n \"interestRate\": 0.0,\r\n \"administrateTax\": 0.0,\r\n \"isOrderpaymentPlan\": true,\r\n \"isProductPaymentPlan\": true,\r\n \"installments\": 1,\r\n \"installmentsInterval\": 0\r\n },\r\n {\r\n \"code\": 39,\r\n \"description\": \"Boleto in cash\",\r\n \"externalCode\": \"\",\r\n \"paymentMode\": 1,\r\n \"paymentModeDescription\": [\r\n {\r\n \"id\": 1,\r\n \"description\": \"Payment Slip\",\r\n \"location\": \"en-US\"\r\n },\r\n {\r\n \"id\": 1,\r\n \"description\": \"Bill\",\r\n \"location\": \"es-CL\"\r\n },\r\n { \r\n \"id\": 1,\r\n \"description\": \"Boleto\",\r\n \"location\": \"pt-BR\"\r\n }\r\n ],\r\n \"paymentDays\": 5,\r\n \"interestRate\": 0.0,\r\n \"administrateTax\": 0.0,\r\n \"isOrderpaymentPlan\": true,\r\n \"isProductPaymentPlan\": false,\r\n \"installments\": 1,\r\n \"installmentsInterval\": 0\r\n },\r\n {\r\n \"code\": 41,\r\n \"description\": \"Credit Card\",\r\n \"externalCode\": \"\",\r\n \"paymentMode\": 9,\r\n \"paymentModeDescription\": [\r\n {\r\n \"id\": 9,\r\n \"description\": \"Other\",\r\n \"location\": \"en-US\" \r\n },\r\n {\r\n \"id\": 9,\r\n \"description\": \"Otro\",\r\n \"location\": \"es-CL\"\r\n },\r\n {\r\n \"id\": 9,\r\n \"description\": \"Other\",\r\n \"location\": \"pt-BR\"\r\n }\r\n ],\r\n \"paymentDetails\": [\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 1,\r\n \"installmentsQuantity\": 1\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 2,\r\n \"installmentsQuantity\": 1\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 3,\r\n \"installmentsQuantity\": 1\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 1,\r\n \"installmentsQuantity\": 2\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 1,\r\n \"installmentsQuantity\": 3\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 2,\r\n \"installmentsQuantity\": 2\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 2,\r\n \"installmentsQuantity\": 3\r\n }\r\n ],\r\n \"paymentDays\": 30, \r\n \"interestRate\": 0.0,\r\n \"administrateTax\": 0.0,\r\n \"isOrderpaymentPlan\": true,\r\n \"isProductPaymentPlan\": true,\r\n \"installments\": 1,\r\n \"installmentsInterval\": 0\r\n },\r\n {\r\n \"code\": 52,\r\n \"description\": \"card 52\",\r\n \"externalCode\": \"\",\r\n \"paymentMode\": 9,\r\n \"paymentModeDescription\": [\r\n {\r\n \"id\": 9,\r\n \"description\": \"Other\",\r\n \"location\": \"en-US\"\r\n },\r\n {\r\n \"id\": 9,\r\n \"description\": \"Otro\",\r\n \"location\": \"es-CL\"\r\n }, \r\n {\r\n \"id\": 9,\r\n \"description\": \"Other\",\r\n \"location\": \"pt-BR\"\r\n }\r\n ],\r\n \"paymentDetails\": [\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 1,\r\n \"installmentsQuantity\": 1\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 1,\r\n \"installmentsQuantity\": 2\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 1,\r\n \"installmentsQuantity\": 3\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 1,\r\n \"installmentsQuantity\": 4\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 2,\r\n \"installmentsQuantity\": 1\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 2,\r\n \"installmentsQuantity\": 2\r\n },\r\n {\r\n \"paymentMode\": 6,\r\n \"creditCardType\": 5,\r\n \"installmentsQuantity\": 1\r\n }\r\n ],\r\n \"paymentDays\": 10,\r\n \"interestRate\": 0.0,\r\n \"administrateTax\": 0.0,\r\n \"isOrderpaymentPlan\": true,\r\n \"isProductPaymentPlan\": true,\r\n \"installments\": 1,\r\n \"installmentsInterval\": 0\r\n }\r\n ],\r\n \"paymentPlansByProduct\": {\r\n \"productCode\": 101719,\r\n \"productPaymentPlans\": [\r\n {\r\n \"code\": 34,\r\n \"description\": \"Term payment slip - 21 days\",\r\n \"externalCode\": \"\",\r\n \"paymentMode\": 1,\r\n \"paymentModeDescription\": [\r\n {\r\n \"id\": 1,\r\n \"description\": \"Payment Slip\",\r\n \"location\": \"en-US\"\r\n },\r\n {\r\n \"id\": 1,\r\n \"description\": \"Bill\",\r\n \"location\": \"es-CL\"\r\n },\r\n {\r\n \"id\": 1,\r\n \"description\": \"Boleto\",\r\n \"location\": \"pt-BR\"\r\n }\r\n ],\r\n \"paymentDays\": 10,\r\n \"interestRate\": 0.0,\r\n \"administrateTax\": 0.0,\r\n \"isOrderpaymentPlan\": true,\r\n \"isProductPaymentPlan\": true,\r\n \"installments\": 1,\r\n \"installmentsInterval\": 0\r\n }\r\n ]\r\n }\r\n }"}],"_postman_id":"548d8964-1da4-48f9-8945-636f14a58bf3"}],"id":"9c53a96d-f578-4fb6-852c-846feb376cc1","_postman_id":"9c53a96d-f578-4fb6-852c-846feb376cc1","description":""},{"name":"Products","item":[{"name":"Browse products","id":"08b856ed-9e77-4d85-8b87-62848030dffb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/products?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=[integer]&geoStrCode=[integer]&cycle=<integer>&name=<string>&productStrCode=<integer>&classificationCode=[integer]&classificationValue=[integer]&dimensionCode=[integer]&dimensionValue=[integer]&getSubFilters=<boolean>&sortOptions=<string>&page=<integer>&pageSize=<integer>&parentModelProductCodes=<integer>&productCodes=<integer>&modelProductCodes=<integer>","urlObject":{"path":["api","products"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Distribution center code</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> function code</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Business Model Code</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"comStrCode","value":"[integer]"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geoStrCode","value":"[integer]"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Cycle number (campaign)</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Full code or name (partial or complete) of the product</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Structure code list. </p>\n<p> To send more than one value, it is necessary to send this parameter several times in the request</p>\n","type":"text/plain"},"key":"productStrCode","value":"<integer>"},{"description":{"content":"<p>Classification code list</p>\n<p> To send more than one value, it is necessary to send this parameter several times in the request</p>\n","type":"text/plain"},"key":"classificationCode","value":"[integer]"},{"description":{"content":"<p>Ranking Value List</p>\n<p> To send more than one value, it is necessary to send this parameter several times in the request</p>\n","type":"text/plain"},"key":"classificationValue","value":"[integer]"},{"description":{"content":"<p>Product dimension code. </p>\n<p> This parameter is directly related to the <code>dimensionValue</code> parameter. </p>\n<p> E.g.: 1, 2, 3</p>\n","type":"text/plain"},"key":"dimensionCode","value":"[integer]"},{"description":{"content":"<p>Product dimension value. </p>\n<p> E.g.: 1, 2, 3</p>\n","type":"text/plain"},"key":"dimensionValue","value":"[integer]"},{"description":{"content":"<p>Indicates whether or not secondary filters should be returned</p>\n","type":"text/plain"},"key":"getSubFilters","value":"<boolean>"},{"description":{"content":"<p>Results sorting options. </p>\n<p> Available values are \"name\" for Name, and \"name desc\" for Descending Name</p>\n","type":"text/plain"},"key":"sortOptions","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"description":{"content":"<p>Model Product Code List - Base Model</p>\n<p> To send more than one value, it is necessary to send this parameter several times in the request</p>\n","type":"text/plain"},"key":"parentModelProductCodes","value":"<integer>"},{"description":{"content":"<p>Product Code List</p>\n<p> To send more than one value, it is necessary to send this parameter several times in the request</p>\n","type":"text/plain"},"key":"productCodes","value":"<integer>"},{"description":{"content":"<p>Model Product Code List</p>\n<p> To send more than one value, it is necessary to send this parameter several times in the request</p>\n","type":"text/plain"},"key":"modelProductCodes","value":"<integer>"}],"variable":[]}},"response":[{"id":"597bef20-3221-4108-bae9-54a6167bb025","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://inovadevapivitrinelocal.geravd.com.br/api/products?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=<integer>&geoStrCode=<integer>&cycle=<integer>&name=<string>&productStrCode=<integer>&classificationCode=<integer>&classificationValue=<integer>&dimensionCode=<integer>&dimensionValue=<integer>&getSubFilters=<boolean>&sortOptions=<string>&page=<integer>&pageSize=<integer>&parentModelProductCodes=<integer>&productCodes=<integer>&modelProductCodes=<integer>","protocol":"http","host":["inovadevapivitrinelocal","geravd","com","br"],"path":["api","products"],"query":[{"key":"distributionCenterCode","value":"<integer>","description":"**Mandatory**\n\n Distribution center code"},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n function code"},{"key":"businessModelCode","value":"<integer>","description":"**Mandatory**\n\n Business Model Code"},{"key":"comStrCode","value":"<integer>","description":"**Mandatory**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geoStrCode","value":"<integer>","description":"**Mandatory**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**Mandatory**\n\n Cycle number (campaign)"},{"key":"name","value":"<string>","description":"Full code or name (partial or complete) of the product"},{"key":"productStrCode","value":"<integer>","description":"Structure code list. \n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"classificationCode","value":"<integer>","description":"Classification code list\n\n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"classificationValue","value":"<integer>","description":"Ranking Value List\n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"dimensionCode","value":"<integer>","description":"Product dimension code. \n\n This parameter is directly related to the `dimensionValue` parameter. \n\n E.g.: 1, 2, 3"},{"key":"dimensionValue","value":"<integer>","description":"Product dimension value. \n\n E.g.: 1, 2, 3"},{"key":"getSubFilters","value":"<boolean>","description":"Indicates whether or not secondary filters should be returned"},{"key":"sortOptions","value":"<string>","description":"Results sorting options. \n\n Available values are \"name\" for Name, and \"name desc\" for Descending Name"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"parentModelProductCodes","value":"<integer>","description":"Model Product Code List - Base Model\n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"productCodes","value":"<integer>","description":"Product Code List\n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"modelProductCodes","value":"<integer>","description":"Model Product Code List\n\n To send more than one value, it is necessary to send this parameter several times in the request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": \"Total quantity of products returned\",\r\n \"products\": [ // List of returned products\r\n {\r\n \"code\": \"Product code\",\r\n \"name\": \"Product name\",\r\n \"description\": \"Product description\",\r\n \"briefDescription\": \"Product brief description\",\r\n \"datasheet\": \"Product datasheet\",\r\n \"isModelProduct\": \"Indicates if it is a model product\",\r\n \"listPrice\": \"Product table price\",\r\n \"netPrice\": \"Net product price\",\r\n \"simulatedNetValue\": \"Simulated product net price\",\r\n \"points\": \"Points earned with the purchase of the product\",\r\n \"profitability\": \"Product profitability\",\r\n \"simulatedProfitability\": \"Simulated Product Profitability\",\r\n \"profitabilityBeforePromotion\": \"Indicates whether profitability is calculated before applying promotion\",\r\n \"isPriceFrom\": \"Indicates if the product price is\",\r\n \"isAvailable\": \"Indicates if the product is available\",\r\n \"defaultProductCode\": \"Default product code\",\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ], \r\n \"productsTags\": [ // Product Tag List\r\n {\r\n \"linkType\": \"Link Type\", // 1 - No Link, 2 - Product Details, 3 - External Link\r\n \"linkURL\": \"link URL\",\r\n \"imageUrl\": \"Image URL\",\r\n \"imagePosition\": \"Image Position\" // 1 - Top of the Image, 2 - Bottom of the Image\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": \"Quantity of the product to be purchased via &#39;Compra Fácil&#39;\",\r\n \"description\": \"Description of &#39;Easy Buy&#39;\"\r\n },\r\n \"blockReason\": {\r\n \"shortDescription\": \"Shortcut reason for product cut\",\r\n \"fullDescription\": \"Full reason for product cut\"\r\n },\r\n \"multipleSaleRestriction\": \"Multiple sales quantity the product has\" // Must be included in multiples of x\r\n }\r\n ],\r\n \"productsStructures\": [ // List of product structures\r\n {\r\n \"code\": \"Product structure code\",\r\n \"name\": \"Product structure name\",\r\n \"children\": [ // List of child structures\r\n {}\r\n ]\r\n }\r\n ],\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Code of value of classification\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productDimensions\": [ // Dimensions of the returned product\r\n {\r\n \"code\": \"Dimension code\",\r\n \"name\": \"Dimension name\",\r\n \"values\": [ // Dimension values\r\n {\r\n \"code\": \"Dimension value code\",\r\n \"name\": \"Dimension value name\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"},{"id":"8a08d95e-a830-4d55-a540-60538bcd8fdd","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://inovadevapivitrinelocal.geravd.com.br/api/products?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=[integer]&geoStrCode=[integer]&cycle=<integer>&name=string&productStrCode=[integer]&classificationCode=[integer]&classificationValue=[integer]&dimensionCode=[integer]&dimensionValue=[integer]&getSubFilters=<boolean>&sortOptions=<string>&page=<integer>&pageSize=<integer>&parentModelProductCodes=[integer]&productCodes=[integer]&modelProductCodes=[integer]","protocol":"http","host":["inovadevapivitrinelocal","geravd","com","br"],"path":["api","products"],"query":[{"key":"distributionCenterCode","value":"<integer>","description":"**Mandatory**\n\n Distribution center code"},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n function code"},{"key":"businessModelCode","value":"<integer>","description":"**Mandatory**\n\n Business Model Code"},{"key":"comStrCode","value":"[integer]","description":"**Mandatory**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geoStrCode","value":"[integer]","description":"**Mandatory**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**Mandatory**\n\n Cycle number (campaign)"},{"key":"name","value":"string","description":"Full code or name (partial or complete) of the product"},{"key":"productStrCode","value":"[integer]","description":"List of structure codes. \n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"classificationCode","value":"[integer]","description":"Classification code list\n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"classificationValue","value":"[integer]","description":"Ranking Value List\n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"dimensionCode","value":"[integer]","description":"Product dimension code. \n\n This parameter is directly related to the `dimensionValue` parameter. \n\n E.g.: 1, 2, 3"},{"key":"dimensionValue","value":"[integer]","description":"Product dimension value. \n\n E.g.: 1, 2, 3"},{"key":"getSubFilters","value":"<boolean>","description":"Indicates whether or not secondary filters should be returned"},{"key":"sortOptions","value":"<string>","description":"Results sorting options. \n\n Available values are \"name\" for Name, and \"name desc\" for Descending Name"},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"parentModelProductCodes","value":"[integer]","description":"Model Product Code List - Base Model\n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"productCodes","value":"[integer]","description":"Product Code List\n\n To send more than one value, it is necessary to send this parameter several times in the request"},{"key":"modelProductCodes","value":"[integer]","description":"Model Product Code List\n\n To send more than one value, it is necessary to send this parameter several times in the request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": 13,\r\n \"products\": [\r\n {\r\n \"code\": 1234567,\r\n \"name\": \"Test Shirt\",\r\n \"description\": \"T-shirt\",\r\n \"briefDescription\": \"T-shirt\",\r\n \"datasheet\": \"\",\r\n \"isModelProduct\": false,\r\n \"listPrice\": 90,\r\n \"netPrice\": 90,\r\n \"simulatedNetValue\": 90,\r\n \"points\": 90,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"defaultProductCode\": 11111,\r\n \"productsClassifications\": [\r\n { \r\n \"code\": 15,\r\n \"name\": \"Others\",\r\n \"values\": [\r\n {\r\n \"code\": 2,\r\n \"name\": \"Accessory\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsTags\": [\r\n {\r\n \"linkType\": 3,\r\n \"linkURL\": \"www.example.com\",\r\n \"imageUrl\": \"http://[address_da_application]/Pages/Imagens/Fotos/[hash_da_foto].png\",\r\n \"imagePosition\": \"Top of image\"\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": 2,\r\n \"description\": \"Buy it now!\"\r\n },\r\n \"blockReason\": {\r\n \"shortDescription\": \"Only in store\",\r\n \"fullDescription\": \"Product can only be purchased in physical store\"\r\n },\r\n \"multipleSaleRestriction\": 1\r\n },\r\n {\r\n \"code\": 50,\r\n \"name\": \"Nude Brulée Enamel, 9ml\",\r\n \"description\": \"Nude Brulée Enamel, 9ml\",\r\n \"briefDescription\": \"Enamel, 9ml\",\r\n \"datasheet\": \"without datasheet\",\r\n \"isModelProduct\": false,\r\n \"listPrice\": 94,\r\n \"netPrice\": 94,\r\n \"simulatedNetValue\": 94,\r\n \"points\": 94,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false, \r\n \"isAvailable\": false,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 13,\r\n \"name\": \"Appliances\",\r\n \"values\": [\r\n {\r\n \"code\": 71,\r\n \"name\": \"Fridges\"\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 18,\r\n \"name\": \"Makeup\",\r\n \"values\": [\r\n {\r\n \"code\": 5,\r\n \"name\": \"Base\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"blockReason\": {\r\n \"shortDescription\": \"Test lock\",\r\n \"fullDescription\": \"Blocked for presentation of functionality.\"\r\n },\r\n \"multipleSaleRestriction\": 1\r\n },\r\n {\r\n \"code\": 90000,\r\n \"name\": \"Enamel Line 1\",\r\n \"description\": \"Line intended for the female public in general\",\r\n \"briefDescription\": \"Line for the female audience\",\r\n \"datasheet\": \"Various ages/classes and styles\",\r\n \"isModelProduct\": true,\r\n \"listPrice\": 94,\r\n \"netPrice\": 94,\r\n \"simulatedNetValue\": 94,\r\n \"points\": 0,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 8,\r\n \"name\": \"Perfumery\",\r\n \"values\": [\r\n {\r\n \"code\": 85,\r\n \"name\": \"QA Perfumes\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"multipleSaleRestriction\": 0\r\n },\r\n {\r\n \"code\": 90003,\r\n \"name\": \"QA Seal Test\",\r\n \"description\": \"QA\",\r\n \"briefDescription\": \"QA\",\r\n \"datasheet\": \"QA test\",\r\n \"isModelProduct\": true,\r\n \"points\": 0,\r\n \"profitabilityBeforePromotion\": false, \r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"multipleSaleRestriction\": 0\r\n }\r\n ]\r\n }"}],"_postman_id":"08b856ed-9e77-4d85-8b87-62848030dffb"},{"name":"Consult product","id":"040b59a6-401b-4ad8-9387-8163ee28030d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/product?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=[integer]&geoStrCode=[integer]&cycle=<integer>&dimensionCode=[integer]&dimensionValue=[integer]&modelProductCodes=<integer>","urlObject":{"path":["api","product"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Distribution center code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p><strong>Mandatory</strong></p>\n<p> Function code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Commercial model code.</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"comStrCode","value":"[integer]"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geoStrCode","value":"[integer]"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p>Product dimension code. </p>\n<p> This parameter is directly related to the <code>dimensionValue</code> parameter. </p>\n<p> E.g.: 1, 2, 3</p>\n","type":"text/plain"},"key":"dimensionCode","value":"[integer]"},{"description":{"content":"<p>Product dimension value. </p>\n<p> E.g.: 1, 2, 3</p>\n","type":"text/plain"},"key":"dimensionValue","value":"[integer]"},{"description":{"content":"<p>Code(s) of the model product(s). </p>\n<p> For each code, you need to send a <code>modelProductCodes</code> parameter:</p>\n<p> &amp;modelProductCodes=&amp;modelProductCodes=</p>\n","type":"text/plain"},"key":"modelProductCodes","value":"<integer>"}],"variable":[]}},"response":[{"id":"17affeb1-e108-400f-875f-296fe35bf0b1","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/product?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=<integer>&geoStrCode=<integer>&cycle=<integer>&dimensionCode=<integer>&dimensionValue=<integer>&modelProductCodes=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","product"],"query":[{"key":"distributionCenterCode","value":"<integer>","description":"**Mandatory**\n\n Distribution center code."},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n Commercial model code."},{"key":"comStrCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geoStrCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"dimensionCode","value":"<integer>","description":"Product dimension code. \n\n This parameter is directly related to the `dimensionValue` parameter. \n\n E.g.: 1, 2, 3"},{"key":"dimensionValue","value":"<integer>","description":"Product dimension value. \n\n E.g.: 1, 2, 3"},{"key":"modelProductCodes","value":"<integer>","description":"Code(s) of the model product(s). \n\n For each code, you need to send a `modelProductCodes` parameter:\n\n &amp;modelProductCodes=<integer>&amp;modelProductCodes=<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": \"Product code\",\r\n \"name\": \"Product name\",\r\n \"description\": \"Product description\",\r\n \"briefDescription\": \"Product brief description\",\r\n \"datasheet\": \"Product datasheet\",\r\n \"isModelProduct\": \"Indicates if it is a model product\",\r\n \"listPrice\": \"Product table price\",\r\n \"netPrice\": \"Net product price\",\r\n \"simulatedNetValue\": \"Simulated product net price\",\r\n \"points\": \"Points earned with the purchase of the product\",\r\n \"profitability\": \"Product profitability\",\r\n \"simulatedProfitability\": \"Simulated Product Profitability\",\r\n \"profitabilityBeforePromotion\": \"Indicates whether profitability is calculated before applying promotion\",\r\n \"isPriceFrom\": \"Indicates if the product price is\",\r\n \"isAvailable\": \"Indicates if the product is available\",\r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // It must be included in multiples of x,\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsTags\": [ // Product Tag List\r\n {\r\n \"linkType\": \"Type of link\", // 1 - No Link, 2 - Product Details, 3 - External Link\r\n \"linkURL\": \"link URL\",\r\n \"imageUrl\": \"Image URL\",\r\n \"imagePosition\": \"Image Position\" // 1 - Top of the Image, 2 - Bottom of the Image\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": \"Quantity of the product to be purchased via &#39;Compra Fácil&#39;\",\r\n \"description\": \"Description of &#39;Easy Buy&#39;\"\r\n },\r\n \"productBlockReason\": {\r\n \"shortDescription\": \"Shortcut reason for product cut\",\r\n \"fullDescription\": \"Full reason for product cut\"\r\n },\r\n \"unitMeasurementType\": [\r\n {\r\n \"id\": \"Unit of measurement type code\", // Possible values in Glossary (Units of Measure for Product)\r\n \"description\": \"Description of the unit of measure\",\r\n \"location\": \"Location\"\r\n }\r\n ],\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\"\r\n }"},{"id":"c9609653-3634-441b-9af9-7b15b0de20d4","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/product?distributionCenterCode=<integer>&functionCode=<integer>&businessModelCode=<integer>&comStrCode=<integer>&geoStrCode=<integer>&cycle=<integer>&dimensionCode=[integer]&dimensionValue=[integer]&modelProductCodes=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","product"],"query":[{"key":"distributionCenterCode","value":"<integer>","description":"**Mandatory**\n\n Distribution center code."},{"key":"functionCode","value":"<integer>","description":"**Mandatory**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n Commercial model code."},{"key":"comStrCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geoStrCode","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"dimensionCode","value":"[integer]","description":"Product dimension code. \n\n This parameter is directly related to the `dimensionValue` parameter. \n\n E.g.: 1, 2, 3"},{"key":"dimensionValue","value":"[integer]","description":"Product dimension value. \n\n E.g.: 1, 2, 3"},{"key":"modelProductCodes","value":"<integer>","description":"Code(s) of the model product(s). \n\n For each code, you need to send a `modelProductCodes` parameter:\n\n &amp;modelProductCodes=<integer>&amp;modelProductCodes=<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"code\": 52,\r\n \"name\": \"Enamel 52, 9ml\",\r\n \"description\": \"Enamel 52, 9ml\",\r\n \"briefDescription\": \"Enamel 52\",\r\n \"datasheet\": \"Enamel 52, Silk Base, 9ml\",\r\n \"isModelProduct\": false,\r\n \"listPrice\": 51,\r\n \"netPrice\": 51,\r\n \"points\": 51,\r\n \"simulatedNetValue\": 51,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"multipleSaleRestriction\": 1,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 18,\r\n \"name\": \"Makeup\", \r\n \"values\": [\r\n {\r\n \"code\": 5,\r\n \"name\": \"Base\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsTags\": [\r\n {\r\n \"linkType\": 3,\r\n \"linkURL\": \"www.example.com\",\r\n \"imageUrl\": \"http://[address_da_application]/Pages/Imagens/Fotos/[hash_da_foto].png\",\r\n \"imagePosition\": \"Top of image\"\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": 2,\r\n \"description\": \"Buy it now!\"\r\n },\r\n \"productBlockReason\": {\r\n \"shortDescription\": \"Only in store\",\r\n \"fullDescription\": \"Product can only be purchased in the physical store\"\r\n },\r\n \"unitMeasurementType\": [\r\n {\r\n \"id\": 1,\r\n \"description\": \"item\",\r\n \"location\": \"en-US\"\r\n },\r\n {\r\n \"id\": 1,\r\n \"description\": \"un\",\r\n \"location\": \"es-CL\"\r\n },\r\n {\r\n \"id\": 1,\r\n \"description\": \"un\",\r\n \"location\": \"pt-BR\"\r\n }\r\n ],\r\n \"quantityUnitMeasurement\": 1,\r\n \"pricePerUnitMeasurement\": 51\r\n }"}],"_postman_id":"040b59a6-401b-4ad8-9387-8163ee28030d"},{"name":"Browse products by name","id":"d7f0f846-0357-48a4-9c8f-d57fe1a46a57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/products/name?cycle=<integer>&name=<string>&page=<integer>&pageSize=<integer>","urlObject":{"path":["api","products","name"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Product's name.</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[{"id":"4297ffde-063d-473b-ae6e-9787a578e0e8","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/products/name?cycle=<integer>&name=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","products","name"],"query":[{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"name","value":"<string>","description":"**(Mandatory)**\n\n Product&#39;s name."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": \"Total quantity of products returned\",\r\n \"products\": [ // List of returned products\r\n {\r\n \"code\": \"Product code\",\r\n \"name\": \"Product name\",\r\n \"isModelProduct\": \"Indicates if it is a model product\",\r\n \"profitabilityBeforePromotion\": \"Indicates whether profitability is calculated before applying promotion\"\r\n }\r\n ]\r\n }"},{"id":"1cf26e0b-f62c-4202-9e5a-7ba815a771d6","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/products/name?cycle=<integer>&name=<string>&page=<integer>&pageSize=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","products","name"],"query":[{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"name","value":"<string>","description":"**(Mandatory)**\n\n Product&#39;s name."},{"key":"page","value":"<integer>","description":"Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": 1,\r\n \"products\": [\r\n {\r\n \"code\": 90002,\r\n \"name\": \"Men&#39;s fragrance 100 ml\",\r\n \"isModelProduct\": true,\r\n \"profitabilityBeforePromotion\": false\r\n }\r\n ]\r\n }"}],"_postman_id":"d7f0f846-0357-48a4-9c8f-d57fe1a46a57"},{"name":"See product details","id":"ca694903-69b6-40eb-a9f8-c26adb9f8e69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/products/:id/details?isModelProduct=<boolean>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>","urlObject":{"path":["api","products",":id","details"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Indicates if it is a model product.</p>\n","type":"text/plain"},"key":"isModelProduct","value":"<boolean>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> business model code</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geographicalStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Distribution center code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"}],"variable":[{"id":"6520adcd-b55a-48ce-ba65-a55ac318a7a0","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Product identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"7d5f3c91-84ac-42c6-8474-e5aeabae9d50","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/products/:id/details?isModelProduct=<boolean>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","products",":id","details"],"query":[{"key":"isModelProduct","value":"<boolean>","description":"**(Mandatory)**\n\n Indicates if it is a model product."},{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Distribution center code."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Product identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"product\": {\r\n \"code\": \"Product code\",\r\n \"name\": \"Product name\",\r\n \"description\": \"Product description\",\r\n \"briefDescription\": \"Product brief description\",\r\n \"datasheet\": \"Product datasheet\",\r\n \"isModelProduct\": \"Indicates if it is a model product\",\r\n \"listPrice\": \"Product table price\",\r\n \"netPrice\": \"Net product price\",\r\n \"simulatedNetValue\": \"Simulated product net price\",\r\n \"points\": \"Points earned with the purchase of the product\",\r\n \"profitability\": \"Product profitability\",\r\n \"simulatedProfitability\": \"Simulated Product Profitability\",\r\n \"profitabilityBeforePromotion\": \"Indicates whether profitability is calculated before applying promotion\",\r\n \"isPriceFrom\": \"Indicates if the product price is\",\r\n \"isAvailable\": \"Indicates if the product is available\",\r\n \"defaultProductCode\": \"Default product code\",\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsTags\": [ // Product Tag List\r\n {\r\n \"linkType\": \"Link Type\", // 1 - No Link, 2 - Product Details, 3 - External Link\r\n \"linkURL\": \"link URL\",\r\n \"imageUrl\": \"Image URL\",\r\n \"imagePosition\": \"Image Position\" // 1 - Top of the Image, 2 - Bottom of the Image\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": \"Quantity of the product to be purchased via &#39;Compra Fácil&#39;\",\r\n \"description\": \"Description of &#39;Easy Buy&#39;\"\r\n },\r\n \"productBlockReason\": {\r\n \"shortDescription\": \"Shortcut reason for product cut\",\r\n \"fullDescription\": \"Full reason for product cut\"\r\n },\r\n \"multipleSaleRestriction\": \"Multiple sales quantity the product has\" // Must be included in multiples of x\r\n },\r\n \"relatedProducts\": [ // List of products related to the returned product\r\n {\r\n \"code\": \"Product code\",\r\n \"name\": \"Product name\",\r\n \"description\": \"Product description\",\r\n \"briefDescription\": \"Product brief description\",\r\n \"datasheet\": \"Product datasheet\",\r\n \"isModelProduct\": \"Indicates if it is a model product\",\r\n \"listPrice\": \"Product table price\",\r\n \"netPrice\": \"Net product price\",\r\n \"simulatedNetValue\": \"Simulated product net price\",\r\n \"points\": \"Points earned with the purchase of the product\",\r\n \"profitability\": \"Product profitability\",\r\n \"simulatedProfitability\": \"Simulated Product Profitability\",\r\n \"profitabilityBeforePromotion\": \"Indicates whether profitability is calculated before applying promotion\",\r\n \"isPriceFrom\": \"Indicates if the product price is\",\r\n \"isAvailable\": \"Indicates if the product is available\",\r\n \"defaultProductCode\": \"Default product code\",\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsTags\": [ // Product Tag List \r\n {\r\n \"linkType\": \"Link Type\",\r\n \"linkURL\": \"link URL\",\r\n \"imageUrl\": \"Image URL\",\r\n \"imagePosition\": \"Image Position\"\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": \"Quantity of the product to be purchased via &#39;Compra Fácil&#39;\",\r\n \"description\": \"Description of &#39;Easy Buy&#39;\"\r\n },\r\n \"productBlockReason\": {\r\n \"shortDescription\": \"Short reason for product blocking\",\r\n \"fullDescription\": \"Full reason for product blocking\"\r\n },\r\n \"multipleSaleRestriction\": \"Multiple sales quantity the product has\" // Must be included in multiples of x\r\n }\r\n ], \r\n \"productDimensions\": [ // Dimensions of the returned product\r\n {\r\n \"code\": \"Dimension code\",\r\n \"name\": \"Dimension name\",\r\n \"values\": [ // Dimension values\r\n {\r\n \"code\": \"Dimension value code\",\r\n \"name\": \"Dimension value name\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"},{"id":"5d07fe63-4270-4374-bffa-97b296cdfb6d","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/products/:id/details?isModelProduct=<boolean>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","products",":id","details"],"query":[{"key":"isModelProduct","value":"<boolean>","description":"**(Mandatory)**\n\n Indicates if it is a model product."},{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Distribution center code."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Product identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"product\": {\r\n \"code\": 90002,\r\n \"name\": \"Men&#39;s fragrance 100 ml\",\r\n \"description\": \"Remarkable perfume with imported active ingredients.\",\r\n \"briefDescription\": \"Outstanding perfume.\",\r\n \"isModelProduct\": true,\r\n \"listPrice\": 53,\r\n \"netPrice\": 53,\r\n \"simulatedNetValue\": 53,\r\n \"points\": 0,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"defaultProductCode\": 51,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 8,\r\n \"name\": \"Perfumery\",\r\n \"values\": [\r\n {\r\n \"code\": 85,\r\n \"name\": \"QA Perfumes\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsTags\": [\r\n {\r\n \"linkType\": 3,\r\n \"linkURL\": \"www.example.com\",\r\n \"imageUrl\": \"http://[address_da_application]/Pages/Imagens/Fotos/[hash_da_foto].png\",\r\n \"imagePosition\": \"Top of image\"\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": 2,\r\n \"description\": \"Buy it now!\"\r\n },\r\n \"productBlockReason\": {\r\n \"shortDescription\": \"Only in store\",\r\n \"fullDescription\": \"Product can only be purchased in physical store\"\r\n },\r\n \"multipleSaleRestriction\": 0\r\n },\r\n \"relatedProducts\": [],\r\n \"productDimensions\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Color\",\r\n \"values\": [\r\n {\r\n \"code\": 2,\r\n \"name\": \"Norway\"\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"Silk Base\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"}],"_postman_id":"ca694903-69b6-40eb-a9f8-c26adb9f8e69"},{"name":"See product promotions","id":"ec9a97a9-b10d-4bdf-b728-5395596fc4b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/product/:id/promotions","urlObject":{"path":["api","product",":id","promotions"],"host":["{{baseUrlLetPrice}}"],"query":[],"variable":[{"id":"7faa20dc-bee5-4469-85a5-ead506c4f8cc","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Product identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"52742992-01ce-4ad0-8714-bee2d8c859cb","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/product/:id/promotions","host":["{{baseUrlLetPrice}}"],"path":["api","product",":id","promotions"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Product identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Promotion code\",\r\n \"name\": \"Promotion name\",\r\n \"text\": \"Description of the promotion\",\r\n \"target\": \"Promotion target code\", // 1 - Dealer, 2 - Final Consumer, 3 - Submission of Support Material\r\n \"photoUri\": \"Image URL\",\r\n \"hasProducts\": \"Indicates if the promotion has products\",\r\n \"classifications\": [ // List of promotion ratings\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"concept\": \"Short description of classification\",\r\n \"values\": [ // rank values\r\n {\r\n \"number\": \"Classification number\",\r\n \"value\": \"Rating value\" \r\n }\r\n ]\r\n }\r\n ],\r\n \"display\": \"Indicates whether it should be displayed\",\r\n \"suggest\": \"Indicates whether it should be suggested\",\r\n \"displayMissingItemsToWin\": \"Indicates whether missing items to conquer should be displayed\"\r\n }\r\n ]"},{"id":"a55fca8b-3fb9-4d0b-b0ab-3af10e7cd2f3","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/product/:id/promotions","host":["{{baseUrlLetPrice}}"],"path":["api","product",":id","promotions"],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Product identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 279,\r\n \"name\": \"Promo Bermuda M with Gift\",\r\n \"text\": \"When you buy the Black Jeans Bermuda you get the Gray and White Shirt\",\r\n \"target\": 2,\r\n \"hasProducts\": false,\r\n \"classifications\": [\r\n {\r\n \"code\": \"1\",\r\n \"name\": \"Settlement\",\r\n \"concept\": \"Classification concept\",\r\n \"values\": [ // rank values\r\n {\r\n \"number\": \"2\",\r\n \"value\": \"Summer settlement\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": false \r\n }\r\n ]"}],"_postman_id":"ec9a97a9-b10d-4bdf-b728-5395596fc4b5"},{"name":"Consult product cross selling","id":"60dad1ae-92f2-4acb-8ef8-4b9483089063","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/products/:id/crossSellingProducts?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&top=<integer>","description":"<p>This call is used to query the cross-sell for a product. </p>\n<p> A cross-selling is a set of products that are usually sold together with the product in question.</p>\n","urlObject":{"path":["api","products",":id","crossSellingProducts"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> business model code</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geographicalStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Distribution center code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p>Maximum number of returns desired.</p>\n","type":"text/plain"},"key":"top","value":"<integer>"}],"variable":[{"id":"2406f4c6-d83b-48a9-83d4-31bf5e03c9a4","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Product identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"ef129a05-ccb9-430d-87bd-f13e1d9c66ab","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/products/:id/crossSellingProducts?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&top=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","products",":id","crossSellingProducts"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Distribution center code."},{"key":"top","value":"<integer>","description":"Maximum number of returns desired."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Product identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": \"Total quantity of products returned\",\r\n \"products\": [ // List of returned products\r\n {\r\n \"code\": \"Product code\",\r\n \"name\": \"Product name\",\r\n \"description\": \"Product description\",\r\n \"briefDescription\": \"Product brief description\",\r\n \"datasheet\": \"Product datasheet\",\r\n \"isModelProduct\": \"Indicates if it is a model product\",\r\n \"listPrice\": \"Product table price\",\r\n \"netPrice\": \"Net product price\",\r\n \"simulatedNetValue\": \"Simulated product net price\",\r\n \"points\": \"Points earned with the purchase of the product\",\r\n \"profitability\": \"Product profitability\",\r\n \"simulatedProfitability\": \"Simulated Product Profitability\",\r\n \"profitabilityBeforePromotion\": \"Indicates whether profitability is calculated before applying promotion\",\r\n \"isPriceFrom\": \"Indicates if the product price is\",\r\n \"isAvailable\": \"Indicates if the product is available\",\r\n \"defaultProductCode\": \"Default product code\",\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ], \r\n \"productsTags\": [ // Product Tag List\r\n {\r\n \"linkType\": \"Link Type\", // 1 - No Link, 2 - Product Details, 3 - External Link\r\n \"linkURL\": \"link URL\",\r\n \"imageUrl\": \"Image URL\",\r\n \"imagePosition\": \"Image Position\" // 1 - Top of the Image, 2 - Bottom of the Image\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": \"Quantity of the product to be purchased via &#39;Compra Fácil&#39;\",\r\n \"description\": \"Description of &#39;Easy Buy&#39;\"\r\n },\r\n \"blockReason\": {\r\n \"shortDescription\": \"Shortcut reason for product cut\",\r\n \"fullDescription\": \"Full reason for product cut\"\r\n },\r\n \"multipleSaleRestriction\": \"Multiple sales quantity the product has\" // Must be included in multiples of x\r\n }\r\n ],\r\n \"productsStructures\": [ // List of product structures\r\n {\r\n \"code\": \"Product structure code\",\r\n \"name\": \"Product structure name\",\r\n \"children\": [ // List of child structures\r\n {\r\n \"code\": \"Product structure code\",\r\n \"name\": \"Product structure name\",\r\n \"children\": [ // List of net structures. so on\r\n {}\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productDimensions\": [ // Dimensions of the returned product\r\n {\r\n \"code\": \"Dimension code\",\r\n \"name\": \"Dimension name\", \r\n \"values\": [ // Dimension values\r\n {\r\n \"code\": \"Dimension value code\",\r\n \"name\": \"Dimension value name\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"},{"id":"f3d6e19e-6ed8-4510-8d4f-af8a16a65943","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/products/:id/crossSellingProducts?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&top=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","products",":id","crossSellingProducts"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Distribution center code."},{"key":"top","value":"<integer>","description":"Maximum number of returns desired."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Product identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": 3,\r\n \"products\": [\r\n {\r\n \"code\": 1234567,\r\n \"name\": \"Test Shirt\",\r\n \"description\": \"T-shirt\",\r\n \"briefDescription\": \"T-shirt\",\r\n \"datasheet\": \"\",\r\n \"isModelProduct\": false,\r\n \"listPrice\": 90,\r\n \"netPrice\": 90,\r\n \"simulatedNetValue\": 90,\r\n \"points\": 90,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"defaultProductCode\": 11111,\r\n \"productsClassifications\": [\r\n { \r\n \"code\": 15,\r\n \"name\": \"Others\",\r\n \"values\": [\r\n {\r\n \"code\": 2,\r\n \"name\": \"Accessory\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsTags\": [\r\n {\r\n \"linkType\": 1,\r\n \"linkURL\": \"www.example.com\",\r\n \"imageUrl\": \"http://[address_da_application]/Pages/Imagens/Fotos/[hash_da_foto].png\",\r\n \"imagePosition\": \"Top of image\"\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": 2,\r\n \"description\": \"Buy it now!\"\r\n },\r\n \"blockReason\": {\r\n \"shortDescription\": \"Only in store\",\r\n \"fullDescription\": \"Product can only be purchased in physical store\"\r\n },\r\n \"multipleSaleRestriction\": 1\r\n },\r\n {\r\n \"code\": 50,\r\n \"name\": \"Nude Brulée Enamel, 9ml\",\r\n \"description\": \"Nude Brulée Enamel, 9ml\",\r\n \"briefDescription\": \"Enamel, 9ml\",\r\n \"datasheet\": \"without datasheet\",\r\n \"isModelProduct\": false,\r\n \"listPrice\": 94,\r\n \"netPrice\": 94,\r\n \"simulatedNetValue\": 94,\r\n \"points\": 94,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false, \r\n \"isAvailable\": false,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 13,\r\n \"name\": \"Appliances\",\r\n \"values\": [\r\n {\r\n \"code\": 71,\r\n \"name\": \"Fridges\"\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 18,\r\n \"name\": \"Makeup\",\r\n \"values\": [\r\n {\r\n \"code\": 5,\r\n \"name\": \"Base\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"blockReason\": {\r\n \"shortDescription\": \"Test lock\",\r\n \"fullDescription\": \"Blocked for presentation of functionality.\"\r\n },\r\n \"multipleSaleRestriction\": 1\r\n },\r\n {\r\n \"code\": 90000,\r\n \"name\": \"Enamel Line 1\",\r\n \"description\": \"Line intended for the female public in general\",\r\n \"briefDescription\": \"Line for the female audience\",\r\n \"datasheet\": \"Various ages/classes and styles\",\r\n \"isModelProduct\": true,\r\n \"listPrice\": 94,\r\n \"netPrice\": 94,\r\n \"simulatedNetValue\": 94,\r\n \"points\": 0,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 8,\r\n \"name\": \"Perfumery\",\r\n \"values\": [\r\n {\r\n \"code\": 85,\r\n \"name\": \"QA Perfumes\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"multipleSaleRestriction\": 0\r\n },\r\n {\r\n \"code\": 90003,\r\n \"name\": \"QA Seal Test\",\r\n \"description\": \"QA\",\r\n \"briefDescription\": \"QA\",\r\n \"datasheet\": \"QA test\",\r\n \"isModelProduct\": true,\r\n \"points\": 0,\r\n \"profitabilityBeforePromotion\": false, \r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"multipleSaleRestriction\": 0\r\n }\r\n ],\r\n \"productStructrues\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Portfolio\",\r\n \"children\": [\r\n {\r\n \"code\": 6,\r\n \"name\": \"Perfumery\",\r\n \"children\": [\r\n {\r\n \"code\": 7,\r\n \"name\": \"Male\"\r\n },\r\n {\r\n \"code\": 16,\r\n \"name\": \"Female\"\r\n },\r\n {\r\n \"code\": 50,\r\n \"name\": \"Imported perfumes\" \r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 51,\r\n \"name\": \"Cosmetics\",\r\n \"children\": [\r\n {\r\n \"code\": 54,\r\n \"name\": \"Hair Care\"\r\n },\r\n {\r\n \"code\": 55,\r\n \"name\": \"Nail Care\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 8,\r\n \"name\": \"Perfumery\",\r\n \"values\": [\r\n {\r\n \"code\": 85, \r\n \"name\": \"QA Perfumes\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productDimensions\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Color\",\r\n \"values\": [\r\n {\r\n \"code\": 2,\r\n \"name\": \"Norway\"\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"Silk Base\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"}],"_postman_id":"60dad1ae-92f2-4acb-8ef8-4b9483089063"},{"name":"Consult product ranking","id":"4f30f777-fd28-43df-8e1a-0f9211556aea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/products/rankingProducts?cardGroup=<integer>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&top=<integer>","urlObject":{"path":["api","products","rankingProducts"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n","type":"text/plain"},"key":"cardGroup","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> business model code</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geographicalStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Distribution center code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p>Maximum number of returns desired.</p>\n","type":"text/plain"},"key":"top","value":"<integer>"}],"variable":[]}},"response":[{"id":"7ab31cfc-2416-4efe-a814-5c95204cb6e2","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/products/rankingProducts?cardGroup=<integer>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&top=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","products","rankingProducts"],"query":[{"key":"cardGroup","value":"<integer>","description":"**(Mandatory)**"},{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Distribution center code."},{"key":"top","value":"<integer>","description":"Maximum number of returns desired."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": \"Total quantity of products returned\",\r\n \"products\": [ // List of returned products\r\n {\r\n \"code\": \"Product code\",\r\n \"name\": \"Product name\",\r\n \"description\": \"Product description\",\r\n \"briefDescription\": \"Product brief description\",\r\n \"datasheet\": \"Product datasheet\",\r\n \"isModelProduct\": \"Indicates if it is a model product\",\r\n \"listPrice\": \"Product table price\",\r\n \"netPrice\": \"Net product price\",\r\n \"simulatedNetValue\": \"Simulated product net price\",\r\n \"points\": \"Points earned with the purchase of the product\",\r\n \"profitability\": \"Product profitability\",\r\n \"simulatedProfitability\": \"Simulated Product Profitability\",\r\n \"profitabilityBeforePromotion\": \"Indicates whether profitability is calculated before applying promotion\",\r\n \"isPriceFrom\": \"Indicates if the product price is\",\r\n \"isAvailable\": \"Indicates if the product is available\",\r\n \"defaultProductCode\": \"Model product code related to the returned product\",\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n } \r\n ],\r\n \"productsTags\": [ // Product Tag List\r\n {\r\n \"linkType\": \"Link Type\", // 1 - No Link, 2 - Product Details, 3 - External Link\r\n \"linkURL\": \"link URL\",\r\n \"imageUrl\": \"Image URL\",\r\n \"imagePosition\": \"Image Position\" // 1 - Top of the Image, 2 - Bottom of the Image\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": \"Quantity of the product to be purchased via &#39;Compra Fácil&#39;\",\r\n \"description\": \"Description of &#39;Easy Buy&#39;\"\r\n },\r\n \"blockReason\": {\r\n \"shortDescription\": \"Shortcut reason for product cut\",\r\n \"fullDescription\": \"Full reason for product cut\"\r\n }, \r\n \"multipleSaleRestriction\": \"Multiple sales quantity that the product has\", // Must be included in multiples of x\r\n \"unitMeasurementType\": [\r\n {\r\n \"id\": \"Unit of measure type code\", // Possible values in the Glossary (Units of Measure for Product)\r\n \"description\": \"Description of the unit of measure\",\r\n \"location\": \"Location\"\r\n }\r\n ],\r\n \"quantityUnitMeasurement\": \"Quantity of measurement units\",\r\n \"pricePerUnitMeasurement\": \"Price per unit of measure\"\r\n }\r\n ],\r\n \"productsStructures\": [ // List of product structures\r\n {\r\n \"code\": \"Product structure code\",\r\n \"name\": \"Structure name of products\",\r\n \"children\": [ // List of child structures\r\n {}\r\n ]\r\n }\r\n ],\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productDimensions\": [ // Dimensions of the returned product\r\n {\r\n \"code\": \"Dimension code\",\r\n \"name\": \"Name of dimension\",\r\n \"values\": [ // Dimension values\r\n {\r\n \"code\": \"Dimension value code\",\r\n \"name\": \"Dimension value name\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"},{"id":"61c1f19b-d28f-489e-bde5-263464c1725a","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/products/rankingProducts?cardGroup=<integer>&functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&top=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","products","rankingProducts"],"query":[{"key":"cardGroup","value":"<integer>","description":"**(Mandatory)**\n\n"},{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Distribution center code."},{"key":"top","value":"<integer>","description":"Maximum number of returns desired."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": 3,\r\n \"products\": [\r\n {\r\n \"code\": 1234567,\r\n \"name\": \"Test Shirt\",\r\n \"description\": \"T-shirt\",\r\n \"briefDescription\": \"T-shirt\",\r\n \"datasheet\": \"\",\r\n \"isModelProduct\": false,\r\n \"listPrice\": 90,\r\n \"netPrice\": 90,\r\n \"simulatedNetValue\": 90,\r\n \"points\": 90,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"defaultProductCode\": 11111,\r\n \"productsClassifications\": [\r\n { \r\n \"code\": 15,\r\n \"name\": \"Others\",\r\n \"values\": [\r\n {\r\n \"code\": 2,\r\n \"name\": \"Accessory\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsTags\": [\r\n {\r\n \"linkType\": 3,\r\n \"linkURL\": \"www.example.com\",\r\n \"imageUrl\": \"http://[address_da_application]/Pages/Imagens/Fotos/[hash_da_foto].png\",\r\n \"imagePosition\": \"Top of image\"\r\n }\r\n ],\r\n \"productsFastBuy\": {\r\n \"quantity\": 2,\r\n \"description\": \"Buy it now!\"\r\n },\r\n \"blockReason\": {\r\n \"shortDescription\": \"Only in store\",\r\n \"fullDescription\": \"Product can only be purchased in physical store\"\r\n },\r\n \"multipleSaleRestriction\": 1\r\n },\r\n {\r\n \"code\": 50,\r\n \"name\": \"Nude Brulée Enamel, 9ml\",\r\n \"description\": \"Nude Brulée Enamel, 9ml\",\r\n \"briefDescription\": \"Enamel, 9ml\",\r\n \"datasheet\": \"without datasheet\",\r\n \"isModelProduct\": false,\r\n \"listPrice\": 94,\r\n \"netPrice\": 94,\r\n \"simulatedNetValue\": 94,\r\n \"points\": 94,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false, \r\n \"isAvailable\": false,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 13,\r\n \"name\": \"Appliances\",\r\n \"values\": [\r\n {\r\n \"code\": 71,\r\n \"name\": \"Fridges\"\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 18,\r\n \"name\": \"Makeup\",\r\n \"values\": [\r\n {\r\n \"code\": 5,\r\n \"name\": \"Base\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"blockReason\": {\r\n \"shortDescription\": \"Test lock\",\r\n \"fullDescription\": \"Blocked for presentation of functionality.\"\r\n },\r\n \"multipleSaleRestriction\": 1\r\n },\r\n {\r\n \"code\": 90000,\r\n \"name\": \"Enamel Line 1\",\r\n \"description\": \"Line intended for the female public in general\",\r\n \"briefDescription\": \"Line for the female audience\",\r\n \"datasheet\": \"Various ages/classes and styles\",\r\n \"isModelProduct\": true,\r\n \"listPrice\": 94,\r\n \"netPrice\": 94,\r\n \"simulatedNetValue\": 94,\r\n \"points\": 0,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 8,\r\n \"name\": \"Perfumery\",\r\n \"values\": [\r\n {\r\n \"code\": 85,\r\n \"name\": \"QA Perfumes\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"multipleSaleRestriction\": 0\r\n },\r\n {\r\n \"code\": 90003,\r\n \"name\": \"QA Seal Test\",\r\n \"description\": \"QA\",\r\n \"briefDescription\": \"QA\",\r\n \"datasheet\": \"QA test\",\r\n \"isModelProduct\": true,\r\n \"points\": 0,\r\n \"profitabilityBeforePromotion\": false, \r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"multipleSaleRestriction\": 0\r\n }\r\n ],\r\n \"productStructrues\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Portfolio\",\r\n \"children\": [\r\n {\r\n \"code\": 6,\r\n \"name\": \"Perfumery\",\r\n \"children\": [\r\n {\r\n \"code\": 7,\r\n \"name\": \"Male\"\r\n },\r\n {\r\n \"code\": 16,\r\n \"name\": \"Female\"\r\n },\r\n {\r\n \"code\": 50,\r\n \"name\": \"Imported perfumes\" \r\n }\r\n ]\r\n },\r\n {\r\n \"code\": 51,\r\n \"name\": \"Cosmetics\",\r\n \"children\": [\r\n {\r\n \"code\": 54,\r\n \"name\": \"Hair Care\"\r\n },\r\n {\r\n \"code\": 55,\r\n \"name\": \"Nail Care\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 8,\r\n \"name\": \"Perfumery\",\r\n \"values\": [\r\n {\r\n \"code\": 85, \r\n \"name\": \"QA Perfumes\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productDimensions\": [\r\n {\r\n \"code\": 1,\r\n \"name\": \"Color\",\r\n \"values\": [\r\n {\r\n \"code\": 2,\r\n \"name\": \"Norway\"\r\n },\r\n {\r\n \"code\": 3,\r\n \"name\": \"Silk Base\"\r\n }\r\n ]\r\n }\r\n ]\r\n }"}],"_postman_id":"4f30f777-fd28-43df-8e1a-0f9211556aea"}],"id":"54b30717-3396-47c0-93ab-0a26e20feceb","description":"<p>On the products side, there are two features that can be registered and configured through the <strong>LetPrice</strong> Content Manager:</p>\n<h4 id=\"stamp\">Stamp</h4>\n<p><img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetPrice_Cadastro_Selo.png\" alt=\"LetPrice_Selo\" /></p>\n<p> A <code>Seal</code> has:</p>\n<p> -Description;</p>\n<ul>\n<li><p>Coverage;</p>\n</li>\n<li><p>Image. It can be in two positions:</p>\n</li>\n<li><p><code>Top of Image</code> - At the top of the image;</p>\n</li>\n<li><p><code>Below Image</code> - At the bottom of the image. </p>\n</li>\n<li><p>Link. It can be one of three types:</p>\n</li>\n<li><p><code>No Link</code> - No link is assigned to <code>Seal</code>;</p>\n</li>\n<li><p><code>Product Details</code> - A link that redirects the user to the product details page, to which the <code>Stamp</code> is assigned;</p>\n</li>\n<li><p><code>External Link</code> - A link that redirects the user to a page outside the Showcase. </p>\n</li>\n<li><p>The <code>Seal</code> display settings (which products will have the <code>Seal</code> assigned) can be as follows:</p>\n</li>\n<li><p><code>Product</code> - One or more products;</p>\n</li>\n<li><p><code>Classification Group</code> - One or more classification groups;</p>\n</li>\n<li><p><code>Model Product</code> - One model product or more;</p>\n</li>\n</ul>\n<p> In the product query APIs, <code>Stamps</code> are returned in the <code>productsTags</code> object. </p>\n<h4 id=\"easy-buy\">Easy buy</h4>\n<p><img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetPrice_Cadastro_FastBuy.png\" alt=\"LetPrice_FastBuy\" /></p>\n<p> An <code>Easy Buy</code> button has:</p>\n<p> -Description;</p>\n<ul>\n<li>Coverage;</li>\n</ul>\n<p> -Text displayed on the button;</p>\n<ul>\n<li>Number of items that will be added when activating the button;</li>\n</ul>\n<p> -Button display settings (which products will have the button assigned) can be as follows:</p>\n<ul>\n<li><p><code>Product</code> -One or more products;</p>\n</li>\n<li><p><code>Classification Group</code> -One or more classification groups;</p>\n</li>\n<li><p><code>Model Product</code> - One model product or more;</p>\n</li>\n</ul>\n<p> In the product query APIs, the <code>Easy Buy</code> buttons are returned in the <code>productsFastBuy</code> object.</p>\n","_postman_id":"54b30717-3396-47c0-93ab-0a26e20feceb"},{"name":"Promotions","item":[{"name":"Consult promotions","id":"cbdaeb30-99f9-4751-8afb-0f65d63692d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/promotions?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>","urlObject":{"path":["api","promotions"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> business model code</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geographicalStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"}],"variable":[]}},"response":[{"id":"f16d484b-87b6-492f-bea7-bf751d65b137","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/promotions?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","promotions"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": \"Promotion code\",\r\n \"name\": \"Promotion name\",\r\n \"text\": \"Description of the promotion\",\r\n \"target\": \"Promotion target code\", // 1 - Dealer, 2 - Final Consumer, 3 - Submission of Support Material\r\n \"photoUri\": \"Image URI\",\r\n \"hasProducts\": \"Indicates if the promotion has products\",\r\n \"classifications\": [ // List of promotion ratings\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"concept\": \"Classification concept\",\r\n \"values\": [ // rank values\r\n {\r\n \"number\": \"Classification number\",\r\n \"value\": \"Rating value\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"display\": \"Indicates whether it should be displayed\",\r\n \"suggest\": \"Indicates whether it should be suggested\",\r\n \"displayMissingItemsToWin\": \"Indicates whether missing items to conquer should be displayed\"\r\n }\r\n ]"},{"id":"73f69496-dec8-4a7d-bd41-e5140e5cc7cb","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/promotions?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","promotions"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n {\r\n \"code\": 277,\r\n \"name\": \"Women&#39;s Clothing Promo\",\r\n \"text\": \"When buying the White Dress you get 5% off the catalog price.\",\r\n \"target\": 2,\r\n \"hasProducts\": true,\r\n \"classifications\": [\r\n {\r\n \"code\": \"1\",\r\n \"name\": \"Settlement\",\r\n \"concept\": \"Classification concept\",\r\n \"values\": [ // rank values\r\n {\r\n \"number\": \"2\",\r\n \"value\": \"Summer settlement\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true \r\n },\r\n {\r\n \"code\": 278,\r\n \"name\": \"Promo Bermuda P with Toast\",\r\n \"text\": \"When you buy the Black Jeans Bermuda you get the Gray and White Shirt\",\r\n \"target\": 2,\r\n \"hasProducts\": true,\r\n \"classifications\": [\r\n {\r\n \"code\": \"1\",\r\n \"name\": \"Settlement\",\r\n \"concept\": \"Classification concept\",\r\n \"values\": [ // rank values\r\n {\r\n \"number\": \"2\",\r\n \"value\": \"Summer settlement\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": false\r\n },\r\n {\r\n \"code\": 279,\r\n \"name\": \"Promo Bermuda M with Gift\",\r\n \"text\": \"When you buy the Black Jeans Bermuda you get the Gray and White Shirt\",\r\n \"target\": 2,\r\n \"hasProducts\": true,\r\n \"classifications\": [\r\n {\r\n \"code\": \"1\",\r\n \"name\": \"Settlement\",\r\n \"concept\": \"Classification concept\",\r\n \"values\": [ // rank values\r\n {\r\n \"number\": \"2\",\r\n \"value\": \"Summer settlement\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"display\": true,\r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": false\r\n },\r\n {\r\n \"code\": 280,\r\n \"name\": \"Buy over 1500 reais\",\r\n \"text\": \"Orders over 1500 reais have a 10% discount\",\r\n \"target\": 2,\r\n \"hasProducts\": false,\r\n \"classifications\": [\r\n {\r\n \"code\": \"1\",\r\n \"name\": \"Settlement\",\r\n \"concept\": \"Classification concept\",\r\n \"values\": [ // rank values\r\n {\r\n \"number\": \"3\",\r\n \"value\": \"Incentive to burn stock\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"display\": true, \r\n \"suggest\": true,\r\n \"displayMissingItemsToWin\": true\r\n }\r\n ]"}],"_postman_id":"cbdaeb30-99f9-4751-8afb-0f65d63692d0"},{"name":"See promotion products","id":"79b68dea-4290-4aef-b7d9-623570311a4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrlLetPrice}}/api/promotions/:id/products?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&pageNumber=<integer>&pageSize=<integer>","urlObject":{"path":["api","promotions",":id","products"],"host":["{{baseUrlLetPrice}}"],"query":[{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Function code.</p>\n","type":"text/plain"},"key":"functionCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> business model code</p>\n","type":"text/plain"},"key":"businessModelCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of commercial structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"commercialStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Code of geographic structures. </p>\n<p> See <a href=\"fe5cffbe-b8f9-4165-8074-bba2b2db0d36\">Settings</a> Documentation for information on how to use it.</p>\n","type":"text/plain"},"key":"geographicalStructureCodes","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Campaign code.</p>\n","type":"text/plain"},"key":"cycle","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Distribution center code.</p>\n","type":"text/plain"},"key":"distributionCenterCode","value":"<integer>"},{"description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Page number to be returned. </p>\n<p> <strong>Default</strong>: 1</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageNumber","value":"<integer>"},{"description":{"content":"<p>Number of records per page. </p>\n<p> <strong>Default</strong>: 10</p>\n<p> <strong>Observation</strong></p>\n<p> This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. </p>\n<p> In the Header of the response of this request, the parameter <code>x-record-count</code> is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the <code>pageSize</code> parameter, we get how many pages and how many times the query must be called to obtain all registered records.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[{"id":"c0576448-34f3-446c-8715-137b55c0e807","description":{"content":"<p><strong>(Mandatory)</strong></p>\n<p> Product identifier code.</p>\n","type":"text/plain"},"type":"any","value":"<integer>","key":"id"}]}},"response":[{"id":"acfa4f59-b271-485f-95b5-85ed4e7fdd06","name":"Response Parameter Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/promotions/:id/products?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&pageNumber=<integer>&pageSize=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","promotions",":id","products"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Distribution center code."},{"key":"pageNumber","value":"<integer>","description":"**(Mandatory)**\n\n Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Product identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": \"Total quantity of products returned\",\r\n \"products\": [ // List of returned products\r\n {\r\n \"code\": \"Product code\",\r\n \"name\": \"Product name\",\r\n \"description\": \"Product description\",\r\n \"briefDescription\": \"Product brief description\",\r\n \"datasheet\": \"Product datasheet\",\r\n \"isModelProduct\": \"Indicates if it is a model product\",\r\n \"listPrice\": \"Product table price\",\r\n \"netPrice\": \"Net product price\",\r\n \"simulatedNetValue\": \"Simulated product net price\",\r\n \"points\": \"Points earned with the purchase of the product\",\r\n \"profitability\": \"Product profitability\",\r\n \"simulatedProfitability\": \"Simulated Product Profitability\",\r\n \"profitabilityBeforePromotion\": \"Indicates whether profitability is calculated before applying promotion\",\r\n \"isPriceFrom\": \"Indicates if the product price is\",\r\n \"isAvailable\": \"Indicates if the product is available\",\r\n \"productsClassifications\": [ // Product classifications list\r\n {\r\n \"code\": \"Classification code\",\r\n \"name\": \"Classification name\",\r\n \"values\": [ // rank values\r\n {\r\n \"code\": \"Rating value code\",\r\n \"name\": \"Name of rank value\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsBlockReason\": {\r\n \"shortDescription\": \"Summary reason for cutting the product\",\r\n \"fullDescription\": \"Full reason for product cut\"\r\n },\r\n \"multipleSaleRestriction\": \"Multiple sales quantity the product has\" // Must be included in multiples of x\r\n }\r\n ]\r\n }"},{"id":"9415d9bd-a005-4d61-8a22-1cc508c7a7c0","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrlLetPrice}}/api/promotions/:id/products?functionCode=<integer>&businessModelCode=<integer>&commercialStructureCodes=<integer>&geographicalStructureCodes=<integer>&cycle=<integer>&distributionCenterCode=<integer>&pageNumber=<integer>&pageSize=<integer>","host":["{{baseUrlLetPrice}}"],"path":["api","promotions",":id","products"],"query":[{"key":"functionCode","value":"<integer>","description":"**(Mandatory)**\n\n Function code."},{"key":"businessModelCode","value":"<integer>","description":"**(Mandatory)**\n\n business model code"},{"key":"commercialStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of commercial structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"geographicalStructureCodes","value":"<integer>","description":"**(Mandatory)**\n\n Code of geographic structures. \n\n See [Settings](fe5cffbe-b8f9-4165-8074-bba2b2db0d36) Documentation for information on how to use it."},{"key":"cycle","value":"<integer>","description":"**(Mandatory)**\n\n Campaign code."},{"key":"distributionCenterCode","value":"<integer>","description":"**(Mandatory)**\n\n Distribution center code."},{"key":"pageNumber","value":"<integer>","description":"**(Mandatory)**\n\n Page number to be returned. \n\n **Default**: 1\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."},{"key":"pageSize","value":"<integer>","description":"Number of records per page. \n\n **Default**: 10\n\n **Observation**\n\n This query is paginated - it will not return all records registered on the platform. A search must be done in parts, passing the page numbers to obtain all registered records. \n\n In the Header of the response of this request, the parameter `x-record-count` is returned with the total amount of existing records for the informed filters. By dividing this amount by the value informed in the `pageSize` parameter, we get how many pages and how many times the query must be called to obtain all registered records."}],"variable":[{"key":"id","value":"<integer>","description":"**(Mandatory)**\n\n Product identifier code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n \"totalProductCount\": 1,\r\n \"products\": [\r\n {\r\n \"code\": 1234567,\r\n \"name\": \"Test Shirt\",\r\n \"description\": \"T-shirt\",\r\n \"briefDescription\": \"T-shirt\",\r\n \"datasheet\": \"\",\r\n \"isModelProduct\": false,\r\n \"listPrice\": 90,\r\n \"netPrice\": 90,\r\n \"simulatedNetValue\": 90,\r\n \"points\": 90,\r\n \"profitability\": 0,\r\n \"simulatedProfitability\": 0,\r\n \"profitabilityBeforePromotion\": false,\r\n \"isPriceFrom\": false,\r\n \"isAvailable\": false,\r\n \"productsClassifications\": [\r\n {\r\n \"code\": 15,\r\n \"name\": \"Others\",\r\n \"values\": [\r\n {\r\n \"code\": 2,\r\n \"name\": \"Accessory\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"productsBlockReason\": {\r\n \"shortDescription\": \"Only in store\",\r\n \"fullDescription\": \"Product can only be purchased in physical store\"\r\n },\r\n \"multipleSaleRestriction\": 1\r\n }\r\n ]\r\n }\r\n"}],"_postman_id":"79b68dea-4290-4aef-b7d9-623570311a4b"}],"id":"466fcbd1-c9d1-45b8-b338-7b7b10bc4bea","_postman_id":"466fcbd1-c9d1-45b8-b338-7b7b10bc4bea","description":""}],"id":"fd02e063-330c-43a2-bd1e-94b1eb8a46af","description":"<h2 id=\"authentication\">Authentication</h2>\n<p> <strong>LetPrice</strong> APIs are completely public. Therefore, no token types are needed to call them. </p>\n<p> <strong>Heads up</strong></p>\n<p> The settings are loaded into the application's cache, which is updated at a certain time interval. </p>\n<h2 id=\"letprice-content-manager\">LetPrice Content Manager</h2>\n<p> <img src=\"https://geradev.blob.core.windows.net/images/en-Us/LetPrice_MenuGeral.png\" alt=\"LetPrice_MenuGeral\" /></p>\n<p> Through this manager, it is possible to create and edit a series of showcase features. A brief explanation of each follows. </p>\n<h4 id=\"stores\"><a href=\"#afc4d1a3-8e7f-4edb-b264-f8e2536df68b\">Stores</a></h4>\n<h6 id=\"our-stores\">Our stores</h6>\n<p> You can create a search area for available stores. Time, service and delivery information will be visible for each store, if configured. </p>\n<h6 id=\"services\">Services</h6>\n<p> For each store, you can register and consult the services offered (Delivery, Wi-Fi, etc.). </p>\n<h4 id=\"pages\"><a href=\"#8eb3ca4c-391f-45e9-8020-e7fca962c466\">Pages</a></h4>\n<h6 id=\"home\">Home</h6>\n<p> <strong>Home</strong>is the main page of<strong>LetPrice</strong>. </p>\n<h6 id=\"internal-screen\">Internal Screen</h6>\n<p> The other pages are considered internal screens. </p>\n<h4 id=\"products\"><a href=\"#ac293daf-9b69-42c1-97dd-5d929ae2e216\">Products</a></h4>\n<h6 id=\"stamp\">Stamp</h6>\n<p> A <strong>Stamp</strong> is an image applied to the image of a product, to highlight a special situation (product on sale, new product etc). </p>\n<h6 id=\"easy-buy\">Easy buy</h6>\n<p> <strong>Purcha Fácil</strong> is a feature that allows, with one click, to add a pre-set quantity of a product to the cart.</p>\n","_postman_id":"fd02e063-330c-43a2-bd1e-94b1eb8a46af"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c91936c9-67e9-4ca1-ab55-a3eaa842158a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"56d97381-9ca6-47b0-adbd-a52b706a4abb"}}]}