Detail
curl --request GET \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycleimport requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"item": {
"id": "<string>",
"version": 123,
"state": "active",
"name": "<string>",
"referenceNumber": "<string>",
"imageUrl": "<string>",
"categoryName": "<string>",
"areaNames": [
"<string>"
],
"supplierName": "<string>",
"archivedAt": "<string>",
"archivedBy": {
"id": "<string>",
"name": "<string>"
},
"archiveReason": "<string>",
"deletedAt": "<string>",
"deletedBy": {
"id": "<string>",
"name": "<string>"
},
"expiresAt": "<string>"
},
"snapshot": {
"name": "<string>",
"quantity": "<string>",
"manufacturerName": "<string>",
"referenceNumber": "<string>",
"imageUrl": "<string>",
"categoryName": "<string>",
"areaNames": [
"<string>"
],
"supplierName": "<string>",
"status": "<string>",
"projectName": "<string>",
"description": "<string>",
"attributes": {},
"attributeLabels": {},
"attributeColumns": [
{
"isCore": true,
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"type": "text",
"logicType": "catalog_family",
"scopeType": "default",
"categoryIds": [
"<string>"
],
"options": [
{}
],
"description": "<string>",
"syncClass": "core",
"createdAt": "<string>",
"updatedAt": "<string>",
"categoryPositions": {}
}
],
"instructions": [
{
"label": "<string>",
"texts": [
"<string>"
]
}
],
"requirements": [
{
"label": "<string>",
"texts": [
"<string>"
]
}
],
"furnishedInstalledBy": "<string>",
"components": [
{
"id": "<string>",
"name": "<string>",
"kind": "material",
"quantity": "<string>",
"categoryName": "<string>",
"finish": "<string>",
"unit": "<string>",
"linkId": "<string>",
"categoryId": "<string>",
"catalogFamilyId": "<string>",
"catalogItemId": "<string>",
"attributes": {},
"primaryImageUrl": "<string>",
"primaryImageId": "<string>",
"materialFinish": {
"id": "<string>",
"name": "<string>",
"isBaseMaterial": true,
"imageId": "<string>"
},
"parentQuantity": "<string>",
"totalQuantity": "<string>",
"totalPrice": "<string>",
"totalPriceOverridden": true
}
],
"relatedItems": [
{
"id": "<string>",
"name": "<string>"
}
],
"stoppedWorkflows": [
{
"id": "<string>",
"kind": "<string>",
"name": "<string>"
}
],
"itemType": "default",
"materialFinish": {
"id": "<string>",
"name": "<string>",
"isBaseMaterial": true,
"imageId": "<string>"
},
"areaQuantity": {
"areas": [
{
"areaId": "<string>",
"parentId": "<string>",
"level": 123,
"levelKey": "<string>",
"levelLabel": "<string>",
"code": "<string>",
"name": "<string>",
"multiplier": 123,
"instanceTags": [
"<string>"
],
"effectiveInstanceCount": "<string>",
"ancestorPath": [
{
"id": "<string>",
"code": "<string>",
"name": "<string>"
}
]
}
],
"allocations": [
{
"id": "<string>",
"slotId": "<string>",
"areaId": "<string>",
"quantity": "<string>",
"effectiveQuantity": "<string>",
"version": 123
}
],
"instanceTags": [
{
"areaId": "<string>",
"tags": [
"<string>"
]
}
],
"roomQuantities": [
{
"areaId": "<string>",
"roomIndex": 123,
"roomNumber": "<string>",
"quantity": "<string>",
"version": 123
}
],
"slotQuantity": "<string>",
"allocatedTotal": "<string>",
"extraQuantityPercentage": "<string>",
"extraQuantityOverride": "<string>",
"extraQuantityDecimalPlaces": 123,
"unitsPerPackage": "<string>",
"parLevel": "<string>",
"applyParToPurchaseQuantity": true,
"hasPrimaryOption": true
},
"sourceMeta": {
"url": "<string>",
"selectors": {},
"title": "<string>",
"favicon": "<string>",
"ogImage": "<string>",
"clippedAt": "<string>"
},
"collectionApplication": {
"collection": {
"id": "<string>",
"name": "<string>",
"brand": "<string>",
"regions": [
"<string>"
],
"generation": 123,
"version": 123,
"navigable": true
},
"entry": {
"id": "<string>",
"label": "<string>",
"productTypeLabel": "<string>",
"productTypeId": "<string>"
},
"reference": {
"label": "<string>",
"kind": "catalog_item",
"referenceCode": "<string>"
},
"application": {
"id": "<string>",
"createdAt": "<string>"
},
"content": {
"referenceNumber": "<string>",
"description": "<string>",
"notes": [
"<string>"
]
},
"governance": {
"mandatoryItem": true,
"designReviewRequired": true,
"optionalManufacturerNames": [
"<string>"
]
}
},
"catalogFamilyStatus": "draft",
"catalogSourceState": "active",
"syncStateCache": {
"hasDiff": true,
"columnsDiff": true,
"partsDiff": {
"hasDiff": true,
"addedLocally": [
"<string>"
],
"removedLocally": [
"<string>"
],
"quantityChanged": [
{
"catalogItemId": "<string>",
"projectQty": "<string>",
"catalogQty": "<string>"
}
]
},
"selectionDiff": {
"familySourceMismatch": true,
"itemSourceMismatch": true
},
"orphanedRefs": {
"family": true,
"item": true,
"familySource": true,
"itemSource": true
},
"computedAt": "<string>",
"componentsDiverged": true
},
"categoryId": "<string>",
"productTypeId": "<string>",
"productTypeName": "<string>",
"notes": "<string>",
"metadata": {},
"images": [
{
"id": "<string>",
"url": "<string>",
"filename": "<string>",
"isPrimary": true,
"version": 123,
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"resolvedGuidance": {
"revision": 123,
"classification": {
"categoryId": "<string>",
"productTypeId": "<string>"
},
"instructions": [
{
"groupId": "<string>",
"groupLineageId": "<string>",
"groupLabel": "<string>",
"items": [
{
"id": "<string>",
"lineageId": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
],
"position": 123,
"origin": "category"
}
]
}
],
"requirements": [
{
"groupId": "<string>",
"groupLineageId": "<string>",
"groupLabel": "<string>",
"items": [
{
"id": "<string>",
"lineageId": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
],
"position": 123,
"origin": "category"
}
]
}
],
"furnishedInstalledBy": {
"value": "OFCI",
"origin": "none"
},
"ownedInstructions": [
{
"id": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
]
}
],
"ownerVersion": 123,
"linkedInstructions": [
{
"id": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
],
"key": "<string>",
"source": {
"kind": "catalog",
"id": "<string>",
"name": "<string>",
"version": 123,
"collectionId": "<string>",
"collectionVersion": 123
},
"disabled": true
}
]
},
"instructionLinks": [
{
"assigneeRoleGroupIds": [
"mfg_vendors"
],
"id": "<string>",
"kind": "instruction",
"text": "<string>",
"position": 123
}
],
"linkedInstructions": [
{
"id": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
],
"key": "<string>",
"source": {
"kind": "catalog",
"id": "<string>",
"name": "<string>",
"version": 123,
"collectionId": "<string>",
"collectionVersion": 123
},
"disabled": true
}
]
}
}Project Item Lifecycle
Detail
GET
/
v1
/
workspaces
/
{workspaceId}
/
projects
/
{projectId}
/
item-slots
/
{id}
/
lifecycle
Detail
curl --request GET \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycleimport requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/item-slots/{id}/lifecycle")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"item": {
"id": "<string>",
"version": 123,
"state": "active",
"name": "<string>",
"referenceNumber": "<string>",
"imageUrl": "<string>",
"categoryName": "<string>",
"areaNames": [
"<string>"
],
"supplierName": "<string>",
"archivedAt": "<string>",
"archivedBy": {
"id": "<string>",
"name": "<string>"
},
"archiveReason": "<string>",
"deletedAt": "<string>",
"deletedBy": {
"id": "<string>",
"name": "<string>"
},
"expiresAt": "<string>"
},
"snapshot": {
"name": "<string>",
"quantity": "<string>",
"manufacturerName": "<string>",
"referenceNumber": "<string>",
"imageUrl": "<string>",
"categoryName": "<string>",
"areaNames": [
"<string>"
],
"supplierName": "<string>",
"status": "<string>",
"projectName": "<string>",
"description": "<string>",
"attributes": {},
"attributeLabels": {},
"attributeColumns": [
{
"isCore": true,
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"type": "text",
"logicType": "catalog_family",
"scopeType": "default",
"categoryIds": [
"<string>"
],
"options": [
{}
],
"description": "<string>",
"syncClass": "core",
"createdAt": "<string>",
"updatedAt": "<string>",
"categoryPositions": {}
}
],
"instructions": [
{
"label": "<string>",
"texts": [
"<string>"
]
}
],
"requirements": [
{
"label": "<string>",
"texts": [
"<string>"
]
}
],
"furnishedInstalledBy": "<string>",
"components": [
{
"id": "<string>",
"name": "<string>",
"kind": "material",
"quantity": "<string>",
"categoryName": "<string>",
"finish": "<string>",
"unit": "<string>",
"linkId": "<string>",
"categoryId": "<string>",
"catalogFamilyId": "<string>",
"catalogItemId": "<string>",
"attributes": {},
"primaryImageUrl": "<string>",
"primaryImageId": "<string>",
"materialFinish": {
"id": "<string>",
"name": "<string>",
"isBaseMaterial": true,
"imageId": "<string>"
},
"parentQuantity": "<string>",
"totalQuantity": "<string>",
"totalPrice": "<string>",
"totalPriceOverridden": true
}
],
"relatedItems": [
{
"id": "<string>",
"name": "<string>"
}
],
"stoppedWorkflows": [
{
"id": "<string>",
"kind": "<string>",
"name": "<string>"
}
],
"itemType": "default",
"materialFinish": {
"id": "<string>",
"name": "<string>",
"isBaseMaterial": true,
"imageId": "<string>"
},
"areaQuantity": {
"areas": [
{
"areaId": "<string>",
"parentId": "<string>",
"level": 123,
"levelKey": "<string>",
"levelLabel": "<string>",
"code": "<string>",
"name": "<string>",
"multiplier": 123,
"instanceTags": [
"<string>"
],
"effectiveInstanceCount": "<string>",
"ancestorPath": [
{
"id": "<string>",
"code": "<string>",
"name": "<string>"
}
]
}
],
"allocations": [
{
"id": "<string>",
"slotId": "<string>",
"areaId": "<string>",
"quantity": "<string>",
"effectiveQuantity": "<string>",
"version": 123
}
],
"instanceTags": [
{
"areaId": "<string>",
"tags": [
"<string>"
]
}
],
"roomQuantities": [
{
"areaId": "<string>",
"roomIndex": 123,
"roomNumber": "<string>",
"quantity": "<string>",
"version": 123
}
],
"slotQuantity": "<string>",
"allocatedTotal": "<string>",
"extraQuantityPercentage": "<string>",
"extraQuantityOverride": "<string>",
"extraQuantityDecimalPlaces": 123,
"unitsPerPackage": "<string>",
"parLevel": "<string>",
"applyParToPurchaseQuantity": true,
"hasPrimaryOption": true
},
"sourceMeta": {
"url": "<string>",
"selectors": {},
"title": "<string>",
"favicon": "<string>",
"ogImage": "<string>",
"clippedAt": "<string>"
},
"collectionApplication": {
"collection": {
"id": "<string>",
"name": "<string>",
"brand": "<string>",
"regions": [
"<string>"
],
"generation": 123,
"version": 123,
"navigable": true
},
"entry": {
"id": "<string>",
"label": "<string>",
"productTypeLabel": "<string>",
"productTypeId": "<string>"
},
"reference": {
"label": "<string>",
"kind": "catalog_item",
"referenceCode": "<string>"
},
"application": {
"id": "<string>",
"createdAt": "<string>"
},
"content": {
"referenceNumber": "<string>",
"description": "<string>",
"notes": [
"<string>"
]
},
"governance": {
"mandatoryItem": true,
"designReviewRequired": true,
"optionalManufacturerNames": [
"<string>"
]
}
},
"catalogFamilyStatus": "draft",
"catalogSourceState": "active",
"syncStateCache": {
"hasDiff": true,
"columnsDiff": true,
"partsDiff": {
"hasDiff": true,
"addedLocally": [
"<string>"
],
"removedLocally": [
"<string>"
],
"quantityChanged": [
{
"catalogItemId": "<string>",
"projectQty": "<string>",
"catalogQty": "<string>"
}
]
},
"selectionDiff": {
"familySourceMismatch": true,
"itemSourceMismatch": true
},
"orphanedRefs": {
"family": true,
"item": true,
"familySource": true,
"itemSource": true
},
"computedAt": "<string>",
"componentsDiverged": true
},
"categoryId": "<string>",
"productTypeId": "<string>",
"productTypeName": "<string>",
"notes": "<string>",
"metadata": {},
"images": [
{
"id": "<string>",
"url": "<string>",
"filename": "<string>",
"isPrimary": true,
"version": 123,
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"resolvedGuidance": {
"revision": 123,
"classification": {
"categoryId": "<string>",
"productTypeId": "<string>"
},
"instructions": [
{
"groupId": "<string>",
"groupLineageId": "<string>",
"groupLabel": "<string>",
"items": [
{
"id": "<string>",
"lineageId": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
],
"position": 123,
"origin": "category"
}
]
}
],
"requirements": [
{
"groupId": "<string>",
"groupLineageId": "<string>",
"groupLabel": "<string>",
"items": [
{
"id": "<string>",
"lineageId": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
],
"position": 123,
"origin": "category"
}
]
}
],
"furnishedInstalledBy": {
"value": "OFCI",
"origin": "none"
},
"ownedInstructions": [
{
"id": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
]
}
],
"ownerVersion": 123,
"linkedInstructions": [
{
"id": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
],
"key": "<string>",
"source": {
"kind": "catalog",
"id": "<string>",
"name": "<string>",
"version": 123,
"collectionId": "<string>",
"collectionVersion": 123
},
"disabled": true
}
]
},
"instructionLinks": [
{
"assigneeRoleGroupIds": [
"mfg_vendors"
],
"id": "<string>",
"kind": "instruction",
"text": "<string>",
"position": 123
}
],
"linkedInstructions": [
{
"id": "<string>",
"text": "<string>",
"assigneeRoleGroupIds": [
"warehouse"
],
"key": "<string>",
"source": {
"kind": "catalog",
"id": "<string>",
"name": "<string>",
"version": 123,
"collectionId": "<string>",
"collectionVersion": 123
},
"disabled": true
}
]
}
}⌘I