PUT apioauth/tooltrackv2/items/{itemId}/unlinkservice
Remove a service from an item
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| itemId |
The id of the item to have the service removed |
unsigned integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ItemObject| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The item id |
unsigned integer |
None. |
| asset_id |
The id of the asset the item is associated to or null if one is not associated |
unsigned integer |
None. |
| reference |
The reference of the item |
string |
None. |
| item_type |
The type of the item |
string |
None. |
| description |
The item description |
string |
None. |
| tag_1 |
Description tag 1 |
string |
None. |
| tag_2 |
Description tag 2 |
string |
None. |
| tag_3 |
Description tag 3 |
string |
None. |
| tag_4 |
Description tag 4 |
string |
None. |
| tag_5 |
Description tag 5 |
string |
None. |
| consumable |
If the tag is consumable |
boolean |
None. |
| off_hire_date |
The time of the offhire date |
date |
None. |
| depot_id |
The id of the depot |
decimal number |
None. |
| store_location |
The location in a store of a item |
string |
None. |
| minimum_stock |
The minimum stock level |
integer |
None. |
| maximum_stock |
The maximum stock level |
integer |
None. |
| quantity |
The current quantity |
integer |
None. |
| calibration_date |
The calibration date |
date |
None. |
| expiry_date |
The expiry date |
date |
None. |
| service_date |
The service date |
date |
None. |
| value |
The item value in GBP |
decimal number |
None. |
| condition |
The condition of the item |
ConditionStatus |
None. |
| assigned_status |
The assigned status of an item |
AssignedStatus |
None. |
| hire_status |
The hire status of an item |
DueDateStatus |
None. |
| calibration_status |
The calibration status of an item |
DueDateStatus |
None. |
| pat_status |
The pat status of an item |
DueDateStatus |
None. |
| photo_url |
The item photo url |
string |
None. |
| assigned_person_name |
The name of the person who has hired the item if the item is not consumable |
string |
None. |
| pat_date |
The pat date |
date |
None. |
| service_id | unsigned integer |
None. |
Response Formats
application/json, text/json
{
"id": 1,
"asset_id": 1,
"reference": "sample string 2",
"item_type": "sample string 3",
"description": "sample string 4",
"tag_1": "sample string 5",
"tag_2": "sample string 6",
"tag_3": "sample string 7",
"tag_4": "sample string 8",
"tag_5": "sample string 9",
"consumable": true,
"off_hire_date": "2025-12-14T06:11:03.8092063+00:00",
"depot_id": 10.0,
"store_location": "sample string 11",
"minimum_stock": 1,
"maximum_stock": 1,
"quantity": 1,
"calibration_date": "2025-12-14T06:11:03.8092063+00:00",
"expiry_date": "2025-12-14T06:11:03.8092063+00:00",
"service_date": "2025-12-14T06:11:03.8092063+00:00",
"value": 1.0,
"condition": 0,
"assigned_status": 0,
"hire_status": 0,
"calibration_status": 0,
"pat_status": 0,
"photo_url": "sample string 12",
"assigned_person_name": "sample string 13",
"pat_date": "2025-12-14T06:11:03.8092063+00:00",
"service_id": 1
}
application/xml, text/xml
<ItemObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <AssetId>1</AssetId> <Reference>sample string 2</Reference> <ItemType>sample string 3</ItemType> <Description>sample string 4</Description> <Tag1>sample string 5</Tag1> <Tag2>sample string 6</Tag2> <Tag3>sample string 7</Tag3> <Tag4>sample string 8</Tag4> <Tag5>sample string 9</Tag5> <Consumable>true</Consumable> <OffHireDate>2025-12-14T06:11:03.8092063+00:00</OffHireDate> <DepotId>10</DepotId> <StoreLocation>sample string 11</StoreLocation> <MinimumStock>1</MinimumStock> <MaximumStock>1</MaximumStock> <Quantity>1</Quantity> <CalibrationDueDate>2025-12-14T06:11:03.8092063+00:00</CalibrationDueDate> <ExpiryDate>2025-12-14T06:11:03.8092063+00:00</ExpiryDate> <ServiceDate>2025-12-14T06:11:03.8092063+00:00</ServiceDate> <Value>1</Value> <Condition>Poor</Condition> <AssignedStatus>Unassigned</AssignedStatus> <HireStatus>NotInUse</HireStatus> <CalibrationStatus>NotInUse</CalibrationStatus> <PatStatus>NotInUse</PatStatus> <PhotoUrl>sample string 12</PhotoUrl> <AssignedPersonName>sample string 13</AssignedPersonName> <PatDate>2025-12-14T06:11:03.8092063+00:00</PatDate> <ServiceId>1</ServiceId> </ItemObject>