{"info":{"_postman_id":"830542bb-d7bd-49bf-8937-14fc9d293a9e","name":"API Docs","description":"<html><head></head><body><p>This resource page details how the Breeze Dataserver can be used to share information with client applications and the inventory management system. This guide is arranged with each available endpoint linked on the sidebar and within each endpoint page related Reference Documentation and set of Tabs displaying<strong>:</strong> <br><br></p>\n<ul>\n<li>A sample of the xml/json dataset typically returned. <br></li>\n<li>Parameter properties which can be used in the filter criteria. <br></li>\n<li>Response structure and property details including datatypes. <br></li>\n</ul>\n<p>Contact Support: \n{</p>\n<p>Name : Datapel Systems</p>\n<p>Email : <a href=\"mailto:support@datapel.com\">support@datapel.com</a></p>\n<p>}</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8782203","collectionId":"830542bb-d7bd-49bf-8937-14fc9d293a9e","publishedId":"SVmsWLSu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-09-13T05:19:59.000Z"},"item":[{"name":"How It Works","item":[],"id":"cc4355ce-664e-4f58-aff3-895cb6d5d698","description":"<h1>HTTP Methods and Request Structure</h1>\n\n<p>The Breeze API is a REST/SOAP server and responds to HTTP Web requests with XML or JSON formatted responses. The Breeze server works with HTTP GET and POST methods and each endpoint will respond differently based on its specification. Typically GET is used to retrieve a Dataset from a resource while POST is used to push or INSERT/UPDATE a Dataset to the server.</p>\n<p>The HTTP request has THREE basic components as below:</p>\n<table>\n        <tbody><tr>\n            <td> HTTP part </td>\n            <td> Description </td>\n            <td> Used by Breeze Server  </td>\n        </tr>\n        <tr>\n            <td> Header </td>\n            <td> Contains details regarding the format of the message </td>\n            <td> Optional Credentials </td>\n        </tr>\n        <tr>\n            <td> URL </td>\n            <td> The destination resource or endpoint and additional parameters </td>\n            <td> Required for endpoint identification </td>\n        </tr>\n        <tr>\n            <td> Message Body </td>\n            <td> An optional message body e.g. file, query data, or query result </td>\n            <td> Optional POST details </td>\n        </tr>\n    </tbody>\n</table>\n\n\n<h2>GET Method</h2>\n\n<p>In order to request information from an endpoint the Breeze server will respond to the GET method and returns information in the message body as json or xml depending on the URL. It is possible to push information to some endpoint resources using the GET method if data is accepted via the parameters passed in the URL. Check specific Endpoint references to see if this method is supported. An example URL is shown below:</p>\n<p><a href=\"http://api.datapel.com:8080/xml/ENDPOINT?myfilterstring&amp;authorization~code&amp;auth_token=token\">http://api.datapel.com:8080/xml/ENDPOINT?myfilterstring&amp;authorization~code&amp;auth_token=token</a></p>\n<h2>POST Method</h2>\n\n<p>In order to insert or update information to an endpoint the Breeze server responds to the POST method and returns status information in the message body. Typically the information being sent to the endpoint is carried in the message body however most endpoints support the passing of small datasets via the URL as a single parameter. Specific restrictions depend on the endpoint functionality, generally the raw dataset can be passed via the URL if not otherwise specified.</p>\n<p>The Breeze server has a predefined structure for the POST REQUEST message body as below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-16\"?&gt; \n    &lt;PostRequest xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"&gt;\n    &lt;updatetype&gt;Insert&lt;/updatetype&gt;  \n    &lt;filter /&gt; \n    &lt;updateObject xsi:type=\"xsd:string\"&gt;{\"JsonOrXML\":true}&lt;/updateObject&gt; \n    &lt;/PostRequest&gt;\n</code></pre><br />\nThe POSTREQUEST is defined as below:\n\n<table>\n        <tbody><tr>\n            <td> Property </td>\n            <td> Description </td>\n            <td> Example </td>\n        </tr>\n        <tr>\n            <td> UpdateType </td>\n            <td> Either INSERT/UPDATE/DELETE/QUERY </td>\n            <td> INSERT </td>\n        </tr>\n        <tr>\n            <td> Filter </td>\n            <td> A valid filter criteria using properties and operators  </td>\n            <td> filter~basestockid=5 </td>\n        </tr>\n        <tr>\n            <td> UpdateObject </td>\n            <td> JSON or XML encoded Dataset </td>\n            <td> &lt;see endpoint POST samples&gt;* </td>\n        </tr>\n    </tbody></table>\n\n<br />\n<h2>Authentication and User Access Control</h2>\n\n<p>To manage access to your workspace all information requests must present credentials to be authenticated by the Breeze Data Server.</p>\n<p><b>Authentication Workflow</b></p>\n<p>In order to access the Data Server you must have an API Username and Password. The master API Username and \nPassword will be configured by your system administrator within your Breeze Data Server config.xml file. The Authentication process works as follows:</p>\n<ol>\n<li>GET Request is made to the /token endpoint passing AUTHORIZATION = base64_UTF8_encoded(Username:Password)</li>\n<li>If Username and Password are valid a Session Token is returned.</li>\n<li>Session Tokens are valid for 24 hours only and must be considered as part of the overall integration design pattern.</li>\n<li>To read a resource BOTH the AUTHORIZATION code and TOKEN must be passed to the Breeze Data Server.</li>\n</ol>\n<p>Providing security credentials can be done in one of two ways:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- Encoding Authorisation information in the HTTP header (or)\n- Passing Authorisation token keys in the URL\n</code></pre><br />\n<b>SSL Certificates</b>\n\n<p>The Breeze Data Server can be configured to operate over HTTP or HTTPS (SSL).</p>\n<p>With HTTPS the information transmitted from sender to receiver is encrypted and is the most secure method of ensuring data transmitted will not be decrypted or tampered with. In order to use HTTPS you will require an SSL Certificate and this usually relates to the domain name from where the server is referenced, for example: api.datapel.com. You will need to install the certificate on the physical operating system hosting the Breeze Data Server.</p>\n<p>To specify HTTP or HTTPS you must setup in the Breeze Data Server config.xml and ensure the service is restarted for changes to come into effect.</p>\n<br />\n\n<h2>Specifying the Request Header</h2>\n\n<p>Every request for Breeze Data Server resources must contain the following attributes in the header.</p>\n<table>\n        <tbody><tr>\n            <td> Field </td>\n            <td> Description </td>\n            <td> Example </td>\n        </tr>\n        <tr>\n            <td> Content-Type </td>\n            <td> MIME type of the request body. </td>\n            <td> application/xml </td>\n        </tr>\n        <tr>\n            <td> Host </td>\n            <td> The host for handling request; Data Server host name. </td>\n            <td> api.datapel.com </td>\n        </tr>\n        <tr>\n            <td> Accept-Encoding </td>\n            <td> Enables encoding of the request. </td>\n            <td> gzip,deflate </td>\n        </tr>\n    </tbody></table>\n\n\n<p>Optional Additional Header Security attributes:</p>\n<table>\n        <tbody><tr>\n            <td> Field </td>\n            <td> Description </td>\n            <td> Example </td>\n        </tr>\n        <tr>\n            <td> Authorization </td>\n            <td> Required parameter for authorising the request. </td>\n            <td> See below - Authorization </td>\n        </tr>\n        <tr>\n            <td> Auth_Token </td>\n            <td> Required parameter issued for your session by serever. </td>\n            <td> See below - Authorization </td>\n        </tr>\n    </tbody></table>\n\n<br />\n<h2>Specifying Credentials as URL Level Parameters</h2>\n\n<p>In addition to (or instead of) the above Request Header encoding the session token and authorisation key can be passed directly via the URL as parameters.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- The URL must take on the standard form of /type(json/xml)/endpoint?filter~filterstring\n- Credentials must then be APPENDED to URL for example: http://.../endpoint/filter~&amp;authorization~c3VwZXJ1c2VyOnBhc3N3b3Jk=&amp;auth_token=oUMf4ifG0UgAAAAAAAAAAAAAAAAAAAAA\n</code></pre><p>An example detailing URL security encoding is shown below.</p>\n<p><b>URL encoding Authorisation Example</b></p>\n<p>The following example describes the HTTP GET query for obtaining a SESSION TOKEN and then making an endpoint request.</p>\n<p>First you are required to create the Authorization key from base64 encoded master api Username and Passord in the following form:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- Authorization Key = UrlEncode(Encode_Base64(Username + \":\" + Password)). For more information on base64 see https://www.base64encode.org\n- Assuming master api username:password pair of \"superuser:password\" generates the Authorization Key = c3VwZXJ1c2VyOnBhc3N3b3Jk\n- To get the session token:\n\nhttp://api.datapel.com:8080/json/token?authorization~c3VwZXJ1c2VyOnBhc3N3b3Jk\n\nReturns a session token as below: \n    [\n        {\n    \"token\": \"oUMf4ifG0UgAAAAAAAAAAAAAAAAAAAAA\" \n        }\n    ]\n\n- You may now use the credentials in the URL or HEADER to perform GET/POST requests to service endpoints.\n\n    Example: GET current api timestamp with URL authorization\n    \n    http://api.datapel.com:8080/json/timestamp?filter~&amp;authorization~c3VwZXJ1c2VyOnBhc3N3b3Jk=&amp;auth_token=oUMf4ifG0UgAAAAAAAAAAAAAAAAAAAAA\n    \n    Returns a response as below: \n    {\n      \"ServerTimeStamp\": \"2014-11-04 20:23:51\" \n    }\n    \n- For all future ENDPOINT requests your URL must be in the following form....\n\n    http://api.datapel.com:8080/json/ENDPOINT?myfilterstring&amp;authorization~url_encoded_base64(user:pass)&amp;auth_token=url_encoded_server_access_token\n\n- Tokens must be refreshed within 24 hours or they will be rejected so it is recommended that a daily task of refreshing the session token be added to your system design.\n- Always make sure the token is URL ENCODED before encoding the entire URL otherwise because base64 contains characters like + etc that will be decoded on the server side and cause authentication to fail.\n</code></pre><br />   \n<h2>Endpoint Parameters and Operators</h2>\n\n<p>When requesting a dataset from an endpoint a criteria filter can be set to limit the number of results or find a specific record subset. Generally the parameters are limited to the properties of the dataset. This reference shows the valid parameters for each endpoint resource under the Paramters tab.</p>\n<p>Multiple parameters can be combined to produce a logical criteria however there are restrictions on the syntax and only a limited set of operators are valid as below:</p>\n<table>\n        <tbody><tr>\n            <td> Operator </td>\n            <td> Description </td>\n            <td> Example </td>\n        </tr>\n        <tr>\n            <td> = </td>\n            <td> Equal to </td>\n            <td> itemname = 'Jacket' </td>\n        </tr>\n        <tr>\n            <td> &lt;&gt; </td>\n            <td> Not Equal to </td>\n            <td> quantity &lt;&gt; 0 </td>\n        </tr>\n        <tr>\n            <td> &gt;, &lt;, </td>\n            <td> Greater than/Less than </td>\n            <td> accountbalance &gt; 0 </td>\n        </tr>\n        <tr>\n            <td> &gt;=, &lt;=, </td>\n            <td> Greater or Equal/Less or Equal </td>\n            <td> basestockid &gt;=20 </td>\n        </tr>\n        <tr>\n            <td> in () </td>\n            <td> parameter in set </td>\n            <td> basestockid in (5,6,7,10,50) </td>\n        </tr>\n        <tr>\n            <td> AND </td>\n            <td> required criteria  </td>\n            <td> colour='blue' and quantity&gt;0 </td>\n        </tr>\n        <tr>\n            <td> OR </td>\n            <td> optional criteria </td>\n            <td> udf1='dealeronly' or udf='promo' </td>\n        </tr>\n    </tbody>\n</table>\n\n<p>The endpoint URL must always begin with filter~. Brackets are not support and may cause incorrect results - for example:</p>\n<p>filter~(itemname='Jacket' AND colour='blue') OR udf1=\"pants\" </p>\n<p>Will NOT work under the current criteria parser and returns: <em>500 Query filter could not be parsed.</em></p>\n<p>If you require complex criteria contact Datapel technical support for suggestions on how best to manage these via the Breeze API.\n<br /></p>\n<h2>OnPremise or CloudMirror Configuration Considerations</h2>\n\n<p>The Breeze Dataserver API has two very distinct configuration options as described below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- OnPremise : In this case the Breeze API server is installed locally on the customer server or same local network as the SQL Server instance and Datapel application software - this configuration is termed \"On Premise\". In this configuration any changes made by users are immediately accessible to the Breeze Dataserver - and any posted sales can be reviewed in real-time.\n\n- CloudMirror : The Datapel Public Cloud is a high performance internet server with the latest Breeze Dataserver API server. You will be allocated a public URL that references your companies Cloud Services. For example http://OurCompany.datapel.net. In this configuration any information from your on premise Datapel application is \"mirrored\" to the cloud server on a periodic basis, typically every 5 - 15 minutes. This configuration is preferable as your \"On Premise\" server is protected from public access via the internet. Generally the Datapel Cloud Mirror Service communicates with your On Premise Datapel application via SSL connection that can be IP Address authenticated - thereby securing your connection, server and master database. As the CloudMirror is just a copy of your server public attacks on this server will not impact the local on premise operations or system data integrity. As the CloudMirror requires relaying of information there is a 5 - 15 minute lag between the real-time system and the cloud data view. In most cases this is easily managed by establishing stock buffers or isolating \"online\" vs \"onpremise\" operations using system defined Locations.\n</code></pre><br />\n<h2>Best Practice Read Workflow Example</h2>\n\n<p>To ensure a RESPONSIVE design the REST interface should not introduce long DELAYS while data is being served from an endpoint query. It is generally bad practice to select an excessive number of records in a single query as a large volume of data will cause your web page and the breeze server to appear \"lockedup\" while it processes and returns the raw data.</p>\n<p>Where possible data derived from long lists should be \"paged\" and retrieved as datasets with each block representing a number of records. The number of records to read will depend on the number and size of properties being returned from the endpoint. In general you determine the page size based on the expected BANDWIDTH of the connection you have between the client browser / application and the Breeze Dataserver.</p>\n<p>For example you may have a typical internet connection (ADSL) 1MB/s equivalent to approximately 128kb/s. It will take approximately 1 second to download 128k of information so using the ITEMS endpoint a typical JSON record can require about 2k per item master record. If your dataset has 5000 items then to read ALL RECORDS the response time would be around 78 seconds or 1 minute / 18 seconds to download. So presenting a new item list in real-time direct from the server is not practical. In reality a remote \"copy\" of the item master list would be held at the web server/remote application - and ideally only changes would be updated directly from the data server on demand or as they happen.</p>\n<p>If your application and Dataserver are hosted on the same physical machine or local network then transfer rates would be much higher and result sets transferred in under 1 second - making live access to data feasible. So the use of paged datasets needs to be part of your design planning.</p>\n<p><b>Using TimeStamp Endpoint and Property as Changed Record Trigger</b></p>\n<p>To assist in minimising the amount of redundant information being transferred between the client application and server the TIMESTAMP endpoint and a TIMESTAMP property is available for most ENDPOINT query resources. Typically the workflow for obtaining ONLY changed records is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>1. Start list update\n2. Authenicate Connection\n3. Get Server TIMESTAMP as NEW-TIMESTAMP\n4. Read Endpoint with ?FILTER~TIMESTAMP &gt; 'LASTACCESSED-TIMESTAMP'\n5. Update local client / app records\n6. LASTACCESSED-TIMESTAMP = NEW-TIMESTAMP\n7. Wait a fixed period of time or on demand for resource loop to start\n</code></pre><p>By following this general endpoint query pattern the resulting dataset will always return just the records that have changed after the last endpoint read hence minimising the amount of data being transferred from the Dataserver to the browser/client application. This approach assumes you have an existing list inplace - if not the first pass will return ALL records from the endpoint resource as the TimeStamp would be NULL.\n<br /></p>\n<h2>Paging Hints (PAGING)</h2>\n\n<p>When working with large data sets it is useful to return partial result sets. This technique is commonly referred to as response PAGING. Endpoints that support PAGING will have the PAGING tag on the endpoint verbs bar within the \"Try It\" pages. The default pageSize is 500 records and can be adjusted in the DataServer configuration management panel. This example shows a pageSize = 100 records.</p>\n<p>Use the WITH PAGING hint to enable page referencing of partial data sets as shown below:</p>\n<p><a href=\"http://api.datapel.com:8080/JSON/sql?filter~SELECT\">http://api.datapel.com:8080/JSON/sql?filter~SELECT</a> * FROM BST_BaseStock WITH PAGING</p>\n<p>Response result set will now contain a transaction cacheid reference and always returns the first page of results:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    \"Status\": \"OK\",\n    \"cacheid\": \"ca79e867-36dd-47fc-8113-2c70f7c73653\",\n    \"RowChanges\": \"100\",\n    \"PageNumber\": \"1\",\n    \"RowTotal\": \"198\" \n    \n</code></pre><p>By specifying the WITH PAGING hint further pages can be requested using the cacheid reference as shown below.</p>\n<p>Use the WITH PAGING ON cacheid PAGE XX to return the relevant page number from the initial data set.</p>\n<p><a href=\"http://api.datapel.com:8080/JSON/itemslist?filter\">http://api.datapel.com:8080/JSON/itemslist?filter</a>~* WITH PAGING ON ca79e867-36dd-47fc-8113-2c70f7c73653 PAGE 2</p>\n<p>Response result set will contain the cacheid reference:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    \"Status\": \"OK\",\n    \"cacheid\": \"ca79e867-36dd-47fc-8113-2c70f7c73653\",\n    \"RowChanges\": \"98\",\n    \"PageNumber\": \"2\",\n    \"RowTotal\": \"198\" \n    \n</code></pre><p>If the page number contains no records an EMPTY response will result.\n<br /></p>\n<h2>Paging via Queries and SQL Endpoint</h2>\n\n<p>Paging is not supported on all endpoints via the Breeze Dataserver and may require implementation via a client side run of queries. Where this is required it should be implemented as per the example shown below. In this case you require an indexing column against which the dataset will be sorted.</p>\n<p>In order to complete the query you should maintain a @PAGE_SIZE being the number of records per page and the @PAGE_NUMBER being the offset into the dataset that you require. In the example below we show the main Item Master table and use the Item Master ID as the ASCENDING index.</p>\n<p>SELECT * FROM BST_BaseStock WHERE BST_ID IN \n (SELECT TOP @PAGE_SIZE BST_ID FROM BST_BaseStock WHERE BST_ID NOT IN \n (SELECT TOP @PAGE_SIZE*(@PAGE_NUMBER-1) BST_ID FROM BST_BaseStock ORDER BY BST_ID) \nORDER BY BST_ID) ORDER BY BST_ID</p>\n<p>In the below example we retrieve all Item Details with the PAGE_SIZE = 20 and are requesting PAGE_NUMBER=3. Note Security URL parameters are omitted for clarity.</p>\n<p><a href=\"http://api.datapel.com:8080/JSON/sql?filter~SELECT\">http://api.datapel.com:8080/JSON/sql?filter~SELECT</a> * FROM BST_BaseStock WHERE BST_ID IN \n                                            (SELECT TOP 20 BST_ID FROM BST_BaseStock WHERE BST_ID NOT IN \n                                            (SELECT TOP 40 BST_ID FROM BST_BaseStock ORDER BY BST_ID) ORDER BY BST_ID) ORDER BY BST_ID</p>\n<p>When possible please use the built in Paging Hints as these hints remove dependencies on primary key index fields and will improve backward compatibility of your client application with future DataServer releases.</p>\n<br />\n<h2>Server Side Cache and Diff Hints (DIFFX)</h2>\n\n<p>In order to maximise performance of the Breeze Dataserver a number of endpoints support server side caching and the Datapel DIFFX engine. The DIFFX engine allows the caller to reference a previous transaction and request ONLY THE DIFFERENCES. This can dramatically improve the response times of your client application. Endpoints that support the DIFFX engine will have the DIFFX tag on the endpoint verbs bar within the \"Try It\" pages.</p>\n<p>Use the WITH CACHE hint to create a server-side response copy as shown below:</p>\n<p><a href=\"http://api.datapel.com:8080/JSON/itemslist?filter\">http://api.datapel.com:8080/JSON/itemslist?filter</a>~* WITH CACHE\n<br />\nResponse result set will now contain a transaction cacheid reference:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"cacheid\": \"8af515f5-c786-49cd-a179-edd250cf0207\"\n</code></pre><br />\nBy specifying the WITH CACHE hint the Breeze DataServer will keep a copy of the response server-side. To request ONLY changed data specify the WITH DIFF ON cacheid hint and reference the previously cached response.\n\n\n<p>Use the WITH DIFF ON cacheid to return only data changes since between the request responses.</p>\n<p><a href=\"http://api.datapel.com:8080/JSON/itemslist?filter\">http://api.datapel.com:8080/JSON/itemslist?filter</a>~* WITH DIFF ON 8af515f5-c786-49cd-a179-edd250cf0207\n<br />\nResponse result set will contain a NEW transaction cacheid reference:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"cacheid\": \"0aee6203-d0e1-4b5f-8eca-80775de787e1\" \n</code></pre><p>If no changes have occurred then an EMPTY response will result - continue to use the existing cacheid and WITH DIFF hint.</p>\n<p><b>DIFFX Cache Persistence</b></p>\n<p>The DIFFX response cache typically remains for 3-5 days after the initial cache event. Any DIFF ON hints that return a difference will create a new cache entry. Generally you should always use the latest cacheid from the most recent response. There is no limit to the number or size of cache requests you can make.</p>\n<p>Keep in mind that using DIFFX adds more load to the DataServer as it persists more response information and adds overhead to the processing of a response while it processes the differences between current and previous response messages. Generally the response size is reduced to 10-20% compared to standard response messages when using DIFFX hints. Furthermore, the more frequent the requests the smaller the responses tend to be.</p>\n<p>If the cacheid DOES NOT EXIST the server will just return the full response, automatically cache the data and return a new valid cacheid. Generally there is little risk of \"missing\" data changes due to server side cache expiration.\n<br /></p>\n<h2>Endpoint Versions</h2>\n\n<p>Generally as the Breeze Dataserver is upgraded the endpoint resources will return properties that are backward compatible with previous versions. This allows client applications to remain unchanged as the inventory management system and Breeze Dataserver improve and are upgraded. In some cases however functionality of a specific endpoint may need to change dramatically and potentially cause existing applications to break as returned information or filters are no longer valid.</p>\n<p>To minimise the work required by third parties to maintain compatibility with Breeze Dataserver the endpoint interface supports a VERSION path. This allows an external application to bind directly to a specific version of an ENDPOINT so the QUERY response complies with return properties consistent with the API version that the client application was developed against. Endpoint versions will be published direct to developers as and when specification and requirement change dictates endpoint versioning.</p>\n<p>At all times the default endpoint will support the latest functionality for the Breeze Dataserver.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- To access a specific ENDPOINT version the request URL must be in the following form....\n\nhttp://api.datapel.com:8080/json/vX/ENDPOINT?filter~myfilterstring&amp;authorization~base64(user:pass)&amp;auth_token=server_access_token\n\nWHERE vX is v1, v2, v3 etc the version provided by Datapel required to support your client application interface.\n\nThe older the application the lower the version number; v1 would be the oldest deprecated endpoint version.\n</code></pre><br />\n<h2>Best Practice Order Write Workflow</h2>\n\n<p>POST as with the READ/GET process from the API needs to ensure RESPONSIVE design and not incur DELAYS while data is processed or consumed by an endpoint service. In the case of pushing transaction information via Breeze API there are currently two methods available:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- The \"in process\" ORDER POST (sales endpoint) or\n- QUEUED POST of an ORDER (salesqueue endpoint)\n- \n</code></pre><p>The \"in process\" option will attempt to commit the transaction immediately and any exceptions will be sent back via the API requiring the client to handle the response. The QUEUED POST pushes the order into a list of orders that will be processed by the server as part of a batch or to be initiated by a local administrator or administrator process. Furthermore the QUEUE can be cleared or FLUSHED via the API and forces the server to consume the posted orders.</p>\n<p>Currently we are recommending that Sale Orders be POSTED via the SalesQueue Endpoint and triggered for processing on the server-side using a SalesQueueCount&amp;FLUSH query with the appended FLUSH parameter as shown.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>- POST sale xml to the salequeue endpoint as: \nhttp://api.datapel.com:8080/xml/salesqueue?filter~&amp;authorization~c3VwZXJ1c2VyOnBhc3N3b3Jk=&amp;auth_token=oUMf4ifG0UgAAAAAAAAAAAAAAAAAAAAA\n- Valid Response will be a QID code: e.g. QID-1234-5678\n- GET sale queue count with Flush to commit orders as:\nhttp://api.datapel.com:8080/xml/salesqueuecount?filter~FLUSH&amp;authorization~c3VwZXJ1c2VyOnBhc3N3b3Jk=&amp;auth_token=oUMf4ifG0UgAAAAAAAAAAAAAAAAAAAAA\n\nNOTE: Flush is not required when working with CLOUD MIRROR configurations - flush will occur automatically based on cloud mirror cycle time. \n- Check order status using GET status endpoint.\nIf you supplied the invoice number you can use this as search field:\n\nhttp://api.datapel.com:8080/xml/status?filter~invoicenum='remoteinvoicenum'&amp;authorization~c3VwZXJ1c2VyOnBhc3N3b3Jk=&amp;auth_token=oUMf4ifG0UgAAAAAAAAAAAAAAAAAAAAA\n\nIt is recommended the QID is used to reference the transaction as shown below:\n\nhttp://api.datapel.com:8080/xml/status?filter~qid='QID-1234-5678'&amp;authorization~c3VwZXJ1c2VyOnBhc3N3b3Jk=&amp;auth_token=oUMf4ifG0UgAAAAAAAAAAAAAAAAAAAAA\n</code></pre><p>Note that there maybe some delay between the sale queue flush and the ability to check status - generally via the API each sale order takes 5 - 10 seconds to process and become visible to the status endpoint. If you need to query the status immediately use the FLUSH_WAIT parameter instead which causes the API to wait for the orders to complete importing and then returns a response.\n<br /></p>\n<h2>POST Order Sample</h2>\n\n<p>The Order POST supports XML encoding only at the time of release.</p>\n<p><b>Sample XML Order Message</b></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    &lt;NewDataSet&gt;\n       &lt;tREMOTETransHeader&gt;\n          &lt;Company_ID&gt;DATAPEL&lt;/Company_ID&gt;\n          &lt;StoreCode&gt;PRESTON&lt;/StoreCode&gt;\n          &lt;PostingDate&gt;2015-08-31T02:17:08Z&lt;/PostingDate&gt;\n          &lt;TransID&gt;#2689009&lt;/TransID&gt;\n          &lt;TransDate/&gt;\n          &lt;Salesperson&gt;lyndenmcdonald@yahoo.com.au&lt;/Salesperson&gt;\n          &lt;CardIdentification&gt;THELNSW&lt;/CardIdentification&gt;\n          &lt;SaleType&gt;S&lt;/SaleType&gt;\n          &lt;Special2&gt;ROAD&lt;/Special2&gt;\n          &lt;ShippingMethod&gt;Star Track&lt;/ShippingMethod&gt;\n          &lt;ClosedYN&gt;Y&lt;/ClosedYN&gt;\n          &lt;OriginalSaleType&gt;O&lt;/OriginalSaleType&gt;\n       &lt;/tREMOTETransHeader&gt;\n       &lt;tREMOTETransCustomer&gt;\n          &lt;ShipToName/&gt;\n          &lt;ShipToAddress1&gt;273a Peel Street&lt;/ShipToAddress1&gt;\n          &lt;ShipToAddress2/&gt;\n          &lt;ShipToSuburb&gt;Tamworth&lt;/ShipToSuburb&gt;\n          &lt;ShipToPostCode&gt;2340&lt;/ShipToPostCode&gt;\n          &lt;ShipToState&gt;NSW&lt;/ShipToState&gt;\n          &lt;Address1&gt;273a Peel Street&lt;/Address1&gt;\n          &lt;Suburb&gt;Tamworth&lt;/Suburb&gt;\n          &lt;PostCode&gt;2340&lt;/PostCode&gt;\n          &lt;PhoneNo1&gt;02 6766 9288&lt;/PhoneNo1&gt;\n          &lt;EmailAddress&gt;shop@lemonhouse.com.au&lt;/EmailAddress&gt;\n       &lt;/tREMOTETransCustomer&gt;\n       &lt;tREMOTETransSaleTenders&gt;\n          &lt;TenderAmount&gt;0&lt;/TenderAmount&gt;\n       &lt;/tREMOTETransSaleTenders&gt;\n       &lt;tREMOTETransSaleLines&gt;\n          &lt;SKU&gt;G0751ESS15&lt;/SKU&gt;\n          &lt;SaleQty&gt;1&lt;/SaleQty&gt;\n          &lt;SaleUnitAmountIncTax&gt;95.00&lt;/SaleUnitAmountIncTax&gt;\n          &lt;SaleTaxByHost&gt;Y&lt;/SaleTaxByHost&gt;\n          &lt;SaleTaxRate&gt;10&lt;/SaleTaxRate&gt;\n          &lt;SKUDescription&gt;Blue/tan SYKE SMALL BAG (ETA 15-08)&lt;/SKUDescription&gt;\n          &lt;SalePriceByHost&gt;N&lt;/SalePriceByHost&gt;\n       &lt;/tREMOTETransSaleLines&gt;\n    &lt;/NewDataSet&gt;\n</code></pre><br />\n<h2>XML Order Property Reference</h2>\n\n<p>The following table describes each property, type and example value.</p>\n<h3>&lt;tREMOTETransHeader&gt;</h3>\n\n<table>\n        <tbody><tr>\n            <th>Property Name </th>\n            <th>Example </th>\n            <th>Description                       </th>\n            <th>Details </th>\n            <th>Size </th>\n            <th>Type </th>\n            <th>Option </th>\n        </tr>\n        <tr>\n            <td>DTD    </td>\n            <td>EDIFACTV2 </td>\n            <td>The document encoding type </td>\n            <td>Required for Edifact users requiring response codes    </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>RevisionNumber </td>\n            <td>1    </td>\n            <td>Order Revision Num    </td>\n            <td>Default to \"1\"    </td>\n            <td>3    </td>\n            <td>INT    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>Company_ID    </td>\n            <td>DATAPEL    </td>\n            <td>Value must be DATAPEL    </td>\n            <td>Required. Set to “DATAPEL”    </td>\n            <td>7    </td>\n            <td>NVARCHAR    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>StoreCode    </td>\n            <td>SYD    </td>\n            <td>Location Ship From Code    </td>\n            <td>Required but can be blank will be assigned from default location </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>PostingDate </td>\n            <td>2009-04-29T10:12:20+    </td>\n            <td>DateTime of Transaction    </td>\n            <td>Order Date - format YYYY-MM-DDTHH:MM:SS+ where T and + are separators and terminators    </td>\n            <td>    </td>\n            <td>INT    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>TransID    </td>\n            <td>164101     </td>\n            <td>Invoice Number    </td>\n            <td>blank for system allocated ORDER number    </td>\n            <td>8    </td>\n            <td>NVARCHAR    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>TransDate    </td>\n            <td>2009-04-29T10:12:20+     </td>\n            <td>DateTime of Transaction    </td>\n            <td>Promised Date - format YYYY-MM-DDTHH:MM:SS+ where T and + are separators and terminators    </td>\n            <td>    </td>\n            <td>INT    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>Salesperson</td>\n            <td>Long    </td>\n            <td>Salesperson ID    </td>\n            <td>Last name of Salesperson. Use “DEFAULT” for system substitute with default salesperson    </td>\n            <td>52    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>CustomerID    </td>\n            <td>2    </td>\n            <td>Customer ID    </td>\n            <td>MYOB CARD RECORD ID     </td>\n            <td>    </td>\n            <td>INT    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>CardIdentification    </td>\n            <td>CUS0000001    </td>\n            <td>MYOB Card Identification or MYOB Tax ID    </td>\n            <td>Required if CustomerID not present. Card Identification of Billing Customer.    </td>\n            <td>16    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ShipCustomerID    </td>\n            <td>2    </td>\n            <td>Customer ID    </td>\n            <td>Optional MYOB CARD RECORD ID    </td>\n            <td>    </td>\n            <td>INT    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ShipCardIdentification    </td>\n            <td>CUS0000001    </td>\n            <td>MYOB Card Identification or MYOB Tax ID    </td>\n            <td>Optional. Card Identification of Receiving Customer.    </td>\n            <td>    </td>\n            <td>INT    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SaleType    </td>\n            <td>S    </td>\n            <td>Type is S - Sale O - Order Q - Quote R- Blind Return X- Exchange    </td>\n            <td>S and O for import as order, Q to import as Quote, response file example STDs = R will be a blind return and creates a Goods Inward (as per Sales return workflow), X will create a Sale Order with pick lines - no goods inward and is recommended for workflows where the stock is immediately returned into inventory.    </td>\n            <td>1    </td>\n            <td>NVARCHAR    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>Status    </td>\n            <td>O    </td>\n            <td>NOT RELEVANT IF REMOTE SALE IMPORT AUTO PICK/PACK is SET    </td>\n            <td>O - default Order A - Allocate (Sale Type must be Order/Invoice) picks and allocates available inventory    </td>\n            <td>1    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>Special1    </td>\n            <td>     </td>\n            <td>reserved    </td>\n            <td>do not use        </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>Special2    </td>\n            <td>2000 </td>\n            <td>Purchase Order    </td>\n            <td>Customers Purchase Order Number        </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>Notes    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>“Comment” field in Sale Order    </td>\n            <td>255    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SaleNote    </td>\n            <td>    </td>\n            <td>       </td>\n            <td> “Notes” field in Sale Order            </td>\n            <td>2500    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ShipNote    </td>\n            <td>    </td>\n            <td>       </td>\n            <td>“Ship Note” field in Sale Order    </td>\n            <td>200    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>Terms    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>Terms - (attempts Match)if unused/blank then default on card    </td>\n            <td>30    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>Priority    </td>\n            <td>    </td>\n            <td>Maps to WMS Order Priority HIGH, HOLD, LOW or as a number (0-3)    </td>\n            <td>Optional    </td>\n            <td>1    </td>\n            <td>INT    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ShippingMethod    </td>\n            <td>DEFAULT </td>\n            <td>        </td>\n            <td>“Name of Method” or “Default” will use customer default shipping method    </td>\n            <td>255    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ConNote    </td>\n            <td>    </td>\n            <td>ConNote - Consignment Number    </td>\n            <td>(ASSIGNED IF ALLOCATE SELECTED OR AUTOPICK SET OTHERWISE IGNORED)    </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>Sent2HostDateTime    </td>\n            <td>2008-04-30T17:02:11    </td>\n            <td>Optional DateTime of XML Emit    </td>\n            <td>Optional. Used for logging        </td>\n            <td>- </td>\n            <td>INT    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ReferralSource    </td>\n            <td>    </td>\n            <td>ReferralSource - mapped to MYOB/WMS referral source descriptions    </td>\n            <td>Optional    </td>\n            <td>32    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>UDF1    </td>\n            <td>a1b2text    </td>\n            <td>Custom Data Field    </td>\n            <td>Optional (maps to Sale Order UDF1)    </td>\n            <td>200    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>UDF2    </td>\n            <td>a1b2text    </td>\n            <td>Custom Data Field    </td>\n            <td>Optional (maps to Sale Order UDF2)    </td>\n            <td>200    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>UDF3    </td>\n            <td>a1b2text    </td>\n            <td>Custom Data Field    </td>\n            <td>Optional (maps to Sale Order UDF3)    </td>\n            <td>200    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>OriginalTransID    </td>\n            <td>164101    </td>\n            <td>    </td>\n            <td>Internal ref maps to SAL_EDItransid    </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SuppressKits    </td>\n            <td>False    </td>\n            <td>Set to True, Yes, False or No    </td>\n            <td>Setting this tag in the XML Sale Header (not done per line) will cause any KIT item to be ignored and imported as a standard item code with the assigned pricing or price by host. (useful when you want to import the kit as a whole not just the kit header)    </td>\n            <td>5    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n    </tbody></table>\n\n\n<h3>&lt;tREMOTETransCustomer&gt;</h3>\n\n<table>\n        <tbody><tr>\n            <th>Property Name </th>\n            <th>Example </th>\n            <th>Description                       </th>\n            <th>Details </th>\n            <th>Size </th>\n            <th>Type </th>\n            <th>Option </th>\n        </tr>\n        <tr>\n            <td>ShipToName    </td>\n            <td>Mary Jones    </td>\n            <td>SHIP TO Customer Name    </td>\n            <td>Company or Last Name of Customer    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ShipToAddress1    </td>\n            <td>174 Hampden Road    </td>\n            <td>SHIP TO Address Line 1    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ShipToAddress2    </td>\n            <td>    </td>\n            <td>SHIP TO Address Line 2    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ShipToSuburb    </td>\n            <td>NEDLANDS    </td>\n            <td>SHIP TO Suburb    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ShipToPostCode    </td>\n            <td>6009    </td>\n            <td>SHIP TO Post Code    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>FaxNo    </td>\n            <td>    </td>\n            <td>Fax         </td>\n            <td></td>\n            <td></td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>PhoneNo1    </td>\n            <td>1300 856 533 </td>\n            <td>Phone Contact    </td>\n            <td>Optional    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>PhoneNo2    </td>\n            <td>    </td>\n            <td>Phone Contact    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>EmailAddress </td>\n            <td><a href=\"mailto:bevan.holman@gtp.com.au\">bevan.holman@gtp.com.au</a>    </td>\n            <td>Email Address    </td>\n            <td>When populated and if UDF3 is null or \"\" then data within this field will populate to UDF3    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>Sent2HostDateTime    </td>\n            <td>2009-04-29T10:12:20    </td>\n            <td>Optional DateTime of XML Emit    </td>\n            <td>Optional. Used for logging    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>O </td>\n        </tr>\n    </tbody></table>\n    \n    \n<h3>&lt;tREMOTETransSaleTenders&gt;</h3>\n\n<table>\n        <tbody><tr>\n            <th>Property Name </th>\n            <th>Example </th>\n            <th>Description                       </th>\n            <th>Details </th>\n            <th>Size </th>\n            <th>Type </th>\n            <th>Option </th>\n        </tr>\n        <tr>\n            <td>TenderType    </td>\n            <td>Securepay    </td>\n            <td>Payment Method    </td>\n            <td>Required. Accounting Payment Methods e.g. Credit Card, PayPal. The payment type matching a payment method in the MYOB/WMS database. If no match is found a new comment line will be created within the order to specify the payment type and amount, and users will need to process it in their system manually    </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>O  </td>\n        </tr>\n        <tr>\n            <td>TenderAmount    </td>\n            <td>9.95    </td>\n            <td>Payment Amount    </td>\n            <td>Required. Tax Inclusive Payment Total    </td>\n            <td>    </td>\n            <td>Float    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>CurrencyCode    </td>\n            <td>A    </td>\n            <td>Set to A    </td>\n            <td>Optional    </td>\n            <td>3    </td>\n            <td>NVARCHAR </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>ForeignTenderAmount </td>\n            <td>0.0000    </td>\n            <td>Set to 0.0000    </td>\n            <td>Optional    </td>\n            <td>    </td>\n            <td> Float </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>TenderLine    </td>\n            <td>1        </td>\n            <td>Optional    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>INT             </td>\n            <td>O </td>\n        </tr>\n    </tbody>\n</table>\n    \n    \n<h3>&lt;tREMOTETransSaleLines&gt;</h3>\n\n<table>\n        <tbody><tr>\n            <th>Property Name </th>\n            <th>Example </th>\n            <th>Description                       </th>\n            <th>Details </th>\n            <th>Size </th>\n            <th>Type </th>\n            <th>Option </th>\n        </tr>\n        <tr>\n            <td>SKU    </td>\n            <td>320    </td>\n            <td>Product Number / Barcode    </td>\n            <td>Required. Use same item number or Barcode any line with item that cannot be identified cause the entire order to be OnHold and Item number to be entered with “\\c” code    </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>HOSKU    </td>\n            <td>32102    </td>\n            <td>Product Number / Barcode    </td>\n            <td>If the is not found it will try for HOSKU if populated    </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SaleQty    </td>\n            <td>1    </td>\n            <td>Quantity Sold    </td>\n            <td>Required (unless is populated). as Quantity Sold (eg. Piece)    </td>\n            <td>    </td>\n            <td>INT    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>SaleUnitQty    </td>\n            <td>1    </td>\n            <td>Unit Sold    </td>\n            <td>Required (unless is populated. as Unit Sold (eg. Box)    </td>\n            <td>    </td>\n            <td>INT    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>SaleUnitAmountIncTax    </td>\n            <td>9.95    </td>\n            <td>Sale Unit Price    </td>\n            <td>Required if . as per Agreed Unit Sale Price Inc Tax - field takes presidence over if populated    </td>\n            <td>    </td>\n            <td>Float    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>SaleUnitAmountExcTax    </td>\n            <td>9.95    </td>\n            <td>Sale Unit Price    </td>\n            <td>Required if is Blank or NULL. as per Agreed Unit Sale Price Excl Tax    </td>\n            <td>    </td>\n            <td>Float    </td>\n            <td>R </td>\n        </tr>\n        <tr>\n            <td>SaleTaxByHost    </td>\n            <td>Y    </td>\n            <td>Tax code and amount to be set By the WMS    </td>\n            <td>If Null then next check is     </td>\n            <td>3    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SaleTaxCode    </td>\n            <td>N-T    </td>\n            <td>Tax Code    </td>\n            <td>if N or NULL then, sets exact Tax Code on sale    </td>\n            <td>3    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SaleTaxRate    </td>\n            <td>10.00    </td>\n            <td>Tax Rate (in Percent value e.g 10.00%)    </td>\n            <td>Ignored if match is found.     </td>\n            <td>    </td>\n            <td>Float    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SaleTaxUnitAmount    </td>\n            <td>0.90    </td>\n            <td>Tax Amount    </td>\n            <td>If &gt; 0, automatically changes Tax to GST for line item    </td>\n            <td>    </td>\n            <td>Float    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SKUDescription    </td>\n            <td>Clown Dots    </td>\n            <td>Product Description    </td>\n            <td>If blank allocates default item description (You may also add line Promised Date (not after date) here in the format of #D27/08/2014 it must be at the end of the line description)     </td>\n            <td>255    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>LineNote    </td>\n            <td>May We have Blue Please    </td>\n            <td>Additional Product Description    </td>\n            <td>    </td>\n            <td>200    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>JobCode    </td>\n            <td>JobCode    </td>\n            <td>Job Code (Must already be in the Job Code List to apply/ no new additions)    </td>\n            <td>    </td>\n            <td>50    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>JobNote    </td>\n            <td>JobCodeNote    </td>\n            <td>Additional Text Field    </td>\n            <td>Delivery Store ID for Multi Delivery Orders    </td>\n            <td>250    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SaleUnitDiscount    </td>\n            <td>25.50    </td>\n            <td>Discount - This is the discount percentage     </td>\n            <td>    </td>\n            <td>    </td>\n            <td>Float    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>SaleRRP    </td>\n            <td>9.95    </td>\n            <td>RRP Unit Price    </td>\n            <td>Optional. Recommended Unit Retail Sale Price Inc Tax    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>N </td>\n        </tr>\n        <tr>\n            <td>SalePriceByHost    </td>\n            <td>Y    </td>\n            <td>Y = Price Set By WMS N = Price Set by Import File    </td>\n            <td>Optional - Price set by import file for NULLS    </td>\n            <td>3    </td>\n            <td>NVARCHAR    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>CurrencyCode    </td>\n            <td>A    </td>\n            <td>Set to A    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>N </td>\n        </tr>\n        <tr>\n            <td>SaleLineNo    </td>\n            <td>1    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>INT    </td>\n            <td>O </td>\n        </tr>\n        <tr>\n            <td>Cost    </td>\n            <td>0.0000    </td>\n            <td>Set to 0.0000    </td>\n            <td>    </td>\n            <td>    </td>\n            <td>Float  </td>\n            <td>O </td>\n        </tr>\n    </tbody>\n</table>\n\n\n<h3>&lt;tREMOTETransSaleLines&gt;</h3>\n\n<p>&lt;tREMOTETransSaleLines&gt;\n.... &lt;repeat node for each order line&gt; ....\n&lt;/tREMOTETransSaleLines&gt;</p>\n<p><b>Message Text/String Encoding<b></b></b></p>\n<p>Preferred string encoding is UTF-8. The fields in the xml file should NOT use cdata and should not contain any of the following characters without encoding ~ &lt; &gt; &amp; TAB CR LF ( ascii 10 / 13).</p>\n<p>Special Character encoding is required as shown below.</p>\n<table>\n        <tbody><tr>\n            <th>Value </th>\n            <th>Encoding </th>\n        </tr>\n        <tr>\n            <td>~ </td>\n            <td><code>~tl~</code> </td>\n        </tr>\n        <tr>\n            <td>&lt; </td>\n            <td><code>~lt~</code> </td>\n        </tr>\n        <tr>\n            <td>&gt; </td>\n            <td><code>~gt~</code> </td>\n        </tr>\n        <tr>\n            <td>&amp; </td>\n            <td><code>~am~</code> </td>\n        </tr>\n        <tr>\n            <td>Chr(9) </td>\n            <td><code>~09~</code> </td>\n        </tr>\n        <tr>\n            <td>Chr(10)</td>\n            <td><code>~10~</code> </td>\n        </tr>\n        <tr>\n            <td>Chr(13)</td>\n            <td><code>~13~</code> </td>\n        </tr>\n        <tr>\n            <td>' </td>\n            <td> Single quotes do not require any encoding </td>\n        </tr>\n    </tbody></table>\n\n<br />\n<h2>Data Dictionary</h2>\n\n<p>For access to the WMS data dictionary please contact Datapel Developer Support</p>\n<p>For authorised users please download or review using the following link.</p>\n<p><a href=\"http://download.datapel.com/schema/wmsdatadictionary2018.pdf\">Read our Data Dictionary Release 2018</a></p>\n<h2>Need more help?</h2>\nIf you need more help try our forums at <a href=\"https://www.datapel.com/forum/forum/developer-api/\">FORUMS / DEVELOPER API...</a>\n\n<p>(c) Copyright 2018 Datapel Systems Pty Ltd.</p>\n","event":[{"listen":"prerequest","script":{"id":"9d5c583f-895c-4773-9eb0-0436004ba60b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"62a4a8b3-d156-42f3-a0f8-2a94163f0abc","type":"text/javascript","exec":[""]}}],"_postman_id":"cc4355ce-664e-4f58-aff3-895cb6d5d698"},{"name":"Sample Code","item":[],"id":"82db4c6d-5b4e-4613-9b9f-7c0283694e73","description":"<h2>C# SDK with sample application</h2>\n\n<p>For the latest version of the Datapel Software Developer Kit (SDK) please visit GitHub.</p>\n<p><a href=\"https://github.com/breezeapi/ccBreezeSDK\">https://github.com/breezeapi/ccBreezeSDK</a></p>\n<p>This repository provides all the necessary c# libraries to place GET and POST requests to either local or cloud API installations.</p>\n<h2>PHP code example</h2>\nThe following code snippet demonstrates how to authenticate with the Breeze DataServer and obtain an authorisation token. Using the token a GET Query is made to inquire on the server timestamp and item code.\n\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;?php\n   /**\n    * Function to fetch access token from DATAPEL\n    */\n       function get_token($userName, $userPassword) {\n            //init the url\n            $datapelUrl = \"http://api.datapel.net/json/token\";\n            //encapsulate the credentials into a base64 string\n            $authString = base64_encode($userName . \":\" . $userPassword);\n\n            //init header array\n            $header = array();\n            $header[] = 'Content-length: 0';\n            $header[] = 'Content-type: application/json';\n            $header[] = 'Authorization:' . $authString;\n\n            //init curl api and send request - returning $data\n            $ch = curl_init();\n            $timeout = 5;\n            curl_setopt($ch, CURLOPT_URL, $datapelUrl);\n            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n            curl_setopt($ch, CURLOPT_HTTPHEADER, $header);\n            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);\n            $data = curl_exec($ch);\n\n            //process response - return token or assert error\n            if (curl_errno($ch)) {\n               echo 'error:' . curl_error($ch) . '&lt;br/&gt;';\n               curl_close($ch);\n            return '';\n            } else {\n              //token valid\n              $tk = json_decode($data, true);\n              curl_close($ch);\n              return $tk[0]['token'];\n            }\n        }\n\n   /**\n    * Function sample to perform a GET request from endpoint\n    */\n       function get_data($userName, $userPassword, $token, $filter, $process, $verbetype, $updatetype, $requesttype) {\n            //encapsulate the credentials into a base64 string\n            $authString = base64_encode($userName . \":\" . $userPassword);\n            $ch = curl_init();\n            if($requesttype==\"Post\")\n            {\n                  // POST REQUEST\n                  if($verbetype==\"xml\")\n                  {\n                        $filter=str_replace(\"&lt;\",\" &amp;lt;\",$filter);\n                        $filter=str_replace(\"&gt;\",\" &amp;gt;\",$filter);\n                        $dataToPost=\"&lt;?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?&gt;&lt;PostRequest xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\" xmlns:xsd=\\\"http://www.w3.org/2001/XMLSchema\\\"&gt;&lt;updatetype&gt;\".$updatetype.\"&lt;/updatetype&gt;&lt;filter&gt;\".$filter.\"&lt;/filter&gt;&lt;/PostRequest&gt;\";\n                  }\n                  else\n                  {\n                        $filter=str_replace('\"','\\\"',$filter);\n                        $dataToPost=\"{\\\"\".updatetype.\"\\\":\\\"Insert\\\",\\\"filter\\\":\\\"\".$filter.\"\\\"}\";\n                  }\n                  curl_setopt($ch, CURLOPT_POST, 1);\n                  curl_setopt($ch, CURLOPT_POSTFIELDS, $dataToPost);\n                  $datapelUrl = \"http://api.datapel.net/\".$verbetype.\"/\" . $process . \"?filter~\";        \n            }\n            else\n            {\n                  // GET REQUEST\n                  $dataToPost= \"\";\n                  $datapelUrl = \"http://api.datapel.net/\".$verbetype.\"/\".$process.\"?filter~\".urlencode($filter);\n            }\n            //init header array\n            $header = array();\n            //$header[] = 'Content-length:'.strlen($dataToPost);\n            $header[] = 'Content-type: application/json';\n            $header[] = 'Authorization: '.$authString;\n            $header[] = 'Auth_Token: '.$token;\n\n            echo $datapelUrl;\n            echo nl2br(\"\\n\");\n            echo nl2br(\"\\n\");    \n            //init curl api and send request - return data\n\n            $timeout = 5;\n\n            curl_setopt($ch, CURLOPT_URL, $datapelUrl);\n            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n            curl_setopt($ch, CURLOPT_HTTPHEADER, $header);\n            curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);\n            $data = curl_exec($ch);\n            curl_close($ch);\n            return $data;\n       }\n\n        // get token\n        $session_token = get_token(\"superuser\",\"password\");\n        // request server timestamp\n        echo get_data(\"superuser\", \"password\", $session_token, \"\", \"timestamp\", \"json\", \"Query\", \"GET\");\n        echo nl2br(\"\\n\");\n\n        // request itemlist element by itemnumber match\n        echo get_data(\"superuser\", \"password\", $session_token, \"itemnumber='\\c'\", \"items\", \"json\", \"Query\", \"GET\");\n        echo nl2br(\"\\n\");\n\n?&gt;\n</code></pre><br />\n<h2>JavaScript code example</h2>\n\n<p>The following code snippet demonstrates how to authenticate with the Breeze DataServer and obtain an authorisation token. Using the token a GET Query is made to inquire on the server timestamp and item code.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>/*!\n * Datapel apiConnect Library v1.2.0 (http://api.datapel.net)\n * Copyright 2011-2016 Datapel Systems Pty Ltd.\n * Licensed under MIT\n */\n\nif (typeof jQuery === 'undefined') { throw new Error('Datapel API Connection JavaScript requires jQuery') }\n\n/* ========================================================================\n * apiConnect: apiConnect.js v1.2.0\n * http://api.datapel.net/samplecode\n * ========================================================================\n * Copyright 2011-2016 Datapel Systems Pty Ltd.\n *\n * Example Usage:\n * ========================================================================\n * apiConnect.username = \"username\";\n * apiConnect.password = \"password\";\n * apiConnect.url = \"http://url:port\";\n * \n * ======================================================================== */\n\nvar apiConnect = new function () {\n    // Define Connection Properties\n    this.masterKey = \"\";\n    this.username = \"\";\n    this.password = \"\";\n    this.url = \"\";\n    this.token = \"\";\n    this.recordCount = 0;\n    this.pageCount = 0;\n    this.pageNumber = 0;\n    this.pageSize = 0;\n    this.pageStartTime = 0;\n    this.pageEndTime = 0;\n    this.pagePrimaryKeyName = \"\";\n    this.pageTableName = \"\";\n    this.pageQueryFilter = \"\";\n    this.pageColumns = \"\";\n    this.pageTag = \"\";\n    this.pageElapseTime = 0;\n    this.pageResultSet = [];\n    this.requestResultSet = [];\n    this.requestEstimatedTime = 0;\n    this.onPageComplete = function(){};\n    this.onPageException = function(){};\n    this.onRequestReady = function(){};\n    this.onRequestComplete = function(){};    \n    this.localscope = {};\n\n    // ========================================================================\n    // openService()\n    //\n    this.openService = function (callBack) {\n        // allow cross domain access\n        $.support.cors = true;\n        // Initialise the token\n        this.token = \"\";\n        // Encode authorisation credentials\n        this.masterKey = this.encode64(this.username + ':' + this.password);\n        // Request API session token\n        var urlGet = this.url + \"/json/token?authorization~\" + this.masterKey;\n        // Make request\n        $.ajax({\n            url: urlGet,\n            type: 'GET',\n            crossDomain: true,\n            async: true,\n            success: function(result) {\n                // check response is valid\n                if(result!=null &amp;&amp; result !=undefined) {\n                    this.token = result[0].token;\n                    //successful result\n                    console.log(\"Got Valid Token :\" + this.token);                                    \n                    // trigger the caller\n                    callBack(this.token);                    \n                } else {\n                    //invalid result\n                    callBack(false);                    \n                }            \n            },\n            error: function() {\n                //failed result                \n                callBack(false);                \n            }\n        });\n    };\n    // ========================================================================\n    // getRequest()\n    //    \n    this.getRequest = function (apiResource, apiFilter, callBack) {\n        var urlResponse;\n        // form the request based on the resource\n        var urlRequest = this.url + \"/json/\" + apiResource + \"?filter~\" + encodeURI(apiFilter);\n        // append security credentials\n        urlRequest = urlRequest + '&amp;authorization=' + this.masterKey + '&amp;auth_token=' + this.token;\n        // pass request to server\n        console.log(\"requesting: \" + urlRequest);\n        // allow cross domain by default\n        $.support.cors = true;\n        // Make request\n        $.ajax({\n            // pass the resource request\n            url: urlRequest,\n            type: 'GET',\n            crossDomain: true,\n            async: true,\n            success: function(result) {\n                // completed request\n                callBack(result);\n            },\n            error: function() {\n                //failed result                \n                callBack(false);\n            }\n        });\n    };    \n    // ========================================================================\n    // getTimeStamp()\n    //    \n    this.getTimeStamp = function (callBack) {\n        var urlResponse;\n        // form the request based on the resource\n        var urlRequest = this.url + \"/json/timestamp?filter~\";\n        // append security credentials\n        urlRequest = urlRequest + '&amp;authorization=' + this.masterKey + '&amp;auth_token=' + this.token;\n        // pass request to server\n        console.log(\"requesting: \" + urlRequest);        \n        // allow cross domain by default\n        $.support.cors = true;\n        // Make request\n        $.ajax({\n            // pass the resource request\n            url: urlRequest,\n            type: 'GET',\n            crossDomain: true,\n            async: true,\n            success: function(result) {\n                // check response is valid\n                if(result!=null &amp;&amp; result !=undefined) {\n                    //successful result\n                    callBack(result.ServerTimeStamp);                    \n                } else {\n                    //invalid result\n                    callBack(false);                    \n                }            \n            },\n            error: function() {\n                //failed result        \n                callBack(false);                \n            }\n        });\n    };\n    // ========================================================================\n    // getDataSetPage()\n    //    \n    this.getDataSetPage = function (tableName, tableColumns, tableFilter, tablePkey, pageSize, pageNumber) {\n        var queryString = \"\";\n        try {\n            // All Rows or filtered dataSet\n            if (!tableFilter.trim()) {\n            // is empty or whitespace\n                tableFilter = \"1=1\";\n            }\n            // All Columns or subSet\n            if (!tableColumns.trim()) {\n            // is empty or whitespace\n                tableColumns = \"*\";\n            }\n            // create the page query with filter\n            queryString = \"SELECT \" + tableColumns + \" FROM \" + tableName + \" WHERE \" + tableFilter + \" AND \" + tablePkey + \" IN \";\n            queryString = queryString + \"(SELECT TOP \" + pageSize + \" \" + tablePkey + \" FROM \" + tableName + \" WHERE \" + tableFilter + \" AND \" + tablePkey + \" NOT IN \";\n            queryString = queryString + \"(SELECT TOP \" + pageSize*(pageNumber-1) + \" \" + tablePkey + \" FROM \" + tableName + \" WHERE \" + tableFilter + \" ORDER BY \" + tablePkey + \")\";\n            queryString = queryString + \" ORDER BY \" + tablePkey + \")\" + \" ORDER BY \" + tablePkey;\n            // echo the query for debug\n            console.log(\"Page Query:\" + queryString);\n            //debugger;            \n\n        } catch (ex) {\n          alert(\"getDataset: Failed!\");\n          console.log(\"Error:\" + ex.message);\n          queryString = \"\";          \n        }\n        // Return the page query\n        return(queryString);\n    };\n\n    // ========================================================================\n    // getPagedRequest()\n    //    \n    this.getPagedRequest = function (tableFilter, onPageComplete, onPageException, onRequestReady, onRequestComplete) {\n        // New QueryString\n        var queryRequest = \"\";\n        var self = this;        \n        // Initialise context\n        self.pageQueryFilter = tableFilter;\n        // Initialise Event CallBacks\n        self.onPageComplete = onPageComplete;\n        self.onPageException = onPageException;\n        self.onRequestReady = onRequestReady;\n        self.onRequestComplete = onRequestComplete;\n        self.pageResultSet = [];\n        self.requestResultSet = [];\n        // Determine the number of records in the dataSet\n        setTimeout(function() {\n            // From Table get RecordCount\n            queryRequest = \"SELECT COUNT(*) AS recordCount FROM \" + self.pageTableName + \" WHERE \" + self.pageQueryFilter;\n            apiConnect.getRequest(\"sql\", queryRequest, apiConnect.pagedRequestBegin);            \n        }, 3000);         \n    };    \n    // ========================================================================\n    // pagedRequestBegin()\n    //    \n    this.pagedRequestBegin = function (resultSet) {\n        var queryRequest = \"\";\n        var recordCount = 0;\n        var pagesCount = 1;\n        var self = apiConnect;            \n        // Echo resultSet to console\n        if (resultSet) {\n            console.log(\"Items Loaded :\" + JSON.stringify(resultSet));\n        } else {\n            console.log(\"No results.\");\n        }\n        // Validate the previous resultSet            \n        if (resultSet) {\n            console.log(\"Records Loaded :\" + JSON.stringify(resultSet));\n            recordCount = parseInt(resultSet[0].recordCount);\n            if (recordCount &gt; 0) {\n                pagesCount = Math.ceil(recordCount / self.pageSize);\n            }\n        } else {\n            console.log(\"No results.\");\n        }\n        // Initialise the apiConnect with pageCount \n        self.pageCount = pagesCount;\n        // initiate the event callback\n        self.onRequestReady('onRequestReady');\n        // fire Request(\"sql-request\", filter-select query, callBack)\n        setTimeout(function() {\n            // Complete Request\n            self.pageNumber = 1;\n            queryRequest = self.getDataSetPage(self.pageTableName, self.pageColumns, self.pageQueryFilter, self.pagePrimaryKeyName, self.pageSize, self.pageNumber);\n            if (queryRequest.trim()) {\n                self.pageStartTime = performance.now();\n                self.getRequest(\"sql\", queryRequest, self.pagedRequestNext);\n            } else {\n                console.log(\"Server Connection Failed: (Invalid DataSet)\");    \n            }            \n        }, 3000);                 \n    };\n    // ========================================================================\n    // pagedRequestNext()\n    //    \n    this.pagedRequestNext = function (resultSet) {\n        // New QueryString\n        var queryRequest = \"\";\n        var self = apiConnect;\n        // Mark Page Loaded\n        self.pageEndTime = performance.now();\n        self.pageElapseTime = self.pageEndTime - self.pageStartTime;\n        self.requestEstimatedTime = self.pageElapseTime * self.pageCount;\n        // Echo resultSet to console\n        if (resultSet) {\n            self.pageResultSet = resultSet;\n            self.requestResultSet = self.requestResultSet.concat(resultSet);\n            console.log(\"pageResultSet :\" + JSON.stringify(resultSet));            \n        } else {\n            console.log(\"No results.\");\n        }\n        // initiate the event callback\n        self.onPageComplete('onPageComplete');            \n        // Page Download Complete - step to next page\n        self.pageNumber = self.pageNumber + 1;        \n        // fire page Request with filter-select query, then callBack\n        setTimeout(function() {\n            // Complete Request\n            self.pageStartTime = performance.now();\n            queryRequest = self.getDataSetPage(self.pageTableName, self.pageColumns, self.pageQueryFilter, self.pagePrimaryKeyName, self.pageSize, self.pageNumber);\n            if (queryRequest.trim()) {\n                if (self.pageNumber != self.pageCount) {\n                    // Download next page in Request Set\n                    self.getRequest(\"sql\", queryRequest, self.pagedRequestNext);\n                } else {\n                    // Final page download in Request Set\n                    self.getRequest(\"sql\", queryRequest, self.pagedRequestComplete);                    \n                }\n            } else {\n                console.log(\"Server Connection Failed: (Invalid DataSet)\");\n            }            \n        }, 3000);              \n    };\n    // ========================================================================\n    // pagedRequestComplete()\n    //    \n    this.pagedRequestComplete = function (resultSet) {\n        try {\n            var self = apiConnect;\n            if (resultSet) {\n                self.pageResultSet = resultSet;\n                self.requestResultSet =  self.requestResultSet.concat(resultSet);\n                console.log(\"requestResultSet :\" + JSON.stringify(self.requestResultSet));\n            } else {\n                console.log(\"No results.\");\n            }\n            // initiate the event callback\n            self.onRequestComplete('onRequestComplete');            \n            console.log(\"Request COMPLETE!\");\n        } catch (ex) {\n          alert(\"Failed!\");\n          console.log(\"Error:\" + ex.message);    \n        }        \n    };    \n    // Use this function to encode64 ONLY FOR APIKEY\n    this.encode64 = function (input) {\n\n          var keyStr = \"ABCDEFGHIJKLMNOP\" +\n                   \"QRSTUVWXYZabcdef\" +\n                   \"ghijklmnopqrstuv\" +\n                   \"wxyz0123456789+/\" +\n                   \"=\";\n\n         var output = \"\";\n         var chr1, chr2, chr3 = \"\";\n         var enc1, enc2, enc3, enc4 = \"\";\n         var i = 0;     \n         do {\n            chr1 = input.charCodeAt(i++);\n            chr2 = input.charCodeAt(i++);\n            chr3 = input.charCodeAt(i++);\n            enc1 = chr1 &gt;&gt; 2;\n            enc2 = ((chr1 &amp; 3) &lt;&lt; 4) | (chr2 &gt;&gt; 4);\n            enc3 = ((chr2 &amp; 15) &lt;&lt; 2) | (chr3 &gt;&gt; 6);\n            enc4 = chr3 &amp; 63;\n            if (isNaN(chr2)) {\n               enc3 = enc4 = 64;\n            } else if (isNaN(chr3)) {\n               enc4 = 64;\n            }\n            output = output +\n               keyStr.charAt(enc1) +\n               keyStr.charAt(enc2) +\n               keyStr.charAt(enc3) +\n               keyStr.charAt(enc4);\n            chr1 = chr2 = chr3 = \"\";\n            enc1 = enc2 = enc3 = enc4 = \"\";\n         } while (i &lt; input.length);\n         return output;\n    };\n};\n</code></pre><br />\n<h2>apiConnect Sample Snippet</h2>\n\n<p>The following code snippet demonstrates the use of the apiConnect class to connect and make requests using callback functions.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  &lt;index.html&gt;\n  .....\n  &lt;script src=\"assets/js/apiConnect.js\"&gt;&lt;/script&gt;\n\n  &lt;script&gt;\n        $(document).ready(function() {\n            Main.init();\n\n        });\n\n    function connectInit() {\n            try {\n                // Open Connection to API Server\n                apiConnect.username = \"superuser\";\n                apiConnect.password = \"password\";\n                apiConnect.url = \"http://api.datapel.net\";\n                // initialise Page Helper defaults\n                apiConnect.pageNumber = 1;\n                apiConnect.pageSize = 20;\n                apiConnect.recordCount = 0;                \n\n                setTimeout(function() {apiConnect.openService(connectComplete); }, 1000); \n\n            } catch(ex) {\n                console.log(\"Error:\" + ex.message);    \n            }\n    };\n\n    function connectComplete(token) {\n        if (token) {\n            apiConnect.token = token;\n            console.log(\"Authenticated...\" + token);\n            // Trigger Connection Verification\n            setModalMessage('Verifying Connection...');\n            setTimeout(function() {apiConnect.getTimeStamp(connectReady); }, 1000); \n\n        } else {\n            console.log(\"Server Connection Failed.\");\n            // Unable to connect - Check username / password or connection\n            setModalMessage('Server Connection Failed: (No resource available)');    \n        }\n    };\n\n    function connectReady(timeStamp) {\n        if (timeStamp) {\n            console.log(\"Connected @ \" + timeStamp);\n            //Connection Successful\n            setModalMessage('Connected @ ' + timeStamp);        \n            // Display Connected Status\n            // Continue to access Api\n        } else {\n            console.log(\"Connection Not Ready.\");\n        }\n    };\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"5d5db171-056e-4747-9b1b-863f8e05bdff","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6110327a-b061-435b-bce5-c8ffa230afec","type":"text/javascript","exec":[""]}}],"_postman_id":"82db4c6d-5b4e-4613-9b9f-7c0283694e73"},{"name":"Glossary","item":[],"id":"9102c31c-a518-4079-bfe8-4f97bc522996","description":"<p>To view our API glossary please <a href=\"http://api.datapel.net/glossary?filter~\">click here.</a></p>\n","event":[{"listen":"prerequest","script":{"id":"d87e653d-f909-437c-8fc4-9cc29d032929","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"37a2e9f9-53cb-4464-8c09-e7ce7fa23e37","type":"text/javascript","exec":[""]}}],"_postman_id":"9102c31c-a518-4079-bfe8-4f97bc522996"},{"name":"Endpoints","item":[{"name":"Sales Queue","id":"98e19c76-cfb8-40df-a69b-986cec4676d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"NewDataSet\": {\n        \"tREMOTETransHeader\": {\n            \"Company_ID\": \"<string>\",\n            \"StoreCode\": \"<string>\",\n            \"PostingDate\": \"<string>\",\n            \"TransID\": \"<string>\",\n            \"TransDate\": \"<string>\",\n            \"Salesperson\": \"<string>\",\n            \"CardIdentification\": \"<string>\",\n            \"SaleType\": \"<string>\",\n            \"Special2\": \"<string>\",\n            \"ShippingMethod\": \"<string>\",\n            \"ClosedYN\": \"<string>\",\n            \"OriginalSaleType\": \"<string>\"\n        },\n        \"tREMOTETransCustomer\": {\n            \"ShipToName\": \"<string>\",\n            \"ShipToAddress1\": \"<string>\",\n            \"ShipToAddress2\": \"<string>\",\n            \"ShipToSuburb\": \"<string>\",\n            \"ShipToPostcode\": \"<integer>\",\n            \"ShipToState\": \"<string>\",\n            \"Address1\": \"<string>\",\n            \"Suburb\": \"<string>\",\n            \"Postcode\": \"<integer>\",\n            \"Phoneno1\": \"<string>\",\n            \"EmailAddress\": \"<string>\"\n        },\n        \"tREMOTETransSaleTenders\": {\n            \"TenderAmount\": \"<number>\"\n        },\n        \"tREMOTETransSaleLines\": {\n            \"SKU\": \"<string>\",\n            \"SaleQty\": \"<integer>\",\n            \"SaleUnitAmountIncTax\": \"<number>\",\n            \"SaleTaxByHost\": \"<string>\",\n            \"SaleTaxRate\": \"<integer>\",\n            \"SKUDescription\": \"<string>\",\n            \"SalePriceByHost\": \"<string>\"\n        }\n    }\n}"},"url":"http://api.datapel.net/JSON/salesqueue","description":"<p>Posts sale data to the queue.</p>\n","urlObject":{"path":["salesqueue"],"host":["http://api.datapel.net/JSON"],"query":[],"variable":[]}},"response":[{"id":"fb8e1576-a53b-4949-a428-75ccb48ca11e","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"NewDataSet\": {\n        \"tREMOTETransHeader\": {\n            \"Company_ID\": \"<string>\",\n            \"StoreCode\": \"<string>\",\n            \"PostingDate\": \"<string>\",\n            \"TransID\": \"<string>\",\n            \"TransDate\": \"<string>\",\n            \"Salesperson\": \"<string>\",\n            \"CardIdentification\": \"<string>\",\n            \"SaleType\": \"<string>\",\n            \"Special2\": \"<string>\",\n            \"ShippingMethod\": \"<string>\",\n            \"ClosedYN\": \"<string>\",\n            \"OriginalSaleType\": \"<string>\"\n        },\n        \"tREMOTETransCustomer\": {\n            \"ShipToName\": \"<string>\",\n            \"ShipToAddress1\": \"<string>\",\n            \"ShipToAddress2\": \"<string>\",\n            \"ShipToSuburb\": \"<string>\",\n            \"ShipToPostcode\": \"<integer>\",\n            \"ShipToState\": \"<string>\",\n            \"Address1\": \"<string>\",\n            \"Suburb\": \"<string>\",\n            \"Postcode\": \"<integer>\",\n            \"Phoneno1\": \"<string>\",\n            \"EmailAddress\": \"<string>\"\n        },\n        \"tREMOTETransSaleTenders\": {\n            \"TenderAmount\": \"<number>\"\n        },\n        \"tREMOTETransSaleLines\": {\n            \"SKU\": \"<string>\",\n            \"SaleQty\": \"<integer>\",\n            \"SaleUnitAmountIncTax\": \"<number>\",\n            \"SaleTaxByHost\": \"<string>\",\n            \"SaleTaxRate\": \"<integer>\",\n            \"SKUDescription\": \"<string>\",\n            \"SalePriceByHost\": \"<string>\"\n        }\n    }\n}"},"url":"http://api.datapel.net/JSON/salesqueue"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"98e19c76-cfb8-40df-a69b-986cec4676d7"},{"name":"Sales Queue","id":"9ede8703-8c83-4c4b-beab-aafb6bbfcbfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/salesqueue?DELETE=<string>&FLUSH=<string>&FLUSH_WAIT=<string>&UNLOCK=<string>&WITHLOCK=<string>","description":"<p>Retrieve sale data from the sales queue.</p>\n","urlObject":{"path":["salesqueue"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Delete the containing JSON queue files.</p>\n","type":"text/plain"},"key":"DELETE","value":"<string>"},{"description":{"content":"<p>Remove the lock.</p>\n","type":"text/plain"},"key":"FLUSH","value":"<string>"},{"description":{"content":"<p>Wait.</p>\n","type":"text/plain"},"key":"FLUSH_WAIT","value":"<string>"},{"description":{"content":"<p>Unlock the folder</p>\n","type":"text/plain"},"key":"UNLOCK","value":"<string>"},{"description":{"content":"<p>Lock the folder.</p>\n","type":"text/plain"},"key":"WITHLOCK","value":"<string>"}],"variable":[]}},"response":[{"id":"664b002d-9cff-497c-ab22-748939daa965","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/salesqueue?DELETE=<string>&FLUSH=<string>&FLUSH_WAIT=<string>&UNLOCK=<string>&WITHLOCK=<string>","host":["http://api.datapel.net/JSON"],"path":["salesqueue"],"query":[{"key":"DELETE","value":"<string>"},{"key":"FLUSH","value":"<string>"},{"key":"FLUSH_WAIT","value":"<string>"},{"key":"UNLOCK","value":"<string>"},{"key":"WITHLOCK","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"count\": \"<integer>\",\n  \"salesqueue\": [\n   {\n    \"nameoffile\": \"<string>\",\n    \"data\": {\n     \"tremotetransheader\": {\n      \"company_id\": \"<string>\",\n      \"storecode\": \"<string>\",\n      \"postingdate\": \"<string>\",\n      \"transid\": \"<integer>\",\n      \"transdate\": \"<string>\",\n      \"saletype\": \"<string>\",\n      \"salesperson\": \"<string>\",\n      \"customerid\": \"<integer>\",\n      \"cardidentification\": \"<string>\",\n      \"shipcustomerid\": \"<integer>\",\n      \"shipcardidentification\": \"<string>\",\n      \"udf1\": \"<string>\",\n      \"udf2\": \"<string>\",\n      \"udf3\": \"<string>\",\n      \"dtd\": \"<string>\",\n      \"revisionnumber\": \"<integer>\",\n      \"originalsaletype\": \"<string>\",\n      \"originaltransid\": \"<string>\",\n      \"notes\": \"<string>\",\n      \"duedate\": \"<string>\",\n      \"shippingmethod\": \"<string>\",\n      \"shippingcost\": \"<number>\",\n      \"shippingnote\": \"<string>\",\n      \"discountnote\": \"<string>\",\n      \"discountamount\": \"<number>\",\n      \"surchargenote\": \"<string>\",\n      \"surchargeamount\": \"<number>\",\n      \"special2\": \"<integer>\",\n      \"priority\": \"<integer>\",\n      \"shipnote\": \"<string>\",\n      \"terms\": \"<string>\"\n     },\n     \"tremotetranssalelines\": [\n      {\n       \"salelineno\": \"<integer>\",\n       \"salepricebyhost\": \"<number>\",\n       \"sku\": \"<string>\",\n       \"hosku\": \"<string>\",\n       \"saleqty\": \"<integer>\",\n       \"saleunitqty\": \"<integer>\",\n       \"saleunitamountexctax\": \"<number>\",\n       \"saleunitamountinctax\": \"<number>\",\n       \"saletaxrate\": \"<number>\",\n       \"skudescription\": \"<string>\",\n       \"saletaxcode\": \"<string>\",\n       \"linenote\": \"<string>\",\n       \"currencycode\": \"<string>\",\n       \"jobnote\": \"<string>\",\n       \"jobcode\": \"<string>\"\n      },\n      {\n       \"salelineno\": \"<integer>\",\n       \"salepricebyhost\": \"<number>\",\n       \"sku\": \"<string>\",\n       \"hosku\": \"<string>\",\n       \"saleqty\": \"<integer>\",\n       \"saleunitqty\": \"<integer>\",\n       \"saleunitamountexctax\": \"<number>\",\n       \"saleunitamountinctax\": \"<number>\",\n       \"saletaxrate\": \"<number>\",\n       \"skudescription\": \"<string>\",\n       \"saletaxcode\": \"<string>\",\n       \"linenote\": \"<string>\",\n       \"currencycode\": \"<string>\",\n       \"jobnote\": \"<string>\",\n       \"jobcode\": \"<string>\"\n      }\n     ],\n     \"tremotetranscustomer\": {\n      \"shiptoname\": \"<string>\",\n      \"shiptoaddress1\": \"<string>\",\n      \"shiptoaddress2\": \"<string>\",\n      \"shiptosuburb\": \"<string>\",\n      \"faxno\": \"<string>\",\n      \"phoneno1\": \"<string>\",\n      \"phoneno2\": \"<string>\",\n      \"emailaddress\": \"<string>\",\n      \"sent2hostdatetime\": \"<string>\"\n     },\n     \"tremotetranssaletenders\": {\n      \"tendertype\": \"<string>\",\n      \"tenderamount\": \"<number>\",\n      \"currencycode\": \"<string>\"\n     },\n     \"exception\": \"<object>\"\n    }\n   },\n   {\n    \"nameoffile\": \"<string>\",\n    \"data\": {\n     \"tremotetransheader\": {\n      \"company_id\": \"<string>\",\n      \"storecode\": \"<string>\",\n      \"postingdate\": \"<string>\",\n      \"transid\": \"<integer>\",\n      \"transdate\": \"<string>\",\n      \"saletype\": \"<string>\",\n      \"salesperson\": \"<string>\",\n      \"customerid\": \"<integer>\",\n      \"cardidentification\": \"<string>\",\n      \"shipcustomerid\": \"<integer>\",\n      \"shipcardidentification\": \"<string>\",\n      \"udf1\": \"<string>\",\n      \"udf2\": \"<string>\",\n      \"udf3\": \"<string>\",\n      \"dtd\": \"<string>\",\n      \"revisionnumber\": \"<integer>\",\n      \"originalsaletype\": \"<string>\",\n      \"originaltransid\": \"<string>\",\n      \"notes\": \"<string>\",\n      \"duedate\": \"<string>\",\n      \"shippingmethod\": \"<string>\",\n      \"shippingcost\": \"<number>\",\n      \"shippingnote\": \"<string>\",\n      \"discountnote\": \"<string>\",\n      \"discountamount\": \"<number>\",\n      \"surchargenote\": \"<string>\",\n      \"surchargeamount\": \"<number>\",\n      \"special2\": \"<integer>\",\n      \"priority\": \"<integer>\",\n      \"shipnote\": \"<string>\",\n      \"terms\": \"<string>\"\n     },\n     \"tremotetranssalelines\": [\n      {\n       \"salelineno\": \"<integer>\",\n       \"salepricebyhost\": \"<number>\",\n       \"sku\": \"<string>\",\n       \"hosku\": \"<string>\",\n       \"saleqty\": \"<integer>\",\n       \"saleunitqty\": \"<integer>\",\n       \"saleunitamountexctax\": \"<number>\",\n       \"saleunitamountinctax\": \"<number>\",\n       \"saletaxrate\": \"<number>\",\n       \"skudescription\": \"<string>\",\n       \"saletaxcode\": \"<string>\",\n       \"linenote\": \"<string>\",\n       \"currencycode\": \"<string>\",\n       \"jobnote\": \"<string>\",\n       \"jobcode\": \"<string>\"\n      },\n      {\n       \"salelineno\": \"<integer>\",\n       \"salepricebyhost\": \"<number>\",\n       \"sku\": \"<string>\",\n       \"hosku\": \"<string>\",\n       \"saleqty\": \"<integer>\",\n       \"saleunitqty\": \"<integer>\",\n       \"saleunitamountexctax\": \"<number>\",\n       \"saleunitamountinctax\": \"<number>\",\n       \"saletaxrate\": \"<number>\",\n       \"skudescription\": \"<string>\",\n       \"saletaxcode\": \"<string>\",\n       \"linenote\": \"<string>\",\n       \"currencycode\": \"<string>\",\n       \"jobnote\": \"<string>\",\n       \"jobcode\": \"<string>\"\n      }\n     ],\n     \"tremotetranscustomer\": {\n      \"shiptoname\": \"<string>\",\n      \"shiptoaddress1\": \"<string>\",\n      \"shiptoaddress2\": \"<string>\",\n      \"shiptosuburb\": \"<string>\",\n      \"faxno\": \"<string>\",\n      \"phoneno1\": \"<string>\",\n      \"phoneno2\": \"<string>\",\n      \"emailaddress\": \"<string>\",\n      \"sent2hostdatetime\": \"<string>\"\n     },\n     \"tremotetranssaletenders\": {\n      \"tendertype\": \"<string>\",\n      \"tenderamount\": \"<number>\",\n      \"currencycode\": \"<string>\"\n     },\n     \"exception\": \"<object>\"\n    }\n   }\n  ],\n  \"exception\": \"<object>\"\n },\n {\n  \"count\": \"<integer>\",\n  \"salesqueue\": [\n   {\n    \"nameoffile\": \"<string>\",\n    \"data\": {\n     \"tremotetransheader\": {\n      \"company_id\": \"<string>\",\n      \"storecode\": \"<string>\",\n      \"postingdate\": \"<string>\",\n      \"transid\": \"<integer>\",\n      \"transdate\": \"<string>\",\n      \"saletype\": \"<string>\",\n      \"salesperson\": \"<string>\",\n      \"customerid\": \"<integer>\",\n      \"cardidentification\": \"<string>\",\n      \"shipcustomerid\": \"<integer>\",\n      \"shipcardidentification\": \"<string>\",\n      \"udf1\": \"<string>\",\n      \"udf2\": \"<string>\",\n      \"udf3\": \"<string>\",\n      \"dtd\": \"<string>\",\n      \"revisionnumber\": \"<integer>\",\n      \"originalsaletype\": \"<string>\",\n      \"originaltransid\": \"<string>\",\n      \"notes\": \"<string>\",\n      \"duedate\": \"<string>\",\n      \"shippingmethod\": \"<string>\",\n      \"shippingcost\": \"<number>\",\n      \"shippingnote\": \"<string>\",\n      \"discountnote\": \"<string>\",\n      \"discountamount\": \"<number>\",\n      \"surchargenote\": \"<string>\",\n      \"surchargeamount\": \"<number>\",\n      \"special2\": \"<integer>\",\n      \"priority\": \"<integer>\",\n      \"shipnote\": \"<string>\",\n      \"terms\": \"<string>\"\n     },\n     \"tremotetranssalelines\": [\n      {\n       \"salelineno\": \"<integer>\",\n       \"salepricebyhost\": \"<number>\",\n       \"sku\": \"<string>\",\n       \"hosku\": \"<string>\",\n       \"saleqty\": \"<integer>\",\n       \"saleunitqty\": \"<integer>\",\n       \"saleunitamountexctax\": \"<number>\",\n       \"saleunitamountinctax\": \"<number>\",\n       \"saletaxrate\": \"<number>\",\n       \"skudescription\": \"<string>\",\n       \"saletaxcode\": \"<string>\",\n       \"linenote\": \"<string>\",\n       \"currencycode\": \"<string>\",\n       \"jobnote\": \"<string>\",\n       \"jobcode\": \"<string>\"\n      },\n      {\n       \"salelineno\": \"<integer>\",\n       \"salepricebyhost\": \"<number>\",\n       \"sku\": \"<string>\",\n       \"hosku\": \"<string>\",\n       \"saleqty\": \"<integer>\",\n       \"saleunitqty\": \"<integer>\",\n       \"saleunitamountexctax\": \"<number>\",\n       \"saleunitamountinctax\": \"<number>\",\n       \"saletaxrate\": \"<number>\",\n       \"skudescription\": \"<string>\",\n       \"saletaxcode\": \"<string>\",\n       \"linenote\": \"<string>\",\n       \"currencycode\": \"<string>\",\n       \"jobnote\": \"<string>\",\n       \"jobcode\": \"<string>\"\n      }\n     ],\n     \"tremotetranscustomer\": {\n      \"shiptoname\": \"<string>\",\n      \"shiptoaddress1\": \"<string>\",\n      \"shiptoaddress2\": \"<string>\",\n      \"shiptosuburb\": \"<string>\",\n      \"faxno\": \"<string>\",\n      \"phoneno1\": \"<string>\",\n      \"phoneno2\": \"<string>\",\n      \"emailaddress\": \"<string>\",\n      \"sent2hostdatetime\": \"<string>\"\n     },\n     \"tremotetranssaletenders\": {\n      \"tendertype\": \"<string>\",\n      \"tenderamount\": \"<number>\",\n      \"currencycode\": \"<string>\"\n     },\n     \"exception\": \"<object>\"\n    }\n   },\n   {\n    \"nameoffile\": \"<string>\",\n    \"data\": {\n     \"tremotetransheader\": {\n      \"company_id\": \"<string>\",\n      \"storecode\": \"<string>\",\n      \"postingdate\": \"<string>\",\n      \"transid\": \"<integer>\",\n      \"transdate\": \"<string>\",\n      \"saletype\": \"<string>\",\n      \"salesperson\": \"<string>\",\n      \"customerid\": \"<integer>\",\n      \"cardidentification\": \"<string>\",\n      \"shipcustomerid\": \"<integer>\",\n      \"shipcardidentification\": \"<string>\",\n      \"udf1\": \"<string>\",\n      \"udf2\": \"<string>\",\n      \"udf3\": \"<string>\",\n      \"dtd\": \"<string>\",\n      \"revisionnumber\": \"<integer>\",\n      \"originalsaletype\": \"<string>\",\n      \"originaltransid\": \"<string>\",\n      \"notes\": \"<string>\",\n      \"duedate\": \"<string>\",\n      \"shippingmethod\": \"<string>\",\n      \"shippingcost\": \"<number>\",\n      \"shippingnote\": \"<string>\",\n      \"discountnote\": \"<string>\",\n      \"discountamount\": \"<number>\",\n      \"surchargenote\": \"<string>\",\n      \"surchargeamount\": \"<number>\",\n      \"special2\": \"<integer>\",\n      \"priority\": \"<integer>\",\n      \"shipnote\": \"<string>\",\n      \"terms\": \"<string>\"\n     },\n     \"tremotetranssalelines\": [\n      {\n       \"salelineno\": \"<integer>\",\n       \"salepricebyhost\": \"<number>\",\n       \"sku\": \"<string>\",\n       \"hosku\": \"<string>\",\n       \"saleqty\": \"<integer>\",\n       \"saleunitqty\": \"<integer>\",\n       \"saleunitamountexctax\": \"<number>\",\n       \"saleunitamountinctax\": \"<number>\",\n       \"saletaxrate\": \"<number>\",\n       \"skudescription\": \"<string>\",\n       \"saletaxcode\": \"<string>\",\n       \"linenote\": \"<string>\",\n       \"currencycode\": \"<string>\",\n       \"jobnote\": \"<string>\",\n       \"jobcode\": \"<string>\"\n      },\n      {\n       \"salelineno\": \"<integer>\",\n       \"salepricebyhost\": \"<number>\",\n       \"sku\": \"<string>\",\n       \"hosku\": \"<string>\",\n       \"saleqty\": \"<integer>\",\n       \"saleunitqty\": \"<integer>\",\n       \"saleunitamountexctax\": \"<number>\",\n       \"saleunitamountinctax\": \"<number>\",\n       \"saletaxrate\": \"<number>\",\n       \"skudescription\": \"<string>\",\n       \"saletaxcode\": \"<string>\",\n       \"linenote\": \"<string>\",\n       \"currencycode\": \"<string>\",\n       \"jobnote\": \"<string>\",\n       \"jobcode\": \"<string>\"\n      }\n     ],\n     \"tremotetranscustomer\": {\n      \"shiptoname\": \"<string>\",\n      \"shiptoaddress1\": \"<string>\",\n      \"shiptoaddress2\": \"<string>\",\n      \"shiptosuburb\": \"<string>\",\n      \"faxno\": \"<string>\",\n      \"phoneno1\": \"<string>\",\n      \"phoneno2\": \"<string>\",\n      \"emailaddress\": \"<string>\",\n      \"sent2hostdatetime\": \"<string>\"\n     },\n     \"tremotetranssaletenders\": {\n      \"tendertype\": \"<string>\",\n      \"tenderamount\": \"<number>\",\n      \"currencycode\": \"<string>\"\n     },\n     \"exception\": \"<object>\"\n    }\n   }\n  ],\n  \"exception\": \"<object>\"\n }\n]"}],"_postman_id":"9ede8703-8c83-4c4b-beab-aafb6bbfcbfc"},{"name":"Timestamp","id":"2e3206ea-7869-475e-9bf3-6d09d548c591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/timestamp","description":"<p>Returns timestamp information about the specified server.</p>\n","urlObject":{"path":["timestamp"],"host":["http://api.datapel.net/JSON"],"query":[],"variable":[]}},"response":[{"id":"e85b2192-6b8a-4172-9899-68cd620b83fd","name":"OK","originalRequest":{"method":"GET","header":[],"url":"http://api.datapel.net/JSON/timestamp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"ServerTimeStamp\": \"<object>\"\n}"}],"_postman_id":"2e3206ea-7869-475e-9bf3-6d09d548c591"},{"name":"Items","id":"10a12529-917a-4eb7-8c0e-93a627ecaabd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/items?CustomField2=<string>&CustomField3=<string>&ItemName=<string>&ItemNumber=<string>&ItemNotes=<string>&MYOBItemID=<integer>","description":"<p>The items endpoint returns one record per SKU (stock keeping unit) or sometimes called the Item Master List. Each record provides information regarding the generic item properties and specific article location details. This endpoint is typically used to generate lists of available inventory available for sale or consumption.</p>\n","urlObject":{"path":["items"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Custom Field 1 Text attached to this item. Custom Field 1 is only used within the Premier release.</p>\n","type":"text/plain"},"key":"CustomField2","value":"<string>"},{"description":{"content":"<p>Custom Field 1 Text attached to this item. Custom Field 1 is only used within the Premier release.</p>\n","type":"text/plain"},"key":"CustomField3","value":"<string>"},{"description":{"content":"<p>The item name.</p>\n","type":"text/plain"},"key":"ItemName","value":"<string>"},{"description":{"content":"<p>The allocated item number.</p>\n","type":"text/plain"},"key":"ItemNumber","value":"<string>"},{"description":{"content":"<p>The notes for an item.</p>\n","type":"text/plain"},"key":"ItemNotes","value":"<string>"},{"description":{"content":"<p>The primary key of the item in the MYOB database</p>\n","type":"text/plain"},"key":"MYOBItemID","value":"<integer>"}],"variable":[{"id":"1d06f454-5821-4ea0-ac06-38d988814651","description":{"content":"<p>Pass a primary key of an item master record.</p>\n","type":"text/plain"},"type":"string","value":"<integer>","key":"BaseStockID"},{"id":"2a594f2b-2e53-4749-904f-a98e604dfd06","description":{"content":"<p>Custom Field 1 Text attached to this item. Custom Field 1 is only used within the Premier release.</p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"CustomField1"}]}},"response":[{"id":"0ee1d106-a876-4c46-bb5e-4a8974cf79dc","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/items?CustomField2=<string>&CustomField3=<string>&ItemName=<string>&ItemNumber=<string>&ItemNotes=<string>&MYOBItemID=<integer>","host":["http://api.datapel.net/JSON"],"path":["items"],"query":[{"key":"CustomField2","value":"<string>"},{"key":"CustomField3","value":"<string>"},{"key":"ItemName","value":"<string>"},{"key":"ItemNumber","value":"<string>"},{"key":"ItemNotes","value":"<string>"},{"key":"MYOBItemID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"basestockid\": \"<integer>\",\n  \"itemcode\": \"<string>\",\n  \"itemnumber\": \"<string>\",\n  \"usenotes\": \"<boolean>\",\n  \"buytaxcode\": \"<string>\",\n  \"buytaxrate\": \"<number>\",\n  \"standardinctax\": \"<number>\",\n  \"itemname\": \"<string>\",\n  \"notes\": \"<string>\",\n  \"price\": \"<number>\",\n  \"priceinc\": \"<number>\",\n  \"taxcode\": \"<string>\",\n  \"taxrate\": \"<number>\",\n  \"stockonhand\": \"<integer>\",\n  \"stockonhold\": \"<integer>\",\n  \"stockonshelf\": \"<integer>\",\n  \"isactive\": \"<boolean>\",\n  \"minimumreorderlevel\": \"<integer>\",\n  \"defaultreorderquantity\": \"<integer>\",\n  \"primarysuppliercardid\": \"<integer>\",\n  \"primarysupplieritemcode\": \"<string>\",\n  \"customfield1\": \"<string>\",\n  \"customfield2\": \"<string>\",\n  \"customfield3\": \"<string>\",\n  \"customlist1\": \"<string>\",\n  \"customlist2\": \"<string>\",\n  \"customlist3\": \"<string>\",\n  \"udf1\": \"<string>\",\n  \"udf2\": \"<string>\",\n  \"udf3\": \"<string>\",\n  \"udf4\": \"<string>\",\n  \"udf5\": \"<string>\",\n  \"udf6\": \"<string>\",\n  \"udf7\": \"<string>\",\n  \"udf8\": \"<string>\",\n  \"udf9\": \"<string>\",\n  \"udf10\": \"<string>\",\n  \"udf11\": \"<string>\",\n  \"udf12\": \"<string>\",\n  \"udf13\": \"<string>\",\n  \"udf14\": \"<string>\",\n  \"udf15\": \"<string>\",\n  \"udf16\": \"<string>\",\n  \"udf17\": \"<string>\",\n  \"udf18\": \"<string>\",\n  \"udf19\": \"<string>\",\n  \"udf20\": \"<string>\",\n  \"udf21\": \"<string>\",\n  \"udf22\": \"<string>\",\n  \"udf23\": \"<string>\",\n  \"udf24\": \"<string>\",\n  \"buyingunitofmeasure\": \"<string>\",\n  \"buyingunit\": \"<integer>\",\n  \"sellingunitofmeasure\": \"<string>\",\n  \"sellingunit\": \"<integer>\",\n  \"isbought\": \"<boolean>\",\n  \"issold\": \"<boolean>\",\n  \"isinventoried\": \"<boolean>\",\n  \"isbatchtracked\": \"<boolean>\",\n  \"lastcost\": \"<number>\",\n  \"averagecost\": \"<number>\",\n  \"standardcost\": \"<number>\",\n  \"stocklocationlist\": [\n   {\n    \"location\": \"<string>\",\n    \"quantity\": \"<integer>\",\n    \"brn\": \"<string>\",\n    \"lot\": \"<integer>\",\n    \"bin\": \"<string>\",\n    \"onhold\": \"<integer>\",\n    \"expirydate\": \"<string>\"\n   },\n   {\n    \"location\": \"<string>\",\n    \"quantity\": \"<integer>\",\n    \"brn\": \"<string>\",\n    \"lot\": \"<integer>\",\n    \"bin\": \"<string>\",\n    \"onhold\": \"<integer>\",\n    \"expirydate\": \"<string>\"\n   }\n  ]\n },\n {\n  \"basestockid\": \"<integer>\",\n  \"itemcode\": \"<string>\",\n  \"itemnumber\": \"<string>\",\n  \"usenotes\": \"<boolean>\",\n  \"buytaxcode\": \"<string>\",\n  \"buytaxrate\": \"<number>\",\n  \"standardinctax\": \"<number>\",\n  \"itemname\": \"<string>\",\n  \"notes\": \"<string>\",\n  \"price\": \"<number>\",\n  \"priceinc\": \"<number>\",\n  \"taxcode\": \"<string>\",\n  \"taxrate\": \"<number>\",\n  \"stockonhand\": \"<integer>\",\n  \"stockonhold\": \"<integer>\",\n  \"stockonshelf\": \"<integer>\",\n  \"isactive\": \"<boolean>\",\n  \"minimumreorderlevel\": \"<integer>\",\n  \"defaultreorderquantity\": \"<integer>\",\n  \"primarysuppliercardid\": \"<integer>\",\n  \"primarysupplieritemcode\": \"<string>\",\n  \"customfield1\": \"<string>\",\n  \"customfield2\": \"<string>\",\n  \"customfield3\": \"<string>\",\n  \"customlist1\": \"<string>\",\n  \"customlist2\": \"<string>\",\n  \"customlist3\": \"<string>\",\n  \"udf1\": \"<string>\",\n  \"udf2\": \"<string>\",\n  \"udf3\": \"<string>\",\n  \"udf4\": \"<string>\",\n  \"udf5\": \"<string>\",\n  \"udf6\": \"<string>\",\n  \"udf7\": \"<string>\",\n  \"udf8\": \"<string>\",\n  \"udf9\": \"<string>\",\n  \"udf10\": \"<string>\",\n  \"udf11\": \"<string>\",\n  \"udf12\": \"<string>\",\n  \"udf13\": \"<string>\",\n  \"udf14\": \"<string>\",\n  \"udf15\": \"<string>\",\n  \"udf16\": \"<string>\",\n  \"udf17\": \"<string>\",\n  \"udf18\": \"<string>\",\n  \"udf19\": \"<string>\",\n  \"udf20\": \"<string>\",\n  \"udf21\": \"<string>\",\n  \"udf22\": \"<string>\",\n  \"udf23\": \"<string>\",\n  \"udf24\": \"<string>\",\n  \"buyingunitofmeasure\": \"<string>\",\n  \"buyingunit\": \"<integer>\",\n  \"sellingunitofmeasure\": \"<string>\",\n  \"sellingunit\": \"<integer>\",\n  \"isbought\": \"<boolean>\",\n  \"issold\": \"<boolean>\",\n  \"isinventoried\": \"<boolean>\",\n  \"isbatchtracked\": \"<boolean>\",\n  \"lastcost\": \"<number>\",\n  \"averagecost\": \"<number>\",\n  \"standardcost\": \"<number>\",\n  \"stocklocationlist\": [\n   {\n    \"location\": \"<string>\",\n    \"quantity\": \"<integer>\",\n    \"brn\": \"<string>\",\n    \"lot\": \"<integer>\",\n    \"bin\": \"<string>\",\n    \"onhold\": \"<integer>\",\n    \"expirydate\": \"<string>\"\n   },\n   {\n    \"location\": \"<string>\",\n    \"quantity\": \"<integer>\",\n    \"brn\": \"<string>\",\n    \"lot\": \"<integer>\",\n    \"bin\": \"<string>\",\n    \"onhold\": \"<integer>\",\n    \"expirydate\": \"<string>\"\n   }\n  ]\n }\n]"}],"_postman_id":"10a12529-917a-4eb7-8c0e-93a627ecaabd"},{"name":"Items List","id":"711203f5-480d-461b-978b-811abd53e50a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/itemsList?BaseStockID=<integer>&ItemNumber=<string>","description":"<p>The itemslist endpoint enables queries on the master item list returning item attributes per basestockid. This endpoint is related to the item endpoint but will not return stock levels only item properties. This endpoint should be used to read general item attributes - for inventory levels see the inventorylist endpoint.</p>\n","urlObject":{"path":["itemsList"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Pass a primary key of an item master record.</p>\n","type":"text/plain"},"key":"BaseStockID","value":"<integer>"},{"description":{"content":"<p>Pass by an item number.</p>\n","type":"text/plain"},"key":"ItemNumber","value":"<string>"}],"variable":[]}},"response":[{"id":"3b3e0e22-b64c-446a-ba8d-9fdd8c47b23f","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/itemsList?BaseStockID=<integer>&ItemNumber=<string>","host":["http://api.datapel.net/JSON"],"path":["itemsList"],"query":[{"key":"BaseStockID","value":"<integer>"},{"key":"ItemNumber","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"itemlist\": [\n  {\n   \"basestockid\": \"<integer>\",\n   \"itemcode\": \"<string>\",\n   \"itemnumber\": \"<string>\",\n   \"usenotes\": \"<boolean>\",\n   \"buytaxcode\": \"<string>\",\n   \"buytaxrate\": \"<number>\",\n   \"standardinctax\": \"<number>\",\n   \"itemname\": \"<string>\",\n   \"notes\": \"<string>\",\n   \"price\": \"<number>\",\n   \"priceinc\": \"<number>\",\n   \"taxcode\": \"<string>\",\n   \"taxrate\": \"<number>\",\n   \"stockonhand\": \"<integer>\",\n   \"stockonhold\": \"<integer>\",\n   \"stockonshelf\": \"<integer>\",\n   \"isactive\": \"<boolean>\",\n   \"minimumreorderlevel\": \"<integer>\",\n   \"defaultreorderquantity\": \"<integer>\",\n   \"primarysuppliercardid\": \"<integer>\",\n   \"primarysupplieritemcode\": \"<string>\",\n   \"customfield1\": \"<string>\",\n   \"customfield2\": \"<string>\",\n   \"customfield3\": \"<string>\",\n   \"customlist1\": \"<string>\",\n   \"customlist2\": \"<string>\",\n   \"customlist3\": \"<string>\",\n   \"udf1\": \"<string>\",\n   \"udf2\": \"<string>\",\n   \"udf3\": \"<string>\",\n   \"udf4\": \"<string>\",\n   \"udf5\": \"<string>\",\n   \"udf6\": \"<string>\",\n   \"udf7\": \"<string>\",\n   \"udf8\": \"<string>\",\n   \"udf9\": \"<string>\",\n   \"udf10\": \"<string>\",\n   \"udf11\": \"<string>\",\n   \"udf12\": \"<string>\",\n   \"udf13\": \"<string>\",\n   \"udf14\": \"<string>\",\n   \"udf15\": \"<string>\",\n   \"udf16\": \"<string>\",\n   \"udf17\": \"<string>\",\n   \"udf18\": \"<string>\",\n   \"udf19\": \"<string>\",\n   \"udf20\": \"<string>\",\n   \"udf21\": \"<string>\",\n   \"udf22\": \"<string>\",\n   \"udf23\": \"<string>\",\n   \"udf24\": \"<string>\",\n   \"stocklocationlist\": [\n    {\n     \"location\": \"<string>\",\n     \"quantity\": \"<integer>\",\n     \"brn\": \"<string>\",\n     \"lot\": \"<integer>\",\n     \"bin\": \"<string>\",\n     \"onhold\": \"<integer>\",\n     \"expirydate\": \"<string>\"\n    },\n    {\n     \"location\": \"<string>\",\n     \"quantity\": \"<integer>\",\n     \"brn\": \"<string>\",\n     \"lot\": \"<integer>\",\n     \"bin\": \"<string>\",\n     \"onhold\": \"<integer>\",\n     \"expirydate\": \"<string>\"\n    }\n   ],\n   \"stockattachmentlist\": [\n    \"schema type not provided\",\n    \"schema type not provided\"\n   ],\n   \"timeStamp\": \"<string>\",\n   \"cacheid\": \"<integer>\"\n  },\n  {\n   \"basestockid\": \"<integer>\",\n   \"itemcode\": \"<string>\",\n   \"itemnumber\": \"<string>\",\n   \"usenotes\": \"<boolean>\",\n   \"buytaxcode\": \"<string>\",\n   \"buytaxrate\": \"<number>\",\n   \"standardinctax\": \"<number>\",\n   \"itemname\": \"<string>\",\n   \"notes\": \"<string>\",\n   \"price\": \"<number>\",\n   \"priceinc\": \"<number>\",\n   \"taxcode\": \"<string>\",\n   \"taxrate\": \"<number>\",\n   \"stockonhand\": \"<integer>\",\n   \"stockonhold\": \"<integer>\",\n   \"stockonshelf\": \"<integer>\",\n   \"isactive\": \"<boolean>\",\n   \"minimumreorderlevel\": \"<integer>\",\n   \"defaultreorderquantity\": \"<integer>\",\n   \"primarysuppliercardid\": \"<integer>\",\n   \"primarysupplieritemcode\": \"<string>\",\n   \"customfield1\": \"<string>\",\n   \"customfield2\": \"<string>\",\n   \"customfield3\": \"<string>\",\n   \"customlist1\": \"<string>\",\n   \"customlist2\": \"<string>\",\n   \"customlist3\": \"<string>\",\n   \"udf1\": \"<string>\",\n   \"udf2\": \"<string>\",\n   \"udf3\": \"<string>\",\n   \"udf4\": \"<string>\",\n   \"udf5\": \"<string>\",\n   \"udf6\": \"<string>\",\n   \"udf7\": \"<string>\",\n   \"udf8\": \"<string>\",\n   \"udf9\": \"<string>\",\n   \"udf10\": \"<string>\",\n   \"udf11\": \"<string>\",\n   \"udf12\": \"<string>\",\n   \"udf13\": \"<string>\",\n   \"udf14\": \"<string>\",\n   \"udf15\": \"<string>\",\n   \"udf16\": \"<string>\",\n   \"udf17\": \"<string>\",\n   \"udf18\": \"<string>\",\n   \"udf19\": \"<string>\",\n   \"udf20\": \"<string>\",\n   \"udf21\": \"<string>\",\n   \"udf22\": \"<string>\",\n   \"udf23\": \"<string>\",\n   \"udf24\": \"<string>\",\n   \"stocklocationlist\": [\n    {\n     \"location\": \"<string>\",\n     \"quantity\": \"<integer>\",\n     \"brn\": \"<string>\",\n     \"lot\": \"<integer>\",\n     \"bin\": \"<string>\",\n     \"onhold\": \"<integer>\",\n     \"expirydate\": \"<string>\"\n    },\n    {\n     \"location\": \"<string>\",\n     \"quantity\": \"<integer>\",\n     \"brn\": \"<string>\",\n     \"lot\": \"<integer>\",\n     \"bin\": \"<string>\",\n     \"onhold\": \"<integer>\",\n     \"expirydate\": \"<string>\"\n    }\n   ],\n   \"stockattachmentlist\": [\n    \"schema type not provided\",\n    \"schema type not provided\"\n   ],\n   \"timeStamp\": \"<string>\",\n   \"cacheid\": \"<integer>\"\n  }\n ]\n}"}],"_postman_id":"711203f5-480d-461b-978b-811abd53e50a"},{"name":"Item Feature","id":"8a4af556-dd44-4b80-8a82-52fbca40a554","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/itemFeature?BaseStockID=<integer>&ItemNumber=<string>&Name=<string>&Type=<string>&Value=<string>","description":"<p>Returns information about the specified feature.</p>\n","urlObject":{"path":["itemFeature"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Pass a primary key of an item master record.</p>\n","type":"text/plain"},"key":"BaseStockID","value":"<integer>"},{"description":{"content":"<p>Pass by an item number.</p>\n","type":"text/plain"},"key":"ItemNumber","value":"<string>"},{"description":{"content":"<p>If the card is a company - company name. If the card is an individual - last name followed by a comma, a space and the first name.</p>\n","type":"text/plain"},"key":"Name","value":"<string>"},{"description":{"content":"<p>Type of feature.</p>\n","type":"text/plain"},"key":"Type","value":"<string>"},{"description":{"content":"<p>Value of the feature.</p>\n","type":"text/plain"},"key":"Value","value":"<string>"}],"variable":[]}},"response":[{"id":"41b16d42-d8ed-4b27-ac13-f98676d2344c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/itemFeature?BaseStockID=<integer>&ItemNumber=<string>&Name=<string>&Type=<string>&Value=<string>","host":["http://api.datapel.net/JSON"],"path":["itemFeature"],"query":[{"key":"BaseStockID","value":"<integer>"},{"key":"ItemNumber","value":"<string>"},{"key":"Name","value":"<string>"},{"key":"Type","value":"<string>"},{"key":"Value","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"basestockid\": \"<integer>\",\n  \"itemnumber\": \"<string>\",\n  \"childofbasestockid\": \"<integer>\",\n  \"childofitemnumber\": \"<integer>\",\n  \"name\": \"<string>\",\n  \"type\": \"<string>\",\n  \"value\": \"<string>\",\n  \"timestamp\": \"<string>\",\n  \"exception\": \"<object>\"\n },\n {\n  \"basestockid\": \"<integer>\",\n  \"itemnumber\": \"<string>\",\n  \"childofbasestockid\": \"<integer>\",\n  \"childofitemnumber\": \"<integer>\",\n  \"name\": \"<string>\",\n  \"type\": \"<string>\",\n  \"value\": \"<string>\",\n  \"timestamp\": \"<string>\",\n  \"exception\": \"<object>\"\n }\n]"}],"_postman_id":"8a4af556-dd44-4b80-8a82-52fbca40a554"},{"name":"XUDFs","id":"a8e79571-aadf-463f-99f3-ea44bd087b2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/xudfs?BaseStockID=<integer>&ID=<integer>&isWebProduct=<boolean>&TypeID1=<integer>&TypeID2=<integer>&TypeID3=<integer>&TypeID4=<integer>&TypeID5=<integer>&TypeID6=<integer>&TypeID7=<integer>&TypeID8=<integer>&UDFX1=<string>&UDFX2=<string>&UDFX3=<string>&UDFX4=<string>&UDFX5=<string>&UDFX6=<string>&UDFX7=<string>&UDFX8=<string>","description":"<p>Returns user defined field information.</p>\n","urlObject":{"path":["xudfs"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Pass a primary key of an item master record.</p>\n","type":"text/plain"},"key":"BaseStockID","value":"<integer>"},{"description":{"content":"<p>User defined identifier.</p>\n","type":"text/plain"},"key":"ID","value":"<integer>"},{"description":{"content":"<p>If true, the item is a web product</p>\n","type":"text/plain"},"key":"isWebProduct","value":"<boolean>"},{"description":{"content":"<p>Customer type ID 1.</p>\n","type":"text/plain"},"key":"TypeID1","value":"<integer>"},{"description":{"content":"<p>Customer type ID 2.</p>\n","type":"text/plain"},"key":"TypeID2","value":"<integer>"},{"description":{"content":"<p>Customer type ID 3.</p>\n","type":"text/plain"},"key":"TypeID3","value":"<integer>"},{"description":{"content":"<p>Customer type ID 4.</p>\n","type":"text/plain"},"key":"TypeID4","value":"<integer>"},{"description":{"content":"<p>Customer type ID 5.</p>\n","type":"text/plain"},"key":"TypeID5","value":"<integer>"},{"description":{"content":"<p>Customer type ID 6.</p>\n","type":"text/plain"},"key":"TypeID6","value":"<integer>"},{"description":{"content":"<p>Customer type ID 7.</p>\n","type":"text/plain"},"key":"TypeID7","value":"<integer>"},{"description":{"content":"<p>Customer type ID 8.</p>\n","type":"text/plain"},"key":"TypeID8","value":"<integer>"},{"description":{"content":"<p>User Defined Field 1.</p>\n","type":"text/plain"},"key":"UDFX1","value":"<string>"},{"description":{"content":"<p>User Defined Field 2.</p>\n","type":"text/plain"},"key":"UDFX2","value":"<string>"},{"description":{"content":"<p>User Defined Field 3.</p>\n","type":"text/plain"},"key":"UDFX3","value":"<string>"},{"description":{"content":"<p>User Defined Field 4.</p>\n","type":"text/plain"},"key":"UDFX4","value":"<string>"},{"description":{"content":"<p>User Defined Field 5.</p>\n","type":"text/plain"},"key":"UDFX5","value":"<string>"},{"description":{"content":"<p>User Defined Field 6.</p>\n","type":"text/plain"},"key":"UDFX6","value":"<string>"},{"description":{"content":"<p>User Defined Field 7.</p>\n","type":"text/plain"},"key":"UDFX7","value":"<string>"},{"description":{"content":"<p>User Defined Field 8.</p>\n","type":"text/plain"},"key":"UDFX8","value":"<string>"}],"variable":[]}},"response":[{"id":"473e04ad-1c10-47eb-b1bb-5e27cb917a14","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/xudfs?BaseStockID=<integer>&ID=<integer>&isWebProduct=<boolean>&TypeID1=<integer>&TypeID2=<integer>&TypeID3=<integer>&TypeID4=<integer>&TypeID5=<integer>&TypeID6=<integer>&TypeID7=<integer>&TypeID8=<integer>&UDFX1=<string>&UDFX2=<string>&UDFX3=<string>&UDFX4=<string>&UDFX5=<string>&UDFX6=<string>&UDFX7=<string>&UDFX8=<string>","host":["http://api.datapel.net/JSON"],"path":["xudfs"],"query":[{"key":"BaseStockID","value":"<integer>"},{"key":"ID","value":"<integer>"},{"key":"isWebProduct","value":"<boolean>"},{"key":"TypeID1","value":"<integer>"},{"key":"TypeID2","value":"<integer>"},{"key":"TypeID3","value":"<integer>"},{"key":"TypeID4","value":"<integer>"},{"key":"TypeID5","value":"<integer>"},{"key":"TypeID6","value":"<integer>"},{"key":"TypeID7","value":"<integer>"},{"key":"TypeID8","value":"<integer>"},{"key":"UDFX1","value":"<string>"},{"key":"UDFX2","value":"<string>"},{"key":"UDFX3","value":"<string>"},{"key":"UDFX4","value":"<string>"},{"key":"UDFX5","value":"<string>"},{"key":"UDFX6","value":"<string>"},{"key":"UDFX7","value":"<string>"},{"key":"UDFX8","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"timestamp\": \"<string>\",\n \"id\": \"<integer>\",\n \"basestockid\": \"<integer>\",\n \"type1id\": \"<integer>\",\n \"type2id\": \"<integer>\",\n \"type3id\": \"<integer>\",\n \"type4id\": \"<integer>\",\n \"type5id\": \"<integer>\",\n \"type6id\": \"<integer>\",\n \"type7id\": \"<integer>\",\n \"type8id\": \"<integer>\",\n \"udf1\": \"<string>\",\n \"udf2\": \"<string>\",\n \"udf3\": \"<string>\",\n \"udf4\": \"<string>\",\n \"udf5\": \"<string>\",\n \"udf6\": \"<string>\",\n \"udf7\": \"<string>\",\n \"udf8\": \"<string>\",\n \"iswebproduct\": \"<boolean>\",\n \"exception\": \"<object>\"\n}"}],"_postman_id":"a8e79571-aadf-463f-99f3-ea44bd087b2c"},{"name":"Attachments","id":"22921945-004c-43da-95d5-b13c23f3f1d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/attachments/attachment?BaseStockID=<integer>&filename=<string>","description":"<p>Returns information about the specified attachment.</p>\n","urlObject":{"path":["attachments","attachment"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Pass a primary key of an item master record.</p>\n","type":"text/plain"},"key":"BaseStockID","value":"<integer>"},{"description":{"content":"<p>a valid filename</p>\n","type":"text/plain"},"key":"filename","value":"<string>"}],"variable":[]}},"response":[{"id":"66dcceee-c53d-4228-8fcc-5394a44ec16f","name":"get the attached image","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/attachments/attachment?BaseStockID=<integer>&filename=<string>","host":["http://api.datapel.net/JSON"],"path":["attachments","attachment"],"query":[{"key":"BaseStockID","value":"<integer>"},{"key":"filename","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"image/png"}],"cookie":[],"responseTime":null,"body":"<binary>"}],"_postman_id":"22921945-004c-43da-95d5-b13c23f3f1d2"},{"name":"Inventory","id":"e3d18730-40d2-4b3a-842e-5ac4b8f123ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/inventory?BaseStockID=<integer>&BatchListID=<integer>&BinID=<integer>&ItemName=<string>&ItemNumber=<string>&LocationID=<integer>&BRN=<string>","description":"<p>By passing in the appropriate options, you can search for\navailable inventory in the system</p>\n","urlObject":{"path":["inventory"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Pass a primary key of an item master record.</p>\n","type":"text/plain"},"key":"BaseStockID","value":"<integer>"},{"description":{"content":"<p>Pass a primary key of a batch list item.</p>\n","type":"text/plain"},"key":"BatchListID","value":"<integer>"},{"description":{"content":"<p>Pass by primary key of the item's assigned Bin.</p>\n","type":"text/plain"},"key":"BinID","value":"<integer>"},{"description":{"content":"<p>Pass by an item name.</p>\n","type":"text/plain"},"key":"ItemName","value":"<string>"},{"description":{"content":"<p>Pass by an item number.</p>\n","type":"text/plain"},"key":"ItemNumber","value":"<string>"},{"description":{"content":"<p>Pass by primary key of an items location.</p>\n","type":"text/plain"},"key":"LocationID","value":"<integer>"},{"description":{"content":"<p>Pass by the Batch Registration Number of an item.</p>\n","type":"text/plain"},"key":"BRN","value":"<string>"}],"variable":[]}},"response":[{"id":"e63f516e-2ebd-4a6f-9270-f6de2ab70ace","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/inventory?BaseStockID=<integer>&BatchListID=<integer>&BinID=<integer>&ItemName=<string>&ItemNumber=<string>&LocationID=<integer>&BRN=<string>","host":["http://api.datapel.net/JSON"],"path":["inventory"],"query":[{"key":"BaseStockID","value":"<integer>"},{"key":"BatchListID","value":"<integer>"},{"key":"BinID","value":"<integer>"},{"key":"ItemName","value":"<string>"},{"key":"ItemNumber","value":"<string>"},{"key":"LocationID","value":"<integer>"},{"key":"BRN","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"stocklocationlist\": [\n  {\n   \"stocklocation\": \"<string>\",\n   \"basestockid\": \"<integer>\",\n   \"itemnumber\": \"<string>\",\n   \"location\": \"<string>\",\n   \"quantity\": \"<integer>\",\n   \"onhold\": \"<integer>\",\n   \"brn\": \"<string>\",\n   \"lot\": \"<integer>\",\n   \"locationid\": \"<integer>\",\n   \"expireat\": \"<dd-mm-yyyy>\",\n   \"batchlistid\": \"<integer>\",\n   \"binid\": \"<integer>\",\n   \"bindescription\": \"<string>\"\n  },\n  {\n   \"stocklocation\": \"<string>\",\n   \"basestockid\": \"<integer>\",\n   \"itemnumber\": \"<string>\",\n   \"location\": \"<string>\",\n   \"quantity\": \"<integer>\",\n   \"onhold\": \"<integer>\",\n   \"brn\": \"<string>\",\n   \"lot\": \"<integer>\",\n   \"locationid\": \"<integer>\",\n   \"expireat\": \"<dd-mm-yyyy>\",\n   \"batchlistid\": \"<integer>\",\n   \"binid\": \"<integer>\",\n   \"bindescription\": \"<string>\"\n  }\n ]\n}"}],"_postman_id":"e3d18730-40d2-4b3a-842e-5ac4b8f123ae"},{"name":"Inventory List","id":"03417175-3b15-4e78-9005-c5c986bc6690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/inventoryList?BaseStockID=<integer>&ItemNumber=<string>&LocationID=<integer>","description":"<p>The InventoryList endpoint is intended to enable queries on the item list returning current summary stock levels per basestockid. This endpoint will accept only ONE locationid parameter e.g. locationid = 5 or NO locationid which returns the total summary stock level for the entire inventory database.</p>\n","urlObject":{"path":["inventoryList"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Pass a primary key of an item master record.</p>\n","type":"text/plain"},"key":"BaseStockID","value":"<integer>"},{"description":{"content":"<p>Pass by an item number.</p>\n","type":"text/plain"},"key":"ItemNumber","value":"<string>"},{"description":{"content":"<p>Pass by primary key of an items location.</p>\n","type":"text/plain"},"key":"LocationID","value":"<integer>"}],"variable":[]}},"response":[{"id":"0ed524de-433c-46b6-bd7a-1e8924191423","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/inventoryList?BaseStockID=<integer>&ItemNumber=<string>&LocationID=<integer>","host":["http://api.datapel.net/JSON"],"path":["inventoryList"],"query":[{"key":"BaseStockID","value":"<integer>"},{"key":"ItemNumber","value":"<string>"},{"key":"LocationID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"basestockid\": \"<integer>\",\n  \"itemnumber\": \"<string>\",\n  \"itemname\": \"<string>\",\n  \"isinactive\": \"<boolean>\",\n  \"locationid\": \"<integer>\",\n  \"availqty\": \"<integer>\",\n  \"quantity\": \"<integer>\",\n  \"onhold\": \"<integer>\",\n  \"committed\": \"<integer>\",\n  \"worcommit\": \"<integer>\",\n  \"onorder\": \"<integer>\",\n  \"intransitqty\": \"<integer>\",\n  \"approveqty\": \"<integer>\",\n  \"allocatedqty\": \"<integer>\",\n  \"shippedqty\": \"<integer>\"\n },\n {\n  \"basestockid\": \"<integer>\",\n  \"itemnumber\": \"<string>\",\n  \"itemname\": \"<string>\",\n  \"isinactive\": \"<boolean>\",\n  \"locationid\": \"<integer>\",\n  \"availqty\": \"<integer>\",\n  \"quantity\": \"<integer>\",\n  \"onhold\": \"<integer>\",\n  \"committed\": \"<integer>\",\n  \"worcommit\": \"<integer>\",\n  \"onorder\": \"<integer>\",\n  \"intransitqty\": \"<integer>\",\n  \"approveqty\": \"<integer>\",\n  \"allocatedqty\": \"<integer>\",\n  \"shippedqty\": \"<integer>\"\n }\n]"}],"_postman_id":"03417175-3b15-4e78-9005-c5c986bc6690"},{"name":"Barcode List","id":"5c33e3f4-9aed-4b5a-880a-f7b6d3c7966f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/barcodelist?ItemNumber=<string>&Barcode=<integer>","description":"<p>The barcodelist request returns information about the specified barcode.</p>\n","urlObject":{"path":["barcodelist"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Pass by an item number.</p>\n","type":"text/plain"},"key":"ItemNumber","value":"<string>"},{"description":{"content":"<p>Pass query by barcode.</p>\n","type":"text/plain"},"key":"Barcode","value":"<integer>"}],"variable":[]}},"response":[{"id":"e01be74c-3c7b-4675-b7c3-7a8f2c6b32b0","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/barcodelist?ItemNumber=<string>&Barcode=<integer>","host":["http://api.datapel.net/JSON"],"path":["barcodelist"],"query":[{"key":"ItemNumber","value":"<string>"},{"key":"Barcode","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"exception\": \"<string>\",\n \"basestockid\": \"<integer>\",\n \"itemnumber\": \"<string>\",\n \"masterbarcode\": \"<string>\",\n \"barcodelist\": [\n  {\n   \"barcodenumber\": \"<integer>\",\n   \"barcodeid\": \"<integer>\",\n   \"basestockid\": \"<integer>\",\n   \"comment\": \"<string>\",\n   \"unitsperscan\": \"<integer>\"\n  },\n  {\n   \"barcodenumber\": \"<integer>\",\n   \"barcodeid\": \"<integer>\",\n   \"basestockid\": \"<integer>\",\n   \"comment\": \"<string>\",\n   \"unitsperscan\": \"<integer>\"\n  }\n ]\n}"}],"_postman_id":"5c33e3f4-9aed-4b5a-880a-f7b6d3c7966f"},{"name":"Locations","id":"6450f8ba-4503-439d-8898-45ef193eff91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/locations?cardIdentification=<string>&locationsID=<integer>&contactID=<integer>","description":"<p>The locations request returns information about the specified locations.</p>\n","urlObject":{"path":["locations"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>User defined unique card ID.</p>\n","type":"text/plain"},"key":"cardIdentification","value":"<string>"},{"description":{"content":"<p>The primary key of the location record.</p>\n","type":"text/plain"},"key":"locationsID","value":"<integer>"},{"description":{"content":"<p>Unique identifier for a stored Contact's details.</p>\n","type":"text/plain"},"key":"contactID","value":"<integer>"}],"variable":[]}},"response":[{"id":"c1e533ee-be72-4f9e-8150-407fff78aae4","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/locations?cardIdentification=<string>&locationsID=<integer>&contactID=<integer>","host":["http://api.datapel.net/JSON"],"path":["locations"],"query":[{"key":"cardIdentification","value":"<string>"},{"key":"locationsID","value":"<integer>"},{"key":"contactID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"locationsid\": \"<integer>\",\n  \"contactid\": \"<integer>\",\n  \"remoteid\": \"<integer>\",\n  \"cardIdentification\": \"<string>\",\n  \"description\": \"<string>\",\n  \"contact\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"metadata\": \"<string>\",\n  \"islocked\": \"<boolean>\",\n  \"isconsignment\": \"<boolean>\",\n  \"isinactive\": \"<boolean>\",\n  \"exception\": \"<object>\"\n },\n {\n  \"locationsid\": \"<integer>\",\n  \"contactid\": \"<integer>\",\n  \"remoteid\": \"<integer>\",\n  \"cardIdentification\": \"<string>\",\n  \"description\": \"<string>\",\n  \"contact\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"metadata\": \"<string>\",\n  \"islocked\": \"<boolean>\",\n  \"isconsignment\": \"<boolean>\",\n  \"isinactive\": \"<boolean>\",\n  \"exception\": \"<object>\"\n }\n]"}],"_postman_id":"6450f8ba-4503-439d-8898-45ef193eff91"},{"name":"Location Bin","id":"7b7330c7-3b7f-4772-b652-a0056eb944e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/locationbin?BinName=<string>&Location=<string>","description":"<p>The locationbin request returns information about the specified location.</p>\n","urlObject":{"path":["locationbin"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The Bin Name.</p>\n","type":"text/plain"},"key":"BinName","value":"<string>"},{"description":{"content":"<p>The name of the location.</p>\n","type":"text/plain"},"key":"Location","value":"<string>"}],"variable":[]}},"response":[{"id":"442251f2-adf2-46c5-8262-9d10d53d27fd","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/locationbin?BinName=<string>&Location=<string>","host":["http://api.datapel.net/JSON"],"path":["locationbin"],"query":[{"key":"BinName","value":"<string>"},{"key":"Location","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"exception\": \"<object>\",\n \"status\": \"<string>\",\n \"message\": \"<string>\",\n \"resourcelocation\": \"<string>\"\n}"}],"_postman_id":"7b7330c7-3b7f-4772-b652-a0056eb944e7"},{"name":"Bin List","id":"210d84d6-6e30-4859-8336-1167b686c500","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/binlist?Bin=<string>&BinID=<integer>","description":"<p>The binlist request returns information about the specified bin.</p>\n","urlObject":{"path":["binlist"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The assigned bin name.</p>\n","type":"text/plain"},"key":"Bin","value":"<string>"},{"description":{"content":"<p>A valid value is the valid BinID, that you used for the REST call.</p>\n","type":"text/plain"},"key":"BinID","value":"<integer>"}],"variable":[]}},"response":[{"id":"7590f855-f307-4b07-a3be-b9f3776976da","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/binlist?Bin=<string>&BinID=<integer>","host":["http://api.datapel.net/JSON"],"path":["binlist"],"query":[{"key":"Bin","value":"<string>"},{"key":"BinID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"count\": \"<integer>\",\n \"bin\": [\n  {\n   \"exception\": \"<object>\",\n   \"bin\": \"<string>\",\n   \"binislocked\": \"<boolean>\",\n   \"bintype\": \"<string>\",\n   \"capacity\": \"<integer>\",\n   \"description\": \"<string>\",\n   \"locationbinsid\": \"<integer>\",\n   \"locationsid\": \"<integer>\",\n   \"maxcount\": \"<integer>\",\n   \"overflowbinid\": \"<integer>\"\n  },\n  {\n   \"exception\": \"<object>\",\n   \"bin\": \"<string>\",\n   \"binislocked\": \"<boolean>\",\n   \"bintype\": \"<string>\",\n   \"capacity\": \"<integer>\",\n   \"description\": \"<string>\",\n   \"locationbinsid\": \"<integer>\",\n   \"locationsid\": \"<integer>\",\n   \"maxcount\": \"<integer>\",\n   \"overflowbinid\": \"<integer>\"\n  }\n ]\n}"}],"_postman_id":"210d84d6-6e30-4859-8336-1167b686c500"},{"name":"Bill Of Materials","id":"d959a0bc-a017-40fb-9ea9-46a8f3e26232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/billofmaterials?BaseStockID=<integer>&BaseStockLineID=<integer>&ItemNumber=<string>","description":"<p>The billofmaterials request returns information about the specified bill of materials.</p>\n","urlObject":{"path":["billofmaterials"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The primary key of the item master record.</p>\n","type":"text/plain"},"key":"BaseStockID","value":"<integer>"},{"description":{"content":"<p>The primary key of the item master record for a stock line item.</p>\n","type":"text/plain"},"key":"BaseStockLineID","value":"<integer>"},{"description":{"content":"<p>The item number.</p>\n","type":"text/plain"},"key":"ItemNumber","value":"<string>"}],"variable":[]}},"response":[{"id":"7d8e274a-b91a-4683-ba20-7124743ef9dc","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/billofmaterials?BaseStockID=<integer>&BaseStockLineID=<integer>&ItemNumber=<string>","host":["http://api.datapel.net/JSON"],"path":["billofmaterials"],"query":[{"key":"BaseStockID","value":"<integer>"},{"key":"BaseStockLineID","value":"<integer>"},{"key":"ItemNumber","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"kitbuilditem\": \"<string>\",\n  \"basestockid\": \"<integer>\",\n  \"baseunits\": \"<integer>\",\n  \"componentlines\": [\n   {\n    \"componentitem\": \"<string>\",\n    \"basestocklineid\": \"<integer>\",\n    \"description\": \"<string>\",\n    \"componentunits\": \"<integer>\"\n   },\n   {\n    \"componentitem\": \"<string>\",\n    \"basestocklineid\": \"<integer>\",\n    \"description\": \"<string>\",\n    \"componentunits\": \"<integer>\"\n   }\n  ]\n },\n {\n  \"kitbuilditem\": \"<string>\",\n  \"basestockid\": \"<integer>\",\n  \"baseunits\": \"<integer>\",\n  \"componentlines\": [\n   {\n    \"componentitem\": \"<string>\",\n    \"basestocklineid\": \"<integer>\",\n    \"description\": \"<string>\",\n    \"componentunits\": \"<integer>\"\n   },\n   {\n    \"componentitem\": \"<string>\",\n    \"basestocklineid\": \"<integer>\",\n    \"description\": \"<string>\",\n    \"componentunits\": \"<integer>\"\n   }\n  ]\n }\n]"}],"_postman_id":"d959a0bc-a017-40fb-9ea9-46a8f3e26232"},{"name":"Price List","id":"b1e958f8-7584-41b6-992b-1a35be64fc0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/pricelist?BaseStockID=<integer>&CardIdentification=<string>&CardsID=<integer>&ItemNumber=<string>&LastName=<string>","description":"<p>The Pricelistreturn pricing of a specific item for a specific customer.</p>\n","urlObject":{"path":["pricelist"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The primary key of the item master record.'</p>\n","type":"text/plain"},"key":"BaseStockID","value":"<integer>"},{"description":{"content":"<p>User defined unique card ID.</p>\n","type":"text/plain"},"key":"CardIdentification","value":"<string>"},{"description":{"content":"<p>The primary key of the card record</p>\n","type":"text/plain"},"key":"CardsID","value":"<integer>"},{"description":{"content":"<p>The item number.</p>\n","type":"text/plain"},"key":"ItemNumber","value":"<string>"},{"description":{"content":"<p>The company name if the card record represents a company, otherwise the Individual's last name.</p>\n","type":"text/plain"},"key":"LastName","value":"<string>"}],"variable":[]}},"response":[{"id":"d2e0362e-51c6-49a5-8272-657cd0ae2fff","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/pricelist?BaseStockID=<integer>&CardIdentification=<string>&CardsID=<integer>&ItemNumber=<string>&LastName=<string>","host":["http://api.datapel.net/JSON"],"path":["pricelist"],"query":[{"key":"BaseStockID","value":"<integer>"},{"key":"CardIdentification","value":"<string>"},{"key":"CardsID","value":"<integer>"},{"key":"ItemNumber","value":"<string>"},{"key":"LastName","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"basestockid\": \"<integer>\",\n  \"itemname\": \"<string>\",\n  \"contactid\": \"<integer>\",\n  \"lastname\": \"<string>\",\n  \"pricelevel\": \"<string>\",\n  \"defaulttaxcode\": \"<string>\",\n  \"itemcode\": \"<string>\",\n  \"itemnumber\": \"<string>\",\n  \"isinactive\": \"<boolean>\",\n  \"price\": \"<number>\",\n  \"priceinc\": \"<number>\",\n  \"isinctax\": \"<boolean>\",\n  \"basesell\": \"<number>\",\n  \"pricelevel1\": \"<number>\",\n  \"pricelevel2\": \"<number>\",\n  \"pricelevel3\": \"<number>\",\n  \"pricelevel4\": \"<number>\",\n  \"pricelevel5\": \"<number>\",\n  \"quantitybreak1\": \"<integer>\",\n  \"quantitybreak2\": \"<integer>\",\n  \"quantitybreak3\": \"<integer>\",\n  \"quantitybreak4\": \"<integer>\",\n  \"quantitybreak5\": \"<integer>\",\n  \"pricelevela1\": \"<number>\",\n  \"pricelevelb1\": \"<number>\",\n  \"pricelevelc1\": \"<number>\",\n  \"priceleveld1\": \"<number>\",\n  \"pricelevele1\": \"<number>\",\n  \"exception\": \"<object>\"\n },\n {\n  \"basestockid\": \"<integer>\",\n  \"itemname\": \"<string>\",\n  \"contactid\": \"<integer>\",\n  \"lastname\": \"<string>\",\n  \"pricelevel\": \"<string>\",\n  \"defaulttaxcode\": \"<string>\",\n  \"itemcode\": \"<string>\",\n  \"itemnumber\": \"<string>\",\n  \"isinactive\": \"<boolean>\",\n  \"price\": \"<number>\",\n  \"priceinc\": \"<number>\",\n  \"isinctax\": \"<boolean>\",\n  \"basesell\": \"<number>\",\n  \"pricelevel1\": \"<number>\",\n  \"pricelevel2\": \"<number>\",\n  \"pricelevel3\": \"<number>\",\n  \"pricelevel4\": \"<number>\",\n  \"pricelevel5\": \"<number>\",\n  \"quantitybreak1\": \"<integer>\",\n  \"quantitybreak2\": \"<integer>\",\n  \"quantitybreak3\": \"<integer>\",\n  \"quantitybreak4\": \"<integer>\",\n  \"quantitybreak5\": \"<integer>\",\n  \"pricelevela1\": \"<number>\",\n  \"pricelevelb1\": \"<number>\",\n  \"pricelevelc1\": \"<number>\",\n  \"priceleveld1\": \"<number>\",\n  \"pricelevele1\": \"<number>\",\n  \"exception\": \"<object>\"\n }\n]"}],"_postman_id":"b1e958f8-7584-41b6-992b-1a35be64fc0c"},{"name":"Special Pricing","id":"7574d4f6-3f3a-465c-bd22-ca0d92b8efba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/specialpricing?basestockid=<integer>&contactid=<integer>&isinactive=<boolean>","description":"<p>The specialpricing endpoint is required to enable client applications to determine if any agreed or negotiated price RULES exist for a particular customer or customer group. This endpoint does not CALCULATE the price for the contact/item but returns the base rules that should be applied in order to determines a contacts pricing. If no results are returned then no rules apply - if an *ALL CUSTOMERS rule is active this will be returned for every GET Query.</p>\n","urlObject":{"path":["specialpricing"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The primary key of the item master record.</p>\n","type":"text/plain"},"key":"basestockid","value":"<integer>"},{"description":{"content":"<p>The primary key of the stored contact record</p>\n","type":"text/plain"},"key":"contactid","value":"<integer>"},{"description":{"content":"<p>is the list active.</p>\n","type":"text/plain"},"key":"isinactive","value":"<boolean>"}],"variable":[]}},"response":[{"id":"650e95f6-6af2-4eb6-8a21-86e1c29402e1","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/specialpricing?basestockid=<integer>&contactid=<integer>&isinactive=<boolean>","host":["http://api.datapel.net/JSON"],"path":["specialpricing"],"query":[{"key":"basestockid","value":"<integer>"},{"key":"contactid","value":"<integer>"},{"key":"isinactive","value":"<boolean>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"specialpricingid\": \"<integer>\",\n  \"startdate\": \"<string>\",\n  \"enddate\": \"<string>\",\n  \"isallcards\": \"<boolean>\",\n  \"isinactive\": \"<boolean>\",\n  \"myobcardidentification\": \"<string>\",\n  \"myobcardrecordid\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"contactid\": \"<integer>\",\n  \"specialpriceline\": [\n   \"schema type not provided\",\n   \"schema type not provided\"\n  ],\n  \"exceptions\": \"<object>\"\n },\n {\n  \"specialpricingid\": \"<integer>\",\n  \"startdate\": \"<string>\",\n  \"enddate\": \"<string>\",\n  \"isallcards\": \"<boolean>\",\n  \"isinactive\": \"<boolean>\",\n  \"myobcardidentification\": \"<string>\",\n  \"myobcardrecordid\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"contactid\": \"<integer>\",\n  \"specialpriceline\": [\n   \"schema type not provided\",\n   \"schema type not provided\"\n  ],\n  \"exceptions\": \"<object>\"\n }\n]"}],"_postman_id":"7574d4f6-3f3a-465c-bd22-ca0d92b8efba"},{"name":"Contacts","id":"57478ead-e436-4952-a846-1ff6e36b45b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/contacts?CardIdentification=<string>&CardRecordID=<integer>&CardsTypeID=<string>&CreateDate=<string>&FirstName=<string>&LastName=<string>&Name=<string>","description":"<p>The contact request returns information about the specified contact.</p>\n","urlObject":{"path":["contacts"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>User defined unique card ID.</p>\n","type":"text/plain"},"key":"CardIdentification","value":"<string>"},{"description":{"content":"<p>The card ID number of the record within the Card table containing contact details.</p>\n","type":"text/plain"},"key":"CardRecordID","value":"<integer>"},{"description":{"content":"<p>CardTypeID (CardTypes) of the record containing the full card type definition. S = Supplier,E = Employee</p>\n","type":"text/plain"},"key":"CardsTypeID","value":"<string>"},{"description":{"content":"<p>The creation date of the contact record.</p>\n","type":"text/plain"},"key":"CreateDate","value":"<string>"},{"description":{"content":"<p>Blank if the card record represents a company, otherwise the first name of the individual.</p>\n","type":"text/plain"},"key":"FirstName","value":"<string>"},{"description":{"content":"<p>The company name if the card record represents a company, otherwise the individual's last name.</p>\n","type":"text/plain"},"key":"LastName","value":"<string>"},{"description":{"content":"<p>If the card is a company: company name. If the card is an individual: last name followed by a comma, a space and the first name.</p>\n","type":"text/plain"},"key":"Name","value":"<string>"}],"variable":[]}},"response":[{"id":"8ff86836-87d9-47ba-9d1e-5e1c358b69d8","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/contacts?CardIdentification=<string>&CardRecordID=<integer>&CardsTypeID=<string>&CreateDate=<string>&FirstName=<string>&LastName=<string>&Name=<string>","host":["http://api.datapel.net/JSON"],"path":["contacts"],"query":[{"key":"CardIdentification","value":"<string>"},{"key":"CardRecordID","value":"<integer>"},{"key":"CardsTypeID","value":"<string>"},{"key":"CreateDate","value":"<string>"},{"key":"FirstName","value":"<string>"},{"key":"LastName","value":"<string>"},{"key":"Name","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"contactid\": \"<integer>\",\n  \"linkcardrecordid\": \"<integer>\",\n  \"createdat\": \"<string>\",\n  \"firstname\": \"<string>\",\n  \"lastname\": \"<string>\",\n  \"isindividual\": \"<boolean>\",\n  \"isinactive\": \"<boolean>\",\n  \"creditonhold\": \"<boolean>\",\n  \"notes\": \"<string>\",\n  \"customlist1\": \"<string>\",\n  \"customlist2\": \"<string>\",\n  \"customlist3\": \"<string>\",\n  \"customfield1\": \"<string>\",\n  \"customfield2\": \"<string>\",\n  \"customfield3\": \"<string>\",\n  \"defaulttaxcode\": \"<string>\",\n  \"defaultcontactid\": \"<integer>\",\n  \"currencycode\": \"<string>\",\n  \"currentbalance\": \"<number>\",\n  \"lastsaledate\": \"<string>\",\n  \"lastpaymentdate\": \"<string>\",\n  \"termsmessage\": \"<string>\",\n  \"pricelevel\": \"<string>\",\n  \"discountdays\": \"<integer>\",\n  \"balanceduedays\": \"<integer>\",\n  \"balanceduedate\": \"<string>\",\n  \"cardidentification\": \"<string>\",\n  \"contacttype\": \"<string>\",\n  \"companybranchid\": \"<integer>\",\n  \"companyid\": \"<integer>\",\n  \"identifiers\": \"<string>\",\n  \"defaultshipmethod\": \"<string>\",\n  \"paymentdeliverymethod\": \"<string>\",\n  \"invoicedeliverymethod\": \"<string>\",\n  \"creditlimit\": \"<number>\",\n  \"volumediscount\": \"<integer>\",\n  \"defaultsalecomment\": \"<string>\",\n  \"usedefaulttaxcode\": \"<boolean>\",\n  \"companytaxid\": \"<integer>\",\n  \"totalreceivabledays\": \"<integer>\",\n  \"customersincedate\": \"<string>\",\n  \"timestamp\": \"<string>\",\n  \"updatedat\": \"<string>\",\n  \"contactaddresslist\": [\n   {\n    \"city\": \"<string>\",\n    \"contactname\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"fax\": \"<string>\",\n    \"location\": \"<integer>\",\n    \"phone1\": \"<string>\",\n    \"phone2\": \"<string>\",\n    \"phone3\": \"<string>\",\n    \"postcode\": \"<integer>\",\n    \"state\": \"<string>\",\n    \"street\": \"<string>\",\n    \"streetline1\": \"<string>\",\n    \"streetline2\": \"<string>\",\n    \"streetline3\": \"<string>\",\n    \"streetline4\": \"<string>\",\n    \"title\": \"<string>\",\n    \"website\": \"<string>\"\n   },\n   {\n    \"city\": \"<string>\",\n    \"contactname\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"fax\": \"<string>\",\n    \"location\": \"<integer>\",\n    \"phone1\": \"<string>\",\n    \"phone2\": \"<string>\",\n    \"phone3\": \"<string>\",\n    \"postcode\": \"<integer>\",\n    \"state\": \"<string>\",\n    \"street\": \"<string>\",\n    \"streetline1\": \"<string>\",\n    \"streetline2\": \"<string>\",\n    \"streetline3\": \"<string>\",\n    \"streetline4\": \"<string>\",\n    \"title\": \"<string>\",\n    \"website\": \"<string>\"\n   }\n  ],\n  \"exception\": \"<object>\"\n },\n {\n  \"contactid\": \"<integer>\",\n  \"linkcardrecordid\": \"<integer>\",\n  \"createdat\": \"<string>\",\n  \"firstname\": \"<string>\",\n  \"lastname\": \"<string>\",\n  \"isindividual\": \"<boolean>\",\n  \"isinactive\": \"<boolean>\",\n  \"creditonhold\": \"<boolean>\",\n  \"notes\": \"<string>\",\n  \"customlist1\": \"<string>\",\n  \"customlist2\": \"<string>\",\n  \"customlist3\": \"<string>\",\n  \"customfield1\": \"<string>\",\n  \"customfield2\": \"<string>\",\n  \"customfield3\": \"<string>\",\n  \"defaulttaxcode\": \"<string>\",\n  \"defaultcontactid\": \"<integer>\",\n  \"currencycode\": \"<string>\",\n  \"currentbalance\": \"<number>\",\n  \"lastsaledate\": \"<string>\",\n  \"lastpaymentdate\": \"<string>\",\n  \"termsmessage\": \"<string>\",\n  \"pricelevel\": \"<string>\",\n  \"discountdays\": \"<integer>\",\n  \"balanceduedays\": \"<integer>\",\n  \"balanceduedate\": \"<string>\",\n  \"cardidentification\": \"<string>\",\n  \"contacttype\": \"<string>\",\n  \"companybranchid\": \"<integer>\",\n  \"companyid\": \"<integer>\",\n  \"identifiers\": \"<string>\",\n  \"defaultshipmethod\": \"<string>\",\n  \"paymentdeliverymethod\": \"<string>\",\n  \"invoicedeliverymethod\": \"<string>\",\n  \"creditlimit\": \"<number>\",\n  \"volumediscount\": \"<integer>\",\n  \"defaultsalecomment\": \"<string>\",\n  \"usedefaulttaxcode\": \"<boolean>\",\n  \"companytaxid\": \"<integer>\",\n  \"totalreceivabledays\": \"<integer>\",\n  \"customersincedate\": \"<string>\",\n  \"timestamp\": \"<string>\",\n  \"updatedat\": \"<string>\",\n  \"contactaddresslist\": [\n   {\n    \"city\": \"<string>\",\n    \"contactname\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"fax\": \"<string>\",\n    \"location\": \"<integer>\",\n    \"phone1\": \"<string>\",\n    \"phone2\": \"<string>\",\n    \"phone3\": \"<string>\",\n    \"postcode\": \"<integer>\",\n    \"state\": \"<string>\",\n    \"street\": \"<string>\",\n    \"streetline1\": \"<string>\",\n    \"streetline2\": \"<string>\",\n    \"streetline3\": \"<string>\",\n    \"streetline4\": \"<string>\",\n    \"title\": \"<string>\",\n    \"website\": \"<string>\"\n   },\n   {\n    \"city\": \"<string>\",\n    \"contactname\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"fax\": \"<string>\",\n    \"location\": \"<integer>\",\n    \"phone1\": \"<string>\",\n    \"phone2\": \"<string>\",\n    \"phone3\": \"<string>\",\n    \"postcode\": \"<integer>\",\n    \"state\": \"<string>\",\n    \"street\": \"<string>\",\n    \"streetline1\": \"<string>\",\n    \"streetline2\": \"<string>\",\n    \"streetline3\": \"<string>\",\n    \"streetline4\": \"<string>\",\n    \"title\": \"<string>\",\n    \"website\": \"<string>\"\n   }\n  ],\n  \"exception\": \"<object>\"\n }\n]"}],"_postman_id":"57478ead-e436-4952-a846-1ff6e36b45b8"},{"name":"Contact List","id":"d0231b6a-df98-4e14-9ccc-f369764a2bc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/contactlist?LinkCardRecordID=<integer>&CardsTypeID=<string>&CreateDate=<string>&FirstName=<string>&LastName=<string>&Name=<string>","description":"<p>The contactlist request returns a list of contact records.</p>\n","urlObject":{"path":["contactlist"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The card ID number of the record within the Card table containing contact details.</p>\n","type":"text/plain"},"key":"LinkCardRecordID","value":"<integer>"},{"description":{"content":"<p>CardTypeID (CardTypes) of the record containing the full card type definition. S = Supplier,E = Employee</p>\n","type":"text/plain"},"key":"CardsTypeID","value":"<string>"},{"description":{"content":"<p>The creation date of the contact record.</p>\n","type":"text/plain"},"key":"CreateDate","value":"<string>"},{"description":{"content":"<p>Blank if the card record represents a company, otherwise the first name of the individual.</p>\n","type":"text/plain"},"key":"FirstName","value":"<string>"},{"description":{"content":"<p>The company name if the card record represents a company, otherwise the individual's last name.</p>\n","type":"text/plain"},"key":"LastName","value":"<string>"},{"description":{"content":"<p>If the card is a company: company name. If the card is an individual: last name followed by a comma, a space and the first name.</p>\n","type":"text/plain"},"key":"Name","value":"<string>"}],"variable":[]}},"response":[{"id":"2b55c0f3-80c7-4667-a755-1d73790b4f85","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/contactlist?LinkCardRecordID=<integer>&CardsTypeID=<string>&CreateDate=<string>&FirstName=<string>&LastName=<string>&Name=<string>","host":["http://api.datapel.net/JSON"],"path":["contactlist"],"query":[{"key":"LinkCardRecordID","value":"<integer>"},{"key":"CardsTypeID","value":"<string>"},{"key":"CreateDate","value":"<string>"},{"key":"FirstName","value":"<string>"},{"key":"LastName","value":"<string>"},{"key":"Name","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"contactid\": \"<integer>\",\n  \"linkcardrecordid\": \"<integer>\",\n  \"createdat\": \"<string>\",\n  \"firstname\": \"<string>\",\n  \"lastname\": \"<string>\",\n  \"isindividual\": \"<boolean>\",\n  \"isinactive\": \"<boolean>\",\n  \"creditonhold\": \"<boolean>\",\n  \"notes\": \"<string>\",\n  \"customlist1\": \"<string>\",\n  \"customlist2\": \"<string>\",\n  \"customlist3\": \"<string>\",\n  \"customfield1\": \"<string>\",\n  \"customfield2\": \"<string>\",\n  \"customfield3\": \"<string>\",\n  \"updatedat\": \"<string>\",\n  \"contactaddresslist\": [\n   {\n    \"city\": \"<string>\",\n    \"contactname\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"fax\": \"<string>\",\n    \"location\": \"<integer>\",\n    \"phone1\": \"<string>\",\n    \"phone2\": \"<string>\",\n    \"phone3\": \"<string>\",\n    \"postcode\": \"<integer>\",\n    \"state\": \"<string>\",\n    \"street\": \"<string>\",\n    \"streetline1\": \"<string>\",\n    \"streetline2\": \"<string>\",\n    \"streetline3\": \"<string>\",\n    \"streetline4\": \"<string>\",\n    \"title\": \"<string>\",\n    \"website\": \"<string>\"\n   },\n   {\n    \"city\": \"<string>\",\n    \"contactname\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"fax\": \"<string>\",\n    \"location\": \"<integer>\",\n    \"phone1\": \"<string>\",\n    \"phone2\": \"<string>\",\n    \"phone3\": \"<string>\",\n    \"postcode\": \"<integer>\",\n    \"state\": \"<string>\",\n    \"street\": \"<string>\",\n    \"streetline1\": \"<string>\",\n    \"streetline2\": \"<string>\",\n    \"streetline3\": \"<string>\",\n    \"streetline4\": \"<string>\",\n    \"title\": \"<string>\",\n    \"website\": \"<string>\"\n   }\n  ]\n },\n {\n  \"contactid\": \"<integer>\",\n  \"linkcardrecordid\": \"<integer>\",\n  \"createdat\": \"<string>\",\n  \"firstname\": \"<string>\",\n  \"lastname\": \"<string>\",\n  \"isindividual\": \"<boolean>\",\n  \"isinactive\": \"<boolean>\",\n  \"creditonhold\": \"<boolean>\",\n  \"notes\": \"<string>\",\n  \"customlist1\": \"<string>\",\n  \"customlist2\": \"<string>\",\n  \"customlist3\": \"<string>\",\n  \"customfield1\": \"<string>\",\n  \"customfield2\": \"<string>\",\n  \"customfield3\": \"<string>\",\n  \"updatedat\": \"<string>\",\n  \"contactaddresslist\": [\n   {\n    \"city\": \"<string>\",\n    \"contactname\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"fax\": \"<string>\",\n    \"location\": \"<integer>\",\n    \"phone1\": \"<string>\",\n    \"phone2\": \"<string>\",\n    \"phone3\": \"<string>\",\n    \"postcode\": \"<integer>\",\n    \"state\": \"<string>\",\n    \"street\": \"<string>\",\n    \"streetline1\": \"<string>\",\n    \"streetline2\": \"<string>\",\n    \"streetline3\": \"<string>\",\n    \"streetline4\": \"<string>\",\n    \"title\": \"<string>\",\n    \"website\": \"<string>\"\n   },\n   {\n    \"city\": \"<string>\",\n    \"contactname\": \"<string>\",\n    \"country\": \"<string>\",\n    \"email\": \"<string>\",\n    \"fax\": \"<string>\",\n    \"location\": \"<integer>\",\n    \"phone1\": \"<string>\",\n    \"phone2\": \"<string>\",\n    \"phone3\": \"<string>\",\n    \"postcode\": \"<integer>\",\n    \"state\": \"<string>\",\n    \"street\": \"<string>\",\n    \"streetline1\": \"<string>\",\n    \"streetline2\": \"<string>\",\n    \"streetline3\": \"<string>\",\n    \"streetline4\": \"<string>\",\n    \"title\": \"<string>\",\n    \"website\": \"<string>\"\n   }\n  ]\n }\n]"}],"_postman_id":"d0231b6a-df98-4e14-9ccc-f369764a2bc2"},{"name":"Address List","id":"e8869565-6bf3-4c1d-9c10-9529e2124a98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/addresslist?AddressID=<integer>&AddressListID=<integer>&CardRecordID=<integer>&ContactName=<string>&Location=<string>&City=<string>&Country=<string>&Email=<string>&Fax=<string>&Phone1=<string>&Phone2=<string>&Phone3=<string>&postcode=<string>&street=<string>&streetline1=<string>&streetline2=<string>&streetline3=<string>","description":"<p>The AddressList request returns information about the specified address.</p>\n","urlObject":{"path":["addresslist"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>the primary key value of the address record.</p>\n","type":"text/plain"},"key":"AddressID","value":"<integer>"},{"description":{"content":"<p>The primary key value of the address list record.</p>\n","type":"text/plain"},"key":"AddressListID","value":"<integer>"},{"description":{"content":"<p>The primary key value of the card record.</p>\n","type":"text/plain"},"key":"CardRecordID","value":"<integer>"},{"description":{"content":"<p>The name on the contact card</p>\n","type":"text/plain"},"key":"ContactName","value":"<string>"},{"description":{"content":"<p>The location details of the address record.</p>\n","type":"text/plain"},"key":"Location","value":"<string>"},{"description":{"content":"<p>The city or ship to city of a customer card.</p>\n","type":"text/plain"},"key":"City","value":"<string>"},{"description":{"content":"<p>Country of the location address.</p>\n","type":"text/plain"},"key":"Country","value":"<string>"},{"description":{"content":"<p>Email address of a card record.</p>\n","type":"text/plain"},"key":"Email","value":"<string>"},{"description":{"content":"<p>The fax number of a card record.</p>\n","type":"text/plain"},"key":"Fax","value":"<string>"},{"description":{"content":"<p>Phone number 1 of a card record.</p>\n","type":"text/plain"},"key":"Phone1","value":"<string>"},{"description":{"content":"<p>Phone number 2 of a card record.</p>\n","type":"text/plain"},"key":"Phone2","value":"<string>"},{"description":{"content":"<p>Phone number 3 of a card record.</p>\n","type":"text/plain"},"key":"Phone3","value":"<string>"},{"description":{"content":"<p>State of a card record.</p>\n","type":"text/plain"},"key":"postcode","value":"<string>"},{"description":{"content":"<p>Full contents of the ship to address field.</p>\n","type":"text/plain"},"key":"street","value":"<string>"},{"description":{"content":"<p>First line of cards Address or Ship To address.</p>\n","type":"text/plain"},"key":"streetline1","value":"<string>"},{"description":{"content":"<p>Second line of cards Address or Ship To address.</p>\n","type":"text/plain"},"key":"streetline2","value":"<string>"},{"description":{"content":"<p>Third line of cards Address or Ship To address.</p>\n","type":"text/plain"},"key":"streetline3","value":"<string>"}],"variable":[]}},"response":[{"id":"62c008d6-c8ef-4976-9496-8f431b1bed61","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/addresslist?AddressID=<integer>&AddressListID=<integer>&CardRecordID=<integer>&ContactName=<string>&Location=<string>&City=<string>&Country=<string>&Email=<string>&Fax=<string>&Phone1=<string>&Phone2=<string>&Phone3=<string>&postcode=<string>&street=<string>&streetline1=<string>&streetline2=<string>&streetline3=<string>","host":["http://api.datapel.net/JSON"],"path":["addresslist"],"query":[{"key":"AddressID","value":"<integer>"},{"key":"AddressListID","value":"<integer>"},{"key":"CardRecordID","value":"<integer>"},{"key":"ContactName","value":"<string>"},{"key":"Location","value":"<string>"},{"key":"City","value":"<string>"},{"key":"Country","value":"<string>"},{"key":"Email","value":"<string>"},{"key":"Fax","value":"<string>"},{"key":"Phone1","value":"<string>"},{"key":"Phone2","value":"<string>"},{"key":"Phone3","value":"<string>"},{"key":"postcode","value":"<string>"},{"key":"street","value":"<string>"},{"key":"streetline1","value":"<string>"},{"key":"streetline2","value":"<string>"},{"key":"streetline3","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"exception\": \"<object>\",\n  \"addressid\": \"<integer>\",\n  \"addresslistid\": \"<integer>\",\n  \"cardrecordid\": \"<integer>\",\n  \"changecontrol\": \"<integer>\",\n  \"city\": \"<string>\",\n  \"contactname\": \"<string>\",\n  \"country\": \"<string>\",\n  \"email\": \"<string>\",\n  \"fax\": \"<string>\",\n  \"ismatched\": \"<boolean>\",\n  \"location\": \"<integer>\",\n  \"phone1\": \"<string>\",\n  \"phone2\": \"<string>\",\n  \"phone3\": \"<string>\",\n  \"postcode\": \"<integer>\",\n  \"salutation\": \"<string>\",\n  \"state\": \"<string>\",\n  \"street\": \"<string>\",\n  \"streetline1\": \"<string>\",\n  \"streetline2\": \"<string>\",\n  \"streetline3\": \"<string>\",\n  \"streetline4\": \"<string>\",\n  \"www\": \"<string>\"\n },\n {\n  \"exception\": \"<object>\",\n  \"addressid\": \"<integer>\",\n  \"addresslistid\": \"<integer>\",\n  \"cardrecordid\": \"<integer>\",\n  \"changecontrol\": \"<integer>\",\n  \"city\": \"<string>\",\n  \"contactname\": \"<string>\",\n  \"country\": \"<string>\",\n  \"email\": \"<string>\",\n  \"fax\": \"<string>\",\n  \"ismatched\": \"<boolean>\",\n  \"location\": \"<integer>\",\n  \"phone1\": \"<string>\",\n  \"phone2\": \"<string>\",\n  \"phone3\": \"<string>\",\n  \"postcode\": \"<integer>\",\n  \"salutation\": \"<string>\",\n  \"state\": \"<string>\",\n  \"street\": \"<string>\",\n  \"streetline1\": \"<string>\",\n  \"streetline2\": \"<string>\",\n  \"streetline3\": \"<string>\",\n  \"streetline4\": \"<string>\",\n  \"www\": \"<string>\"\n }\n]"}],"_postman_id":"e8869565-6bf3-4c1d-9c10-9529e2124a98"},{"name":"Status","id":"c0f4a73d-9242-4f1f-8942-bfd8fa23e59c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/status?PRN=<string>&QID=<string>&SalesID=<integer>&ShipReference=<string>&TransfersID=<integer>&InvoiceNum=<string>&OrderNum=<string>","description":"<p>The status request returns information about the specified sale and transfers.</p>\n","urlObject":{"path":["status"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The payment reference number of a purchase.</p>\n","type":"text/plain"},"key":"PRN","value":"<string>"},{"description":{"content":"<p>The transaction queue identification number.</p>\n","type":"text/plain"},"key":"QID","value":"<string>"},{"description":{"content":"<p>The primary key value of a sale.</p>\n","type":"text/plain"},"key":"SalesID","value":"<integer>"},{"description":{"content":"<p>A valid value is the valid ShipReference, that you used for the REST call.</p>\n","type":"text/plain"},"key":"ShipReference","value":"<string>"},{"description":{"content":"<p>The primary key value for a transfer record.</p>\n","type":"text/plain"},"key":"TransfersID","value":"<integer>"},{"description":{"content":"<p>The sale invoice number.</p>\n","type":"text/plain"},"key":"InvoiceNum","value":"<string>"},{"description":{"content":"<p>A valid value is the valid ordernum, that you used for the REST call.</p>\n","type":"text/plain"},"key":"OrderNum","value":"<string>"}],"variable":[]}},"response":[{"id":"d1f62e32-b8a8-46ff-833c-955a6ad83764","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/status?PRN=<string>&QID=<string>&SalesID=<integer>&ShipReference=<string>&TransfersID=<integer>&InvoiceNum=<string>&OrderNum=<string>","host":["http://api.datapel.net/JSON"],"path":["status"],"query":[{"key":"PRN","value":"<string>"},{"key":"QID","value":"<string>"},{"key":"SalesID","value":"<integer>"},{"key":"ShipReference","value":"<string>"},{"key":"TransfersID","value":"<integer>"},{"key":"InvoiceNum","value":"<string>"},{"key":"OrderNum","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"exception\": \"<object>\",\n \"urn\": \"<string>\",\n \"reference\": \"<string>\",\n \"statusid\": \"<integer>\",\n \"statusvalue\": \"<string>\",\n \"dateofpick\": \"<string>\",\n \"dateofpack\": \"<string>\",\n \"dateofship\": \"<string>\",\n \"dateofclose\": \"<string>\",\n \"shipvia\": \"<string>\",\n \"shipservice\": \"<string>\",\n \"shiptype\": \"<string>\",\n \"shipreference\": \"<string>\",\n \"shipweight\": \"<number>\",\n \"shipcubic\": \"<integer>\",\n \"shiparticles\": \"<integer>\",\n \"shipdoc\": \"<string>\"\n}"}],"_postman_id":"c0f4a73d-9242-4f1f-8942-bfd8fa23e59c"},{"name":"Sales","id":"a6d8516d-22de-4bfa-a747-6912c724225f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/sales?EntryDate=<string>&InvoiceNumber=<string>&MYOBSalesID=<integer>&MYOBShipMethodID=<integer>&MYOBTermsID=<integer>&PromiseDate=<string>&PurchaseOrder=<string>&SRN=<string>&SaleDate=<string>&SalesID=<integer>&TypeID=<integer>","description":"<p>The sales endpoint returns header sale order details with child sale line items. The primary key for sale orders is the INVOICE NUMBER and SRN together or saleid. Orders with the same SRN are related due to the backordering and split shipping of lines. Sale Returns can also be read using this endpoint and will usually have the same Invoice Number as the original Sale Invoice. The endpoint is used to obtain detailed information regarding customer sales orders and returns.</p>\n","urlObject":{"path":["sales"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>An date of entry for a specified sale</p>\n","type":"text/plain"},"key":"EntryDate","value":"<string>"},{"description":{"content":"<p>The sale invoice number.</p>\n","type":"text/plain"},"key":"InvoiceNumber","value":"<string>"},{"description":{"content":"<p>The primary key value for the MYOB sale record.</p>\n","type":"text/plain"},"key":"MYOBSalesID","value":"<integer>"},{"description":{"content":"<p>the primary key value for the MYOB shipping method record.</p>\n","type":"text/plain"},"key":"MYOBShipMethodID","value":"<integer>"},{"description":{"content":"<p>The primary key value for the MYOB sale terms record.</p>\n","type":"text/plain"},"key":"MYOBTermsID","value":"<integer>"},{"description":{"content":"<p>The promise date on the sale invoice</p>\n","type":"text/plain"},"key":"PromiseDate","value":"<string>"},{"description":{"content":"<p>The purchase order number attached to a sale.</p>\n","type":"text/plain"},"key":"PurchaseOrder","value":"<string>"},{"description":{"content":"<p>The serial number of an item attached to a specific sale.</p>\n","type":"text/plain"},"key":"SRN","value":"<string>"},{"description":{"content":"<p>The date the sale was filed for a customer.</p>\n","type":"text/plain"},"key":"SaleDate","value":"<string>"},{"description":{"content":"<p>The primary key value for a sale record.</p>\n","type":"text/plain"},"key":"SalesID","value":"<integer>"},{"description":{"content":"<p>The primary key value for a sale's type record.</p>\n","type":"text/plain"},"key":"TypeID","value":"<integer>"}],"variable":[]}},"response":[{"id":"687912a2-df3f-445e-aa43-1d3f5ba04af7","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/sales?EntryDate=<string>&InvoiceNumber=<string>&MYOBSalesID=<integer>&MYOBShipMethodID=<integer>&MYOBTermsID=<integer>&PromiseDate=<string>&PurchaseOrder=<string>&SRN=<string>&SaleDate=<string>&SalesID=<integer>&TypeID=<integer>","host":["http://api.datapel.net/JSON"],"path":["sales"],"query":[{"key":"EntryDate","value":"<string>"},{"key":"InvoiceNumber","value":"<string>"},{"key":"MYOBSalesID","value":"<integer>"},{"key":"MYOBShipMethodID","value":"<integer>"},{"key":"MYOBTermsID","value":"<integer>"},{"key":"PromiseDate","value":"<string>"},{"key":"PurchaseOrder","value":"<string>"},{"key":"SRN","value":"<string>"},{"key":"SaleDate","value":"<string>"},{"key":"SalesID","value":"<integer>"},{"key":"TypeID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"comment\": \"<string>\",\n  \"currencycode\": \"<string>\",\n  \"currencycomment\": \"<string>\",\n  \"entrydate\": \"<string>\",\n  \"freight\": \"<number>\",\n  \"hasreturn\": \"<boolean>\",\n  \"invoicenumber\": \"<string>\",\n  \"isclosedreturn\": \"<boolean>\",\n  \"ishistoric\": \"<boolean>\",\n  \"ispurchaseraised\": \"<boolean>\",\n  \"isreturn\": \"<boolean>\",\n  \"locationid\": \"<integer>\",\n  \"locationname\": \"<string>\",\n  \"myobcardrecordid\": \"<integer>\",\n  \"myobbilltoname\": \"<string>\",\n  \"myobsaleid\": \"<integer>\",\n  \"myobshiptoname\": \"<string>\",\n  \"myobshiptorecordid\": \"<integer>\",\n  \"myobshipmethodid\": \"<integer>\",\n  \"myobtermsid\": \"<integer>\",\n  \"notes\": \"<string>\",\n  \"orderdate\": \"<string>\",\n  \"paidamount\": \"<number>\",\n  \"paymentmethod\": \"<string>\",\n  \"paymentnotes\": \"<string>\",\n  \"prn\": \"<string>\",\n  \"priority\": \"<integer>\",\n  \"promisedate\": \"<string>\",\n  \"updatetime\": \"<string>\",\n  \"createdate\": \"<string>\",\n  \"createtime\": \"<string>\",\n  \"purchaseraisedate\": \"<string>\",\n  \"saledate\": \"<string>\",\n  \"updated\": \"<string>\",\n  \"purchaseordernumber\": \"<string>\",\n  \"returnedsrn\": \"<string>\",\n  \"saleid\": \"<integer>\",\n  \"status\": \"<integer>\",\n  \"shippingmethod\": \"<string>\",\n  \"shipnote\": \"<string>\",\n  \"shiptoaddressline1\": \"<string>\",\n  \"udf1\": \"<string>\",\n  \"udf2\": \"<string>\",\n  \"udf3\": \"<string>\",\n  \"shiptoaddressline2\": \"<string>\",\n  \"shiptoaddressline3\": \"<string>\",\n  \"shiptoaddressline4\": \"<string>\",\n  \"srn\": \"<string>\",\n  \"subtotal\": \"<number>\",\n  \"tax\": \"<number>\",\n  \"termsmessage\": \"<string>\",\n  \"saleitemlist\": [\n   {\n    \"basestockid\": \"<integer>\",\n    \"jobid\": \"<integer>\",\n    \"lineid\": \"<integer>\",\n    \"linenumber\": \"<integer>\",\n    \"iskititem\": \"<boolean>\",\n    \"iskitlineitem\": \"<boolean>\",\n    \"kitheaderlineid\": \"<integer>\",\n    \"linedescription\": \"<string>\",\n    \"itemcode\": \"<string>\",\n    \"itemname\": \"<string>\",\n    \"notes\": \"<string>\",\n    \"jobnote\": \"<string>\",\n    \"priceinc\": \"<number>\",\n    \"priceexc\": \"<number>\",\n    \"quantity\": \"<integer>\",\n    \"taxcode\": \"<string>\",\n    \"taxrate\": \"<number>\",\n    \"lastcost\": \"<number>\",\n    \"actualcost\": \"<number>\",\n    \"standardcost\": \"<number>\",\n    \"discounts\": \"<number>\",\n    \"borderbasestockid\": \"<integer>\",\n    \"borderquantity\": \"<integer>\",\n    \"borderpriceexc\": \"<number>\",\n    \"isborderline\": \"<boolean>\"\n   },\n   {\n    \"basestockid\": \"<integer>\",\n    \"jobid\": \"<integer>\",\n    \"lineid\": \"<integer>\",\n    \"linenumber\": \"<integer>\",\n    \"iskititem\": \"<boolean>\",\n    \"iskitlineitem\": \"<boolean>\",\n    \"kitheaderlineid\": \"<integer>\",\n    \"linedescription\": \"<string>\",\n    \"itemcode\": \"<string>\",\n    \"itemname\": \"<string>\",\n    \"notes\": \"<string>\",\n    \"jobnote\": \"<string>\",\n    \"priceinc\": \"<number>\",\n    \"priceexc\": \"<number>\",\n    \"quantity\": \"<integer>\",\n    \"taxcode\": \"<string>\",\n    \"taxrate\": \"<number>\",\n    \"lastcost\": \"<number>\",\n    \"actualcost\": \"<number>\",\n    \"standardcost\": \"<number>\",\n    \"discounts\": \"<number>\",\n    \"borderbasestockid\": \"<integer>\",\n    \"borderquantity\": \"<integer>\",\n    \"borderpriceexc\": \"<number>\",\n    \"isborderline\": \"<boolean>\"\n   }\n  ],\n  \"saleattachmentlist\": [\n   \"schema type not provided\",\n   \"schema type not provided\"\n  ],\n  \"exception\": \"<object>\"\n },\n {\n  \"comment\": \"<string>\",\n  \"currencycode\": \"<string>\",\n  \"currencycomment\": \"<string>\",\n  \"entrydate\": \"<string>\",\n  \"freight\": \"<number>\",\n  \"hasreturn\": \"<boolean>\",\n  \"invoicenumber\": \"<string>\",\n  \"isclosedreturn\": \"<boolean>\",\n  \"ishistoric\": \"<boolean>\",\n  \"ispurchaseraised\": \"<boolean>\",\n  \"isreturn\": \"<boolean>\",\n  \"locationid\": \"<integer>\",\n  \"locationname\": \"<string>\",\n  \"myobcardrecordid\": \"<integer>\",\n  \"myobbilltoname\": \"<string>\",\n  \"myobsaleid\": \"<integer>\",\n  \"myobshiptoname\": \"<string>\",\n  \"myobshiptorecordid\": \"<integer>\",\n  \"myobshipmethodid\": \"<integer>\",\n  \"myobtermsid\": \"<integer>\",\n  \"notes\": \"<string>\",\n  \"orderdate\": \"<string>\",\n  \"paidamount\": \"<number>\",\n  \"paymentmethod\": \"<string>\",\n  \"paymentnotes\": \"<string>\",\n  \"prn\": \"<string>\",\n  \"priority\": \"<integer>\",\n  \"promisedate\": \"<string>\",\n  \"updatetime\": \"<string>\",\n  \"createdate\": \"<string>\",\n  \"createtime\": \"<string>\",\n  \"purchaseraisedate\": \"<string>\",\n  \"saledate\": \"<string>\",\n  \"updated\": \"<string>\",\n  \"purchaseordernumber\": \"<string>\",\n  \"returnedsrn\": \"<string>\",\n  \"saleid\": \"<integer>\",\n  \"status\": \"<integer>\",\n  \"shippingmethod\": \"<string>\",\n  \"shipnote\": \"<string>\",\n  \"shiptoaddressline1\": \"<string>\",\n  \"udf1\": \"<string>\",\n  \"udf2\": \"<string>\",\n  \"udf3\": \"<string>\",\n  \"shiptoaddressline2\": \"<string>\",\n  \"shiptoaddressline3\": \"<string>\",\n  \"shiptoaddressline4\": \"<string>\",\n  \"srn\": \"<string>\",\n  \"subtotal\": \"<number>\",\n  \"tax\": \"<number>\",\n  \"termsmessage\": \"<string>\",\n  \"saleitemlist\": [\n   {\n    \"basestockid\": \"<integer>\",\n    \"jobid\": \"<integer>\",\n    \"lineid\": \"<integer>\",\n    \"linenumber\": \"<integer>\",\n    \"iskititem\": \"<boolean>\",\n    \"iskitlineitem\": \"<boolean>\",\n    \"kitheaderlineid\": \"<integer>\",\n    \"linedescription\": \"<string>\",\n    \"itemcode\": \"<string>\",\n    \"itemname\": \"<string>\",\n    \"notes\": \"<string>\",\n    \"jobnote\": \"<string>\",\n    \"priceinc\": \"<number>\",\n    \"priceexc\": \"<number>\",\n    \"quantity\": \"<integer>\",\n    \"taxcode\": \"<string>\",\n    \"taxrate\": \"<number>\",\n    \"lastcost\": \"<number>\",\n    \"actualcost\": \"<number>\",\n    \"standardcost\": \"<number>\",\n    \"discounts\": \"<number>\",\n    \"borderbasestockid\": \"<integer>\",\n    \"borderquantity\": \"<integer>\",\n    \"borderpriceexc\": \"<number>\",\n    \"isborderline\": \"<boolean>\"\n   },\n   {\n    \"basestockid\": \"<integer>\",\n    \"jobid\": \"<integer>\",\n    \"lineid\": \"<integer>\",\n    \"linenumber\": \"<integer>\",\n    \"iskititem\": \"<boolean>\",\n    \"iskitlineitem\": \"<boolean>\",\n    \"kitheaderlineid\": \"<integer>\",\n    \"linedescription\": \"<string>\",\n    \"itemcode\": \"<string>\",\n    \"itemname\": \"<string>\",\n    \"notes\": \"<string>\",\n    \"jobnote\": \"<string>\",\n    \"priceinc\": \"<number>\",\n    \"priceexc\": \"<number>\",\n    \"quantity\": \"<integer>\",\n    \"taxcode\": \"<string>\",\n    \"taxrate\": \"<number>\",\n    \"lastcost\": \"<number>\",\n    \"actualcost\": \"<number>\",\n    \"standardcost\": \"<number>\",\n    \"discounts\": \"<number>\",\n    \"borderbasestockid\": \"<integer>\",\n    \"borderquantity\": \"<integer>\",\n    \"borderpriceexc\": \"<number>\",\n    \"isborderline\": \"<boolean>\"\n   }\n  ],\n  \"saleattachmentlist\": [\n   \"schema type not provided\",\n   \"schema type not provided\"\n  ],\n  \"exception\": \"<object>\"\n }\n]"}],"_postman_id":"a6d8516d-22de-4bfa-a747-6912c724225f"},{"name":"Sale List","id":"e515a428-4e68-433b-aea5-f5c5c1988ecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/salelist?EntryDate=<string>&InvoiceNumber=<string>&MYOBSalesID=<integer>&MYOBShipMethodID=<integer>&MYOBTermsID=<integer>&PromiseDate=<string>&PurchaseOrder=<string>&SRN=<string>&SaleDate=<string>&SalesID=<integer>&TypeID=<integer>","description":"<p>The salelist returns list of sales.</p>\n","urlObject":{"path":["salelist"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>date of entry for a specified sale.</p>\n","type":"text/plain"},"key":"EntryDate","value":"<string>"},{"description":{"content":"<p>The sale invoice number.</p>\n","type":"text/plain"},"key":"InvoiceNumber","value":"<string>"},{"description":{"content":"<p>The primary key value for the MYOB sale record.</p>\n","type":"text/plain"},"key":"MYOBSalesID","value":"<integer>"},{"description":{"content":"<p>the primary key value for the MYOB shipping method record.</p>\n","type":"text/plain"},"key":"MYOBShipMethodID","value":"<integer>"},{"description":{"content":"<p>The primary key value for the MYOB sale terms record.</p>\n","type":"text/plain"},"key":"MYOBTermsID","value":"<integer>"},{"description":{"content":"<p>The promise date on the sale invoice</p>\n","type":"text/plain"},"key":"PromiseDate","value":"<string>"},{"description":{"content":"<p>The purchase order number attached to a sale.</p>\n","type":"text/plain"},"key":"PurchaseOrder","value":"<string>"},{"description":{"content":"<p>The serial number of an item attached to a specific sale.</p>\n","type":"text/plain"},"key":"SRN","value":"<string>"},{"description":{"content":"<p>The date the sale was filed for a customer.</p>\n","type":"text/plain"},"key":"SaleDate","value":"<string>"},{"description":{"content":"<p>The primary key value for a sale record.</p>\n","type":"text/plain"},"key":"SalesID","value":"<integer>"},{"description":{"content":"<p>The primary key value for a sale's type record.</p>\n","type":"text/plain"},"key":"TypeID","value":"<integer>"}],"variable":[]}},"response":[{"id":"8f00e352-4ce4-476d-85e1-b519386ac72c","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/salelist?EntryDate=<string>&InvoiceNumber=<string>&MYOBSalesID=<integer>&MYOBShipMethodID=<integer>&MYOBTermsID=<integer>&PromiseDate=<string>&PurchaseOrder=<string>&SRN=<string>&SaleDate=<string>&SalesID=<integer>&TypeID=<integer>","host":["http://api.datapel.net/JSON"],"path":["salelist"],"query":[{"key":"EntryDate","value":"<string>"},{"key":"InvoiceNumber","value":"<string>"},{"key":"MYOBSalesID","value":"<integer>"},{"key":"MYOBShipMethodID","value":"<integer>"},{"key":"MYOBTermsID","value":"<integer>"},{"key":"PromiseDate","value":"<string>"},{"key":"PurchaseOrder","value":"<string>"},{"key":"SRN","value":"<string>"},{"key":"SaleDate","value":"<string>"},{"key":"SalesID","value":"<integer>"},{"key":"TypeID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"orders\": [\n  {\n   \"comment\": \"<string>\",\n   \"currencycode\": \"<string>\",\n   \"currencycomment\": \"<string>\",\n   \"entrydate\": \"<string>\",\n   \"freight\": \"<number>\",\n   \"hasreturn\": \"<boolean>\",\n   \"invoicenumber\": \"<string>\",\n   \"isclosedreturn\": \"<boolean>\",\n   \"ishistoric\": \"<boolean>\",\n   \"ispurchaseraised\": \"<boolean>\",\n   \"isreturn\": \"<boolean>\",\n   \"location\": \"<string>\",\n   \"linkcardrecordid\": \"<integer>\",\n   \"linksaleid\": \"<integer>\",\n   \"linkshiptoname\": \"<string>\",\n   \"linkshiptorecordid\": \"<integer>\",\n   \"linkshipmethodid\": \"<integer>\",\n   \"linktermsid\": \"<integer>\",\n   \"notes\": \"<string>\",\n   \"orderdate\": \"<string>\",\n   \"paidamount\": \"<number>\",\n   \"paymentmethod\": \"<string>\",\n   \"paymentnotes\": \"<string>\",\n   \"prn\": \"<string>\",\n   \"priority\": \"<integer>\",\n   \"promisedate\": \"<string>\",\n   \"purchaseordernumber\": \"<string>\",\n   \"purchaseraisedate\": \"<string>\",\n   \"saledate\": \"<string>\",\n   \"saleid\": \"<integer>\",\n   \"status\": \"<integer>\",\n   \"shippingmethod\": \"<string>\",\n   \"shipnote\": \"<string>\",\n   \"shiptoaddressline1\": \"<string>\",\n   \"shiptoaddressline2\": \"<string>\",\n   \"shiptoaddressline3\": \"<string>\",\n   \"shiptoaddressline4\": \"<string>\",\n   \"srn\": \"<string>\",\n   \"subtotal\": \"<number>\",\n   \"tax\": \"<number>\",\n   \"termsmessage\": \"<string>\",\n   \"updated\": \"<string>\",\n   \"saleitemlist\": [\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    },\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    }\n   ],\n   \"saleattachmentlist\": [\n    \"schema type not provided\",\n    \"schema type not provided\"\n   ],\n   \"exception\": \"<object>\"\n  },\n  {\n   \"comment\": \"<string>\",\n   \"currencycode\": \"<string>\",\n   \"currencycomment\": \"<string>\",\n   \"entrydate\": \"<string>\",\n   \"freight\": \"<number>\",\n   \"hasreturn\": \"<boolean>\",\n   \"invoicenumber\": \"<string>\",\n   \"isclosedreturn\": \"<boolean>\",\n   \"ishistoric\": \"<boolean>\",\n   \"ispurchaseraised\": \"<boolean>\",\n   \"isreturn\": \"<boolean>\",\n   \"location\": \"<string>\",\n   \"linkcardrecordid\": \"<integer>\",\n   \"linksaleid\": \"<integer>\",\n   \"linkshiptoname\": \"<string>\",\n   \"linkshiptorecordid\": \"<integer>\",\n   \"linkshipmethodid\": \"<integer>\",\n   \"linktermsid\": \"<integer>\",\n   \"notes\": \"<string>\",\n   \"orderdate\": \"<string>\",\n   \"paidamount\": \"<number>\",\n   \"paymentmethod\": \"<string>\",\n   \"paymentnotes\": \"<string>\",\n   \"prn\": \"<string>\",\n   \"priority\": \"<integer>\",\n   \"promisedate\": \"<string>\",\n   \"purchaseordernumber\": \"<string>\",\n   \"purchaseraisedate\": \"<string>\",\n   \"saledate\": \"<string>\",\n   \"saleid\": \"<integer>\",\n   \"status\": \"<integer>\",\n   \"shippingmethod\": \"<string>\",\n   \"shipnote\": \"<string>\",\n   \"shiptoaddressline1\": \"<string>\",\n   \"shiptoaddressline2\": \"<string>\",\n   \"shiptoaddressline3\": \"<string>\",\n   \"shiptoaddressline4\": \"<string>\",\n   \"srn\": \"<string>\",\n   \"subtotal\": \"<number>\",\n   \"tax\": \"<number>\",\n   \"termsmessage\": \"<string>\",\n   \"updated\": \"<string>\",\n   \"saleitemlist\": [\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    },\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    }\n   ],\n   \"saleattachmentlist\": [\n    \"schema type not provided\",\n    \"schema type not provided\"\n   ],\n   \"exception\": \"<object>\"\n  }\n ],\n \"quotes\": [\n  {\n   \"comment\": \"<string>\",\n   \"currencycode\": \"<string>\",\n   \"currencycomment\": \"<string>\",\n   \"entrydate\": \"<string>\",\n   \"freight\": \"<number>\",\n   \"hasreturn\": \"<boolean>\",\n   \"invoicenumber\": \"<integer>\",\n   \"isclosedreturn\": \"<boolean>\",\n   \"ishistoric\": \"<boolean>\",\n   \"ispurchaseraised\": \"<boolean>\",\n   \"isreturn\": \"<boolean>\",\n   \"location\": \"<string>\",\n   \"linkcardrecordid\": \"<integer>\",\n   \"linksaleid\": \"<integer>\",\n   \"linkshiptoname\": \"<string>\",\n   \"linkshiptorecordid\": \"<integer>\",\n   \"linkshipmethodid\": \"<integer>\",\n   \"linktermsid\": \"<integer>\",\n   \"notes\": \"<string>\",\n   \"orderdate\": \"<string>\",\n   \"paidamount\": \"<number>\",\n   \"paymentmethod\": \"<string>\",\n   \"paymentnotes\": \"<string>\",\n   \"prn\": \"<string>\",\n   \"priority\": \"<integer>\",\n   \"promisedate\": \"<string>\",\n   \"purchaseordernumber\": \"<string>\",\n   \"purchaseraisedate\": \"<string>\",\n   \"returnedsrn\": \"<string>\",\n   \"saledate\": \"<string>\",\n   \"saleid\": \"<integer>\",\n   \"status\": \"<integer>\",\n   \"shippingmethod\": \"<string>\",\n   \"shipnote\": \"<string>\",\n   \"shiptoaddressline1\": \"<string>\",\n   \"shiptoaddressline2\": \"<string>\",\n   \"shiptoaddressline3\": \"<string>\",\n   \"shiptoaddressline4\": \"<string>\",\n   \"srn\": \"<string>\",\n   \"subtotal\": \"<number>\",\n   \"tax\": \"<number>\",\n   \"termsmessage\": \"<string>\",\n   \"updated\": \"<string>\",\n   \"saleitemlist\": [\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    },\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    }\n   ],\n   \"saleattachmentlist\": [\n    \"schema type not provided\",\n    \"schema type not provided\"\n   ],\n   \"exception\": \"<object>\"\n  },\n  {\n   \"comment\": \"<string>\",\n   \"currencycode\": \"<string>\",\n   \"currencycomment\": \"<string>\",\n   \"entrydate\": \"<string>\",\n   \"freight\": \"<number>\",\n   \"hasreturn\": \"<boolean>\",\n   \"invoicenumber\": \"<integer>\",\n   \"isclosedreturn\": \"<boolean>\",\n   \"ishistoric\": \"<boolean>\",\n   \"ispurchaseraised\": \"<boolean>\",\n   \"isreturn\": \"<boolean>\",\n   \"location\": \"<string>\",\n   \"linkcardrecordid\": \"<integer>\",\n   \"linksaleid\": \"<integer>\",\n   \"linkshiptoname\": \"<string>\",\n   \"linkshiptorecordid\": \"<integer>\",\n   \"linkshipmethodid\": \"<integer>\",\n   \"linktermsid\": \"<integer>\",\n   \"notes\": \"<string>\",\n   \"orderdate\": \"<string>\",\n   \"paidamount\": \"<number>\",\n   \"paymentmethod\": \"<string>\",\n   \"paymentnotes\": \"<string>\",\n   \"prn\": \"<string>\",\n   \"priority\": \"<integer>\",\n   \"promisedate\": \"<string>\",\n   \"purchaseordernumber\": \"<string>\",\n   \"purchaseraisedate\": \"<string>\",\n   \"returnedsrn\": \"<string>\",\n   \"saledate\": \"<string>\",\n   \"saleid\": \"<integer>\",\n   \"status\": \"<integer>\",\n   \"shippingmethod\": \"<string>\",\n   \"shipnote\": \"<string>\",\n   \"shiptoaddressline1\": \"<string>\",\n   \"shiptoaddressline2\": \"<string>\",\n   \"shiptoaddressline3\": \"<string>\",\n   \"shiptoaddressline4\": \"<string>\",\n   \"srn\": \"<string>\",\n   \"subtotal\": \"<number>\",\n   \"tax\": \"<number>\",\n   \"termsmessage\": \"<string>\",\n   \"updated\": \"<string>\",\n   \"saleitemlist\": [\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    },\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    }\n   ],\n   \"saleattachmentlist\": [\n    \"schema type not provided\",\n    \"schema type not provided\"\n   ],\n   \"exception\": \"<object>\"\n  }\n ],\n \"returns\": \"<integer>\",\n \"shipped\": \"<integer>\",\n \"pending\": \"<integer>\",\n \"backorder\": \"<integer>\",\n \"recent\": [\n  {\n   \"comment\": \"<string>\",\n   \"currencycode\": \"<string>\",\n   \"currencycomment\": \"<string>\",\n   \"entrydate\": \"<string>\",\n   \"freight\": \"<number>\",\n   \"hasreturn\": \"<boolean>\",\n   \"invoicenumber\": \"<integer>\",\n   \"isclosedreturn\": \"<boolean>\",\n   \"ishistoric\": \"<boolean>\",\n   \"ispurchaseraised\": \"<boolean>\",\n   \"isreturn\": \"<boolean>\",\n   \"location\": \"<string>\",\n   \"linkcardrecordid\": \"<integer>\",\n   \"linksaleid\": \"<integer>\",\n   \"linkshiptoname\": \"<string>\",\n   \"linkshiptorecordid\": \"<integer>\",\n   \"linkshipmethodid\": \"<integer>\",\n   \"linktermsid\": \"<integer>\",\n   \"notes\": \"<string>\",\n   \"orderdate\": \"<string>\",\n   \"paidamount\": \"<number>\",\n   \"paymentmethod\": \"<string>\",\n   \"paymentnotes\": \"<string>\",\n   \"prn\": \"<string>\",\n   \"priority\": \"<integer>\",\n   \"promisedate\": \"<string>\",\n   \"purchaseordernumber\": \"<string>\",\n   \"purchaseraisedate\": \"<string>\",\n   \"returnedsrn\": \"<string>\",\n   \"saledate\": \"<string>\",\n   \"saleid\": \"<integer>\",\n   \"status\": \"<integer>\",\n   \"shippingmethod\": \"<string>\",\n   \"shipnote\": \"<string>\",\n   \"shiptoaddressline1\": \"<string>\",\n   \"shiptoaddressline2\": \"<string>\",\n   \"shiptoaddressline3\": \"<string>\",\n   \"shiptoaddressline4\": \"<string>\",\n   \"srn\": \"<string>\",\n   \"subtotal\": \"<number>\",\n   \"tax\": \"<number>\",\n   \"termsmessage\": \"<string>\",\n   \"updated\": \"<string>\",\n   \"saleitemlist\": [\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    },\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    }\n   ],\n   \"saleattachmentlist\": [\n    \"schema type not provided\",\n    \"schema type not provided\"\n   ],\n   \"exception\": \"<object>\"\n  },\n  {\n   \"comment\": \"<string>\",\n   \"currencycode\": \"<string>\",\n   \"currencycomment\": \"<string>\",\n   \"entrydate\": \"<string>\",\n   \"freight\": \"<number>\",\n   \"hasreturn\": \"<boolean>\",\n   \"invoicenumber\": \"<integer>\",\n   \"isclosedreturn\": \"<boolean>\",\n   \"ishistoric\": \"<boolean>\",\n   \"ispurchaseraised\": \"<boolean>\",\n   \"isreturn\": \"<boolean>\",\n   \"location\": \"<string>\",\n   \"linkcardrecordid\": \"<integer>\",\n   \"linksaleid\": \"<integer>\",\n   \"linkshiptoname\": \"<string>\",\n   \"linkshiptorecordid\": \"<integer>\",\n   \"linkshipmethodid\": \"<integer>\",\n   \"linktermsid\": \"<integer>\",\n   \"notes\": \"<string>\",\n   \"orderdate\": \"<string>\",\n   \"paidamount\": \"<number>\",\n   \"paymentmethod\": \"<string>\",\n   \"paymentnotes\": \"<string>\",\n   \"prn\": \"<string>\",\n   \"priority\": \"<integer>\",\n   \"promisedate\": \"<string>\",\n   \"purchaseordernumber\": \"<string>\",\n   \"purchaseraisedate\": \"<string>\",\n   \"returnedsrn\": \"<string>\",\n   \"saledate\": \"<string>\",\n   \"saleid\": \"<integer>\",\n   \"status\": \"<integer>\",\n   \"shippingmethod\": \"<string>\",\n   \"shipnote\": \"<string>\",\n   \"shiptoaddressline1\": \"<string>\",\n   \"shiptoaddressline2\": \"<string>\",\n   \"shiptoaddressline3\": \"<string>\",\n   \"shiptoaddressline4\": \"<string>\",\n   \"srn\": \"<string>\",\n   \"subtotal\": \"<number>\",\n   \"tax\": \"<number>\",\n   \"termsmessage\": \"<string>\",\n   \"updated\": \"<string>\",\n   \"saleitemlist\": [\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    },\n    {\n     \"jobid\": \"<integer>\",\n     \"lineid\": \"<integer>\",\n     \"linenumber\": \"<integer>\",\n     \"iskititem\": \"<boolean>\",\n     \"iskitlineitem\": \"<boolean>\",\n     \"kitheaderlineid\": \"<integer>\",\n     \"linedescription\": \"<string>\",\n     \"itemcode\": \"<string>\",\n     \"itemname\": \"<string>\",\n     \"itemnumber\": \"<string>\",\n     \"notes\": \"<string>\",\n     \"priceinc\": \"<number>\",\n     \"priceexc\": \"<number>\",\n     \"quantity\": \"<integer>\",\n     \"taxcode\": \"<string>\",\n     \"taxrate\": \"<number>\"\n    }\n   ],\n   \"saleattachmentlist\": [\n    \"schema type not provided\",\n    \"schema type not provided\"\n   ],\n   \"exception\": \"<object>\"\n  }\n ]\n}"}],"_postman_id":"e515a428-4e68-433b-aea5-f5c5c1988ecd"},{"name":"Payment Customer","id":"f1f401e4-70bc-4b5d-bbf8-bc6bbfbe1483","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/paymentcustomer?Account=<string>&ChequeNumber=<integer>&Comments=<string>&CustomerID=<integer>&CustomerName=<string>&CustomerPO=<integer>&InvoiceNumber=<integer>&Memo=<string>&PaymentID=<string>&ReceiptNumber=<integer>&SaleID=<integer>","description":"<p>The payment customer request returns information about the specified payment.</p>\n","urlObject":{"path":["paymentcustomer"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The account name.</p>\n","type":"text/plain"},"key":"Account","value":"<string>"},{"description":{"content":"<p>The payment cheque number</p>\n","type":"text/plain"},"key":"ChequeNumber","value":"<integer>"},{"description":{"content":"<p>Comment of the payments</p>\n","type":"text/plain"},"key":"Comments","value":"<string>"},{"description":{"content":"<p>The primary key value of the Customer record.</p>\n","type":"text/plain"},"key":"CustomerID","value":"<integer>"},{"description":{"content":"<p>The name of the customer</p>\n","type":"text/plain"},"key":"CustomerName","value":"<string>"},{"description":{"content":"<p>The customer purchase order number</p>\n","type":"text/plain"},"key":"CustomerPO","value":"<integer>"},{"description":{"content":"<p>The invoice number of the sale</p>\n","type":"text/plain"},"key":"InvoiceNumber","value":"<integer>"},{"description":{"content":"<p>Any reminding notes attached to the payment.</p>\n","type":"text/plain"},"key":"Memo","value":"<string>"},{"description":{"content":"<p>The primary key value of the customer payment.</p>\n","type":"text/plain"},"key":"PaymentID","value":"<string>"},{"description":{"content":"<p>The receipt number of the payment</p>\n","type":"text/plain"},"key":"ReceiptNumber","value":"<integer>"},{"description":{"content":"<p>The primary key value of the sale record.</p>\n","type":"text/plain"},"key":"SaleID","value":"<integer>"}],"variable":[]}},"response":[{"id":"abdc03de-a9f3-4ce0-aefc-fe9dc2876674","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/paymentcustomer?Account=<string>&ChequeNumber=<integer>&Comments=<string>&CustomerID=<integer>&CustomerName=<string>&CustomerPO=<integer>&InvoiceNumber=<integer>&Memo=<string>&PaymentID=<string>&ReceiptNumber=<integer>&SaleID=<integer>","host":["http://api.datapel.net/JSON"],"path":["paymentcustomer"],"query":[{"key":"Account","value":"<string>"},{"key":"ChequeNumber","value":"<integer>"},{"key":"Comments","value":"<string>"},{"key":"CustomerID","value":"<integer>"},{"key":"CustomerName","value":"<string>"},{"key":"CustomerPO","value":"<integer>"},{"key":"InvoiceNumber","value":"<integer>"},{"key":"Memo","value":"<string>"},{"key":"PaymentID","value":"<string>"},{"key":"ReceiptNumber","value":"<integer>"},{"key":"SaleID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"exception\": \"<object>\",\n  \"account\": \"<string>\",\n  \"allowclose\": \"<boolean>\",\n  \"amount\": \"<number>\",\n  \"amountreceived\": \"<number>\",\n  \"chequenumber\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"currencycode\": \"<string>\",\n  \"customerid\": \"<integer>\",\n  \"customername\": \"<string>\",\n  \"customerpo\": \"<string>\",\n  \"dateapplied\": \"<string>\",\n  \"dateclosed\": \"<string>\",\n  \"employeemyobcardid\": \"<integer>\",\n  \"exchangerate\": \"<number>\",\n  \"invoicenumber\": \"<integer>\",\n  \"isclosed\": \"<boolean>\",\n  \"lastupdated\": \"<string>\",\n  \"linenumber\": \"<integer>\",\n  \"memo\": \"<string>\",\n  \"paymentdate\": \"<string>\",\n  \"paymentmethodid\": \"<integer>\",\n  \"paymentid\": \"<integer>\",\n  \"receiptnumber\": \"<integer>\",\n  \"remotestatus\": \"<string>\",\n  \"saleid\": \"<integer>\"\n },\n {\n  \"exception\": \"<object>\",\n  \"account\": \"<string>\",\n  \"allowclose\": \"<boolean>\",\n  \"amount\": \"<number>\",\n  \"amountreceived\": \"<number>\",\n  \"chequenumber\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"currencycode\": \"<string>\",\n  \"customerid\": \"<integer>\",\n  \"customername\": \"<string>\",\n  \"customerpo\": \"<string>\",\n  \"dateapplied\": \"<string>\",\n  \"dateclosed\": \"<string>\",\n  \"employeemyobcardid\": \"<integer>\",\n  \"exchangerate\": \"<number>\",\n  \"invoicenumber\": \"<integer>\",\n  \"isclosed\": \"<boolean>\",\n  \"lastupdated\": \"<string>\",\n  \"linenumber\": \"<integer>\",\n  \"memo\": \"<string>\",\n  \"paymentdate\": \"<string>\",\n  \"paymentmethodid\": \"<integer>\",\n  \"paymentid\": \"<integer>\",\n  \"receiptnumber\": \"<integer>\",\n  \"remotestatus\": \"<string>\",\n  \"saleid\": \"<integer>\"\n }\n]"}],"_postman_id":"f1f401e4-70bc-4b5d-bbf8-bc6bbfbe1483"},{"name":"Sales Queue Count","id":"3c00bacb-3982-45cf-956b-0d2149b5f996","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/salesqueuecount","urlObject":{"path":["salesqueuecount"],"host":["http://api.datapel.net/JSON"],"query":[],"variable":[]}},"response":[{"id":"5a98510a-caf0-4ab7-9898-bcbb48d8f98c","name":"OK","originalRequest":{"method":"GET","header":[],"url":"http://api.datapel.net/JSON/salesqueuecount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"filecount\": \"<integer>\"\n}"}],"_postman_id":"3c00bacb-3982-45cf-956b-0d2149b5f996"},{"name":"Transfers","id":"e267ebc1-e1c2-42e1-85d9-248a72298c25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/transfers?ContactName=<string>&CreateDate=<string>&DstLocationID=<integer>&MyobShipMethodID=<integer>&Priority=<integer>&RecordDate=<integer>&SrcLocationID=<integer>&StatusID=<integer>&TRN=<string>&TransfersID=<integer>","description":"<p>The transfers request returns information about the specified transfer.</p>\n","urlObject":{"path":["transfers"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Contact name of the card attached to the transfer.</p>\n","type":"text/plain"},"key":"ContactName","value":"<string>"},{"description":{"content":"<p>Create date of the transfer entry.</p>\n","type":"text/plain"},"key":"CreateDate","value":"<string>"},{"description":{"content":"<p>the primary key value of the destination location.</p>\n","type":"text/plain"},"key":"DstLocationID","value":"<integer>"},{"description":{"content":"<p>The primary key value of the MYOB ship method.</p>\n","type":"text/plain"},"key":"MyobShipMethodID","value":"<integer>"},{"description":{"content":"<p>Priority level</p>\n","type":"text/plain"},"key":"Priority","value":"<integer>"},{"description":{"content":"<p>The date a transfer entry was recorded.</p>\n","type":"text/plain"},"key":"RecordDate","value":"<integer>"},{"description":{"content":"<p>The primary key value of the source location.</p>\n","type":"text/plain"},"key":"SrcLocationID","value":"<integer>"},{"description":{"content":"<p>the primary key value of the status record.</p>\n","type":"text/plain"},"key":"StatusID","value":"<integer>"},{"description":{"content":"<p>The transfer registration number.</p>\n","type":"text/plain"},"key":"TRN","value":"<string>"},{"description":{"content":"<p>The primary key value of the transfer record/</p>\n","type":"text/plain"},"key":"TransfersID","value":"<integer>"}],"variable":[]}},"response":[{"id":"4bbea474-25e8-4f17-bf48-c2800a516fc8","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/transfers?ContactName=<string>&CreateDate=<string>&DstLocationID=<integer>&MyobShipMethodID=<integer>&Priority=<integer>&RecordDate=<integer>&SrcLocationID=<integer>&StatusID=<integer>&TRN=<string>&TransfersID=<integer>","host":["http://api.datapel.net/JSON"],"path":["transfers"],"query":[{"key":"ContactName","value":"<string>"},{"key":"CreateDate","value":"<string>"},{"key":"DstLocationID","value":"<integer>"},{"key":"MyobShipMethodID","value":"<integer>"},{"key":"Priority","value":"<integer>"},{"key":"RecordDate","value":"<integer>"},{"key":"SrcLocationID","value":"<integer>"},{"key":"StatusID","value":"<integer>"},{"key":"TRN","value":"<string>"},{"key":"TransfersID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"contactname\": \"<string>\",\n  \"dstaddress\": \"<string>\",\n  \"dstlocation\": \"<string>\",\n  \"shippingmethod\": \"<string>\",\n  \"srcaddress\": \"<string>\",\n  \"srclocation\": \"<string>\",\n  \"transferdate\": \"<string>\",\n  \"trn\": \"<string>\",\n  \"transferorder\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"createdate\": \"<string>\",\n  \"createtime\": \"<string>\",\n  \"promisedate\": \"<string>\",\n  \"recorddate\": \"<string>\",\n  \"remotestatus\": \"<integer>\",\n  \"lastprintdate\": \"<string>\",\n  \"lastprinttime\": \"<string>\",\n  \"referralsourcesid\": \"<integer>\",\n  \"customerdate\": \"<string>\",\n  \"udf1\": \"<string>\",\n  \"udf2\": \"<string>\",\n  \"udf3\": \"<string>\",\n  \"operatorcardrecordid\": \"<integer>\",\n  \"allocateorder\": \"<integer>\",\n  \"allocateddate\": \"<string>\",\n  \"updatetime\": \"<string>\",\n  \"updated\": \"<string>\",\n  \"transferline\": [\n   {\n    \"basestockid\": \"<integer>\",\n    \"batchlistid\": \"<integer>\",\n    \"deletethisline\": \"<boolean>\",\n    \"dstlocationbinsid\": \"<integer>\",\n    \"dstlot\": \"<integer>\",\n    \"linenumber\": \"<integer>\",\n    \"lot\": \"<integer>\",\n    \"meta\": \"<string>\",\n    \"movelot\": \"<integer>\",\n    \"quantity\": \"<integer>\",\n    \"srcLocationbinsid\": \"<integer>\",\n    \"taxexcunitprice\": \"<integer>\",\n    \"discountpercent\": \"<number>\",\n    \"jobnumber\": \"<string>\",\n    \"lastcost\": \"<number>\",\n    \"averagecost\": \"<number>\",\n    \"description\": \"<string>\",\n    \"uomquantity\": \"<integer>\",\n    \"uomfactor\": \"<integer>\",\n    \"uomlabel\": \"<string>\"\n   },\n   {\n    \"basestockid\": \"<integer>\",\n    \"batchlistid\": \"<integer>\",\n    \"deletethisline\": \"<boolean>\",\n    \"dstlocationbinsid\": \"<integer>\",\n    \"dstlot\": \"<integer>\",\n    \"linenumber\": \"<integer>\",\n    \"lot\": \"<integer>\",\n    \"meta\": \"<string>\",\n    \"movelot\": \"<integer>\",\n    \"quantity\": \"<integer>\",\n    \"srcLocationbinsid\": \"<integer>\",\n    \"taxexcunitprice\": \"<integer>\",\n    \"discountpercent\": \"<number>\",\n    \"jobnumber\": \"<string>\",\n    \"lastcost\": \"<number>\",\n    \"averagecost\": \"<number>\",\n    \"description\": \"<string>\",\n    \"uomquantity\": \"<integer>\",\n    \"uomfactor\": \"<integer>\",\n    \"uomlabel\": \"<string>\"\n   }\n  ],\n  \"exception\": \"<object>\"\n },\n {\n  \"contactname\": \"<string>\",\n  \"dstaddress\": \"<string>\",\n  \"dstlocation\": \"<string>\",\n  \"shippingmethod\": \"<string>\",\n  \"srcaddress\": \"<string>\",\n  \"srclocation\": \"<string>\",\n  \"transferdate\": \"<string>\",\n  \"trn\": \"<string>\",\n  \"transferorder\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"createdate\": \"<string>\",\n  \"createtime\": \"<string>\",\n  \"promisedate\": \"<string>\",\n  \"recorddate\": \"<string>\",\n  \"remotestatus\": \"<integer>\",\n  \"lastprintdate\": \"<string>\",\n  \"lastprinttime\": \"<string>\",\n  \"referralsourcesid\": \"<integer>\",\n  \"customerdate\": \"<string>\",\n  \"udf1\": \"<string>\",\n  \"udf2\": \"<string>\",\n  \"udf3\": \"<string>\",\n  \"operatorcardrecordid\": \"<integer>\",\n  \"allocateorder\": \"<integer>\",\n  \"allocateddate\": \"<string>\",\n  \"updatetime\": \"<string>\",\n  \"updated\": \"<string>\",\n  \"transferline\": [\n   {\n    \"basestockid\": \"<integer>\",\n    \"batchlistid\": \"<integer>\",\n    \"deletethisline\": \"<boolean>\",\n    \"dstlocationbinsid\": \"<integer>\",\n    \"dstlot\": \"<integer>\",\n    \"linenumber\": \"<integer>\",\n    \"lot\": \"<integer>\",\n    \"meta\": \"<string>\",\n    \"movelot\": \"<integer>\",\n    \"quantity\": \"<integer>\",\n    \"srcLocationbinsid\": \"<integer>\",\n    \"taxexcunitprice\": \"<integer>\",\n    \"discountpercent\": \"<number>\",\n    \"jobnumber\": \"<string>\",\n    \"lastcost\": \"<number>\",\n    \"averagecost\": \"<number>\",\n    \"description\": \"<string>\",\n    \"uomquantity\": \"<integer>\",\n    \"uomfactor\": \"<integer>\",\n    \"uomlabel\": \"<string>\"\n   },\n   {\n    \"basestockid\": \"<integer>\",\n    \"batchlistid\": \"<integer>\",\n    \"deletethisline\": \"<boolean>\",\n    \"dstlocationbinsid\": \"<integer>\",\n    \"dstlot\": \"<integer>\",\n    \"linenumber\": \"<integer>\",\n    \"lot\": \"<integer>\",\n    \"meta\": \"<string>\",\n    \"movelot\": \"<integer>\",\n    \"quantity\": \"<integer>\",\n    \"srcLocationbinsid\": \"<integer>\",\n    \"taxexcunitprice\": \"<integer>\",\n    \"discountpercent\": \"<number>\",\n    \"jobnumber\": \"<string>\",\n    \"lastcost\": \"<number>\",\n    \"averagecost\": \"<number>\",\n    \"description\": \"<string>\",\n    \"uomquantity\": \"<integer>\",\n    \"uomfactor\": \"<integer>\",\n    \"uomlabel\": \"<string>\"\n   }\n  ],\n  \"exception\": \"<object>\"\n }\n]"}],"_postman_id":"e267ebc1-e1c2-42e1-85d9-248a72298c25"},{"name":"Transfer List","id":"308868db-a244-46ac-a3ef-5cb6f4ba4a55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/transferlist?ContactName=<string>&DstLocationID=<integer>&MyobShipMethodID=<integer>&Priority=<integer>&SrcLocationID=<integer>&StatusID=<integer>&TRN=<string>&TransfersID=<integer>","description":"<p>The Transferlist returns list of transfers.</p>\n","urlObject":{"path":["transferlist"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>Contact name of the card attached to the transfer.</p>\n","type":"text/plain"},"key":"ContactName","value":"<string>"},{"description":{"content":"<p>the primary key value of the destination location.</p>\n","type":"text/plain"},"key":"DstLocationID","value":"<integer>"},{"description":{"content":"<p>The primary key value of the MYOB ship method.</p>\n","type":"text/plain"},"key":"MyobShipMethodID","value":"<integer>"},{"description":{"content":"<p>Priority level</p>\n","type":"text/plain"},"key":"Priority","value":"<integer>"},{"description":{"content":"<p>The primary key value of the source location.</p>\n","type":"text/plain"},"key":"SrcLocationID","value":"<integer>"},{"description":{"content":"<p>the primary key value of the status record.</p>\n","type":"text/plain"},"key":"StatusID","value":"<integer>"},{"description":{"content":"<p>The transfer registration number.</p>\n","type":"text/plain"},"key":"TRN","value":"<string>"},{"description":{"content":"<p>The primary key value of the transfer record/</p>\n","type":"text/plain"},"key":"TransfersID","value":"<integer>"}],"variable":[]}},"response":[{"id":"3032328e-7c73-47af-a6dd-72db65780feb","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/transferlist?ContactName=<string>&DstLocationID=<integer>&MyobShipMethodID=<integer>&Priority=<integer>&SrcLocationID=<integer>&StatusID=<integer>&TRN=<string>&TransfersID=<integer>","host":["http://api.datapel.net/JSON"],"path":["transferlist"],"query":[{"key":"ContactName","value":"<string>"},{"key":"DstLocationID","value":"<integer>"},{"key":"MyobShipMethodID","value":"<integer>"},{"key":"Priority","value":"<integer>"},{"key":"SrcLocationID","value":"<integer>"},{"key":"StatusID","value":"<integer>"},{"key":"TRN","value":"<string>"},{"key":"TransfersID","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"contactname\": \"<string>\",\n  \"dstaddress\": \"<string>\",\n  \"dstlocation\": \"<string>\",\n  \"shippingmethod\": \"<string>\",\n  \"srcaddress\": \"<string>\",\n  \"srclocation\": \"<string>\",\n  \"transferdate\": \"<string>\",\n  \"trn\": \"<string>\",\n  \"transferorder\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"exception\": \"<object>\"\n },\n {\n  \"contactname\": \"<string>\",\n  \"dstaddress\": \"<string>\",\n  \"dstlocation\": \"<string>\",\n  \"shippingmethod\": \"<string>\",\n  \"srcaddress\": \"<string>\",\n  \"srclocation\": \"<string>\",\n  \"transferdate\": \"<string>\",\n  \"trn\": \"<string>\",\n  \"transferorder\": \"<string>\",\n  \"status\": \"<integer>\",\n  \"exception\": \"<object>\"\n }\n]"}],"_postman_id":"308868db-a244-46ac-a3ef-5cb6f4ba4a55"},{"name":"Payment Supplier","id":"fbc540e9-7749-4323-ac71-a78b8f13326d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/paymentsupplier?Account=<string>&ChequeNumber=<integer>&DateClosed=<string>&InvoiceNumber=<string>&PaymentDate=<string>&PaymentID=<integer>&PurchaseID=<integer>&ReceiptNumber=<string>&SupplierID=<integer>&SupplierName=<string>&SupplierPO=<integer>","urlObject":{"path":["paymentsupplier"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>The supplier account number.</p>\n","type":"text/plain"},"key":"Account","value":"<string>"},{"description":{"content":"<p>The number on the cheque related to a specified payment</p>\n","type":"text/plain"},"key":"ChequeNumber","value":"<integer>"},{"description":{"content":"<p>The date in which a payment record was closed.</p>\n","type":"text/plain"},"key":"DateClosed","value":"<string>"},{"description":{"content":"<p>The invoice number related to a payment.</p>\n","type":"text/plain"},"key":"InvoiceNumber","value":"<string>"},{"description":{"content":"<p>The date of a supplier payment</p>\n","type":"text/plain"},"key":"PaymentDate","value":"<string>"},{"description":{"content":"<p>The primary key value of the payment record.</p>\n","type":"text/plain"},"key":"PaymentID","value":"<integer>"},{"description":{"content":"<p>The primary key value of the purchase record.</p>\n","type":"text/plain"},"key":"PurchaseID","value":"<integer>"},{"description":{"content":"<p>The receipt number of a payment.</p>\n","type":"text/plain"},"key":"ReceiptNumber","value":"<string>"},{"description":{"content":"<p>The primary key value of the supplier record.</p>\n","type":"text/plain"},"key":"SupplierID","value":"<integer>"},{"description":{"content":"<p>The name of the supplier.</p>\n","type":"text/plain"},"key":"SupplierName","value":"<string>"},{"description":{"content":"<p>The supplier purchase order number.</p>\n","type":"text/plain"},"key":"SupplierPO","value":"<integer>"}],"variable":[]}},"response":[{"id":"9b673969-5f1a-4555-968e-9370624ad173","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/paymentsupplier?Account=<string>&ChequeNumber=<integer>&DateClosed=<string>&InvoiceNumber=<string>&PaymentDate=<string>&PaymentID=<integer>&PurchaseID=<integer>&ReceiptNumber=<string>&SupplierID=<integer>&SupplierName=<string>&SupplierPO=<integer>","host":["http://api.datapel.net/JSON"],"path":["paymentsupplier"],"query":[{"key":"Account","value":"<string>"},{"key":"ChequeNumber","value":"<integer>"},{"key":"DateClosed","value":"<string>"},{"key":"InvoiceNumber","value":"<string>"},{"key":"PaymentDate","value":"<string>"},{"key":"PaymentID","value":"<integer>"},{"key":"PurchaseID","value":"<integer>"},{"key":"ReceiptNumber","value":"<string>"},{"key":"SupplierID","value":"<integer>"},{"key":"SupplierName","value":"<string>"},{"key":"SupplierPO","value":"<integer>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"exception\": \"<object>\",\n  \"account\": \"<string>\",\n  \"allowclose\": \"<boolean>\",\n  \"amount\": \"<number>\",\n  \"amountreceived\": \"<number>\",\n  \"chequenumber\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"currencycode\": \"<string>\",\n  \"supplierid\": \"<integer>\",\n  \"suppliername\": \"<string>\",\n  \"supplierpo\": \"<string>\",\n  \"dateapplied\": \"<string>\",\n  \"dateclosed\": \"<string>\",\n  \"employeeemyobcardid\": \"<integer>\",\n  \"exchangerate\": \"<number>\",\n  \"invoicenumber\": \"<string>\",\n  \"isclosed\": \"<boolean>\",\n  \"lastupdated\": \"<string>\",\n  \"linenumber\": \"<integer>\",\n  \"memo\": \"<string>\",\n  \"paymentdate\": \"<string>\",\n  \"paymentmethod\": \"<string>\",\n  \"paymentmethodid\": \"<integer>\",\n  \"paymentsid\": \"<integer>\",\n  \"receiptnumber\": \"<string>\",\n  \"remotestatus\": \"<string>\",\n  \"purchaseid\": \"<integer>\"\n },\n {\n  \"exception\": \"<object>\",\n  \"account\": \"<string>\",\n  \"allowclose\": \"<boolean>\",\n  \"amount\": \"<number>\",\n  \"amountreceived\": \"<number>\",\n  \"chequenumber\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"currencycode\": \"<string>\",\n  \"supplierid\": \"<integer>\",\n  \"suppliername\": \"<string>\",\n  \"supplierpo\": \"<string>\",\n  \"dateapplied\": \"<string>\",\n  \"dateclosed\": \"<string>\",\n  \"employeeemyobcardid\": \"<integer>\",\n  \"exchangerate\": \"<number>\",\n  \"invoicenumber\": \"<string>\",\n  \"isclosed\": \"<boolean>\",\n  \"lastupdated\": \"<string>\",\n  \"linenumber\": \"<integer>\",\n  \"memo\": \"<string>\",\n  \"paymentdate\": \"<string>\",\n  \"paymentmethod\": \"<string>\",\n  \"paymentmethodid\": \"<integer>\",\n  \"paymentsid\": \"<integer>\",\n  \"receiptnumber\": \"<string>\",\n  \"remotestatus\": \"<string>\",\n  \"purchaseid\": \"<integer>\"\n }\n]"}],"_postman_id":"fbc540e9-7749-4323-ac71-a78b8f13326d"},{"name":"Form","id":"5a243044-a852-453b-a369-2f26c4a34356","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://api.datapel.net/JSON/form?Filename=<string>&ID=<integer>&SaveAsExcel=<boolean>&SaveAsHtml=<boolean>&Type=<string>","description":"<p>The form generates the report with the given params and return the url to get generated report</p>\n","urlObject":{"path":["form"],"host":["http://api.datapel.net/JSON"],"query":[{"description":{"content":"<p>A valid filename.</p>\n","type":"text/plain"},"key":"Filename","value":"<string>"},{"description":{"content":"<p>The primary key value of the form record.</p>\n","type":"text/plain"},"key":"ID","value":"<integer>"},{"description":{"content":"<p>Save as excel.</p>\n","type":"text/plain"},"key":"SaveAsExcel","value":"<boolean>"},{"description":{"content":"<p>Save as HTML.</p>\n","type":"text/plain"},"key":"SaveAsHtml","value":"<boolean>"},{"description":{"content":"<p>Type of form palletlabel, order, cartonlabel,pickslip,shiplabel,packingslip or itemlabel</p>\n","type":"text/plain"},"key":"Type","value":"<string>"}],"variable":[]}},"response":[{"id":"fad10cfe-86dc-407b-80f0-1e51675fbf86","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://api.datapel.net/JSON/form?Filename=<string>&ID=<integer>&SaveAsExcel=<boolean>&SaveAsHtml=<boolean>&Type=<string>","host":["http://api.datapel.net/JSON"],"path":["form"],"query":[{"key":"Filename","value":"<string>"},{"key":"ID","value":"<integer>"},{"key":"SaveAsExcel","value":"<boolean>"},{"key":"SaveAsHtml","value":"<boolean>"},{"key":"Type","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"exception\": \"<object>\",\n \"status\": \"<string>\",\n \"message\": \"<string>\",\n \"resourcelocation\": \"<string>\"\n}"}],"_postman_id":"5a243044-a852-453b-a369-2f26c4a34356"}],"id":"32d231b0-dd56-4f7b-9b3a-2cd2513cb7ea","description":"<h4>**Note:</h4> To return or post data in XML format rather than JSON, simply change the request URL from <b>http://api.datapel.net/JSON/{endpoint}</b> to <b>http://api.datapel.net/XML/{endpoint}</b>.","event":[{"listen":"prerequest","script":{"id":"be90b7d7-b1ad-4ce8-9240-f8bb9704b16a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5332082b-42b8-4c8d-86d9-aff91916988c","type":"text/javascript","exec":[""]}}],"_postman_id":"32d231b0-dd56-4f7b-9b3a-2cd2513cb7ea"}],"variable":[{"id":"baseUrl","key":"baseUrl","value":"http://api.datapel.net/JSON","type":"string"}]}