/hosekit/{hoseKitId}/otheritems v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Hose Kits
getHoseKitIdOtherItems
Code samples
const headers = {
Accept: "application/json",
Authorization: {
type: "string",
},
};
fetch("https://goldleaf.app/api/v1/hosekit/{hoseKitId}/otheritems", {
method: "GET",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
GET /hosekit/{hoseKitId}/otheritems
Retrieve all other items in a hose kit
Retrieves all "other items" (non-hose assemblies or adaptors) associated with the specified hose kit.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| hoseKitId | path | string(objectId) | true | The ID of the hose kit to retrieve other items for. |
| Authorization | header | string | true | Bearer token for authentication. |
Example responses
500 Response
{
"type": "string"
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | A list of other items in the hose kit. | None |
| 500 | Internal Server Error | none | string |
