{"info":{"_postman_id":"f8f2afe1-3d91-41a1-870a-0e0cfd55d106","name":"Hageman - REST API","description":"<html><head></head><body><p>The Hageman REST API is a collection of multiple datasources that can be accessed by various requests using a <code>formdata</code> or <code>json</code> format.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Please add your authentication to the header of each request:<br><code>api-key</code>: The username to connect to<br><code>api-secret</code>: A SHA-265 encoded password to access the username<br><code>api-administration</code>: The administration to be used<br><code>cache-control</code> no-cache</p>\n<h1 id=\"requests\">Requests</h1>\n<p>A collection can have one or more of the following request types:</p>\n<ul>\n<li><p><code>GET</code>: for reading data</p>\n<ul>\n<li>URL only, no body required</li>\n</ul>\n</li>\n<li><p><code>POST</code>: for creating data</p>\n<ul>\n<li><code>formdata</code> or <code>json</code> body format</li>\n</ul>\n</li>\n<li><p><code>PATCH</code>: for updating data</p>\n<ul>\n<li><p><code>json</code> body format</p>\n</li>\n<li><p><em>Or use the</em> <code>_POST_</code> <em>type and manipulate by adding</em> <code>_'_method' =&gt; 'PATCH'_</code> <em>to your</em> <code>_formdata_</code></p>\n</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"list-requests\">List requests</h1>\n<p>List requests can be sent with additional GET parameters:</p>\n<ul>\n<li><p><code>page</code>: the page to request</p>\n</li>\n<li><p><code>pageSize</code>: size of pagination to return (min: 10 | max: 100)</p>\n</li>\n<li><p><code>_filter</code>: filter to apply to the request - see Filtering &amp; Sorting</p>\n</li>\n<li><p><code>_sort</code>: sort to apply to the request - see Filtering &amp; Sorting</p>\n</li>\n</ul>\n<p>In the response of a list request will always have the following entries:</p>\n<ul>\n<li><p><code>rows</code>: the paginated result of entries</p>\n</li>\n<li><p><code>total</code>: the total of entries</p>\n</li>\n<li><p><code>_page</code>: the requested page</p>\n</li>\n<li><p><code>_pageSize</code>: the given size of the pagination</p>\n</li>\n<li><p><code>_lastPage</code>: the last page that has results</p>\n</li>\n<li><p><code>_nextPage</code>: the number of the next page OR <code>null</code> of there is no next page</p>\n</li>\n<li><p><code>_filter</code>: the filter used on the request - see Filtering &amp; Sorting</p>\n</li>\n<li><p><code>_sort</code>: the sort used on the request - see Filtering &amp; Sorting</p>\n</li>\n</ul>\n<h1 id=\"filtering-sorting\">Filtering &amp; Sorting</h1>\n<p>Each list request can be filtered and sorted. These should be <code>GET</code> parameters with the following format:</p>\n<h2 id=\"filtering\">Filtering</h2>\n<p>The parameter for filtering is <code>_filter</code><br>The fields that can be filtered are the same as returned inside the <code>rows</code> array in the response.</p>\n<p>The format for the <code>_filter</code> parameter is as follows:</p>\n<p><strong>Simple</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>'_filter' =&gt; [  \n    {field} =&gt; {value}, \n    ...  \n]  \n\n</code></pre><p><strong>Advanced</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>'_filter' =&gt; [  \n    {field} =&gt; [  \n        {operator} =&gt; {value}  \n    ],  \n    ...\n]  \n\n</code></pre><p>A filtered field can hold multiple operators and values. This will be implemented as <code>'{field} {operator[1]} {value[1]} AND {field} {operator[2]} {value[2]}'</code>, in other words a field has to meet ALL conditions.<br>If a field should meet ANY condition a listed value on the operator should be provided. This will be implemented, when no operator provided, as: <code>'{field} in {listed value}'</code> or if an operator is provided: <code>'{field} {operator} {listed value 1} OR {field} {operator} {listed value 2}'</code>.</p>\n<p>If a field is an object in the response, it should be in dotted format in the <code>_filter</code> parameter, for example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>...'date': { \n    'invoice': '2020-01-01 12:00:00' \n    ...\n}\n\n</code></pre><p>should be requested as:<br>[<code>_filter</code>][<code>date.invoice</code>][<code>equals</code>]=<code>2020-01-01 12:00:00</code></p>\n<p>If a field is a list of objects (multidimentsional) in the response, it should be in dotted <strong>singular</strong> format in the <code>_filter</code> parameter, for example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>...'items' [ \n    { \n        'type': 'product', \n        'number': 'TST_001'\n        ... \n    } \n]...  \n\n</code></pre><p>should be requested as:<br>[<code>_filter</code>][<code>item.type</code>][<code>equals</code>]=<code>product</code></p>\n<h3 id=\"value-types\">Value types</h3>\n<ul>\n<li><p>a simple (search) string: <code>'search'</code> | <em>default operator</em> <code>_matches_</code></p>\n</li>\n<li><p>a listed string: <code>'value1, value2, value3'</code> | <em>default operator</em> <code>_in_</code></p>\n</li>\n<li><p>a null search: <code>'_NULL_'</code> | <em>default operator</em> <code>_IS NULL_</code></p>\n</li>\n<li><p>an empty search: <code>'_EMPTY_'</code> | <em>default operator</em> <code>_equals_</code> <em>search for</em> <code>_''_</code></p>\n</li>\n<li><p>a boolean search (<code>true</code>/<code>false</code>): <code>_TRUE_</code>/<code>_FALSE_</code> | <em>default operator</em> <code>_equals_</code></p>\n</li>\n</ul>\n<h3 id=\"operators\">Operators</h3>\n<p><strong>ranges</strong></p>\n<ul>\n<li><p><code>between</code>: requires a listed string with exactly 2 values (from, till) | <em>verifies that a column's value is between two values</em></p>\n</li>\n<li><p><code>notBetween</code>: requires a listed string with exactly 2 values (from, till) | <em>verifies that a column's value is NOT between two values</em></p>\n</li>\n</ul>\n<p><strong>general</strong></p>\n<ul>\n<li><p><code>endsWith</code>: <em>verify that a column's value ends with a specific value</em></p>\n</li>\n<li><p><code>startsWith</code>: <em>verify that a column's value starts with a specific value</em></p>\n</li>\n<li><p><code>matches</code>: <em>verify that a column's value contains a specific value</em></p>\n</li>\n<li><p><code>equals</code>: <em>verify that a column's value is equal to a specific value</em></p>\n</li>\n<li><p><code>not</code>: <em>verify that a column's value is NOT equal to a specific value</em></p>\n</li>\n<li><p><code>gt</code>: <em>verify that a column's value is greater than a specific value</em></p>\n</li>\n<li><p><code>gte</code>: <em>verify that a column's value is greater than- or equal to a specific value</em></p>\n</li>\n<li><p><code>lt</code>: <em>verify that a column's value is lower than a specific value</em></p>\n</li>\n<li><p><code>lte</code>: <em>verify that a column's value is lower than- or equal to a specific value</em></p>\n</li>\n</ul>\n<p><strong>special</strong></p>\n<ul>\n<li><p><code>column</code>: requires value (column name) | <em>verify that a column's value is equal to another column's value</em></p>\n</li>\n<li><p><code>gtColumn</code>: requires value (column name) | <em>verify that a column's value is greater than another column's value</em></p>\n</li>\n<li><p><code>gteColumn</code>: requires value (column name) | <em>verify that a column's value is greater than- or equal to another column's value</em></p>\n</li>\n<li><p><code>ltColumn</code>: requires value (column name) | <em>verify that a column's value is lower than another column's value</em></p>\n</li>\n<li><p><code>lteColumn</code>: requires value (column name) | <em>verify that a column's value is lower than- or equal to another column's value</em></p>\n</li>\n<li><p><code>date</code>: requires value (yyyy-mm-dd) | <em>compare a column's value against a date</em></p>\n</li>\n<li><p><code>gtDate</code>: requires value (yyyy-mm-dd) | <em>verify that a column's value is greater than a specific date</em></p>\n</li>\n<li><p><code>gteDate</code>: requires value (yyyy-mm-dd) | <em>verify that a column's value is greater than- or equal to a specific date</em></p>\n</li>\n<li><p><code>ltDate</code>: requires value (yyyy-mm-dd) | <em>verify that a column's value is lower than a specific date</em></p>\n</li>\n<li><p><code>lteDate</code>: requires value (yyyy-mm-dd) | <em>verify that a column's value is lower than- or equal to a specific date</em></p>\n</li>\n<li><p><code>day</code>: requires value (01_31) | <em>compare a column's value against a specific day of a month</em></p>\n</li>\n<li><p><code>gtDay</code>: requires value (01_31) | <em>verify that a column's value is greater than a specific day of a month</em></p>\n</li>\n<li><p><code>gteDay</code>: requires value (01_31) | <em>verify that a column's value is greater than- or equal to a specific day of a month</em></p>\n</li>\n<li><p><code>ltDay</code>: requires value (01_31) | <em>verify that a column's value is lower than a specific day of a month</em></p>\n</li>\n<li><p><code>lteDay</code>: requires value (01_31) | <em>verify that a column's value is lower than- or equal to a specific day of a month</em></p>\n</li>\n<li><p><code>month</code>: requires value (01_12) | <em>compare a column's value against a specific month of a year</em></p>\n</li>\n<li><p><code>gtMonth</code>: requires value (01_12) | <em>verify that a column's value is greater than a specific month of a year</em></p>\n</li>\n<li><p><code>gteMonth</code>: requires value (01_12) | <em>verify that a column's value is greater than- or equal to a specific month of a year</em></p>\n</li>\n<li><p><code>ltMonth</code>: requires value (01_12) | <em>verify that a column's value is lower than a specific month of a year</em></p>\n</li>\n<li><p><code>lteMonth</code>: requires value (01_12) | <em>verify that a column's value is lower than- or equal to a specific month of a year</em></p>\n</li>\n<li><p><code>time</code>: requires value (hh:mm) | <em>compare a column's value against a specific time</em></p>\n</li>\n<li><p><code>gtTime</code>: requires value (hh:mm) | <em>verify that a column's value is greater than a specific time</em></p>\n</li>\n<li><p><code>gteTime</code>: requires value (hh:mm) | <em>verify that a column's value is greater than- or equal to a specific time</em></p>\n</li>\n<li><p><code>ltTime</code>: requires value (hh:mm) | <em>verify that a column's value is lower than a specific time</em></p>\n</li>\n<li><p><code>lteTime</code>: requires value (hh:mm) | <em>verify that a column's value is lower than- or equal to a specific time</em></p>\n</li>\n<li><p><code>year</code>: requires value (year) | <em>compare a column's value against a specific year</em></p>\n</li>\n<li><p><code>gtYear</code>: requires value (year) | <em>verify that a column's value is greater than a specific year</em></p>\n</li>\n<li><p><code>gteYear</code>: requires value (year) | <em>verify that a column's value is greater than- or equal to a specific year</em></p>\n</li>\n<li><p><code>ltYear</code>: requires value (year) | <em>verify that a column's value is lower than a specific year</em></p>\n</li>\n<li><p><code>lteYear</code>: requires value (year) | <em>verify that a column's value is lower than- or equal to a specific year</em></p>\n</li>\n</ul>\n<h2 id=\"sorting\">Sorting</h2>\n<p>The parameter for sorting is <code>_sort</code><br>The fields that can be sorted are the same as returned inside the <code>rows</code> array in the response.</p>\n<p>The format for the <code>_sort</code> parameter is as follows:</p>\n<p><strong>Simple</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>'_sort' =&gt; {field} \n\n</code></pre><p><strong>Advanced</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>'_sort' =&gt; [  \n    {field} =&gt; {direction},  \n    {field},  \n    ...\n]  \n\n</code></pre><p>It is possible to do a simple sort. The single field will then be sorted as ascending (default).<br>It is also possible to do an advanced sort. An array of fields to sort on with a direction, which is default ascending if a direction is not provided. So when an array of just fields is provided these fields will all be sorted ascending.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>The REST API returns the general HTTP status codes together with response:</p>\n<ul>\n<li><p><code>200</code> (OK) result based on request - see 'response examples' below</p>\n</li>\n<li><p><code>204</code> (No content) always empty</p>\n</li>\n<li><p><code>401</code> (Unauthorized) <code>error</code> entry</p>\n</li>\n<li><p><code>403</code> (Forbidden) <code>error</code> entry</p>\n</li>\n<li><p><code>422</code> (Unprocessable Entity) <code>error</code> entries</p>\n</li>\n</ul>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>There is currently no limit to the number of requests a user can send. However, the question is to deal with this responsibly.<br>Instead of a limit a bottleneck is used. This means that per request that is sent consecutively, there will be a higher delay.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Requests","slug":"requests"},{"content":"List requests","slug":"list-requests"},{"content":"Filtering & Sorting","slug":"filtering-sorting"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"9162076","collectionId":"f8f2afe1-3d91-41a1-870a-0e0cfd55d106","publishedId":"TWDTNK5X","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-02-16T07:46:17.000Z"},"item":[{"name":"Administrations","item":[{"name":"administrations","id":"39e33392-1d44-443a-a5f3-d3ef8d81b8c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","description":"<p>required</p>\n","type":"text"},{"key":"api-secret","value":"{password}","description":"<p>required</p>\n","type":"text"}],"url":"https://rest.hageman.nl:8181/administrations","description":"<p>List multiple administrations for authenticated user</p>\n","urlObject":{"path":["administrations"],"host":["https://rest.hageman.nl:8181"],"query":[{"disabled":true,"description":{"content":"<p>(optional) integer</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>(optional) integer|min:10|max:100</p>\n","type":"text/plain"},"key":"pageSize","value":"10"},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_filter","value":null},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_sort","value":null}],"variable":[]}},"response":[{"id":"b44a0799-a29b-4486-9bc0-6cdbb7f2c303","name":"administrations","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{key}","description":"required","type":"text"},{"key":"api-secret","value":"{secret}","description":"required","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/administrations","host":["https://rest.hageman.nl:8181"],"path":["administrations"],"query":[{"key":"page","value":"1","description":"(optional) integer","disabled":true},{"key":"pageSize","value":"10","description":"(optional) integer|min:10|max:100","disabled":true},{"key":"_filter","value":null,"description":"(optional) array","type":"text","disabled":true},{"key":"_sort","value":null,"description":"(optional) array","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 13 Nov 2020 08:04:31 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.1.8"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Length","value":"174"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"rows\": [\n        {\n            \"administration\": 990001,\n            \"name\": \"!!Test Administratie!!\",\n            \"active\": true,\n            \"capabilities\": [\n                {\n                    \"gate\": \"card-requests\",\n                    \"permission\": \"crudlimt\"\n                }\n            ]\n        }\n    ],\n    \"total\": 1,\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": [],\n    \"_sort\": []\n}"}],"_postman_id":"39e33392-1d44-443a-a5f3-d3ef8d81b8c9"}],"id":"ebbda6b5-d334-4535-ac49-b32c7c09ec0e","description":"<p>The 'administration' collection is used to view or manage the administrations allowed to access with the authenticated user.</p>\n","event":[{"listen":"prerequest","script":{"id":"fde5475a-5169-4ba3-b63b-4f9a813630e0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"88f4f16a-045c-4866-a7e4-061f89344a3f","type":"text/javascript","exec":[""]}}],"_postman_id":"ebbda6b5-d334-4535-ac49-b32c7c09ec0e"},{"name":"Card Requests","item":[{"name":"card-request","id":"c962fda1-d823-436c-9d1c-a162a513b752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","type":"text","value":"{username}"},{"key":"api-secret","type":"text","value":"{password}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"url":"https://rest.hageman.nl:8181/card-request/{orderId}","description":"<p>Read a single card request by order id</p>\n","urlObject":{"path":["card-request","{orderId}"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"61e8c763-e741-4182-8cb6-aeb05499fb2a","name":"card-request","originalRequest":{"method":"GET","header":[{"key":"api-key","type":"text","value":"{key}"},{"key":"api-secret","type":"text","value":"{secret}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"url":"https://rest.hageman.nl:8181/card-request/1111"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Jan 2021 15:12:47 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_id\": \"1111\",\n    \"status\": \"W\",\n    \"serial_number\": \"\",\n    \"track_and_trace\": \"\"\n}"}],"_postman_id":"c962fda1-d823-436c-9d1c-a162a513b752"},{"name":"card-requests","id":"7cc120c3-17d8-40f8-8264-e84ed4d6391c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":"https://rest.hageman.nl:8181/card-requests","description":"<p>List multiple card requests<br /><em>allows <code>_filter</code> and <code>_sort</code> parameters</em></p>\n","urlObject":{"path":["card-requests"],"host":["https://rest.hageman.nl:8181"],"query":[{"disabled":true,"description":{"content":"<p>(optional) integer</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>(optional) integer|min:10|max:100</p>\n","type":"text/plain"},"key":"pageSize","value":"10"},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_filter","value":null},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_sort","value":null}],"variable":[]}},"response":[{"id":"1d9c8c44-8d4d-4fba-b6e4-bc846edf032c","name":"List specific order id with fulfilled status","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/card-requests?_filter[order_id][equals]=1113&_filter[status][equals]=F","host":["https://rest.hageman.nl:8181"],"path":["card-requests"],"query":[{"key":"_filter[order_id][equals]","value":"1113"},{"key":"_filter[status][equals]","value":"F"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 19 Jan 2021 10:20:02 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_id\": \"1113\",\n            \"status\": \"F\",\n            \"serial_number\": \"8931081020120298334\",\n            \"delivery_date\": \"2021-01-20\",\n            \"track_and_trace\": \"\"\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": {\n        \"order_id\": {\n            \"equals\": \"1113\"\n        },\n        \"status\": {\n            \"equals\": \"F\"\n        }\n    },\n    \"_sort\": []\n}"},{"id":"2049f966-2d6c-433c-bcbf-7a4f078a676e","name":"List all with specific delivery date","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/card-requests?_filter[delivery_date]=2021-01-20","host":["https://rest.hageman.nl:8181"],"path":["card-requests"],"query":[{"key":"_filter[delivery_date]","value":"2021-01-20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 19 Jan 2021 06:13:18 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_id\": \"1113\",\n            \"status\": \"F\",\n            \"serial_number\": \"8931081020120298334\",\n            \"delivery_date\": \"2021-01-20\",\n            \"track_and_trace\": \"\"\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": {\n        \"status\": \"F\",\n        \"delivery_date\": []\n    },\n    \"_sort\": []\n}"},{"id":"4c0666c8-821e-4a8a-9713-ed44b92070c5","name":"List specific order ids","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/card-requests?_filter[order_id]=1111,1112,1113","host":["https://rest.hageman.nl:8181"],"path":["card-requests"],"query":[{"key":"_filter[order_id]","value":"1111,1112,1113"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 19 Jan 2021 06:11:41 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 3,\n    \"rows\": [\n        {\n            \"order_id\": \"1111\",\n            \"status\": \"W\",\n            \"serial_number\": \"\",\n            \"track_and_trace\": \"\"\n        },\n        {\n            \"order_id\": \"1112\",\n            \"status\": \"W\",\n            \"serial_number\": \"\",\n            \"track_and_trace\": \"\"\n        },\n        {\n            \"order_id\": \"1113\",\n            \"status\": \"F\",\n            \"serial_number\": \"8931081020120298334\",\n            \"delivery_date\": \"2021-01-20\",\n            \"track_and_trace\": \"\"\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": {\n        \"order_id\": \"1111,1112,1113\"\n    },\n    \"_sort\": []\n}"},{"id":"6352313c-0217-42c9-adc5-56d6bef8ad26","name":"card-requests","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{key}","type":"text"},{"key":"api-secret","value":"{secret}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://rest.hageman.nl:8181/card-requests","host":["https://rest.hageman.nl:8181"],"path":["card-requests"],"query":[{"key":"page","value":null,"description":"(optional) integer","type":"text","disabled":true},{"key":"pageSize","value":null,"description":"(optional) integer|min:10|max:100","type":"text","disabled":true},{"key":"_filter","value":null,"description":"(optional) array","type":"text","disabled":true},{"key":"_sort","value":null,"description":"(optional) array","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Jan 2021 15:10:33 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_id\": \"1111\",\n            \"status\": \"W\",\n            \"serial_number\": \"\",\n            \"track_and_trace\": \"\"\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": [],\n    \"_sort\": []\n}"}],"_postman_id":"7cc120c3-17d8-40f8-8264-e84ed4d6391c"},{"name":"card-request","id":"d4e7812c-5a84-4d9a-a683-b0ac6fb25837","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"","type":"text","description":"<p>required | string | max:30</p>\n","disabled":true},{"key":"amount","value":"","type":"text","description":"<p>optional | integer | max:9999 |default:1</p>\n","disabled":true},{"key":"order_type","value":"","type":"text","description":"<p>required | string | max:20</p>\n","disabled":true},{"key":"proposition","value":"","type":"text","description":"<p>required | string | max:20</p>\n","disabled":true},{"key":"np","value":"","type":"text","description":"<p>optional | string | max:2</p>\n","disabled":true},{"key":"phone_number","value":"","type":"text","description":"<p>optional | string | max:30</p>\n","disabled":true},{"key":"transition_date","value":"","type":"text","description":"<p>optional | date_format:Y-m-d</p>\n","disabled":true},{"key":"article_id","value":"","type":"text","description":"<p>required | string | max:25</p>\n","disabled":true},{"key":"account_number","value":"","type":"text","description":"<p>optional | string | max:30</p>\n","disabled":true},{"key":"company_name","value":"","type":"text","description":"<p>optional | string | max:35</p>\n","disabled":true},{"key":"first_name","value":"","type":"text","description":"<p>required | string | max:12</p>\n","disabled":true},{"key":"last_name","value":"","type":"text","description":"<p>required | string | max:23</p>\n","disabled":true},{"key":"gender","value":"","type":"text","description":"<p>optional | string | max:1</p>\n","disabled":true},{"key":"street","value":"","type":"text","description":"<p>required | string | max:30</p>\n","disabled":true},{"key":"house_number","value":"","type":"text","description":"<p>optional | integer<br /><em>Note: required for countries with house numbers</em></p>\n","disabled":true},{"key":"house_number_extension","value":"","type":"text","description":"<p>optional | string | max:10</p>\n","disabled":true},{"key":"zip","value":"","type":"text","description":"<p>optional | string | max:10<br /><em>Note: required for countries with zip codes</em></p>\n","disabled":true},{"key":"city","value":"","type":"text","description":"<p>required | string | max:35</p>\n","disabled":true},{"key":"region","value":"","type":"text","description":"<p>optional | string | max:35</p>\n","disabled":true},{"key":"address_extra","value":"","type":"text","description":"<p>optional | string | max:35</p>\n","disabled":true},{"key":"state_province","value":"","type":"text","description":"<p>optional | string | max:10 | ISO 3166-2</p>\n","disabled":true},{"key":"country","value":"","type":"text","description":"<p>required | string | max:2 | ISO 3166-1 alpha-2</p>\n","disabled":true},{"key":"data_subscription","value":"","type":"text","description":"<p>optional | string | max:50</p>\n","disabled":true},{"key":"voice_subscription","value":"","type":"text","description":"<p>optional | string | max:50</p>\n","disabled":true}]},"url":"https://rest.hageman.nl:8181/card-request","description":"<p>Create a single card request<br /><em>returns the created card request on success, an error otherwise</em></p>\n","urlObject":{"path":["card-request"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"f878e93e-cc66-4970-80fa-12c3434a46e0","name":"card-request","originalRequest":{"method":"POST","header":[{"key":"api-key","type":"text","value":"{key}"},{"key":"api-secret","type":"text","value":"{secret}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"body":{"mode":"formdata","formdata":[{"key":"order_id","value":"1111","type":"text","description":"required | string | max:30"},{"key":"amount","value":"1","type":"text","description":"optional | integer | max:9999 |default:1"},{"key":"order_type","value":"CW","type":"text","description":"required | string | max:20"},{"key":"proposition","value":"PP","type":"text","description":"required | string | max:20"},{"key":"np","value":"Y","type":"text","description":"optional | string | max:2"},{"key":"phone_number","value":"0612345678","type":"text","description":"optional | string | max:30"},{"key":"transition_date","value":"2021-01-20","type":"text","description":"optional | date_format:Y-m-d"},{"key":"article_id","value":"Trio G","type":"text","description":"required | string | max:25"},{"key":"account_number","value":"99999","type":"text","description":"optional | string | max:30"},{"key":"company_name","value":"The Company","type":"text","description":"optional | string | max:50"},{"key":"first_name","value":"X","type":"text","description":"required | string | max:50"},{"key":"last_name","value":"van der Y","type":"text","description":"required | string | max:50"},{"key":"gender","value":"M","type":"text","description":"optional | string | max:1"},{"key":"street","value":"Teststraat","type":"text","description":"required | string | max:50"},{"key":"house_number","value":"1","type":"text","description":"optional | integer  \n_Note: required for countries with house numbers_"},{"key":"house_number_extension","value":"","type":"text","description":"optional | string | max:10","disabled":true},{"key":"zip","value":"1234 AB","type":"text","description":"optional | string | max:20  \n_Note: required for countries with zip codes_"},{"key":"city","value":"TESTSTAD","type":"text","description":"required | string | max:50"},{"key":"region","value":"","type":"text","description":"optional | string | max:50","disabled":true},{"key":"address_extra","value":"","type":"text","description":"optional | string | max:70","disabled":true},{"key":"state_province","value":"","type":"text","description":"optional | string | max:3","disabled":true},{"key":"country","value":"NL","type":"text","description":"required | string | max:2"},{"key":"data_subscription","value":"","type":"text","description":"optional | string | max:50","disabled":true},{"key":"voice_subscription","value":"","type":"text","description":"optional | string | max:50","disabled":true}]},"url":"https://rest.hageman.nl:8181/card-request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Jan 2021 15:35:01 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_id\": \"1111\",\n    \"status\": \"W\",\n    \"serial_number\": \"\",\n    \"track_and_trace\": \"\"\n}"}],"_postman_id":"d4e7812c-5a84-4d9a-a683-b0ac6fb25837"}],"id":"ee6da382-9783-4dd7-b4cb-c4ac3a8d48b0","description":"<p>The 'card requests' collection is used to view or manage the card requests within the fulfilment layer of Hageman.  </p>\n<p><em>Note: this collection needs an additional encryption key which should be provided in the header.</em>  </p>\n<p><strong>Variables</strong>  </p>\n<ul>\n<li><code>gender</code>: Gender<ul>\n<li><code>F</code>: Female</li>\n<li><code>M</code>: Male</li>\n<li><code>O</code>: Other</li>\n<li><code>U</code>: Unknown</li>\n</ul>\n</li>\n<li><code>np</code>: Number porting<ul>\n<li><code>N</code>: No</li>\n<li><code>Y</code>: Yes</li>\n</ul>\n</li>\n<li><code>status</code>: Status of request<ul>\n<li><code>F</code>: Fulfilled</li>\n<li><code>P</code>: Processing</li>\n<li><code>W</code>: Waiting</li>\n</ul>\n</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"801af630-b67a-439c-84f1-edc66a0c3af3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"54cc14c7-0436-4e20-8046-22543c12fb2a","type":"text/javascript","exec":[""]}}],"_postman_id":"ee6da382-9783-4dd7-b4cb-c4ac3a8d48b0"},{"name":"Card Returns","item":[{"name":"card-return","id":"e201d3b3-495e-4e57-a0d9-0508c1dfe280","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","type":"text","value":"{username}"},{"key":"api-secret","type":"text","value":"{password}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"url":"https://rest.hageman.nl:8181/card-return/{orderId}","description":"<p>Read a single card return by order id</p>\n","urlObject":{"path":["card-return","{orderId}"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"b5972154-9d26-4c48-a1a5-26ada442c677","name":"card-return","originalRequest":{"method":"GET","header":[{"key":"api-key","type":"text","value":"{key}"},{"key":"api-secret","type":"text","value":"{secret}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"url":"https://rest.hageman.nl:8181/card-return/1111"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Jan 2021 08:28:17 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_id\": \"1111\",\n    \"state\": \"V\",\n    \"return_date\": \"2021-01-07\",\n    \"serial_number\": \"1234567890123456789\",\n    \"delivery_date\": \"2021-01-01\"\n}"}],"_postman_id":"e201d3b3-495e-4e57-a0d9-0508c1dfe280"},{"name":"card-returns","id":"ce3bb078-7715-4d76-8f10-3ebee4ea07b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","type":"text","value":"{username}"},{"key":"api-secret","type":"text","value":"{password}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"url":"https://rest.hageman.nl:8181/card-returns","description":"<p>List multiple card returns<br /><em>allows <code>_filter</code> and <code>_sort</code> parameters</em></p>\n","urlObject":{"path":["card-returns"],"host":["https://rest.hageman.nl:8181"],"query":[{"disabled":true,"description":{"content":"<p>(optional) integer</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>(optional) integer|min:10|max:100</p>\n","type":"text/plain"},"key":"pageSize","value":"10"},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_filter","value":null},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_sort","value":null}],"variable":[]}},"response":[{"id":"13bd01cd-fc1c-412a-ab9d-53e808368c44","name":"card-returns","originalRequest":{"method":"GET","header":[{"key":"api-key","type":"text","value":"{key}"},{"key":"api-secret","type":"text","value":"{secret}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://rest.hageman.nl:8181/card-returns","host":["https://rest.hageman.nl:8181"],"path":["card-returns"],"query":[{"key":"page","value":"1","description":"(optional) integer","disabled":true},{"key":"pageSize","value":"10","description":"(optional) integer|min:10|max:100","disabled":true},{"key":"_filter","value":null,"description":"(optional) array","disabled":true},{"key":"_sort","value":null,"description":"(optional) array","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Jan 2021 08:27:52 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_id\": \"1111\",\n            \"state\": \"V\",\n            \"return_date\": \"2021-01-07\",\n            \"serial_number\": \"1234567890123456789\",\n            \"delivery_date\": \"2021-01-01\"\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": \"\",\n    \"_sort\": \"\"\n}"},{"id":"be75f319-0a5a-46cb-8721-6211bbd5d2e0","name":"List processing states","originalRequest":{"method":"GET","header":[{"key":"api-key","type":"text","value":"{username}"},{"key":"api-secret","type":"text","value":"{password}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"url":{"raw":"https://rest.hageman.nl:8181/card-returns?_filter[state]=N,V","host":["https://rest.hageman.nl:8181"],"path":["card-returns"],"query":[{"key":"_filter[state]","value":"N,V"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Jan 2021 06:04:47 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_id\": \"1111\",\n            \"state\": \"V\",\n            \"return_date\": \"2021-01-07\",\n            \"serial_number\": \"1234567890123456789\",\n            \"delivery_date\": \"2021-01-01\"\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": \"\",\n    \"_sort\": \"\"\n}"}],"_postman_id":"ce3bb078-7715-4d76-8f10-3ebee4ea07b8"},{"name":"card-return","id":"0058f1f9-0254-4c54-85da-5f86fd40c101","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"api-key","type":"text","value":"{username}"},{"key":"api-secret","type":"text","value":"{password}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"body":{"mode":"raw","raw":"{\r\n    \"// Comment tricks are allowed\":\"\",\r\n    \r\n    \"state\": \"\", \"// string|max:4\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://rest.hageman.nl:8181/card-return/{orderId}","description":"<p>Update a single card return<br /><em>returns the updated card return on success, an error otherwise</em></p>\n","urlObject":{"path":["card-return","{orderId}"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"e0389562-a111-435f-89fb-bab91e2fed2d","name":"card-return","originalRequest":{"method":"PATCH","header":[{"key":"api-key","type":"text","value":"{key}"},{"key":"api-secret","type":"text","value":"{secret}"},{"key":"api-administration","type":"text","value":"{administration}"},{"key":"api-encryption-key","type":"text","value":"{encryption-key}"}],"body":{"mode":"raw","raw":"{\r\n    \"state\": \"D\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://rest.hageman.nl:8181/card-return/orderId"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Jan 2021 08:26:01 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_id\": \"1111\",\n    \"state\": \"D\",\n    \"return_date\": \"2021-01-07\",\n    \"serial_number\": \"1234567890123456789\",\n    \"delivery_date\": \"2021-01-01\"\n}"}],"_postman_id":"0058f1f9-0254-4c54-85da-5f86fd40c101"}],"id":"418ee78e-3f78-4c21-97fc-8dbe96fbbd16","description":"<p>The 'card returns' collection is used to view or manage the card returns within the fulfilment layer of Hageman.  </p>\n<p><em>Note: this collection needs an additional encryption key which should be provided in the header.</em>  </p>\n<p><strong>Variables</strong>  </p>\n<ul>\n<li><code>state</code>: State of return<ul>\n<li><code>N</code>: In process; No damage</li>\n<li><code>V</code>: In process; Visisble damage</li>\n<li><code>D</code>: Processed; Destroyed</li>\n<li><code>R</code>: Processed; Re-used</li>\n</ul>\n</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"da65deb3-347c-4c02-9fb2-84810b63ffa2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"48d29d77-24f2-4ee9-a80a-65297a12141b","type":"text/javascript","exec":[""]}}],"_postman_id":"418ee78e-3f78-4c21-97fc-8dbe96fbbd16"},{"name":"Debtors","item":[{"name":"debtor","id":"1e460ddf-371d-4d90-a49b-82bb75497610","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","description":"<p>required</p>\n","type":"text"},{"key":"api-secret","value":"{password}","description":"<p>required</p>\n","type":"text"},{"key":"api-administration","value":"{administration}","description":"<p>required</p>\n","type":"text"}],"url":"https://rest.hageman.nl:8181/debtor/{debtorNumber}","description":"<p>Read a single debtor by debtor number</p>\n","urlObject":{"path":["debtor","{debtorNumber}"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"b04d9d39-7333-4c83-a231-926362acf76b","name":"debtor","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{key}","description":"required","type":"text"},{"key":"api-secret","value":"{secret}","description":"required","type":"text"},{"key":"api-administration","value":"{administration}","description":"required","type":"text"}],"url":"https://rest.hageman.nl:8181/debtor/201900001"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 14 Dec 2020 14:03:55 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"debtorNumber\": \"201900001\",\n    \"administration\": 990001,\n    \"name\": \"The Company\",\n    \"contact\": \"X van der Y\",\n    \"phoneNumber\": \"0612345678\",\n    \"emailAddress\": \"someone@example.nl\",\n    \"credit\": {\n        \"vatNumber\": \"NL\",\n        \"limit\": 1000,\n        \"limitReached\": false\n    },\n    \"address\": {\n        \"street\": \"Teststraat\",\n        \"streetNumber\": \"1\",\n        \"addition\": \"\",\n        \"address2\": \"\",\n        \"postalCode\": \"1234 AB\",\n        \"city\": \"TESTSTAD\",\n        \"country\": \"NL\"\n    }\n}"}],"_postman_id":"1e460ddf-371d-4d90-a49b-82bb75497610"},{"name":"debtors","id":"de980129-6598-4913-93c2-7f7b4247b73e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","description":"<p>required</p>\n","type":"text"},{"key":"api-secret","value":"{password}","description":"<p>required</p>\n","type":"text"},{"key":"api-administration","value":"{administration}","description":"<p>required</p>\n","type":"text"}],"url":"https://rest.hageman.nl:8181/debtors","description":"<p>List multiple debtors<br /><em>allows <code>_filter</code> and <code>_sort</code> parameters</em></p>\n","urlObject":{"path":["debtors"],"host":["https://rest.hageman.nl:8181"],"query":[{"disabled":true,"description":{"content":"<p>(optional) integer</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>(optional) integer|min:10|max:100</p>\n","type":"text/plain"},"key":"pageSize","value":"10"},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_filter","value":""},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_sort","value":null}],"variable":[]}},"response":[{"id":"2affe2cc-5559-43d8-a446-c7dddb378a4a","name":"debtors","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{key}","description":"required","type":"text"},{"key":"api-secret","value":"{secret}","description":"required","type":"text"},{"key":"api-administration","value":"{administration}","description":"required","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/debtors","host":["https://rest.hageman.nl:8181"],"path":["debtors"],"query":[{"key":"page","value":"1","description":"(optional) integer","disabled":true},{"key":"pageSize","value":"1","description":"(optional) integer|min:10|max:100","disabled":true},{"key":"_filter","value":"","description":"(optional) array","type":"text","disabled":true},{"key":"_sort","value":null,"description":"(optional) array","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 14 Dec 2020 14:05:07 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"debtorNumber\": \"201900001\",\n            \"administration\": 990001,\n            \"name\": \"The Company\",\n            \"contact\": \"X van der Y\",\n            \"phoneNumber\": \"0612345678\",\n            \"emailAddress\": \"someone@example.nl\",\n            \"credit\": {\n                \"vatNumber\": \"NL\",\n                \"limit\": 1000,\n                \"limitReached\": false\n            },\n            \"address\": {\n                \"street\": \"Teststraat\",\n                \"streetNumber\": \"1\",\n                \"addition\": \"\",\n                \"address2\": \"\",\n                \"postalCode\": \"1234 AB\",\n                \"city\": \"TESTSTAD\",\n                \"country\": \"NL\"\n            }\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 1,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": [],\n    \"_sort\": []\n}"}],"_postman_id":"de980129-6598-4913-93c2-7f7b4247b73e"}],"id":"9d3f4b60-d148-4a79-8bbe-28610dfbaf16","description":"<p>The 'debtors' collection is used to view or manage the debtors within the administration layer of Hageman.</p>\n","event":[{"listen":"prerequest","script":{"id":"fc201507-06d1-4664-8525-56af21f16311","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6f19e496-1fe1-4995-af50-7ef12a345304","type":"text/javascript","exec":[""]}}],"_postman_id":"9d3f4b60-d148-4a79-8bbe-28610dfbaf16"},{"name":"Invoices","item":[{"name":"invoice","id":"64d5e6a0-4aee-4120-b6c2-5f84d0bfcb9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","description":"<p>required</p>\n","type":"text"},{"key":"api-secret","value":"{password}","description":"<p>required</p>\n","type":"text"},{"key":"api-administration","value":"{administration}","description":"<p>required</p>\n","type":"text"}],"url":"https://rest.hageman.nl:8181/invoice/{invoiceNumber}","description":"<p>Read a single invoice by invoice number</p>\n","urlObject":{"path":["invoice","{invoiceNumber}"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"07acab0e-b195-4299-b5cf-d4724953c13b","name":"invoice","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{key}","description":"required","type":"text"},{"key":"api-secret","value":"{secret}","description":"required","type":"text"},{"key":"api-administration","value":"{administration}","description":"required","type":"text"}],"url":"https://rest.hageman.nl:8181/invoice/HGMT202100001"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 14 Dec 2020 15:11:13 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_number\": \"HGMT202100001\",\n    \"administration\": 990001,\n    \"reference\": \"NL1111\",\n    \"subject\": \"\",\n    \"currency\": \"EUR\",\n    \"language\": \"NL\",\n    \"status\": \"Betaald\",\n    \"comment\": \"\",\n    \"digital\": true,\n    \"sent\": true,\n    \"date\": {\n        \"invoice\": \"2021-01-01 15:18\",\n        \"reminder\": null,\n        \"exhortation\": null,\n        \"notice\": null,\n        \"collection\": null,\n        \"payment\": \"2021-01-01 15:18\"\n    },\n    \"heartbeat\": {\n        \"reminder\": 15,\n        \"exhortation\": 7,\n        \"notice\": 7\n    },\n    \"paid\": true,\n    \"payment\": {\n        \"transactionId\": \"ord_abcd12\",\n        \"provider\": \"XX\",\n        \"reference\": \"ord_abcd12\",\n        \"url\": \"\",\n        \"iban\": \"NL00 INGB 0000 0000 00\",\n        \"bic\": \"XXXX\"\n    },\n    \"debtor\": {\n        \"debtorNumber\": \"201900001\",\n        \"administration\": 990001,\n        \"name\": \"The Company\",\n        \"contact\": \"X van der Y\",\n        \"phoneNumber\": \"0612345678\",\n        \"emailAddress\": \"someone@example.nl\",\n        \"credit\": {\n            \"vatNumber\": \"NL\"\n        },\n        \"address\": {\n            \"street\": \"Teststraat\",\n            \"streetNumber\": \"1\",\n            \"addition\": \"\",\n            \"address2\": \"\",\n            \"postalCode\": \"1234 AB\",\n            \"city\": \"TESTSTAD\",\n            \"country\": \"NL\"\n        }\n    },\n    \"items\": [\n        {\n            \"type\": \"product\",\n            \"number\": \"TEST_01\",\n            \"description\": \"Test product\",\n            \"information\": \"\",\n            \"quantity\": 1,\n            \"price\": 5.95,\n            \"vat\": 21.00\n        },\n        {\n            \"type\": \"shipping\",\n            \"number\": \"free_shipping\",\n            \"description\": \"Free shipping\",\n            \"information\": \"\",\n            \"quantity\": 1,\n            \"price\": 0,\n            \"vat\": 0\n        }\n    ]\n}"}],"_postman_id":"64d5e6a0-4aee-4120-b6c2-5f84d0bfcb9a"},{"name":"invoices","id":"2e3f8b7a-64e3-47c9-9710-8540077f2758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","description":"<p>required</p>\n","type":"text"},{"key":"api-secret","value":"{password}","description":"<p>required</p>\n","type":"text"},{"key":"api-administration","value":"{administration}","description":"<p>required</p>\n","type":"text"}],"url":"https://rest.hageman.nl:8181/invoices","description":"<p>List multiple invoices<br /><em>allows <code>_filter</code> and <code>_sort</code> parameters</em></p>\n","urlObject":{"path":["invoices"],"host":["https://rest.hageman.nl:8181"],"query":[{"disabled":true,"description":{"content":"<p>(optional) integer</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>(optional) integer|min:10|max:100</p>\n","type":"text/plain"},"key":"pageSize","value":"10"},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_filter","value":""},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_sort","value":null}],"variable":[]}},"response":[{"id":"8843e24e-a178-424b-9034-f0ee5366ef4e","name":"invoices","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{key}","description":"required","type":"text"},{"key":"api-secret","value":"{secret}","description":"required","type":"text"},{"key":"api-administration","value":"{administration}","description":"required","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/invoices","host":["https://rest.hageman.nl:8181"],"path":["invoices"],"query":[{"key":"page","value":"1","description":"(optional) integer","disabled":true},{"key":"pageSize","value":"10","description":"(optional) integer|min:10|max:100","disabled":true},{"key":"_filter","value":"","description":"(optional) array","disabled":true},{"key":"_sort","value":null,"description":"(optional) array","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 14 Dec 2020 14:20:11 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"invoice_number\": \"HGMT202100001\",\n            \"administration\": 990001,\n            \"reference\": \"NL1111\",\n            \"subject\": \"\",\n            \"currency\": \"EUR\",\n            \"language\": \"NL\",\n            \"status\": \"Betaald\",\n            \"comment\": \"\",\n            \"digital\": true,\n            \"sent\": true,\n            \"date\": {\n                \"invoice\": \"2021-01-01 15:18\",\n                \"reminder\": null,\n                \"exhortation\": null,\n                \"notice\": null,\n                \"collection\": null,\n                \"payment\": \"2021-01-01 15:18\"\n            },\n            \"heartbeat\": {\n                \"reminder\": 15,\n                \"exhortation\": 7,\n                \"notice\": 7\n            },\n            \"paid\": true,\n            \"payment\": {\n                \"transactionId\": \"ord_abcd12\",\n                \"provider\": \"XX\",\n                \"reference\": \"ord_abcd12\",\n                \"url\": \"\",\n                \"iban\": \"NL00 INGB 0000 0000 00\",\n                \"bic\": \"XXXX\"\n            },\n            \"debtor\": {\n                \"debtorNumber\": \"201900001\",\n                \"administration\": 990001,\n                \"name\": \"The Company\",\n                \"contact\": \"X van der Y\",\n                \"phoneNumber\": \"0612345678\",\n                \"emailAddress\": \"someone@example.nl\",\n                \"credit\": {\n                    \"vatNumber\": \"NL\"\n                },\n                \"address\": {\n                    \"street\": \"Teststraat\",\n                    \"streetNumber\": \"1\",\n                    \"addition\": \"\",\n                    \"address2\": \"\",\n                    \"postalCode\": \"1234 AB\",\n                    \"city\": \"TESTSTAD\",\n                    \"country\": \"NL\"\n                }\n            },\n            \"items\": [\n                {\n                    \"type\": \"product\",\n                    \"number\": \"TEST_01\",\n                    \"description\": \"Test product\",\n                    \"information\": \"\",\n                    \"quantity\": 1,\n                    \"price\": 5.95,\n                    \"vat\": 21.00\n                },\n                {\n                    \"type\": \"shipping\",\n                    \"number\": \"free_shipping\",\n                    \"description\": \"Free shipping\",\n                    \"information\": \"\",\n                    \"quantity\": 1,\n                    \"price\": 0,\n                    \"vat\": 0\n                }\n            ]\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": [],\n    \"_sort\": []\n}"}],"_postman_id":"2e3f8b7a-64e3-47c9-9710-8540077f2758"},{"name":"invoice","id":"82c453c9-6d50-405f-9a43-a5ebe463afd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"api-key","value":"{username}","description":"<p>required</p>\n","type":"text"},{"key":"api-secret","value":"{password}","description":"<p>required</p>\n","type":"text"},{"key":"api-administration","value":"{administration}","description":"<p>required</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"prefix","value":"","description":"<p>required | string | max:4</p>\n","type":"text","disabled":true},{"key":"reference","value":"","description":"<p>required | string | max:25</p>\n","type":"text","disabled":true},{"key":"subject","value":"","description":"<p>optional | string | max:50</p>\n","type":"text","disabled":true},{"key":"currency","value":"","description":"<p>optional | string | size:3 | default:EUR</p>\n","type":"text","disabled":true},{"key":"language","value":"","description":"<p>optional | string | size:2 | default:nl</p>\n","type":"text","disabled":true},{"key":"digital","value":"","description":"<p>optional | boolean | default: false</p>\n","type":"text","disabled":true},{"key":"sent","value":"","description":"<p>optional | boolean | default: false</p>\n","type":"text","disabled":true},{"key":"date[invoice]","value":"","description":"<p>required | date_format:Y-m-d H:i:s</p>\n","type":"text","disabled":true},{"key":"date[payment]","value":"","description":"<p>optional | date_format:Y-m-d H:i:s</p>\n","type":"text","disabled":true},{"key":"heartbeat[reminder]","value":"","description":"<p>optional | integer | default: 14</p>\n","type":"text","disabled":true},{"key":"heartbeat[exhortation]","value":"","description":"<p>optional | integer | default: 7</p>\n","type":"text","disabled":true},{"key":"heartbeat[notice]","value":"","description":"<p>optional | integer | default: 7</p>\n","type":"text","disabled":true},{"key":"paid","value":"","description":"<p>optional | boolean | default: false</p>\n","type":"text","disabled":true},{"key":"payment[transactionId]","value":"","description":"<p>optional | string | max:160</p>\n","type":"text","disabled":true},{"key":"payment[provider]","value":"","description":"<p>optional | string | max:35 | default:K.P. Hageman Fulfilment B.V.</p>\n","type":"text","disabled":true},{"key":"payment[reference]","value":"","description":"<p>optional | string | max:70</p>\n","type":"text","disabled":true},{"key":"payment[url]","value":"","description":"<p>optional | string</p>\n","type":"text","disabled":true},{"key":"payment[iban]","value":"","description":"<p>optional | string | max:34</p>\n","type":"text","disabled":true},{"key":"payment[bic]","value":"","description":"<p>optional | string | max:15</p>\n","type":"text","disabled":true},{"key":"debtor[debtorNumber]","value":"","description":"<p>required | string | max:25</p>\n","type":"text","disabled":true},{"key":"debtor[name]","value":"","description":"<p>required | string | max:70</p>\n","type":"text","disabled":true},{"key":"debtor[contact]","value":"","description":"<p>required | string | max:120</p>\n","type":"text","disabled":true},{"key":"debtor[phoneNumber]","value":"","description":"<p>required | string | max:20</p>\n","type":"text","disabled":true},{"key":"debtor[emailAddress]","value":"","description":"<p>required | email | max:250</p>\n","type":"text","disabled":true},{"key":"debtor[credit][vatNumber]","value":"","description":"<p>optional | string | max:20</p>\n","type":"text","disabled":true},{"key":"debtor[address][street]","value":"","description":"<p>required | string | max:70</p>\n","type":"text","disabled":true},{"key":"debtor[address][streetNumber]","value":"","description":"<p>optional | string | max:10</p>\n","type":"text","disabled":true},{"key":"debtor[address][addition]","value":"","description":"<p>optional | string | max:10</p>\n","type":"text","disabled":true},{"key":"debtor[address][address2]","value":"","description":"<p>optional | string | max:100</p>\n","type":"text","disabled":true},{"key":"debtor[address][postalCode]","value":"","description":"<p>optional | string | max:20</p>\n","type":"text","disabled":true},{"key":"debtor[address][city]","value":"","description":"<p>optional | string | max:70</p>\n","type":"text","disabled":true},{"key":"debtor[address][country]","value":"","description":"<p>required | string | max:2</p>\n","type":"text","disabled":true},{"key":"items[*][type]","value":"","description":"<p>required | string | max:30</p>\n","type":"text","disabled":true},{"key":"items[*][number]","value":"","description":"<p>required | string | max:30</p>\n","type":"text","disabled":true},{"key":"items[*][description]","value":"","description":"<p>optional | string | max:100</p>\n","type":"text","disabled":true},{"key":"items[*][information]","value":"","description":"<p>optional | string | max:100</p>\n","type":"text","disabled":true},{"key":"items[*][quantity]","value":"","description":"<p>required | integer</p>\n","type":"text","disabled":true},{"key":"items[*][price]","value":"","description":"<p>required | numeric</p>\n","type":"text","disabled":true},{"key":"items[*][vat]","value":"","description":"<p>optional | numeric</p>\n","type":"text","disabled":true}]},"url":"https://rest.hageman.nl:8181/invoice","description":"<p>Create a single invoice<br /><em>returns the created invoice on success, an error otherwise</em></p>\n","urlObject":{"path":["invoice"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"304bc390-44ba-4f16-8674-9ba1cc73751a","name":"invoice","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"api-key","value":"{key}","description":"required","type":"text"},{"key":"api-secret","value":"{secret}","description":"required","type":"text"},{"key":"api-administration","value":"{administration}","description":"required","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"prefix","value":"HGMT","type":"text","description":"required | string | max:4"},{"key":"reference","value":"NL1111","type":"text","description":"required | string | max:25"},{"key":"subject","value":"","type":"text","description":"optional | string | max:50","disabled":true},{"key":"currency","value":"EUR","type":"text","description":"optional | string | size:3 | default:EUR"},{"key":"language","value":"NL","type":"text","description":"optional | string | size:2 | default:nl"},{"key":"digital","value":"1","type":"text","description":"optional | boolean | default: false"},{"key":"sent","value":"0","type":"text","description":"optional | boolean | default: false"},{"key":"date[invoice]","value":"2021-01-01 15:18:00","type":"text","description":"required | date_format:Y-m-d H:i:s"},{"key":"date[payment]","value":"2021-01-01 15:18:00","type":"text","description":"optional | date_format:Y-m-d H:i:s"},{"key":"heartbeat[reminder]","value":"15","type":"text","description":"optional | integer | default: 14"},{"key":"heartbeat[exhortation]","value":"7","type":"text","description":"optional | integer | default: 7"},{"key":"heartbeat[notice]","value":"7","type":"text","description":"optional | integer | default: 7"},{"key":"paid","value":"1","type":"text","description":"optional | boolean | default: false"},{"key":"payment[transactionId]","value":"ord_abcd12","type":"text","description":"optional | string | max:160"},{"key":"payment[provider]","value":"XX","type":"text","description":"optional | string | max:35 | default:K.P. Hageman Fulfilment B.V."},{"key":"payment[reference]","value":"ord_abcd12","type":"text","description":"optional | string | max:70"},{"key":"payment[url]","value":"","type":"text","description":"optional | string","disabled":true},{"key":"payment[iban]","value":"NL00 INGB 0000 0000 00","type":"text","description":"optional | string | max:34"},{"key":"payment[bic]","value":"XXXX","type":"text","description":"optional | string | max:15"},{"key":"debtor[debtorNumber]","value":"201900001","type":"text","description":"required | string | max:25"},{"key":"debtor[name]","value":"The Company","type":"text","description":"required | string | max:70"},{"key":"debtor[contact]","value":"X van der Y","type":"text","description":"required | string | max:120"},{"key":"debtor[phoneNumber]","value":"0612345678","type":"text","description":"required | string | max:20"},{"key":"debtor[emailAddress]","value":"someone@example.nl","type":"text","description":"required | email | max:250"},{"key":"debtor[credit][vatNumber]","value":"NL","type":"text","description":"optional | string | max:20"},{"key":"debtor[address][street]","value":"Teststraat","type":"text","description":"required | string | max:70"},{"key":"debtor[address][streetNumber]","value":"1","type":"text","description":"optional | string | max:10"},{"key":"debtor[address][addition]","value":"","type":"text","description":"optional | string | max:10","disabled":true},{"key":"debtor[address][address2]","value":"","type":"text","description":"optional | string | max:100","disabled":true},{"key":"debtor[address][postalCode]","value":"1234 AB","type":"text","description":"optional | string | max:20"},{"key":"debtor[address][city]","value":"TESTSTAD","type":"text","description":"optional | string | max:70"},{"key":"debtor[address][country]","value":"NL","type":"text","description":"required | string | max:2"},{"key":"items[0][type]","value":"product","type":"text","description":"required | string | max:30"},{"key":"items[0][number]","value":"TEST_01","type":"text","description":"required | string | max:30"},{"key":"items[0][description]","value":"Test product","type":"text","description":"optional | string | max:100"},{"key":"items[0][information]","value":"","type":"text","description":"optional | string | max:100","disabled":true},{"key":"items[0][quantity]","value":"1","type":"text","description":"required | integer"},{"key":"items[0][price]","value":"5.95","type":"text","description":"required | numeric"},{"key":"items[0][vat]","value":"21.00","type":"text","description":"optional | numeric"}]},"url":"https://rest.hageman.nl:8181/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 15 Dec 2020 14:00:03 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_number\": \"HGMT202100001\",\n    \"administration\": 990001,\n    \"reference\": \"NL1111\",\n    \"subject\": \"\",\n    \"currency\": \"EUR\",\n    \"language\": \"NL\",\n    \"status\": \"Betaald\",\n    \"comment\": \"\",\n    \"digital\": true,\n    \"sent\": true,\n    \"date\": {\n        \"invoice\": \"2021-01-01 15:18\",\n        \"reminder\": null,\n        \"exhortation\": null,\n        \"notice\": null,\n        \"collection\": null,\n        \"payment\": \"2021-01-01 15:18\"\n    },\n    \"heartbeat\": {\n        \"reminder\": 15,\n        \"exhortation\": 7,\n        \"notice\": 7\n    },\n    \"paid\": true,\n    \"payment\": {\n        \"transactionId\": \"ord_abcd12\",\n        \"provider\": \"XX\",\n        \"reference\": \"ord_abcd12\",\n        \"url\": \"\",\n        \"iban\": \"NL00 INGB 0000 0000 00\",\n        \"bic\": \"XXXX\"\n    },\n    \"debtor\": {\n        \"debtorNumber\": \"201900001\",\n        \"administration\": 990001,\n        \"name\": \"The Company\",\n        \"contact\": \"X van der Y\",\n        \"phoneNumber\": \"0612345678\",\n        \"emailAddress\": \"someone@example.nl\",\n        \"credit\": {\n            \"vatNumber\": \"NL\"\n        },\n        \"address\": {\n            \"street\": \"Teststraat\",\n            \"streetNumber\": \"1\",\n            \"addition\": \"\",\n            \"address2\": \"\",\n            \"postalCode\": \"1234 AB\",\n            \"city\": \"TESTSTAD\",\n            \"country\": \"NL\"\n        }\n    },\n    \"items\": [\n        {\n            \"type\": \"product\",\n            \"number\": \"TEST_01\",\n            \"description\": \"Test product\",\n            \"information\": \"\",\n            \"quantity\": 1,\n            \"price\": 5.95,\n            \"vat\": 21.00\n        }\n    ]\n}"},{"id":"b31fabdb-b878-4c90-8e50-24a6163e2ffb","name":"invoice-error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"api-key","value":"{key}","description":"required","type":"text"},{"key":"api-secret","value":"{secret}","description":"required","type":"text"},{"key":"api-administration","value":"{administration}","description":"required","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"prefix","value":"HGMT","description":"required | string | max:4","type":"text"},{"key":"reference","value":"NL1111","description":"required | string | max:25","type":"text"},{"key":"subject","value":"","description":"optional | string | max:50","type":"text","disabled":true},{"key":"currency","value":"EUR","description":"optional | string | size:3 | default:EUR","type":"text"},{"key":"language","value":"NL","description":"optional | string | size:2 | default:nl","type":"text"},{"key":"digital","value":"1","description":"optional | boolean | default: false","type":"text"},{"key":"sent","value":"0","description":"optional | boolean | default: false","type":"text"},{"key":"date[invoice]","value":"2021-01-01 15:18:00","description":"required | date_format:Y-m-d H:i:s","type":"text"},{"key":"date[payment]","value":"2021-01-01 15:18:00","description":"optional | date_format:Y-m-d H:i:s","type":"text"},{"key":"heartbeat[reminder]","value":"15","description":"optional | integer | default: 14","type":"text"},{"key":"heartbeat[exhortation]","value":"7","description":"optional | integer | default: 7","type":"text"},{"key":"heartbeat[notice]","value":"7","description":"optional | integer | default: 7","type":"text"},{"key":"paid","value":"1","description":"optional | boolean | default: false","type":"text"},{"key":"payment[transactionId]","value":"ord_abcd12","description":"optional | string | max:160","type":"text"},{"key":"payment[provider]","value":"XX","description":"optional | string | max:35 | default:K.P. Hageman Fulfilment B.V.","type":"text"},{"key":"payment[reference]","value":"ord_abcd12","description":"optional | string | max:70","type":"text"},{"key":"payment[url]","value":"","description":"optional | string","type":"text","disabled":true},{"key":"payment[iban]","value":"NL00 INGB 0000 0000 00","description":"optional | string | max:34","type":"text"},{"key":"payment[bic]","value":"XXXX","description":"optional | string | max:15","type":"text"},{"key":"debtor[debtorNumber]","value":"201900001","description":"required | string | max:25","type":"text"},{"key":"debtor[name]","value":"The Company","description":"required | string | max:70","type":"text"},{"key":"debtor[contact]","value":"X van der Y","description":"required | string | max:120","type":"text"},{"key":"debtor[phoneNumber]","value":"0612345678","description":"required | string | max:20","type":"text"},{"key":"debtor[emailAddress]","value":"someone@example.nl","description":"required | email | max:250","type":"text"},{"key":"debtor[credit][vatNumber]","value":"NL","description":"optional | string | max:20","type":"text"},{"key":"debtor[address][street]","value":"Teststraat","description":"required | string | max:70","type":"text"},{"key":"debtor[address][streetNumber]","value":"1","description":"optional | string | max:10","type":"text"},{"key":"debtor[address][addition]","value":"","description":"optional | string | max:10","type":"text","disabled":true},{"key":"debtor[address][address2]","value":"","description":"optional | string | max:100","type":"text","disabled":true},{"key":"debtor[address][postalCode]","value":"1234 AB","description":"optional | string | max:20","type":"text"},{"key":"debtor[address][city]","value":"TESTSTAD","description":"optional | string | max:70","type":"text"},{"key":"debtor[address][country]","value":"NL","description":"required | string | max:2","type":"text"},{"key":"items[0][type]","value":"product","description":"required | string | max:30","type":"text"},{"key":"items[0][number]","value":"TEST_01","description":"required | string | max:30","type":"text"},{"key":"items[0][description]","value":"Test product","description":"optional | string | max:100","type":"text"},{"key":"items[0][information]","value":"","description":"optional | string | max:100","type":"text","disabled":true},{"key":"items[0][quantity]","value":"1","description":"required | integer","type":"text"},{"key":"items[0][price]","value":"5.95","description":"required | numeric","type":"text"},{"key":"items[0][vat]","value":"21.00","description":"optional | numeric","type":"text"}]},"url":"https://rest.hageman.nl:8181/invoice"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 15 Dec 2020 14:00:16 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Trying to create a duplicate. Subject \\\"NL1111\\\" already exists for administration \\\"990001\\\".\"\n}"}],"_postman_id":"82c453c9-6d50-405f-9a43-a5ebe463afd9"}],"id":"f3d37935-1c71-45ed-9326-cc1958d9c168","description":"<p>The 'invoices' collection is used to view or manage the invoices within the administration layer of Hageman.</p>\n","event":[{"listen":"prerequest","script":{"id":"b3550049-bf34-4036-a91b-b488906407a2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"432a56f0-c4c7-4d27-a61a-65c06f6add12","type":"text/javascript","exec":[""]}}],"_postman_id":"f3d37935-1c71-45ed-9326-cc1958d9c168"},{"name":"Users","item":[{"name":"user","id":"28b70aed-82d8-47ff-9beb-3ac6d7bd4072","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","description":"<p>required</p>\n","type":"text"},{"key":"api-secret","value":"{password}","description":"<p>required</p>\n","type":"text"}],"url":"https://rest.hageman.nl:8181/user/{username}","description":"<p>Read a single user</p>\n","urlObject":{"path":["user","{username}"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"eb93a63c-61b6-435b-82bf-142ac4743dd7","name":"user","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{key}","description":"required","type":"text"},{"key":"api-secret","value":"{secret}","description":"required","type":"text"}],"url":"https://rest.hageman.nl:8181/user/demo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 15 Dec 2020 15:44:56 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"key\": \"demo\",\n    \"name\": \"Demo account\",\n    \"createdAt\": \"2019-10-21 08:00\",\n    \"updatedAt\": \"2021-01-01 15:00\",\n    \"capabilities\": [\n        {\n            \"administration\": 990001,\n            \"gate\": \"invoices\",\n            \"permission\": \"Create|Read\"\n        }\n    ]\n}"}],"_postman_id":"28b70aed-82d8-47ff-9beb-3ac6d7bd4072"},{"name":"user","id":"61e7e63d-d68f-4b30-b435-28a2d9cc1449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>required</p>\n","key":"api-key","type":"text","value":"{username}"},{"description":"<p>required</p>\n","key":"api-secret","type":"text","value":"{password}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>required | string | max:25</p>\n","key":"key","type":"text","value":"","disabled":true},{"description":"<p>required | string | max:255<br /><em>SHA-265 encoded password is recommended</em></p>\n","key":"secret","type":"text","value":"","disabled":true},{"description":"<p>required | string | max:70</p>\n","key":"name","type":"text","value":"","disabled":true},{"description":"<p>optional | string<br /><em>Comma separated list of IP addresses</em></p>\n","key":"whitelist","type":"text","value":"","disabled":true},{"description":"<p>required | string| max:25</p>\n","key":"capabilities[*][administration]","type":"text","value":"","disabled":true},{"description":"<p>required | string | max:50</p>\n","key":"capabilities[*][gate]","type":"text","value":"","disabled":true},{"description":"<p>required | string | max:8<br />In 'crudlimt' format:<br /><code>crudlimt</code> =&gt; <code>Create</code> | <code>Read</code> | <code>Update</code> | <code>Delete</code> | <code>List</code> | <code>Insert</code> | <code>Modify</code> | <code>Truncate</code></p>\n","key":"capabilities[*][permission]","type":"text","value":"","disabled":true}]},"url":"https://rest.hageman.nl:8181/user","description":"<p>Create a single user<br /><em>returns the created user on success, an error otherwise</em></p>\n","urlObject":{"path":["user"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"65096041-7220-4a93-b45b-c87a67a5c4ac","name":"user","originalRequest":{"method":"POST","header":[{"description":"required","key":"api-key","type":"text","value":"{key}"},{"description":"required","key":"api-secret","type":"text","value":"{secret}"}],"body":{"mode":"formdata","formdata":[{"description":"required | string | max:25","key":"key","type":"text","value":"demo"},{"description":"required | string | max:255  \n_SHA-265 encoded password is recommended_","key":"secret","type":"text","value":"demo"},{"description":"required | string | max:70","key":"name","type":"text","value":"Demo account"},{"description":"optional | string  \n_Comma separated list of IP addresses_","key":"whitelist","type":"text","value":"","disabled":true},{"description":"required | string| max:25","key":"capabilities[0][administration]","type":"text","value":"990001"},{"description":"required | string | max:50","key":"capabilities[0][gate]","type":"text","value":"invoices"},{"description":"required | string | max:8  \nIn 'crudlimt' format:  \n`crudlimt` => `Create` | `Read` | `Update` | `Delete` | `List` | `Insert` | `Modify` | `Truncate`","key":"capabilities[0][permission]","type":"text","value":"r"}]},"url":"https://rest.hageman.nl:8181/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 15 Dec 2020 15:51:43 GMT"},{"key":"Server","value":"Apache/2.4.27 (Win32) mod_fcgid/2.3.9 OpenSSL/1.1.0f PHP/7.1.8"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"key\": \"demo\",\n    \"name\": \"Demo account\",\n    \"createdAt\": \"2019-10-21 08:00\",\n    \"updatedAt\": \"2021-01-01 15:00\",\n    \"capabilities\": [\n        {\n            \"administration\": 990001,\n            \"gate\": \"invoices\",\n            \"permission\": \"Read\"\n        }\n    ]\n}"}],"_postman_id":"61e7e63d-d68f-4b30-b435-28a2d9cc1449"}],"id":"92dc6f86-ba71-41e2-8ba2-75482384da61","description":"<p>The 'users' collection is used to view or manage the REST API users.<br /><strong>Administrators only</strong></p>\n","event":[{"listen":"prerequest","script":{"id":"ea2df8ab-f47d-4032-bd37-d13fc09634b2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"41752b44-3c7e-4f13-96e0-40f5f181f715","type":"text/javascript","exec":[""]}}],"_postman_id":"92dc6f86-ba71-41e2-8ba2-75482384da61"},{"name":"Wholesale Requests","item":[{"name":"wholesale-request","id":"ab976c0f-4328-4741-9afa-3bc34d149b3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":"https://rest.hageman.nl:8181/wholesale-request/{orderNumber}","description":"<p>Read a single wholesale request by order number</p>\n","urlObject":{"path":["wholesale-request","{orderNumber}"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"b96fc4ee-ac97-437a-ba4e-eb892801b68e","name":"wholesale-request","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":"https://rest.hageman.nl:8181/wholesale-request/TST_01"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Mar 2024 10:01:08 GMT"},{"key":"Server","value":"Apache/2.4.56 (Win64) OpenSSL/1.1.1t mod_fcgid/2.3.10-dev"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_number\": \"TST_01\",\n    \"status\": \"F\",\n    \"po_number\": \"TST-0001\",\n    \"company\": \"Hageman\",\n    \"street\": \"Pascalstraat\",\n    \"house_number\": 3,\n    \"house_number_extension\": null,\n    \"zip\": \"3335LS\",\n    \"city\": \"Zwijndrecht\",\n    \"region\": null,\n    \"address_extra\": null,\n    \"state_province\": \"ZH\",\n    \"country\": \"NL\",\n    \"requested_delivery_date\": \"2024-04-30\",\n    \"request_method\": \"REST\",\n    \"requested_at\": \"2024-03-27 10:59:42\",\n    \"shipment_date\": \"2024-03-29\",\n    \"extra_information\": [\n        {\n            \"type\": \"packing-slip\",\n            \"subject\": \"EORI number\",\n            \"value\": \"NL810734308\"\n        },\n        {\n            \"type\": \"packing-slip\",\n            \"subject\": \"Incoterms\",\n            \"value\": \"DAP\"\n        },\n        {\n            \"type\": \"packing-slip\",\n            \"subject\": \"TAG #\",\n            \"value\": \"10001\"\n        },\n        {\n            \"type\": \"proforma\",\n            \"subject\": \"EORI number\",\n            \"value\": \"NL810734308\"\n        },\n        {\n            \"type\": \"proforma\",\n            \"subject\": \"Incoterms\",\n            \"value\": \"DAP\"\n        },\n        {\n            \"type\": \"proforma\",\n            \"subject\": \"TAG #\",\n            \"value\": \"10001\"\n        },\n        {\n            \"type\": \"picklist\",\n            \"subject\": \"Control by\",\n            \"value\": \"Employee X\"\n        }\n    ],\n    \"items\": [\n        {\n            \"portal_id\": \"900001\",\n            \"item_number\": \"K019\",\n            \"quantity\": 20,\n            \"price\": 0.35,\n            \"currency\": \"USD\"\n        }\n    ],\n    \"shipments\": [\n        {\n            \"package_type\": \"DS\",\n            \"length\": 20,\n            \"width\": 20,\n            \"height\": 10,\n            \"weight\": 0.58,\n            \"label_number\": \"JVGL0523813400030236\",\n            \"tracking_url\": \"https://my.dhlparcel.nl/home/tracktrace/JVGL0523813400030236/3335+LS?lang=nl_NL\",\n            \"value\": 0,\n            \"contents\": [\n                {\n                    \"item_number\": \"K410\",\n                    \"item\": \"Alliander - Ind. Gr. ChipSIM - MFF2 - CUG - V4.2.1 RSP\",\n                    \"hs_tariff_code\": \"8523 52 00 00\",\n                    \"description\": \"Sim cards\",\n                    \"quantity\": 20,\n                    \"value\": 0,\n                    \"from_icc\": \"893108332309384241\",\n                    \"till_icc\": \"893108332309384260\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"ab976c0f-4328-4741-9afa-3bc34d149b3a"},{"name":"wholesale-requests","id":"2b57e031-cea0-408e-b8eb-13c78cfeb0d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":"https://rest.hageman.nl:8181/wholesale-requests","description":"<p>List multiple wholesale requests<br /><em>allows</em> <code>__filter_</code> <em>and</em> <code>__sort_</code> <em>parameters</em></p>\n","urlObject":{"path":["wholesale-requests"],"host":["https://rest.hageman.nl:8181"],"query":[{"disabled":true,"description":{"content":"<p>(optional) integer</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>(optional) integer|min:10|max:100</p>\n","type":"text/plain"},"key":"pageSize","value":"10"},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_filter","value":""},{"disabled":true,"description":{"content":"<p>(optional) array</p>\n","type":"text/plain"},"key":"_sort","value":""}],"variable":[]}},"response":[{"id":"10a1cf7f-bbf0-413d-84d1-d5b7408fcbed","name":"List specific order number with fulilled status","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/wholesale-requests?_filter[order_number][equals]=TST_01&_filter[status][equals]=F","host":["https://rest.hageman.nl:8181"],"path":["wholesale-requests"],"query":[{"key":"page","value":"1","type":"text","description":"(optional) integer","disabled":true},{"key":"pageSize","value":"10","type":"text","description":"(optional) integer|min:10|max:100","disabled":true},{"key":"_filter[order_number][equals]","value":"TST_01","description":"(optional) array"},{"key":"_filter[status][equals]","value":"F","description":"(optional) array"},{"key":"_sort","value":"","type":"text","description":"(optional) array","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Mar 2024 09:02:00 GMT"},{"key":"Server","value":"Apache/2.4.56 (Win64) OpenSSL/1.1.1t mod_fcgid/2.3.10-dev"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_number\": \"TST_01\",\n            \"status\": \"F\",\n            \"po_number\": \"TST-0001\",\n            \"company\": \"Hageman\",\n            \"street\": \"Pascalstraat\",\n            \"house_number\": 3,\n            \"house_number_extension\": null,\n            \"zip\": \"3335LS\",\n            \"city\": \"Zwijndrecht\",\n            \"region\": null,\n            \"address_extra\": null,\n            \"state_province\": \"ZH\",\n            \"country\": \"NL\",\n            \"requested_delivery_date\": \"2024-04-30\",\n            \"request_method\": \"REST\",\n            \"requested_at\": \"2024-03-27 10:59:42\",\n            \"shipment_date\": \"2024-03-29\",\n            \"extra_information\": [\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"EORI number\",\n                    \"value\": \"NL810734308\"\n                },\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"Incoterms\",\n                    \"value\": \"DAP\"\n                },\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"TAG #\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"EORI number\",\n                    \"value\": \"NL810734308\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"Incoterms\",\n                    \"value\": \"DAP\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"TAG #\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"type\": \"picklist\",\n                    \"subject\": \"Control by\",\n                    \"value\": \"Employee X\"\n                }\n            ],\n            \"items\": [\n                {\n                    \"portal_id\": \"900001\",\n                    \"item_number\": \"K019\",\n                    \"quantity\": 20,\n                    \"price\": 0.35,\n                    \"currency\": \"USD\"\n                }\n            ],\n            \"shipments\": [\n                {\n                    \"package_type\": \"DS\",\n                    \"length\": 20,\n                    \"width\": 20,\n                    \"height\": 10,\n                    \"weight\": 0.58,\n                    \"label_number\": \"JVGL0523813400030236\",\n                    \"tracking_url\": \"https://my.dhlparcel.nl/home/tracktrace/JVGL0523813400030236/3335+LS?lang=nl_NL\",\n                    \"value\": 0,\n                    \"contents\": [\n                        {\n                            \"item_number\": \"K410\",\n                            \"item\": \"Alliander - Ind. Gr. ChipSIM - MFF2 - CUG - V4.2.1 RSP\",\n                            \"hs_tariff_code\": \"8523 52 00 00\",\n                            \"description\": \"Sim cards\",\n                            \"quantity\": 20,\n                            \"value\": 0,\n                            \"from_icc\": \"893108332309384241\",\n                            \"till_icc\": \"893108332309384260\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": {\n        \"order_number\": {\n            \"equals\": \"TST_01\"\n        },\n        \"status\": {\n            \"equals\": \"F\"\n        }\n    },\n    \"_sort\": []\n}"},{"id":"3fb61686-1ab5-4d71-96c0-de0356b7f4af","name":"List specific shipment label number","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/wholesale-requests?_filter[shipment.label_number][equals]=JVGL0523813400030236","host":["https://rest.hageman.nl:8181"],"path":["wholesale-requests"],"query":[{"key":"page","value":"1","type":"text","description":"(optional) integer","disabled":true},{"key":"pageSize","value":"10","type":"text","description":"(optional) integer|min:10|max:100","disabled":true},{"key":"_filter[shipment.label_number][equals]","value":"JVGL0523813400030236"},{"key":"_sort","value":"","type":"text","description":"(optional) array","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Fri, 29 Mar 2024 09:32:51 GMT"},{"key":"Date","value":"Fri, 29 Mar 2024 09:32:51 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_number\": \"TST_01\",\n            \"status\": \"F\",\n            \"po_number\": \"TST-0001\",\n            \"company\": \"Hageman\",\n            \"street\": \"Pascalstraat\",\n            \"house_number\": 3,\n            \"house_number_extension\": null,\n            \"zip\": \"3335LS\",\n            \"city\": \"Zwijndrecht\",\n            \"region\": null,\n            \"address_extra\": null,\n            \"state_province\": \"ZH\",\n            \"country\": \"NL\",\n            \"requested_delivery_date\": \"2024-04-30\",\n            \"request_method\": \"REST\",\n            \"requested_at\": \"2024-03-27 10:59:42\",\n            \"shipment_date\": \"2024-03-29\",\n            \"extra_information\": [\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"EORI number\",\n                    \"value\": \"NL810734308\"\n                },\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"Incoterms\",\n                    \"value\": \"DAP\"\n                },\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"TAG #\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"EORI number\",\n                    \"value\": \"NL810734308\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"Incoterms\",\n                    \"value\": \"DAP\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"TAG #\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"type\": \"picklist\",\n                    \"subject\": \"Control by\",\n                    \"value\": \"Employee X\"\n                }\n            ],\n            \"items\": [\n                {\n                    \"portal_id\": \"900001\",\n                    \"item_number\": \"K410\",\n                    \"quantity\": 20,\n                    \"price\": 0.35,\n                    \"currency\": \"USD\"\n                }\n            ],\n            \"shipments\": [\n                {\n                    \"package_type\": \"DS\",\n                    \"length\": 20,\n                    \"width\": 20,\n                    \"height\": 10,\n                    \"weight\": 0.58,\n                    \"label_number\": \"JVGL0523813400030236\",\n                    \"tracking_url\": \"https://my.dhlparcel.nl/home/tracktrace/JVGL0523813400030236/3335+LS?lang=nl_NL\",\n                    \"value\": 7,\n                    \"contents\": [\n                        {\n                            \"item_number\": \"K410\",\n                            \"item\": \"Alliander - Ind. Gr. ChipSIM - MFF2 - CUG - V4.2.1 RSP\",\n                            \"hs_tariff_code\": \"8523 52 00 00\",\n                            \"description\": \"Sim cards\",\n                            \"quantity\": 20,\n                            \"value\": 7,\n                            \"from_icc\": \"893108332309384241\",\n                            \"till_icc\": \"893108332309384260\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": {\n        \"shipment.label_number\": {\n            \"equals\": \"JVGL0523813400030236\"\n        }\n    },\n    \"_sort\": []\n}"},{"id":"c67ef771-3d07-4114-862f-9c66f53ba179","name":"List open orders","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/wholesale-requests?_filter[status][not]=F","host":["https://rest.hageman.nl:8181"],"path":["wholesale-requests"],"query":[{"key":"page","value":"1","type":"text","description":"(optional) integer","disabled":true},{"key":"pageSize","value":"10","type":"text","description":"(optional) integer|min:10|max:100","disabled":true},{"key":"_filter[status][not]","value":"F","description":"(optional) array"},{"key":"_sort","value":"","type":"text","description":"(optional) array","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Mar 2024 09:44:40 GMT"},{"key":"Server","value":"Apache/2.4.56 (Win64) OpenSSL/1.1.1t mod_fcgid/2.3.10-dev"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_number\": \"TST_01\",\n            \"status\": \"R\",\n            \"po_number\": \"TST-0001\",\n            \"company\": \"Hageman\",\n            \"street\": \"Pascalstraat\",\n            \"house_number\": 3,\n            \"house_number_extension\": null,\n            \"zip\": \"3335LS\",\n            \"city\": \"Zwijndrecht\",\n            \"region\": null,\n            \"address_extra\": null,\n            \"state_province\": \"ZH\",\n            \"country\": \"NL\",\n            \"requested_delivery_date\": \"2024-04-30\",\n            \"request_method\": \"REST\",\n            \"requested_at\": \"2024-03-27 10:59:42\",\n            \"shipment_date\": null,\n            \"extra_information\": [\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"EORI number\",\n                    \"value\": \"NL810734308\"\n                },\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"Incoterms\",\n                    \"value\": \"DAP\"\n                },\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"TAG #\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"EORI number\",\n                    \"value\": \"NL810734308\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"Incoterms\",\n                    \"value\": \"DAP\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"TAG #\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"type\": \"picklist\",\n                    \"subject\": \"Control by\",\n                    \"value\": \"Employee X\"\n                }\n            ],\n            \"items\": [\n                {\n                    \"portal_id\": \"900001\",\n                    \"item_number\": \"K019\",\n                    \"quantity\": 20,\n                    \"price\": 0.35,\n                    \"currency\": \"USD\"\n                }\n            ],\n            \"shipments\": []\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": [],\n    \"_sort\": []\n}"},{"id":"93c98671-ecba-4798-8a3f-7f7283775d38","name":"wholesale-requests","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"url":{"raw":"https://rest.hageman.nl:8181/wholesale-requests","host":["https://rest.hageman.nl:8181"],"path":["wholesale-requests"],"query":[{"key":"page","value":"1","type":"text","description":"(optional) integer","disabled":true},{"key":"pageSize","value":"10","type":"text","description":"(optional) integer|min:10|max:100","disabled":true},{"key":"_filter","value":"","type":"text","description":"(optional) array","disabled":true},{"key":"_sort","value":"","type":"text","description":"(optional) array","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Mar 2024 10:43:17 GMT"},{"key":"Server","value":"Apache/2.4.56 (Win64) OpenSSL/1.1.1t mod_fcgid/2.3.10-dev"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"rows\": [\n        {\n            \"order_number\": \"TST_01\",\n            \"status\": \"F\",\n            \"po_number\": \"TST-0001\",\n            \"company\": \"Hageman\",\n            \"street\": \"Pascalstraat\",\n            \"house_number\": 3,\n            \"house_number_extension\": null,\n            \"zip\": \"3335LS\",\n            \"city\": \"Zwijndrecht\",\n            \"region\": null,\n            \"address_extra\": null,\n            \"state_province\": \"ZH\",\n            \"country\": \"NL\",\n            \"requested_delivery_date\": \"2024-04-30\",\n            \"request_method\": \"REST\",\n            \"requested_at\": \"2024-03-27 10:59:42\",\n            \"shipment_date\": \"2024-03-29\",\n            \"extra_information\": [\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"EORI number\",\n                    \"value\": \"NL810734308\"\n                },\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"Incoterms\",\n                    \"value\": \"DAP\"\n                },\n                {\n                    \"type\": \"packing-slip\",\n                    \"subject\": \"TAG #\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"EORI number\",\n                    \"value\": \"NL810734308\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"Incoterms\",\n                    \"value\": \"DAP\"\n                },\n                {\n                    \"type\": \"proforma\",\n                    \"subject\": \"TAG #\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"type\": \"picklist\",\n                    \"subject\": \"Control by\",\n                    \"value\": \"Employee X\"\n                }\n            ],\n            \"items\": [\n                {\n                    \"portal_id\": \"900001\",\n                    \"item_number\": \"K019\",\n                    \"quantity\": 20,\n                    \"price\": 0.35,\n                    \"currency\": \"USD\"\n                }\n            ],\n            \"shipments\": [\n                {\n                    \"package_type\": \"DS\",\n                    \"length\": 20,\n                    \"width\": 20,\n                    \"height\": 10,\n                    \"weight\": 0.58,\n                    \"label_number\": \"JVGL0523813400030236\",\n                    \"tracking_url\": \"https://my.dhlparcel.nl/home/tracktrace/JVGL0523813400030236/3335+LS?lang=nl_NL\",\n                    \"value\": 0,\n                    \"contents\": [\n                        {\n                            \"item_number\": \"K410\",\n                            \"item\": \"Alliander - Ind. Gr. ChipSIM - MFF2 - CUG - V4.2.1 RSP\",\n                            \"hs_tariff_code\": \"8523 52 00 00\",\n                            \"description\": \"Sim cards\",\n                            \"quantity\": 20,\n                            \"value\": 0,\n                            \"from_icc\": \"893108332309384241\",\n                            \"till_icc\": \"893108332309384260\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"_page\": 1,\n    \"_pageSize\": 10,\n    \"_lastPage\": 1,\n    \"_nextPage\": null,\n    \"_filter\": [],\n    \"_sort\": []\n}"}],"_postman_id":"2b57e031-cea0-408e-b8eb-13c78cfeb0d7"},{"name":"wholesale-request","id":"0ceec601-bc92-4723-a9c8-95bccf1f5337","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"order_number","value":"","type":"text","description":"<p>required | string | max:30</p>\n","disabled":true},{"key":"po_number","value":"","type":"text","description":"<p>optional | string | max:25</p>\n","disabled":true},{"key":"company_name","value":"","type":"text","description":"<p>required | string | max:35</p>\n","disabled":true},{"key":"street","value":"","type":"text","description":"<p>required | string | max:30</p>\n","disabled":true},{"key":"house_number","value":"","type":"text","description":"<p>optional | int</p>\n","disabled":true},{"key":"house_number_extension","value":"","type":"text","description":"<p>optional | string | max:10</p>\n","disabled":true},{"key":"zip","value":"","type":"text","description":"<p>optional | string | max:10</p>\n","disabled":true},{"key":"city","value":"","type":"text","description":"<p>required | string | max:35</p>\n","disabled":true},{"key":"region","value":"","type":"text","description":"<p>optional | string | max:35</p>\n","disabled":true},{"key":"address_extra","value":"","type":"text","description":"<p>optional | string | max:35</p>\n","disabled":true},{"key":"state_province","value":"","type":"text","description":"<p>optional | string | max:10 | ISO 3166-2</p>\n","disabled":true},{"key":"country","value":"","type":"text","description":"<p>required | string | max:2 | ISO 3166-1 alpha-2</p>\n","disabled":true},{"key":"contact","value":"","type":"text","description":"<p>required | string | max:35</p>\n","disabled":true},{"key":"phone","value":"","type":"text","description":"<p>required | string | max:15</p>\n","disabled":true},{"key":"email","value":"","type":"text","description":"<p>required | string | max:150</p>\n","disabled":true},{"key":"vat_number","value":"","description":"<p>required for non EU countries | string | max:40</p>\n","type":"text","uuid":"796a15c4-a6aa-4cf5-8281-04e27eb75f91","disabled":true},{"key":"requested_delivery_date","value":"","type":"text","description":"<p>optional | date_format:Y-m-d</p>\n","disabled":true},{"key":"extra_information[*][type]","value":"","type":"text","description":"<p>optional | required | string | one-of: packing-slip, picklist, proforma</p>\n","disabled":true},{"key":"extra_information[*][subject]","value":"","type":"text","description":"<p>optional | required | string | max:30</p>\n","disabled":true},{"key":"extra_information[*][value]","value":"","type":"text","description":"<p>optional | required | string | max:50</p>\n","disabled":true},{"key":"items[*][portal_id]","value":"","type":"text","description":"<p>optional | string | max:15</p>\n","disabled":true},{"key":"items[*][item_number]","value":"","type":"text","description":"<p>required | string | max:25</p>\n","disabled":true},{"key":"items[*][quantity]","value":"","type":"text","description":"<p>required | int</p>\n","disabled":true},{"key":"items[*][price]","value":"","type":"text","description":"<p>required | decimal</p>\n","disabled":true},{"key":"items[*][currency]","value":"","type":"text","description":"<p>required | string | max:3 | ISO 4217</p>\n","disabled":true}]},"url":"https://rest.hageman.nl:8181/wholesale-request","description":"<p>Create a single wholesale request<br /><em>returns the created wholesale request on success, an error otherwise</em></p>\n","urlObject":{"path":["wholesale-request"],"host":["https://rest.hageman.nl:8181"],"query":[],"variable":[]}},"response":[{"id":"389dd137-ff14-4995-937e-9979ef1a88a0","name":"wholesale-request","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"{username}","type":"text"},{"key":"api-secret","value":"{password}","type":"text"},{"key":"api-administration","value":"{administration}","type":"text"},{"key":"api-encryption-key","value":"{encryption-key}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"order_number","value":"TST_01","type":"text","description":"required | string | max:30"},{"key":"po_number","value":"TST-0001","type":"text","description":"optional | string | max:25"},{"key":"company_name","value":"Hageman","type":"text","description":"required | string | max:50"},{"key":"street","value":"Pascalstraat","type":"text","description":"required | string | max:50"},{"key":"house_number","value":"3","type":"text","description":"optional | int"},{"key":"house_number_extension","value":"","type":"text","description":"optional | string | max:10","disabled":true},{"key":"zip","value":"3335LS","type":"text","description":"optional | string | max:20"},{"key":"city","value":"Zwijndrecht","type":"text","description":"required | string | max:50"},{"key":"region","value":"","type":"text","description":"optional | string | max:50","disabled":true},{"key":"address_extra","value":"","type":"text","description":"optional | string | max:70","disabled":true},{"key":"state_province","value":"ZH","type":"text","description":"optional | string | max:3"},{"key":"country","value":"NL","type":"text","description":"required | string | max:2"},{"key":"contact","value":"IT Department","type":"text","description":"required | string | max:50"},{"key":"phone","value":"0031786230500","type":"text","description":"required | string | max:20"},{"key":"email","value":"ict@hageman.nl","type":"text","description":"required | string | max:150"},{"key":"requested_delivery_date","value":"2024-04-30","type":"text","description":"optional | date_format:Y-m-d"},{"key":"extra_information[0][type]","value":"picklist","type":"text","description":"optional | required | string | max:20"},{"key":"extra_information[0][subject]","value":"Control by","type":"text","description":"optional | required | string | max:30"},{"key":"extra_information[0][value]","value":"Employee X","type":"text","description":"optional | required | string | max:50"},{"key":"extra_information[1][type]","value":"packing-slip","type":"text","description":"optional | required | string | max:20"},{"key":"extra_information[1][subject]","value":"TAG #","type":"text","description":"optional | required | string | max:30"},{"key":"extra_information[1][value]","value":"10001","type":"text","description":"optional | required | string | max:50"},{"key":"extra_information[2][type]","value":"proforma","type":"text","description":"optional | required | string | max:20"},{"key":"extra_information[2][subject]","value":"TAG #","type":"text","description":"optional | required | string | max:30"},{"key":"extra_information[2][value]","value":"10001","type":"text","description":"optional | required | string | max:50"},{"key":"items[0][portal_id]","value":"900001","type":"text","description":"optional | string | max:15"},{"key":"items[0][item_number]","value":"K410","type":"text","description":"required | string | max:25"},{"key":"items[0][quantity]","value":"20","type":"text","description":"required | int"},{"key":"items[0][price]","value":"0.35","type":"text","description":"required | decimal"},{"key":"items[0][currency]","value":"USD","type":"text","description":"required | string | max:3"}]},"url":"https://rest.hageman.nl:8181/wholesale-request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Mar 2024 09:59:42 GMT"},{"key":"Server","value":"Apache/2.4.56 (Win64) OpenSSL/1.1.1t mod_fcgid/2.3.10-dev"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_number\": \"TST_01\",\n    \"status\": \"R\",\n    \"po_number\": \"TST-0001\",\n    \"company\": \"Hageman\",\n    \"street\": \"Pascalstraat\",\n    \"house_number\": 3,\n    \"house_number_extension\": null,\n    \"zip\": \"3335LS\",\n    \"city\": \"Zwijndrecht\",\n    \"region\": null,\n    \"address_extra\": null,\n    \"state_province\": \"ZH\",\n    \"country\": \"NL\",\n    \"requested_delivery_date\": \"2024-04-30\",\n    \"request_method\": \"REST\",\n    \"requested_at\": \"2024-03-27 10:59:42\",\n    \"extra_information\": [\n        {\n            \"type\": \"packing-slip\",\n            \"subject\": \"EORI number\",\n            \"value\": \"NL810734308\"\n        },\n        {\n            \"type\": \"packing-slip\",\n            \"subject\": \"Incoterms\",\n            \"value\": \"DAP\"\n        },\n        {\n            \"type\": \"packing-slip\",\n            \"subject\": \"TAG #\",\n            \"value\": \"10001\"\n        },\n        {\n            \"type\": \"proforma\",\n            \"subject\": \"EORI number\",\n            \"value\": \"NL810734308\"\n        },\n        {\n            \"type\": \"proforma\",\n            \"subject\": \"Incoterms\",\n            \"value\": \"DAP\"\n        },\n        {\n            \"type\": \"proforma\",\n            \"subject\": \"TAG #\",\n            \"value\": \"10001\"\n        },\n        {\n            \"type\": \"picklist\",\n            \"subject\": \"Control by\",\n            \"value\": \"Employee X\"\n        }\n    ],\n    \"items\": [\n        {\n            \"portal_id\": \"900001\",\n            \"item_number\": \"K410\",\n            \"quantity\": 20,\n            \"price\": 0.35,\n            \"currency\": \"USD\"\n        }\n    ],\n    \"shipments\": []\n}"}],"_postman_id":"0ceec601-bc92-4723-a9c8-95bccf1f5337"}],"id":"65e28957-d4f4-4833-a2f9-886898d5c7d0","description":"<p>The 'wholesale requests' collection is used to view or manage the B2B requests within the fulfilment layer of Hageman.</p>\n<p><em>Note: this collection needs an additional encryption key which should be provided in the header.</em></p>\n<p><strong>Variables</strong></p>\n<ul>\n<li><p><code>status</code>: Status of request</p>\n<ul>\n<li><p><code>F</code>: Fulfilled</p>\n</li>\n<li><p><code>P</code>: Processing</p>\n</li>\n<li><p><code>R</code>: Reserved</p>\n</li>\n<li><p><code>W</code>: Waiting</p>\n</li>\n</ul>\n</li>\n<li><p><code>extra_information</code>: Information printed on documents</p>\n<ul>\n<li><p><code>type</code>: One of the following values as string</p>\n<ul>\n<li><p><code>packing-slip</code>: Printed on Packing Slip - attached on the package</p>\n</li>\n<li><p><code>picklist</code>: Printed on Picklist - included in the package</p>\n</li>\n<li><p><code>proforma</code>: Printed on the Proforma/Commercial Invoice - attached on the package</p>\n</li>\n</ul>\n</li>\n<li><p><code>subject</code>: Any string - printed in bold font</p>\n</li>\n<li><p><code>value</code>: Any string - printed in normal font after subject text</p>\n</li>\n</ul>\n</li>\n</ul>\n","_postman_id":"65e28957-d4f4-4833-a2f9-886898d5c7d0"}],"event":[{"listen":"prerequest","script":{"id":"32365712-dfd5-45ce-aa3b-a89a739545b3","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"7ed75592-b860-4ed7-be83-ce7b09484469","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"key","value":"{username}"},{"key":"secret","value":"{password}"},{"key":"administration","value":"{administration}"},{"key":"host","value":"https://rest.hageman.nl:8181"},{"key":"encryption-key","value":"{encryption-key}"}]}