/organization/crimpfittings 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:
CrimpFittings
getOrganizationCouplingSeriesDetails
Code samples
const headers = {
Accept: "application/json",
};
fetch("https://goldleaf.app/api/v1/organization/crimpfittings", {
method: "GET",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
GET /organization/crimpfittings
Gets the crimp fittings for this organization
Gets all standard GoldLeaf crimp fittings accessible by this organization (can include custom crimp fittings in the response with the includeCustom flag).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| dashSize | query | string | false | The dash size of the part to match. |
| hoseSize | query | string | false | The dash size of the hose to match. |
| nominalHoseSize | query | string | false | The nominal size of the hose to match. |
| search.partNumber | query | string | false | The part number to search for. |
| search.brand | query | string | false | The brand to search for. |
| search.bulkhead | query | string | false | The bulkhead information to search for. |
| search.forged | query | string | false | The forged information to search for. |
| search.gender | query | string | false | The gender of the part to search for. |
| search.material | query | string | false | The material to search for. |
| search.shape | query | string | false | The shape to search for. |
| search.style | query | string | false | The style to search for. |
| search.swivel | query | string | false | The swivel information to search for. |
| search.dashSize | query | string | false | The dash size to search for. |
| search.hoseSize | query | string | false | The hose size to search for. |
| search.nominalHoseSize | query | string | false | The nominal hose size to search for. |
| search.series | query | string | false | The series to search for. |
| search.orgPartNumber | query | string | false | The original part number to search for. |
| customerId | query | string(mongo-id) | false | The MongoDB ID of the customer to filter. |
| hideUnavailable | query | boolean | false | Flag to hide unavailable items. |
| hideUnavailableBrands | query | boolean | false | Flag to hide itesm from unavailable brands. |
| includeCustom | query | boolean | false | Flag to include custom items. |
Example responses
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | An array of crimp fittings | None |
