{"info":{"_postman_id":"cce38e17-b231-48fe-979a-cdbf5d78ee39","name":"BorrowMe API","description":"<html><head></head><body><p>This document will explain all RESTful-API web services of BorrowMe. \nThis document requires basic knowledge of RESTful, HTTP request and links between ERP packages.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5400769","collectionId":"cce38e17-b231-48fe-979a-cdbf5d78ee39","publishedId":"S17owVD2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"B63838"},"publishDate":"2019-03-21T12:59:36.000Z"},"item":[{"name":"Tokens","item":[{"name":"Create New Token","id":"358380b0-0589-46ba-a241-a897697e2baa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://{{yourdomain}}/api/v1/tokens","description":"<p>This action will create a new bearer token. \nThis bearer token will automatically be bound to the user requesting the said token.</p>\n","urlObject":{"protocol":"https","path":["api","v1","tokens"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"358380b0-0589-46ba-a241-a897697e2baa"}],"id":"80f605c5-4942-48ae-a87c-9f93f147aed2","description":"<p>Every API web service is protected with user authentication or a bearer token authentication.</p>\n<p>To be able to work with the web service the user has to send a valid bearer token with the RESTful HTTP request.</p>\n<p>A bearer token can be obtained through the tokens web service.</p>\n","event":[{"listen":"prerequest","script":{"id":"23f4cdb7-a275-4d9c-ae31-c14153326845","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"623cdb60-33b7-42e5-8d41-17d245c27325","type":"text/javascript","exec":[""]}}],"_postman_id":"80f605c5-4942-48ae-a87c-9f93f147aed2"},{"name":"Customer","item":[{"name":"Create new Customer","id":"1aa3fb11-f35e-4bba-8dae-2fb50d7fe500","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[{\n\"CustomerID\": \"0001\",\n\"City\": \"Breda\",\n\"CompanyName\": \"Verkaveren B.V.\",\n\"ContractNumber\": \"1125\",\n\"CountryID\": \"NL\",\n\"CustomerGroupID\": \"1\",\n\"Email\": \"info@verkaveren.local\",\n\"FirstName\": \"Bert\",\n\"HouseNumber\": \"4\",\n\"HouseNumberAddition\": \"\",\n\"IsHold\": false,\n\"LanguageID\": \"NL\",\n\"LastName\": \"de Smet\",\n\"Salutation\": \"Mr\",\n\"Street\": \"Noordwal\",\n\"Tags\": \"Transport\",\n\"Tel\": \"06-123456789\",\n\"Website\": \"https://www.verkaveren.local\",\n\"ZipCode\": \"4487\"\n}]"},"url":"https://{{yourdomain}}/api/v1/customers","description":"<p>This action will result in the creation of a new customer.</p>\n<p>The body expects a list of customers, this list can contain 1 or more customers.</p>\n<blockquote>\n<p>The request requires a CustomerID to be present.</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["api","v1","customers"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1aa3fb11-f35e-4bba-8dae-2fb50d7fe500"},{"name":"Request all customers","id":"f297266d-0086-4e76-ad82-715f540f8d14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://{{yourdomain}}/api/v1/customers?index=1&size=15","description":"<p>This action will request all customers.</p>\n<p>The result of this will be a list of 15 customers as 15 is the default page size.</p>\n","urlObject":{"protocol":"https","path":["api","v1","customers"],"host":["{{yourdomain}}"],"query":[{"key":"index","value":"1"},{"key":"size","value":"15"}],"variable":[]}},"response":[],"_postman_id":"f297266d-0086-4e76-ad82-715f540f8d14"},{"name":"Get specific customer","id":"522ea4bc-711c-4ef8-a2cf-9ba8ad22d58a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/customers/{{CustomerID}}","description":"<p>This action will result in a single customer who's customerID will match the requested customerID.</p>\n<p>The URL-Pathname is expecting a CustomerID field. This field is after the URL-Pathname of the webservice and is separated with a / symbol.</p>\n","urlObject":{"protocol":"https","path":["api","v1","customers","{{CustomerID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"522ea4bc-711c-4ef8-a2cf-9ba8ad22d58a"},{"name":"Edit customer","id":"6733c8ed-da20-4878-8eb4-8e6c55cdc892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"CustomerID\": {{CustomerID}},\n\t\"Tags\": \"Transport, cross-docking\"\n}"},"url":"https://{{yourdomain}}/api/v1/customers/{{CustomerID}}","description":"<p>This action will edit a customer.</p>\n<blockquote>\n<p>To edit a customer, the CustomerID is required as an URL parameter and it has to be present in the body.</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["api","v1","customers","{{CustomerID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6733c8ed-da20-4878-8eb4-8e6c55cdc892"},{"name":"Delete customer","id":"16f4b2aa-2e7f-4188-a2c5-6a7ade157e9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://{{yourdomain}}/api/v1/customers/{{CustomerID}}","description":"<p>The URL-Pathname is expecting a CustomerID field. This field is after the URL-Pathname of the webservice and is separated with a / symbol.</p>\n<p>The result of this action is “OK” which implies that that action has completed successfully.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"4f17480c-040d-4194-88cd-3ccc773e55d1","id":"4f17480c-040d-4194-88cd-3ccc773e55d1","name":"Customer","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","customers","{{CustomerID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"16f4b2aa-2e7f-4188-a2c5-6a7ade157e9f"}],"id":"4f17480c-040d-4194-88cd-3ccc773e55d1","description":"<p>The customers can be managed using the customer web service. This means that new customers can be created, existing customers can be requested, edited and removed.</p>\n<p>A customer consists of the following properties:</p>\n<ul>\n<li>CustomerID: Customer no</li>\n<li>City</li>\n<li>CompanyName: Company name</li>\n<li>ContractNumber: Contract no</li>\n<li>CountryID: Country</li>\n<li>CustomerGroupID: Customer group</li>\n<li>Email</li>\n<li>FirstName: First name</li>\n<li>HouseNumber: Housenumber</li>\n<li>HouseNumberAddition: Addition</li>\n<li>IsHold: Inactive</li>\n<li>LanguageID: Language</li>\n<li>LastName: Lastname</li>\n<li>Salutation</li>\n<li>Street</li>\n<li>Tags</li>\n<li>Tel</li>\n<li>Website</li>\n<li>ZipCode</li>\n<li>State</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"2f96370d-511a-4edd-83e3-ca6b3a9f289b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"23a48a53-8f48-409e-9495-1169766bbe1e","type":"text/javascript","exec":[""]}}],"_postman_id":"4f17480c-040d-4194-88cd-3ccc773e55d1"},{"name":"Contact","item":[{"name":"Create new customer contact","id":"7034adf8-e138-4cb0-8c39-b548e7e3146c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"[\n\t{\n        \"Barcode\": \"99999\",\n        \"Salutation\": \"Mr\",\n        \"FirstName\": \"John\",\n        \"LastName\": \"Smith\",\n        \"Email\": \"example@examapleBV.com\",\n        \"Tel\": \"00310123123467\",\n        \"MobilePhone\": \"0612123123\"\n\t}\t\n]"},"url":"{{yourdomain}}/api/v1/customers/{{CustomerID}}/contacts","description":"<p>The customerID is only required in the URL-parameters.\nThe contactID will be auto-generated and will be in the result.</p>\n","urlObject":{"path":["api","v1","customers","{{CustomerID}}","contacts"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7034adf8-e138-4cb0-8c39-b548e7e3146c"},{"name":"Get customer contacts","id":"9f8ee8c0-6003-44d6-addd-d571294879ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{yourdomain}}/api/v1/customers/{{CustomerID}}/contacts?index=1&size=15","urlObject":{"path":["api","v1","customers","{{CustomerID}}","contacts"],"host":["{{yourdomain}}"],"query":[{"key":"index","value":"1"},{"key":"size","value":"15"}],"variable":[]}},"response":[],"_postman_id":"9f8ee8c0-6003-44d6-addd-d571294879ee"},{"name":"Update contact","id":"60a98cc8-515a-4b4a-bc70-799b1f35e3fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"Barcode\": \"99999\",\n    \"Salutation\": \"Mr\",\n    \"FirstName\": \"John\",\n    \"LastName\": \"Smith\",\n    \"Email\": \"example@examapleBV.com\",\n    \"Tel\": \"00310123123467\",\n    \"MobilePhone\": \"0612123123\"\n}"},"url":"{{yourdomain}}/api/v1/customers/{{CustomerID}}/contacts/{{ContactID}}","urlObject":{"path":["api","v1","customers","{{CustomerID}}","contacts","{{ContactID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"60a98cc8-515a-4b4a-bc70-799b1f35e3fb"},{"name":"Delete contact","id":"45b3c9e0-36ea-479a-9059-a44ad3399030","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{yourdomain}}/api/v1/customers/{{CustomerID}}/contacts/{{ContactID}}","urlObject":{"path":["api","v1","customers","{{CustomerID}}","contacts","{{ContactID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"45b3c9e0-36ea-479a-9059-a44ad3399030"}],"id":"2f80a02d-1205-4628-a1ec-a7eee3a00e4c","description":"<p>The customer contacts can be managed using the customers contact API end-point. This means that new contacts can be created, existing customers can be requested, edited and removed.</p>\n<p>A contact consists of the following properties:</p>\n<ul>\n<li><strong>ContactID</strong>: Required unique auto-increment number</li>\n<li><strong>CustomerID</strong>: Required Customer no. of the customer</li>\n<li>Barcode</li>\n<li>Salutation: Mr | Mrs | Ms</li>\n<li>FirstName</li>\n<li>LastName</li>\n<li>Tel: Tel number</li>\n<li>MobilePhone: Mobile phone number</li>\n<li>Email</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"22f6b748-d64b-4836-99a6-b00ce10d4f0e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a7ffc958-f491-4b5e-a9fd-9ad06c49ec51","type":"text/javascript","exec":[""]}}],"_postman_id":"2f80a02d-1205-4628-a1ec-a7eee3a00e4c"},{"name":"Order","item":[{"name":"Create new order","id":"c112759b-a5dc-4c39-87b4-640c55496557","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[{\n\"ContactID\": \"100\",\n\"CustomerID\": \"0001\",\n\"DateTimeRentalStart\": \"2018-09-18 00:00:00\",\n\"DateTimeBusinessStart\": \"2018-09-18 00:00:00\",\n\"DateTimeBusinessEnd\": \"2018-09-28 00:00:00\",\n\"DateTimeExpectedEnd\": \"2018-09-28 00:00:00\",\n\"Reference\": \"Order 5099302\",\n\"WarehouseID\": \"Warehouse\",\n}]"},"url":"https://{{yourdomain}}/api/v1/orders","description":"<p>This action will result in a new order being created.</p>\n<p>The body expects a list of orders, this list can consist of 1 or more orders.</p>\n<blockquote>\n<p>Every order requires the fields DateTimeRentalStart and DateTimeBusinessStart.</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["api","v1","orders"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c112759b-a5dc-4c39-87b4-640c55496557"},{"name":"Request all orders","id":"52362ab1-ca86-4c86-87f8-c347120a9fca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/orders?index=1&size=15","description":"<p>This action will request all orders currently in the system, with default 15 results.</p>\n","urlObject":{"protocol":"https","path":["api","v1","orders"],"host":["{{yourdomain}}"],"query":[{"key":"index","value":"1"},{"key":"size","value":"15"}],"variable":[]}},"response":[],"_postman_id":"52362ab1-ca86-4c86-87f8-c347120a9fca"},{"name":"Get specific order","id":"58e4ea56-7d7e-4fdf-b444-781b6f033de1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/orders/{{OrderID}}","description":"<p>This action will request a specific order which has the same orderID as the requested orderID.</p>\n","urlObject":{"protocol":"https","path":["api","v1","orders","{{OrderID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"58e4ea56-7d7e-4fdf-b444-781b6f033de1"},{"name":"Edit Order","id":"711e405f-9871-4d6f-949a-4a88a53ab836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"OrderID\": {{OrderID}},\n\t\"Reference\": \"OEB2065\"\n}"},"url":"https://{{yourdomain}}/api/v1/orders/{{OrderID}}","description":"<p>This action will result in an edited order when the given OrderID matches with the order in the system. </p>\n<blockquote>\n<p>To edit an order, the OrderID is required as an URL parameter and it has to be present in the body.</p>\n</blockquote>\n<p>The orderID field contained in the body cannot be changed and has to match with the OrderID in the URL.</p>\n","urlObject":{"protocol":"https","path":["api","v1","orders","{{OrderID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"711e405f-9871-4d6f-949a-4a88a53ab836"}],"id":"3856943b-77d3-478e-bfbc-32d6b15d0da1","description":"<p>Orders can be managed via the Orders web service. That means that new orders can be created, existing orders can be requested and edited and existing orders can be deleted.</p>\n<p>An order consists of the following properties:</p>\n<ul>\n<li>OrderID: Order no</li>\n<li>ContactID: Contact</li>\n<li>CustomerID: Customer no</li>\n<li>Status</li>\n<li>Notes</li>\n<li>DateTimeRentalStart: Send</li>\n<li>DateTimeBusinessStart:Handout start</li>\n<li>DateTimeBusinessEnd: Handout end</li>\n<li>DateTimeExpectedEnd: Return</li>\n<li>DefaultPeriodID: Period on new row</li>\n<li>DeliveryID: Delivery method</li>\n<li>AddressID: Delivery address</li>\n<li>NumberOfOrderItems: Number of items</li>\n<li>Reference: Reference</li>\n<li>WarehouseID: Warehouse</li>\n<li>DateTimeCreated: Created at</li>\n<li>UserCreated: Created by</li>\n<li>UserModified: Modified by</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"2fb17ba6-fed3-414e-80be-09600f796e6e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bf39cd9f-950e-453b-a31a-dbed4dc8df26","type":"text/javascript","exec":[""]}}],"_postman_id":"3856943b-77d3-478e-bfbc-32d6b15d0da1"},{"name":"Order and item coupling","item":[{"name":"Couple the order to the ordered items","id":"11e0a2ad-5731-424d-9fa7-51b45fc4e4e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[{\n\"ItemID\": \"445676\",\n\"SerialID\": \"34145\",\n\"ItemDescription\": \"A small screwdriver for small screws\",\n\"DateTimeRentalStart\": \"2019-02-28 00:00:00\",\n\"DateTimeBusinessStart\": \"2019-02-28 00:00:00\",\n\"DateTimeBusinessEnd\": \"2019-03-13 00:00:00\",\n\"DateTimeExpectedEnd\": \"2019-03-13 00:00:00\",\n\"Amount\": 3,\n}]"},"url":"https://{{yourdomain}}/api/v1/orders/{{OrderID}}/orderItems ","description":"<p>This action will result in a coupling between existing items and existing orders.</p>\n<p>This action will overwrite the current couplings between the order and the related items.\nThe couplings that need to be retained will have to be added to the call. </p>\n","urlObject":{"protocol":"https","path":["api","v1","orders","{{OrderID}}","orderItems "],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"11e0a2ad-5731-424d-9fa7-51b45fc4e4e1"},{"name":"Request coupling between an order and the ordered items","id":"15884ae0-a804-4e0b-a410-e3a8bc5a3daf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/orders/{{OrderID}}/orderItems","description":"<p>This action will result in a list of existing item and order couplings.</p>\n<p>The result of this action is a list of order article couplings from the order where the order number matches with the OrderID field from the URL-Pathname.</p>\n","urlObject":{"protocol":"https","path":["api","v1","orders","{{OrderID}}","orderItems"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15884ae0-a804-4e0b-a410-e3a8bc5a3daf"}],"id":"cadebc78-f449-4db5-90ec-1bd87100ce4e","description":"<p>The orders web service can be used to couple items to existing orders\nA coupling between an order and item using web service contains the following fields:</p>\n<ul>\n<li>ItemID: Item no</li>\n<li>SerialID: Serial no</li>\n<li>ItemDescription: Description</li>\n<li>Ranking: No</li>\n<li>DateTimeRentalStart: Send</li>\n<li>DateTimeBusinessStart: Handout start</li>\n<li>DateTimeBusinessEnd: Handout end</li>\n<li>DateTimeExpectedEnd: Return</li>\n<li>DateTimeRentalEnd: Hand out end</li>\n<li>DateTimeReturned: Returned at</li>\n<li>ItemType: Type</li>\n<li>Amount</li>\n<li>Status</li>\n<li>Notes</li>\n<li>Composition</li>\n<li>ItemUnitID: Unit</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"7489fbd7-0741-44f7-acac-f0f71be2aecf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c57d7500-b2e2-41f3-bf22-58150bcceedd","type":"text/javascript","exec":[""]}}],"_postman_id":"cadebc78-f449-4db5-90ec-1bd87100ce4e"},{"name":"Reservation","item":[{"name":"Create new reservation","id":"335e61e2-fa49-43ad-a8bf-eadf00672d84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[{\n\"ContactID\": \"100\",\n\"CustomerID\": \"0001\",\n\"DateTimeRentalStart\": \"2019-03-10 00:00:00\",\n\"DateTimeBusinessStart\": \"2019-03-10 00:00:00\",\n\"DateTimeBusinessEnd\": \"2019-03-25 00:00:00\",\n\"DateTimeExpectedEnd\": \"2019-03-25 00:00:00\",\n\"Reference\": \"MO-29320\",\n\"WarehouseID\": \"Warehouse\"\n}]"},"url":"https://{{yourdomain}}/api/v1/reservations","description":"<p>This action will result in the creation of a new reservation.</p>\n<p>The body is expecting a list of reservations, this list can contain 1 or more reservations.</p>\n","urlObject":{"protocol":"https","path":["api","v1","reservations"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"335e61e2-fa49-43ad-a8bf-eadf00672d84"},{"name":"Request Reservations","id":"2d0b95fd-3dfe-47f8-8397-f59c842d1e1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/reservations?index=1&size=15","description":"<p>This action will result in a list of all reservations, with default 15 results.</p>\n","urlObject":{"protocol":"https","path":["api","v1","reservations"],"host":["{{yourdomain}}"],"query":[{"key":"index","value":"1"},{"key":"size","value":"15"}],"variable":[]}},"response":[],"_postman_id":"2d0b95fd-3dfe-47f8-8397-f59c842d1e1e"},{"name":"Request specific reservation","id":"e00c108c-44b5-42be-ae5c-f8b099ed40a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/reservations/{{ReservationID}}","description":"<p>This action will return an specific reservation based on the reservationID.</p>\n<p>The URL-Pathname is expecting a ReservationID field. This field is after the URL-Pathname of the webservice and is separated with a / symbol.</p>\n","urlObject":{"protocol":"https","path":["api","v1","reservations","{{ReservationID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e00c108c-44b5-42be-ae5c-f8b099ed40a9"},{"name":"Edit reservation","id":"de84b20c-cdf5-43a0-8d8d-c00225abbad6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":""},"url":"https://{{yourdomain}}/api/v1/reservations/{{ReservationID}}","description":"<p>This action will edit an reservation that is found using the ReservationID.</p>\n<blockquote>\n<p>To edit a reservation, the ReservationID is required as an URL parameter and it has to be present in the body.</p>\n</blockquote>\n<p>The body is expecting an reservation with edited fields. The ReservationID field contained in the body should not be changed and has to match with the ReservationID in the URL-querystring.</p>\n","urlObject":{"protocol":"https","path":["api","v1","reservations","{{ReservationID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de84b20c-cdf5-43a0-8d8d-c00225abbad6"},{"name":"Delete Reservation","id":"0f7e21a2-4caf-43a3-bd93-f56820853cdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https:/{{yourdomain}}/api/v1/reservations/{{ReservationID}}","description":"<p>This action will result in the deletion of an reservation.</p>\n<p>The URL-Pathname is expecting a ReservationID field. This field is after the URL-Pathname of the webservice and is separated with a / symbol.</p>\n","urlObject":{"port":"","path":["{{yourdomain}}","api","v1","reservations","{{ReservationID}}"],"host":["https"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f7e21a2-4caf-43a3-bd93-f56820853cdd"}],"id":"24b7cceb-f694-4d57-98f0-382ea4275017","description":"<p>Reservations can be managed using the reservations web service.\nThis means new reservations can be created, existing reservations can be edited, existing reservations can be requested and existing reservations can be deleted. </p>\n<p>A reservation consists of the following properties:</p>\n<ul>\n<li>ReservationID: Reservation no</li>\n<li>ContactID: Contact</li>\n<li>CustomerID: Customer no</li>\n<li>Status</li>\n<li>Notes</li>\n<li>DateTimeRentalStart: Send</li>\n<li>DateTimeBusinessStart: Handout start</li>\n<li>DateTimeBusinessEnd: Handout end</li>\n<li>DateTimeExpectedEnd: Return</li>\n<li>Address: Delivery address</li>\n<li>Reference</li>\n<li>WarehouseID: Warehouse</li>\n<li>DateTimeCreated: Created at</li>\n<li>UserCreated: Created by</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"4849e425-d806-4cf1-8d9c-262497b49a06","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2553478b-03fe-48c5-ac8b-c106987f78d9","type":"text/javascript","exec":[""]}}],"_postman_id":"24b7cceb-f694-4d57-98f0-382ea4275017"},{"name":"Reserved item couplings","item":[{"name":"Add reserved item couplings","id":"a26a21b9-58ff-4cb0-8215-23b801b83f8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[{\n\"ItemID\": \"445676\",\n\"SerialID\": \"34145\",\n\"ItemDescription\": \"A small screwdriver for small screws\",\n\"DateTimeRentalStart\": \"2019-02-28 00:00:00\",\n\"DateTimeBusinessStart\": \"2019-02-28 00:00:00\",\n\"DateTimeBusinessEnd\": \"2019-03-13 00:00:00\",\n\"DateTimeExpectedEnd\": \"2019-03-13 00:00:00\",\n\"Amount\": 3\n}]"},"url":"https://{{yourdomain}}/api/v1/reservations/{{ReservationID}}/reservationItems","description":"<p>This action will result in the creation of a new coupling between a reservation and an reserved item.</p>\n<p>This action will overwrite the current couplings between the reservation and the related items,\nThe couplings that need to be retained will have to be added to the call. </p>\n","urlObject":{"protocol":"https","path":["api","v1","reservations","{{ReservationID}}","reservationItems"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a26a21b9-58ff-4cb0-8215-23b801b83f8d"},{"name":"Request reserved item coupling","id":"b7d755a8-beb6-4aaa-a635-3ca0bc0c2d83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/reservations/{{ReservationID}}/reservationItems ","description":"<p>This action wil result in a list of reserved items coupled to the reservation where the reservation number matches the ReservationID of the URL-Pathname. </p>\n<p>This action will result in a list of reservationitems with reserved items where the reservation number matches the ReservationID of the URL-Pathname. </p>\n","urlObject":{"protocol":"https","path":["api","v1","reservations","{{ReservationID}}","reservationItems "],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7d755a8-beb6-4aaa-a635-3ca0bc0c2d83"}],"id":"fc1bcc87-abc3-40bd-9f5c-d335fd516ad8","description":"<p>The reservations web service can be used to couple items to existing reservations\nA coupling between an reservationitem using web service contains the following fields:</p>\n<ul>\n<li>ItemID: Item no.</li>\n<li>SerialID: Serial no.</li>\n<li>ItemDescription: Description</li>\n<li>Ranking: No.</li>\n<li>DateTimeRentalStart: Send</li>\n<li>DateTimeBusinessStart: Invoice start</li>\n<li>DateTimeBusinessEnd: Invoice end</li>\n<li>DateTimeExpectedEnd: Return</li>\n<li>ItemType: Type</li>\n<li>Amount</li>\n<li>Status</li>\n<li>Notes</li>\n<li>Composition</li>\n<li>ItemUnitID: Unit</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"5d18bd70-6b4a-4a45-8349-f814e386e4b6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f4434cf6-beb1-4034-b383-66ad8b1155d7","type":"text/javascript","exec":[""]}}],"_postman_id":"fc1bcc87-abc3-40bd-9f5c-d335fd516ad8"},{"name":"Item ","item":[{"name":"Create new items","id":"49235efc-d3d3-469b-bf6b-43ec74c42875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"[\n\t{\n\t\t\"ItemID\": \"ItemA\",\n        \"ItemType\": \"RentalPeriod\",\n        \"ItemGroupID\": \"ItemGroupA\",\n        \"Brand\": \"Item A Brand\",\n        \"Description\": \"ItemA\",\n        \"EANCode\": \"5901234123456\",\n        \"UseSerials\": true,\n        \"AutoSelectSerials\": false,\n        \"LockWarehouse\": false,\n        \"Articlecode\": \"Salable\",\n        \"ServiceGroupID\": null,\n        \"Notes\": \"\",\n        \"MaxStock\": 0,\n        \"MinStock\": 0,\n        \"Weight\": 0.0,\n        \"ShippingWeight\": 0.0\n\t}\t\n]"},"url":"https://{{yourdomain}}/api/v1/items","description":"<p>The ItemID, ItemType and ItemGroupID are required.</p>\n","urlObject":{"protocol":"https","path":["api","v1","items"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"49235efc-d3d3-469b-bf6b-43ec74c42875"},{"name":"Request items","id":"d81a192e-5786-4b8b-ab71-90039dca5c8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{yourdomain}}/api/v1/items?index=1&size=15","description":"<p>This action will request all orders currently in the system, with default 15 results.</p>\n","urlObject":{"path":["api","v1","items"],"host":["{{yourdomain}}"],"query":[{"key":"index","value":"1"},{"key":"size","value":"15"}],"variable":[]}},"response":[],"_postman_id":"d81a192e-5786-4b8b-ab71-90039dca5c8a"},{"name":"Request specific item","id":"a347371e-ac53-4f53-90a6-022caddfc7b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{yourdomain}}/api/v1/items/{{ItemID}}","description":"<p>This action will return an specific item based on the ItemID.</p>\n<p>The URL-Pathname is expecting a ItemID field. This field is after the URL-Pathname of the webservice and is separated with a / symbol.</p>\n","urlObject":{"path":["api","v1","items","{{ItemID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a347371e-ac53-4f53-90a6-022caddfc7b8"},{"name":"Edit item","id":"7dce923b-1761-4763-b084-aa96542159d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{yourdomain}}/api/v1/items/{{ItemID}}","urlObject":{"path":["api","v1","items","{{ItemID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7dce923b-1761-4763-b084-aa96542159d1"},{"name":"Delete item","id":"dde73623-2cb1-4418-85dd-7844234dbf08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{yourdomain}}/api/v1/items/{{ItemID}}","urlObject":{"path":["api","v1","items","{{ItemID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dde73623-2cb1-4418-85dd-7844234dbf08"},{"name":"Check item availability","id":"7e6ad4be-00c4-4b68-ad49-3de35084969d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/items/{{ItemID}}/availability","description":"<p>This action will result in the status of availability of an item.</p>\n<p>The URL-pathname is expecting an ItemID field.</p>\n<p>The availability in the web service has the following fields:</p>\n<ul>\n<li>Type: The type of availability.</li>\n<li>StartDate: The startdate when the item is available.</li>\n<li>EndDate: The date when the availability ends.</li>\n<li>Segments: A list of all availability segments of the item.</li>\n</ul>\n<p>The availability of an article is separated in availability segments. The segments are categorised on warehouse. The periods of the segments in a warehouse are end-to-end and do not overlap.</p>\n<p>An availability segment of this web service contains the following fields:</p>\n<ul>\n<li>Category: The category under which the segment belongs. This is the name of the warehouse.</li>\n<li>Label: The number of items available in the given period.</li>\n<li>Start: The date when the availability segment begins.</li>\n<li>End: The date when the availability segment ends.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","items","{{ItemID}}","availability"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e6ad4be-00c4-4b68-ad49-3de35084969d"},{"name":"Create new serial items","id":"43c0290e-aaf2-4ae7-9e47-091d20dbc5dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n\t{\n    \t\"SerialID\": \"A00000001-0001\",\n        \"ItemID\": \"A00000001\",\n        \"OwnerContactID\": null,\n        \"WarehouseID\": \"Warehouse\",\n        \"Notes\": \"<p>Example Item serial</p>\",\n        \"ResidualValue\": 5324008100000000.00,\n        \"PurchaseValue\": 7057043340000000.00,\n        \"PurchaseDate\": null,\n        \"ManufacturerSerial\": null,\n        \"LastRentedReference\": \"\",\n        \"Counter\": null,\n        \"LastRentedCustomerID\": \"009\",\n        \"TotalInvoiced\": 0.0000,\n        \"OnBackOrder\": null,\n        \"DateSold\": null,\n        \"TotalWriteOff\": 0.0,\n        \"BookValue\": 7057043340000000.00,\n        \"LocationID\": null,\n        \"OriginalStatus\": \"Stock\"\n\t}\t\n]"},"url":"https://{{yourdomain}}/api/v1/items/{{ItemID}}/serialitems","urlObject":{"protocol":"https","path":["api","v1","items","{{ItemID}}","serialitems"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43c0290e-aaf2-4ae7-9e47-091d20dbc5dc"},{"name":"Request serial items","id":"9416ce7a-22a2-40b6-b28e-6ebb8bf28ba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/items/{{ItemID}}/itemSerials","urlObject":{"protocol":"https","path":["api","v1","items","{{ItemID}}","itemSerials"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9416ce7a-22a2-40b6-b28e-6ebb8bf28ba1"}],"id":"e9711342-8e67-4ece-993f-777346de32a2","description":"<p>Items can be obtained via the items webservice.</p>\n<p>An item contains the following fields:</p>\n<ul>\n<li><strong>ItemID</strong>: Item no.</li>\n<li>Brand</li>\n<li>Description</li>\n<li>EANCode</li>\n<li>DefaultItemUnitID: Packaging</li>\n<li>UseSerials: If the item use Serials</li>\n<li>AutoSelectSerials: Auto select serials</li>\n<li>LockWarehouse: Lock the warehouse</li>\n<li><strong>ItemType</strong>: \n  Deposit | RentalBoth (Period/Counter) | RentalCounter (Counter) | RentalPeriod (Period) | Sales (Sales/use)</li>\n<li>Articlecode: Depricated | Insalable | Salable</li>\n<li><strong>ItemGroupID</strong>: The ItemGroupID of the Item group</li>\n<li>ServiceGroupID: The ServiceGroupID of the Servicegroup.</li>\n<li>Notes</li>\n<li>MaxStock: Max. stock</li>\n<li>MinStock: Min. stock</li>\n<li>Weight</li>\n<li>ShippingWeight: Shipping weight</li>\n<li>Dimensions: Shipping dimensions</li>\n<li>DefaultAmount: Default amount</li>\n<li>ImagesAreProtected</li>\n<li>ImageUrls</li>\n</ul>\n<blockquote>\n<p>If an item has one or more images attached, the corresponding URL will be in the ImageUrls property. If the ImagesAreProtected is true, then the request to get the image as to be made with the token in the Authorization header.</p>\n</blockquote>\n","event":[{"listen":"prerequest","script":{"id":"73837fab-53ec-4948-9f40-b01439c06ee2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c7338a2e-37e6-4225-868a-2bd59bb02e72","type":"text/javascript","exec":[""]}}],"_postman_id":"e9711342-8e67-4ece-993f-777346de32a2"},{"name":"Serial","item":[{"name":"Create new serial items with items","id":"1e8e3486-0d45-4fcc-98bd-bb25ee88daba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n\t{\n\t\t\"ItemID\": \"ItemA\",\n        \"ItemType\": \"RentalPeriod\",\n        \"ItemGroupID\": \"ItemGroupA\",\n        \"Brand\": \"Item A Brand\",\n        \"Description\": \"ItemA\",\n        \"EANCode\": \"5901234123456\",\n        \"AutoSelectSerials\": false,\n        \"LockWarehouse\": false,\n        \"Articlecode\": \"Salable\",\n        \"ServiceGroupID\": null,\n        \"Notes\": \"<p>Some extra notes of Item A</p>\",\n        \"MaxStock\": 0,\n        \"MinStock\": 0,\n        \"Weight\": 0.0,\n        \"ShippingWeight\": 0.0,\n        \n        \"SerialID\": \"ItemA-0001\",\n        \"OwnerContactID\": null,\n        \"WarehouseID\": \"Warehouse\",\n        \"ManufacturerSerial\": \"AE12340001\",\n        \"OnBackOrder\": false,\n        \"Counter\": 0,\n        \"OriginalStatus\": \"Stock\"\n    }\n]"},"url":"{{yourdomain}}/api/v1/serials","urlObject":{"path":["api","v1","serials"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e8e3486-0d45-4fcc-98bd-bb25ee88daba"},{"name":"Request serial items","id":"49948209-fb0a-41eb-8bc8-f870f19fea06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{yourdomain}}/api/v1/serials","urlObject":{"protocol":"https","path":["api","v1","serials"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"49948209-fb0a-41eb-8bc8-f870f19fea06"},{"name":"Edit serial item","id":"f320ee85-a80b-438d-9d5c-c4f4fc81d151","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{yourdomain}}/api/v1/serials/{{SerialID}}","urlObject":{"path":["api","v1","serials","{{SerialID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f320ee85-a80b-438d-9d5c-c4f4fc81d151"},{"name":"Delete serial item","id":"4d5b9bea-d4aa-4eef-a59f-fe6bc70642c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{yourdomain}}/api/v1/serials/{{SerialID}}","urlObject":{"path":["api","v1","serials","{{SerialID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d5b9bea-d4aa-4eef-a59f-fe6bc70642c6"}],"id":"a818c497-87c5-4f3d-a316-649124230cbe","description":"<p>Serial item can be optained via the serials end-point.</p>\n<p>An serial item contains the following fields:</p>\n<ul>\n<li><strong>SerialID</strong>: Serial no.</li>\n<li><strong>ItemID</strong>: The Item no.</li>\n<li>OwnerContactID: Assigned to contact</li>\n<li><strong>WarehouseID</strong>: The ID of the Warehouse</li>\n<li><strong>OriginalStatus</strong>: 'Stock' | 'Purchase'</li>\n<li>Notes</li>\n<li>ManufacturerSerial: Serial manufacturer</li>\n<li>Counter</li>\n<li>OnBackOrder: On Backorder 'true' | 'false'</li>\n<li>Status: The currenct Serial item status</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"6ec9abb5-7af2-443a-b1e6-1ff8e851a88b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"224c111c-5c73-48eb-8568-dcb2984820a1","type":"text/javascript","exec":[""]}}],"_postman_id":"a818c497-87c5-4f3d-a316-649124230cbe"},{"name":"Serial service","item":[{"name":"Create new serial services","id":"f1deec81-8279-460c-a349-61ccb6ddb7e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"SerialID\": \"ItemA-0001\",\r\n        \"DateTimeServiceStart\": \"2019-12-27\",\r\n        \"DateTimeServiceEnd\": \"2019-12-28\",\r\n        \"ServiceTypeID\": 1,\r\n        \"Description\": \"<p>Example maintenance</p>\",\r\n        \"WarehouseID\": \"Warehouse\"\r\n    }\r\n]"},"url":"{{yourdomain}}/api/v1/itemserialservice","urlObject":{"path":["api","v1","itemserialservice"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1deec81-8279-460c-a349-61ccb6ddb7e3"},{"name":"Reqeust serial services","id":"6d6b6bb1-ebee-4692-860a-6c336802cbd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{yourdomain}}/api/v1/itemserialservice","urlObject":{"path":["api","v1","itemserialservice"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d6b6bb1-ebee-4692-860a-6c336802cbd1"},{"name":"Edit serial service","id":"de59f0b4-28bb-4e78-b5b6-6d364e690dd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"SerialServiceID\": {{SerialServiceID}},\r\n    \"DateTimeServiceStart\": \"2019-12-27\",\r\n    \"DateTimeServiceEnd\": \"2019-12-28\",\r\n    \"Description\": \"<p>Example maintenance</p>\",\r\n    \"WarehouseID\": \"Warehouse\"\r\n}"},"url":"{{yourdomain}}/api/v1/itemserialservice/{{SerialServiceID}}","urlObject":{"path":["api","v1","itemserialservice","{{SerialServiceID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de59f0b4-28bb-4e78-b5b6-6d364e690dd9"},{"name":"Delete serial service","id":"64c34273-c901-4503-9a9c-fbd823a44589","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{yourdomain}}/api/v1/itemserialservice/{{SerialServiceID}}","urlObject":{"path":["api","v1","itemserialservice","{{SerialServiceID}}"],"host":["{{yourdomain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"64c34273-c901-4503-9a9c-fbd823a44589"}],"id":"63966b90-1f59-430e-bda7-67ad861bc5b7","description":"<p>Serial services can be obtained via the serial service end-point.</p>\n<p>A serial service contains the following fields:</p>\n<ul>\n<li>SerialServiceID: The unique id of the serial service.</li>\n<li><strong>SerialID</strong>: Serial no.</li>\n<li><strong>DateTimeServiceStart</strong>: Service start.</li>\n<li>DateTimeServiceEnd: Service end</li>\n<li><strong>WarehouseID</strong>: The ID of the Warehouse</li>\n<li><strong>ServiceTypeID</strong>: The ID of a service type</li>\n<li>Description</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"57c00d56-7bdc-4c78-abcd-4ea9e5da600e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0903cbf8-55f9-4297-b144-c13855858784","type":"text/javascript","exec":[""]}}],"_postman_id":"63966b90-1f59-430e-bda7-67ad861bc5b7"}],"event":[{"listen":"prerequest","script":{"id":"283ab66c-e17e-493b-b322-cc86d0cea43e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9e4afb87-38be-4427-9e5a-6b4ba4832bc3","type":"text/javascript","exec":[""]}}]}