Asset Units
62 Bereiche, 612 Operationen. Basis-URL https://production.cashwerk.io, Anmeldung mit X-API-Key.
POST/api/v1/assetmanager/unitsCreate a new unit
- Pfad
/api/v1/assetmanager/units- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/assetmanager/units \
-X POST \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/assetmanager/units", {
method: "POST",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/assetmanager/units/organization/{orgId}Get all units for an organization
- Pfad
/api/v1/assetmanager/units/organization/{orgId}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/assetmanager/units/organization/{orgId} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/assetmanager/units/organization/{orgId}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/assetmanager/units/organization/{orgId}/single-searchSearch for a unit by name within an organization
- Pfad
/api/v1/assetmanager/units/organization/{orgId}/single-search- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/assetmanager/units/organization/{orgId}/single-search \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/assetmanager/units/organization/{orgId}/single-search", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();DELETE/api/v1/assetmanager/units/{id}Delete a unit
- Pfad
/api/v1/assetmanager/units/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/assetmanager/units/{id} \
-X DELETE \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/assetmanager/units/{id}", {
method: "DELETE",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();GET/api/v1/assetmanager/units/{id}Get an asset unit by ID
- Pfad
/api/v1/assetmanager/units/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/assetmanager/units/{id} \
-H "X-API-Key: $CASHWERK_API_KEY"const res = await fetch("https://production.cashwerk.io/api/v1/assetmanager/units/{id}", {
method: "GET",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();PATCH/api/v1/assetmanager/units/{id}Update an existing unit
- Pfad
/api/v1/assetmanager/units/{id}- Anmeldung
X-API-Keyim Header- Server
https://production.cashwerk.io· Sandboxhttps://cloud-staging.cashwerk.io
curl https://production.cashwerk.io/api/v1/assetmanager/units/{id} \
-X PATCH \
-H "X-API-Key: $CASHWERK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'const res = await fetch("https://production.cashwerk.io/api/v1/assetmanager/units/{id}", {
method: "PATCH",
headers: { "X-API-Key": process.env.CASHWERK_API_KEY }
});
const data = await res.json();