/hosekit/{hoseKitId}/getparkerptsfile 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
postHoseKitIdGetParkerPtsFile
Code samples
const headers = {
Accept: "application/json",
Authorization: {
type: "string",
},
};
fetch("https://goldleaf.app/api/v1/hosekit/{hoseKitId}/getparkerptsfile", {
method: "POST",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
POST /hosekit/{hoseKitId}/getparkerptsfile
Generate Parker PTS file for a hose kit
Generates and returns a Parker PTS file for the specified hose kit.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| hoseKitId | path | string(objectId) | true | ID of the hose kit to generate the PTS file for. |
| Authorization | header | string | true | Bearer token for authentication |
Example responses
500 Response
{
"type": "string"
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successfully generated Parker PTS file | None |
| 500 | Internal Server Error | Server error. | string |
