List Project Item Parts
curl --request GET \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{parentId}/partsimport requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{parentId}/parts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{parentId}/parts', 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}/items/{parentId}/parts",
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}/items/{parentId}/parts"
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}/items/{parentId}/parts")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{parentId}/parts")
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[
{
"manufacturer": {
"id": "<string>",
"name": "<string>",
"available": true,
"identity": {
"globalCompany": {
"id": "<string>",
"name": "<string>",
"primaryType": "brand",
"legalName": "<string>",
"country": "<string>",
"aliases": [
"<string>"
],
"domains": [
"<string>"
],
"retiredAt": "<string>"
},
"version": 123,
"suggestion": {
"candidates": [
{
"company": {
"id": "<string>",
"name": "<string>",
"primaryType": "brand",
"legalName": "<string>",
"country": "<string>",
"aliases": [
"<string>"
],
"domains": [
"<string>"
],
"retiredAt": "<string>"
},
"nameMatch": true,
"matchingHosts": [
"<string>"
],
"typeMatch": true
}
],
"expectedVersion": 123,
"evidenceFingerprint": "<string>"
}
}
},
"id": "<string>",
"parentProjectItemId": "<string>",
"partProjectItemId": "<string>",
"partProjectItemName": "<string>",
"partCatalogFamilyId": "<string>",
"partCatalogItemId": "<string>",
"partItemIsBaseMaterial": true,
"partFamilyItemType": "default",
"partCategoryName": "<string>",
"primaryImageUrl": "<string>",
"quantity": "<string>",
"location": "<string>",
"createdAt": "<string>",
"partItemColumnsAttributes": {},
"partItemVersion": 123,
"catalogFamilyStatus": "<string>",
"catalogFamilyDiscontinued": true,
"partFamilyCategoryId": "<string>",
"productTypeId": "<string>",
"primaryItemSourceId": "<string>",
"totalsStatus": "unavailable",
"parentQuantity": "<string>",
"totalQuantity": "<string>",
"totalPriceOverridable": true,
"calculatedTotalPrice": "<string>",
"totalPriceOverride": "<string>",
"totalPrice": "<string>"
}
]Project Item Parts
List Project Item Parts
GET
/
v1
/
workspaces
/
{workspaceId}
/
projects
/
{projectId}
/
items
/
{parentId}
/
parts
List Project Item Parts
curl --request GET \
--url https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{parentId}/partsimport requests
url = "https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{parentId}/parts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{parentId}/parts', 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}/items/{parentId}/parts",
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}/items/{parentId}/parts"
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}/items/{parentId}/parts")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.specurate.com/api/v1/workspaces/{workspaceId}/projects/{projectId}/items/{parentId}/parts")
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[
{
"manufacturer": {
"id": "<string>",
"name": "<string>",
"available": true,
"identity": {
"globalCompany": {
"id": "<string>",
"name": "<string>",
"primaryType": "brand",
"legalName": "<string>",
"country": "<string>",
"aliases": [
"<string>"
],
"domains": [
"<string>"
],
"retiredAt": "<string>"
},
"version": 123,
"suggestion": {
"candidates": [
{
"company": {
"id": "<string>",
"name": "<string>",
"primaryType": "brand",
"legalName": "<string>",
"country": "<string>",
"aliases": [
"<string>"
],
"domains": [
"<string>"
],
"retiredAt": "<string>"
},
"nameMatch": true,
"matchingHosts": [
"<string>"
],
"typeMatch": true
}
],
"expectedVersion": 123,
"evidenceFingerprint": "<string>"
}
}
},
"id": "<string>",
"parentProjectItemId": "<string>",
"partProjectItemId": "<string>",
"partProjectItemName": "<string>",
"partCatalogFamilyId": "<string>",
"partCatalogItemId": "<string>",
"partItemIsBaseMaterial": true,
"partFamilyItemType": "default",
"partCategoryName": "<string>",
"primaryImageUrl": "<string>",
"quantity": "<string>",
"location": "<string>",
"createdAt": "<string>",
"partItemColumnsAttributes": {},
"partItemVersion": 123,
"catalogFamilyStatus": "<string>",
"catalogFamilyDiscontinued": true,
"partFamilyCategoryId": "<string>",
"productTypeId": "<string>",
"primaryItemSourceId": "<string>",
"totalsStatus": "unavailable",
"parentQuantity": "<string>",
"totalQuantity": "<string>",
"totalPriceOverridable": true,
"calculatedTotalPrice": "<string>",
"totalPriceOverride": "<string>",
"totalPrice": "<string>"
}
]Response
200 - application/json
⌘I