/hoseassemblies/checkexisting 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 Assembly
postHoseAssembliesCheckExisting
Code samples
const headers = {
Accept: "application/json",
};
fetch("https://goldleaf.app/api/v1/hoseassemblies/checkexisting", {
method: "POST",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
POST /hoseassemblies/checkexisting
Check for exsting hose assembly
Checks if a hose assembly already exists based on the given part number and revision.
Example responses
200 Response
{
"type": "boolean"
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | A boolean value for whether this hose assembly already exists | boolean |
| 500 | Internal Server Error | Server error | string |
