curl --request POST \
--url https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders \
--header 'Content-Type: application/json' \
--header 'OW-KEY: <api-key>' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"createdByEmail": "<string>",
"id": 123,
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"locationId": 123,
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"internalNotes": "<string>",
"incomingLineItems": [
{
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"id": 123,
"viaStockLocationId": 123,
"partId": 123,
"partCatalogId": 123,
"partQuantity": 123,
"partCost": 123,
"equipmentTypeId": 123,
"equipmentCatalogId": 123,
"equipmentQuantity": 123,
"equipmentCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}
'import requests
url = "https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders"
payload = {
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"createdByEmail": "<string>",
"id": 123,
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"locationId": 123,
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"internalNotes": "<string>",
"incomingLineItems": [
{
"isEquipmentLine": True,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"id": 123,
"viaStockLocationId": 123,
"partId": 123,
"partCatalogId": 123,
"partQuantity": 123,
"partCost": 123,
"equipmentTypeId": 123,
"equipmentCatalogId": 123,
"equipmentQuantity": 123,
"equipmentCost": 123,
"prLineItemIds": [123],
"warrantyAssetId": 123,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}
headers = {
"X-API-KEY": "<api-key>",
"OW-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-API-KEY': '<api-key>',
'OW-KEY': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
partEquipmentVendorId: 123,
currencyId: '<string>',
createdByEmail: '<string>',
id: 123,
name: '<string>',
description: '<string>',
paymentTerms: '<string>',
shippingTerms: '<string>',
stockLocationId: 123,
locationId: 123,
brandId: 123,
freightTotalBeforeTax: 123,
miscTotalBeforeTax: 123,
totalBeforeTax: 123,
tax: 123,
totalCost: 123,
internalNotes: '<string>',
incomingLineItems: [
{
isEquipmentLine: true,
partUomId: 123,
partCurrencyId: '<string>',
equipmentUomId: 123,
equipmentCurrencyId: '<string>',
id: 123,
viaStockLocationId: 123,
partId: 123,
partCatalogId: 123,
partQuantity: 123,
partCost: 123,
equipmentTypeId: 123,
equipmentCatalogId: 123,
equipmentQuantity: 123,
equipmentCost: 123,
prLineItemIds: [123],
warrantyAssetId: 123,
glCode: '<string>',
createdAt: '2023-11-07T05:31:56Z'
}
]
})
};
fetch('https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders', 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://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'partEquipmentVendorId' => 123,
'currencyId' => '<string>',
'createdByEmail' => '<string>',
'id' => 123,
'name' => '<string>',
'description' => '<string>',
'paymentTerms' => '<string>',
'shippingTerms' => '<string>',
'stockLocationId' => 123,
'locationId' => 123,
'brandId' => 123,
'freightTotalBeforeTax' => 123,
'miscTotalBeforeTax' => 123,
'totalBeforeTax' => 123,
'tax' => 123,
'totalCost' => 123,
'internalNotes' => '<string>',
'incomingLineItems' => [
[
'isEquipmentLine' => true,
'partUomId' => 123,
'partCurrencyId' => '<string>',
'equipmentUomId' => 123,
'equipmentCurrencyId' => '<string>',
'id' => 123,
'viaStockLocationId' => 123,
'partId' => 123,
'partCatalogId' => 123,
'partQuantity' => 123,
'partCost' => 123,
'equipmentTypeId' => 123,
'equipmentCatalogId' => 123,
'equipmentQuantity' => 123,
'equipmentCost' => 123,
'prLineItemIds' => [
123
],
'warrantyAssetId' => 123,
'glCode' => '<string>',
'createdAt' => '2023-11-07T05:31:56Z'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"OW-KEY: <api-key>",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders"
payload := strings.NewReader("{\n \"partEquipmentVendorId\": 123,\n \"currencyId\": \"<string>\",\n \"createdByEmail\": \"<string>\",\n \"id\": 123,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"paymentTerms\": \"<string>\",\n \"shippingTerms\": \"<string>\",\n \"stockLocationId\": 123,\n \"locationId\": 123,\n \"brandId\": 123,\n \"freightTotalBeforeTax\": 123,\n \"miscTotalBeforeTax\": 123,\n \"totalBeforeTax\": 123,\n \"tax\": 123,\n \"totalCost\": 123,\n \"internalNotes\": \"<string>\",\n \"incomingLineItems\": [\n {\n \"isEquipmentLine\": true,\n \"partUomId\": 123,\n \"partCurrencyId\": \"<string>\",\n \"equipmentUomId\": 123,\n \"equipmentCurrencyId\": \"<string>\",\n \"id\": 123,\n \"viaStockLocationId\": 123,\n \"partId\": 123,\n \"partCatalogId\": 123,\n \"partQuantity\": 123,\n \"partCost\": 123,\n \"equipmentTypeId\": 123,\n \"equipmentCatalogId\": 123,\n \"equipmentQuantity\": 123,\n \"equipmentCost\": 123,\n \"prLineItemIds\": [\n 123\n ],\n \"warrantyAssetId\": 123,\n \"glCode\": \"<string>\",\n \"createdAt\": \"2023-11-07T05:31:56Z\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("OW-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders")
.header("X-API-KEY", "<api-key>")
.header("OW-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"partEquipmentVendorId\": 123,\n \"currencyId\": \"<string>\",\n \"createdByEmail\": \"<string>\",\n \"id\": 123,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"paymentTerms\": \"<string>\",\n \"shippingTerms\": \"<string>\",\n \"stockLocationId\": 123,\n \"locationId\": 123,\n \"brandId\": 123,\n \"freightTotalBeforeTax\": 123,\n \"miscTotalBeforeTax\": 123,\n \"totalBeforeTax\": 123,\n \"tax\": 123,\n \"totalCost\": 123,\n \"internalNotes\": \"<string>\",\n \"incomingLineItems\": [\n {\n \"isEquipmentLine\": true,\n \"partUomId\": 123,\n \"partCurrencyId\": \"<string>\",\n \"equipmentUomId\": 123,\n \"equipmentCurrencyId\": \"<string>\",\n \"id\": 123,\n \"viaStockLocationId\": 123,\n \"partId\": 123,\n \"partCatalogId\": 123,\n \"partQuantity\": 123,\n \"partCost\": 123,\n \"equipmentTypeId\": 123,\n \"equipmentCatalogId\": 123,\n \"equipmentQuantity\": 123,\n \"equipmentCost\": 123,\n \"prLineItemIds\": [\n 123\n ],\n \"warrantyAssetId\": 123,\n \"glCode\": \"<string>\",\n \"createdAt\": \"2023-11-07T05:31:56Z\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["OW-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"partEquipmentVendorId\": 123,\n \"currencyId\": \"<string>\",\n \"createdByEmail\": \"<string>\",\n \"id\": 123,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"paymentTerms\": \"<string>\",\n \"shippingTerms\": \"<string>\",\n \"stockLocationId\": 123,\n \"locationId\": 123,\n \"brandId\": 123,\n \"freightTotalBeforeTax\": 123,\n \"miscTotalBeforeTax\": 123,\n \"totalBeforeTax\": 123,\n \"tax\": 123,\n \"totalCost\": 123,\n \"internalNotes\": \"<string>\",\n \"incomingLineItems\": [\n {\n \"isEquipmentLine\": true,\n \"partUomId\": 123,\n \"partCurrencyId\": \"<string>\",\n \"equipmentUomId\": 123,\n \"equipmentCurrencyId\": \"<string>\",\n \"id\": 123,\n \"viaStockLocationId\": 123,\n \"partId\": 123,\n \"partCatalogId\": 123,\n \"partQuantity\": 123,\n \"partCost\": 123,\n \"equipmentTypeId\": 123,\n \"equipmentCatalogId\": 123,\n \"equipmentQuantity\": 123,\n \"equipmentCost\": 123,\n \"prLineItemIds\": [\n 123\n ],\n \"warrantyAssetId\": 123,\n \"glCode\": \"<string>\",\n \"createdAt\": \"2023-11-07T05:31:56Z\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"type": "<string>",
"data": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"partSupplierPurchaseOrderLineItems": [
{
"supplierPurchaseOrderId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierPurchaseRequestLineItems": [
{
"status": "requested",
"supplierPurchaseRequestId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"supplierPurchaseRequest": {
"name": "<string>",
"status": "requested",
"currencyId": "<string>",
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseRequestUniqueId": 123,
"purchaseRequestCustomIdentifier": "<string>",
"description": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"totalCost": 123,
"currency": {},
"workOrderId": 123,
"asset": {},
"warrantyAssetId": 123,
"warrantyAsset": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"createdByContact": {},
"approvedOrDeclinedOrCancelledAt": "2023-11-07T05:31:56Z",
"approvedOrDeclinedOrCancelledByEmail": "<string>",
"approvedOrDeclinedOrCancelledByContact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partUnitCost": 123,
"partCost": 123,
"partCurrency": {},
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentUnitCost": 123,
"equipmentCost": 123,
"equipmentCurrency": {},
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"status": "new",
"supplierPurchaseOrder": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"viaStockLocationId": 123,
"viaStockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partCost": 123,
"partCurrency": {},
"partReceivedQuantity": 123,
"partReceivedAverageCost": 123,
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentCost": 123,
"equipmentCurrency": {},
"equipmentReceivedQuantity": 123,
"equipmentReceivedAverageCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"warrantyAsset": {},
"glCode": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"equipmentSupplierPurchaseOrderLineItems": [
{
"supplierPurchaseOrderId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierPurchaseRequestLineItems": [
{
"status": "requested",
"supplierPurchaseRequestId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"supplierPurchaseRequest": {
"name": "<string>",
"status": "requested",
"currencyId": "<string>",
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseRequestUniqueId": 123,
"purchaseRequestCustomIdentifier": "<string>",
"description": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"totalCost": 123,
"currency": {},
"workOrderId": 123,
"asset": {},
"warrantyAssetId": 123,
"warrantyAsset": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"createdByContact": {},
"approvedOrDeclinedOrCancelledAt": "2023-11-07T05:31:56Z",
"approvedOrDeclinedOrCancelledByEmail": "<string>",
"approvedOrDeclinedOrCancelledByContact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partUnitCost": 123,
"partCost": 123,
"partCurrency": {},
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentUnitCost": 123,
"equipmentCost": 123,
"equipmentCurrency": {},
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"status": "new",
"supplierPurchaseOrder": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"viaStockLocationId": 123,
"viaStockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partCost": 123,
"partCurrency": {},
"partReceivedQuantity": 123,
"partReceivedAverageCost": 123,
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentCost": 123,
"equipmentCurrency": {},
"equipmentReceivedQuantity": 123,
"equipmentReceivedAverageCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"warrantyAsset": {},
"glCode": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"deletedPartSupplierPurchaseOrderLineItems": [
{
"supplierPurchaseOrderId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierPurchaseRequestLineItems": [
{
"status": "requested",
"supplierPurchaseRequestId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"supplierPurchaseRequest": {
"name": "<string>",
"status": "requested",
"currencyId": "<string>",
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseRequestUniqueId": 123,
"purchaseRequestCustomIdentifier": "<string>",
"description": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"totalCost": 123,
"currency": {},
"workOrderId": 123,
"asset": {},
"warrantyAssetId": 123,
"warrantyAsset": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"createdByContact": {},
"approvedOrDeclinedOrCancelledAt": "2023-11-07T05:31:56Z",
"approvedOrDeclinedOrCancelledByEmail": "<string>",
"approvedOrDeclinedOrCancelledByContact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partUnitCost": 123,
"partCost": 123,
"partCurrency": {},
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentUnitCost": 123,
"equipmentCost": 123,
"equipmentCurrency": {},
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"status": "new",
"supplierPurchaseOrder": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"viaStockLocationId": 123,
"viaStockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partCost": 123,
"partCurrency": {},
"partReceivedQuantity": 123,
"partReceivedAverageCost": 123,
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentCost": 123,
"equipmentCurrency": {},
"equipmentReceivedQuantity": 123,
"equipmentReceivedAverageCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"warrantyAsset": {},
"glCode": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"deletedEquipmentSupplierPurchaseOrderLineItems": [
{
"supplierPurchaseOrderId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierPurchaseRequestLineItems": [
{
"status": "requested",
"supplierPurchaseRequestId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"supplierPurchaseRequest": {
"name": "<string>",
"status": "requested",
"currencyId": "<string>",
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseRequestUniqueId": 123,
"purchaseRequestCustomIdentifier": "<string>",
"description": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"totalCost": 123,
"currency": {},
"workOrderId": 123,
"asset": {},
"warrantyAssetId": 123,
"warrantyAsset": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"createdByContact": {},
"approvedOrDeclinedOrCancelledAt": "2023-11-07T05:31:56Z",
"approvedOrDeclinedOrCancelledByEmail": "<string>",
"approvedOrDeclinedOrCancelledByContact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partUnitCost": 123,
"partCost": 123,
"partCurrency": {},
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentUnitCost": 123,
"equipmentCost": 123,
"equipmentCurrency": {},
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"status": "new",
"supplierPurchaseOrder": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"viaStockLocationId": 123,
"viaStockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partCost": 123,
"partCurrency": {},
"partReceivedQuantity": 123,
"partReceivedAverageCost": 123,
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentCost": 123,
"equipmentCurrency": {},
"equipmentReceivedQuantity": 123,
"equipmentReceivedAverageCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"warrantyAsset": {},
"glCode": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"incomingLineItems": [
{
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"id": 123,
"status": "new",
"viaStockLocationId": 123,
"partId": 123,
"partCatalogId": 123,
"partQuantity": 123,
"partCost": 123,
"equipmentTypeId": 123,
"equipmentCatalogId": 123,
"equipmentQuantity": 123,
"equipmentCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"partEquipmentVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"brand": {},
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"currency": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"notes": [
{}
],
"internalNotes": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdByContact": {},
"integratorName": "<string>",
"integratorStatus": "in_progress",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"status": "ok"
}{
"message": "<string>",
"type": "<string>",
"status": "error",
"traceId": "<string>"
}{
"message": "<string>",
"type": "<string>",
"status": "error",
"traceId": "<string>"
}{
"message": "<string>",
"type": "<string>",
"status": "error",
"traceId": "<string>"
}Create a purchase order
Creates a purchase order together with its line items (incomingLineItems). supplierCompanyId and supplierFacilityId are derived from the contact associated with the API key; if the contact has no facility/company a 400 is returned. totalCost is required unless the supplier company’s inventory settings mark PO cost as non-mandatory (mandatory by default). Returns the created purchase order.
curl --request POST \
--url https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders \
--header 'Content-Type: application/json' \
--header 'OW-KEY: <api-key>' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"createdByEmail": "<string>",
"id": 123,
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"locationId": 123,
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"internalNotes": "<string>",
"incomingLineItems": [
{
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"id": 123,
"viaStockLocationId": 123,
"partId": 123,
"partCatalogId": 123,
"partQuantity": 123,
"partCost": 123,
"equipmentTypeId": 123,
"equipmentCatalogId": 123,
"equipmentQuantity": 123,
"equipmentCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}
'import requests
url = "https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders"
payload = {
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"createdByEmail": "<string>",
"id": 123,
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"locationId": 123,
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"internalNotes": "<string>",
"incomingLineItems": [
{
"isEquipmentLine": True,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"id": 123,
"viaStockLocationId": 123,
"partId": 123,
"partCatalogId": 123,
"partQuantity": 123,
"partCost": 123,
"equipmentTypeId": 123,
"equipmentCatalogId": 123,
"equipmentQuantity": 123,
"equipmentCost": 123,
"prLineItemIds": [123],
"warrantyAssetId": 123,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}
headers = {
"X-API-KEY": "<api-key>",
"OW-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-API-KEY': '<api-key>',
'OW-KEY': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
partEquipmentVendorId: 123,
currencyId: '<string>',
createdByEmail: '<string>',
id: 123,
name: '<string>',
description: '<string>',
paymentTerms: '<string>',
shippingTerms: '<string>',
stockLocationId: 123,
locationId: 123,
brandId: 123,
freightTotalBeforeTax: 123,
miscTotalBeforeTax: 123,
totalBeforeTax: 123,
tax: 123,
totalCost: 123,
internalNotes: '<string>',
incomingLineItems: [
{
isEquipmentLine: true,
partUomId: 123,
partCurrencyId: '<string>',
equipmentUomId: 123,
equipmentCurrencyId: '<string>',
id: 123,
viaStockLocationId: 123,
partId: 123,
partCatalogId: 123,
partQuantity: 123,
partCost: 123,
equipmentTypeId: 123,
equipmentCatalogId: 123,
equipmentQuantity: 123,
equipmentCost: 123,
prLineItemIds: [123],
warrantyAssetId: 123,
glCode: '<string>',
createdAt: '2023-11-07T05:31:56Z'
}
]
})
};
fetch('https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders', 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://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'partEquipmentVendorId' => 123,
'currencyId' => '<string>',
'createdByEmail' => '<string>',
'id' => 123,
'name' => '<string>',
'description' => '<string>',
'paymentTerms' => '<string>',
'shippingTerms' => '<string>',
'stockLocationId' => 123,
'locationId' => 123,
'brandId' => 123,
'freightTotalBeforeTax' => 123,
'miscTotalBeforeTax' => 123,
'totalBeforeTax' => 123,
'tax' => 123,
'totalCost' => 123,
'internalNotes' => '<string>',
'incomingLineItems' => [
[
'isEquipmentLine' => true,
'partUomId' => 123,
'partCurrencyId' => '<string>',
'equipmentUomId' => 123,
'equipmentCurrencyId' => '<string>',
'id' => 123,
'viaStockLocationId' => 123,
'partId' => 123,
'partCatalogId' => 123,
'partQuantity' => 123,
'partCost' => 123,
'equipmentTypeId' => 123,
'equipmentCatalogId' => 123,
'equipmentQuantity' => 123,
'equipmentCost' => 123,
'prLineItemIds' => [
123
],
'warrantyAssetId' => 123,
'glCode' => '<string>',
'createdAt' => '2023-11-07T05:31:56Z'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"OW-KEY: <api-key>",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders"
payload := strings.NewReader("{\n \"partEquipmentVendorId\": 123,\n \"currencyId\": \"<string>\",\n \"createdByEmail\": \"<string>\",\n \"id\": 123,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"paymentTerms\": \"<string>\",\n \"shippingTerms\": \"<string>\",\n \"stockLocationId\": 123,\n \"locationId\": 123,\n \"brandId\": 123,\n \"freightTotalBeforeTax\": 123,\n \"miscTotalBeforeTax\": 123,\n \"totalBeforeTax\": 123,\n \"tax\": 123,\n \"totalCost\": 123,\n \"internalNotes\": \"<string>\",\n \"incomingLineItems\": [\n {\n \"isEquipmentLine\": true,\n \"partUomId\": 123,\n \"partCurrencyId\": \"<string>\",\n \"equipmentUomId\": 123,\n \"equipmentCurrencyId\": \"<string>\",\n \"id\": 123,\n \"viaStockLocationId\": 123,\n \"partId\": 123,\n \"partCatalogId\": 123,\n \"partQuantity\": 123,\n \"partCost\": 123,\n \"equipmentTypeId\": 123,\n \"equipmentCatalogId\": 123,\n \"equipmentQuantity\": 123,\n \"equipmentCost\": 123,\n \"prLineItemIds\": [\n 123\n ],\n \"warrantyAssetId\": 123,\n \"glCode\": \"<string>\",\n \"createdAt\": \"2023-11-07T05:31:56Z\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("OW-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders")
.header("X-API-KEY", "<api-key>")
.header("OW-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"partEquipmentVendorId\": 123,\n \"currencyId\": \"<string>\",\n \"createdByEmail\": \"<string>\",\n \"id\": 123,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"paymentTerms\": \"<string>\",\n \"shippingTerms\": \"<string>\",\n \"stockLocationId\": 123,\n \"locationId\": 123,\n \"brandId\": 123,\n \"freightTotalBeforeTax\": 123,\n \"miscTotalBeforeTax\": 123,\n \"totalBeforeTax\": 123,\n \"tax\": 123,\n \"totalCost\": 123,\n \"internalNotes\": \"<string>\",\n \"incomingLineItems\": [\n {\n \"isEquipmentLine\": true,\n \"partUomId\": 123,\n \"partCurrencyId\": \"<string>\",\n \"equipmentUomId\": 123,\n \"equipmentCurrencyId\": \"<string>\",\n \"id\": 123,\n \"viaStockLocationId\": 123,\n \"partId\": 123,\n \"partCatalogId\": 123,\n \"partQuantity\": 123,\n \"partCost\": 123,\n \"equipmentTypeId\": 123,\n \"equipmentCatalogId\": 123,\n \"equipmentQuantity\": 123,\n \"equipmentCost\": 123,\n \"prLineItemIds\": [\n 123\n ],\n \"warrantyAssetId\": 123,\n \"glCode\": \"<string>\",\n \"createdAt\": \"2023-11-07T05:31:56Z\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.useopenwrench.com/api/external/v1/partners/inventory/purchase_orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["OW-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"partEquipmentVendorId\": 123,\n \"currencyId\": \"<string>\",\n \"createdByEmail\": \"<string>\",\n \"id\": 123,\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"paymentTerms\": \"<string>\",\n \"shippingTerms\": \"<string>\",\n \"stockLocationId\": 123,\n \"locationId\": 123,\n \"brandId\": 123,\n \"freightTotalBeforeTax\": 123,\n \"miscTotalBeforeTax\": 123,\n \"totalBeforeTax\": 123,\n \"tax\": 123,\n \"totalCost\": 123,\n \"internalNotes\": \"<string>\",\n \"incomingLineItems\": [\n {\n \"isEquipmentLine\": true,\n \"partUomId\": 123,\n \"partCurrencyId\": \"<string>\",\n \"equipmentUomId\": 123,\n \"equipmentCurrencyId\": \"<string>\",\n \"id\": 123,\n \"viaStockLocationId\": 123,\n \"partId\": 123,\n \"partCatalogId\": 123,\n \"partQuantity\": 123,\n \"partCost\": 123,\n \"equipmentTypeId\": 123,\n \"equipmentCatalogId\": 123,\n \"equipmentQuantity\": 123,\n \"equipmentCost\": 123,\n \"prLineItemIds\": [\n 123\n ],\n \"warrantyAssetId\": 123,\n \"glCode\": \"<string>\",\n \"createdAt\": \"2023-11-07T05:31:56Z\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"type": "<string>",
"data": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"partSupplierPurchaseOrderLineItems": [
{
"supplierPurchaseOrderId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierPurchaseRequestLineItems": [
{
"status": "requested",
"supplierPurchaseRequestId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"supplierPurchaseRequest": {
"name": "<string>",
"status": "requested",
"currencyId": "<string>",
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseRequestUniqueId": 123,
"purchaseRequestCustomIdentifier": "<string>",
"description": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"totalCost": 123,
"currency": {},
"workOrderId": 123,
"asset": {},
"warrantyAssetId": 123,
"warrantyAsset": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"createdByContact": {},
"approvedOrDeclinedOrCancelledAt": "2023-11-07T05:31:56Z",
"approvedOrDeclinedOrCancelledByEmail": "<string>",
"approvedOrDeclinedOrCancelledByContact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partUnitCost": 123,
"partCost": 123,
"partCurrency": {},
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentUnitCost": 123,
"equipmentCost": 123,
"equipmentCurrency": {},
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"status": "new",
"supplierPurchaseOrder": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"viaStockLocationId": 123,
"viaStockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partCost": 123,
"partCurrency": {},
"partReceivedQuantity": 123,
"partReceivedAverageCost": 123,
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentCost": 123,
"equipmentCurrency": {},
"equipmentReceivedQuantity": 123,
"equipmentReceivedAverageCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"warrantyAsset": {},
"glCode": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"equipmentSupplierPurchaseOrderLineItems": [
{
"supplierPurchaseOrderId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierPurchaseRequestLineItems": [
{
"status": "requested",
"supplierPurchaseRequestId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"supplierPurchaseRequest": {
"name": "<string>",
"status": "requested",
"currencyId": "<string>",
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseRequestUniqueId": 123,
"purchaseRequestCustomIdentifier": "<string>",
"description": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"totalCost": 123,
"currency": {},
"workOrderId": 123,
"asset": {},
"warrantyAssetId": 123,
"warrantyAsset": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"createdByContact": {},
"approvedOrDeclinedOrCancelledAt": "2023-11-07T05:31:56Z",
"approvedOrDeclinedOrCancelledByEmail": "<string>",
"approvedOrDeclinedOrCancelledByContact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partUnitCost": 123,
"partCost": 123,
"partCurrency": {},
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentUnitCost": 123,
"equipmentCost": 123,
"equipmentCurrency": {},
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"status": "new",
"supplierPurchaseOrder": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"viaStockLocationId": 123,
"viaStockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partCost": 123,
"partCurrency": {},
"partReceivedQuantity": 123,
"partReceivedAverageCost": 123,
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentCost": 123,
"equipmentCurrency": {},
"equipmentReceivedQuantity": 123,
"equipmentReceivedAverageCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"warrantyAsset": {},
"glCode": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"deletedPartSupplierPurchaseOrderLineItems": [
{
"supplierPurchaseOrderId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierPurchaseRequestLineItems": [
{
"status": "requested",
"supplierPurchaseRequestId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"supplierPurchaseRequest": {
"name": "<string>",
"status": "requested",
"currencyId": "<string>",
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseRequestUniqueId": 123,
"purchaseRequestCustomIdentifier": "<string>",
"description": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"totalCost": 123,
"currency": {},
"workOrderId": 123,
"asset": {},
"warrantyAssetId": 123,
"warrantyAsset": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"createdByContact": {},
"approvedOrDeclinedOrCancelledAt": "2023-11-07T05:31:56Z",
"approvedOrDeclinedOrCancelledByEmail": "<string>",
"approvedOrDeclinedOrCancelledByContact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partUnitCost": 123,
"partCost": 123,
"partCurrency": {},
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentUnitCost": 123,
"equipmentCost": 123,
"equipmentCurrency": {},
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"status": "new",
"supplierPurchaseOrder": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"viaStockLocationId": 123,
"viaStockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partCost": 123,
"partCurrency": {},
"partReceivedQuantity": 123,
"partReceivedAverageCost": 123,
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentCost": 123,
"equipmentCurrency": {},
"equipmentReceivedQuantity": 123,
"equipmentReceivedAverageCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"warrantyAsset": {},
"glCode": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"deletedEquipmentSupplierPurchaseOrderLineItems": [
{
"supplierPurchaseOrderId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierPurchaseRequestLineItems": [
{
"status": "requested",
"supplierPurchaseRequestId": 123,
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"supplierPurchaseRequest": {
"name": "<string>",
"status": "requested",
"currencyId": "<string>",
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseRequestUniqueId": 123,
"purchaseRequestCustomIdentifier": "<string>",
"description": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"totalCost": 123,
"currency": {},
"workOrderId": 123,
"asset": {},
"warrantyAssetId": 123,
"warrantyAsset": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"createdByContact": {},
"approvedOrDeclinedOrCancelledAt": "2023-11-07T05:31:56Z",
"approvedOrDeclinedOrCancelledByEmail": "<string>",
"approvedOrDeclinedOrCancelledByContact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partUnitCost": 123,
"partCost": 123,
"partCurrency": {},
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentUnitCost": 123,
"equipmentCost": 123,
"equipmentCurrency": {},
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"status": "new",
"supplierPurchaseOrder": {
"status": "new",
"partEquipmentVendorId": 123,
"currencyId": "<string>",
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"createdByEmail": "<string>",
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"locationId": 123,
"viaStockLocationId": 123,
"viaStockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partId": 123,
"part": {
"name": "<string>",
"images": [
"<string>"
],
"uomId": 123,
"isActive": true,
"partEquipmentVendorCount": 123,
"isStocked": true,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"partUUID": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"partNumber": "<string>",
"aliasPartId": "<string>",
"description": "<string>",
"cost": 123,
"unitOfMeasure": {},
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultPartCatalogId": 123,
"defaultPartCatalog": {},
"assetTypeId": 123,
"assetType": {},
"assetModelId": 123,
"assetModel": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"customFieldDetails": [
{}
],
"labelIds": [
123
],
"labels": [
"<string>"
],
"partLabels": [
{
"label": "<string>",
"associatedPartsCount": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"partCatalogId": 123,
"partCatalog": {},
"partQuantity": 123,
"partUom": {},
"partCost": 123,
"partCurrency": {},
"partReceivedQuantity": 123,
"partReceivedAverageCost": 123,
"equipmentTypeId": 123,
"equipmentType": {
"modelName": "<string>",
"images": [
"<string>"
],
"isActive": true,
"partEquipmentVendorCount": 123,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isDeleted": true,
"id": 123,
"equipmentTypeNumber": "<string>",
"aliasEquipmentTypeNumber": "<string>",
"manufacturerId": "<string>",
"manufacturerName": "<string>",
"description": "<string>",
"cost": 123,
"defaultVendorId": 123,
"defaultVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"defaultEquipmentCatalogId": 123,
"defaultEquipmentCatalog": {},
"assetTypeId": 123,
"assetType": {},
"glCode": "<string>",
"isAssociatedWithOtherEntities": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"equipmentCatalogId": 123,
"equipmentCatalog": {},
"equipmentQuantity": 123,
"equipmentUom": {},
"equipmentCost": 123,
"equipmentCurrency": {},
"equipmentReceivedQuantity": 123,
"equipmentReceivedAverageCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"warrantyAsset": {},
"glCode": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"incomingLineItems": [
{
"isEquipmentLine": true,
"partUomId": 123,
"partCurrencyId": "<string>",
"equipmentUomId": 123,
"equipmentCurrencyId": "<string>",
"id": 123,
"status": "new",
"viaStockLocationId": 123,
"partId": 123,
"partCatalogId": 123,
"partQuantity": 123,
"partCost": 123,
"equipmentTypeId": 123,
"equipmentCatalogId": 123,
"equipmentQuantity": 123,
"equipmentCost": 123,
"prLineItemIds": [
123
],
"warrantyAssetId": 123,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"isDeleted": true,
"id": 123,
"purchaseOrderUniqueId": 123,
"purchaseOrderUniqueIdWithPrefix": "<string>",
"purchaseOrderCustomIdentifier": "<string>",
"name": "<string>",
"description": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"partEquipmentVendor": {
"name": "<string>",
"currencyId": "<string>",
"isActive": true,
"supplierFacilityId": 123,
"isDeleted": true,
"id": 123,
"vendorId": "<string>",
"address": {},
"email": "<string>",
"logoUrl": "<string>",
"phoneNumber": "<string>",
"paymentTerms": "<string>",
"shippingTerms": "<string>",
"orderingEmails": [
"<string>"
],
"accountManagerEmails": [
"<string>"
],
"accountManagerContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"salesRepEmails": [
"<string>"
],
"salesRepContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"accountsPayableEmails": [
"<string>"
],
"accountsPayableContacts": [
{
"email": "<string>",
"name": "<string>",
"vendorId": 123,
"supplierFacilityId": 123,
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"defaultWarrantyMonths": 123,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"stockLocationId": 123,
"stockLocation": {
"name": "<string>",
"images": [
"<string>"
],
"isMobile": true,
"supplierFacilityId": 123,
"supplierCompanyId": 123,
"isActive": true,
"allowEquipmentForwarding": true,
"isDeleted": true,
"id": 123,
"warehouseId": "<string>",
"description": "<string>",
"address": {},
"latitude": 123,
"longitude": 123,
"timeZoneId": "<string>",
"locationId": 123,
"location": {},
"supplierFacility": {},
"supplierCompany": {},
"burdenRates": [
{
"year": 123,
"rate": "<string>"
}
],
"taxRates": [
{
"year": 123,
"rate": "<string>"
}
],
"purchaseOrderPrefix": "<string>",
"hasAccessFieldTechEmailsString": "<string>",
"canManageFieldTechEmailsString": "<string>",
"hasAssociatedEntities": true,
"glCode": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"locationId": 123,
"location": {},
"brandId": 123,
"brand": {},
"freightTotalBeforeTax": 123,
"miscTotalBeforeTax": 123,
"totalBeforeTax": 123,
"tax": 123,
"totalCost": 123,
"actualCost": 123,
"currency": {},
"partIds": "<string>",
"equipmentTypeIds": "<string>",
"purchaseRequestIds": "<string>",
"notes": [
{}
],
"internalNotes": "<string>",
"supplierFacility": {},
"supplierCompany": {},
"createdByContact": {},
"integratorName": "<string>",
"integratorStatus": "in_progress",
"dueDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"status": "ok"
}{
"message": "<string>",
"type": "<string>",
"status": "error",
"traceId": "<string>"
}{
"message": "<string>",
"type": "<string>",
"status": "error",
"traceId": "<string>"
}{
"message": "<string>",
"type": "<string>",
"status": "error",
"traceId": "<string>"
}Autorizaciones
Supplier partner API key. Rate limited to 10 requests per 20-second window.
OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.
Cuerpo
Purchase order create payload (fields consumed by the server, verified from source). supplierCompanyId and supplierFacilityId are always derived from the API key's contact and override any values sent. The purchase order is created together with its line items (incomingLineItems). totalCost is additionally required unless the supplier company's inventory settings mark PO cost as non-mandatory (it is mandatory by default); a missing mandatory totalCost is rejected with 400 "Total cost of PO cannot be empty". Unknown fields are ignored.
Status of the purchase order, typically "new" on create
new, ordered, received, cancelled, closed, partially_received Vendor the order is placed with
Email recorded as the creator of the purchase order
Optional id of an existing purchase order; when supplied, that purchase order is loaded and its writable fields are replaced with this payload instead of creating a new one
Total cost of the PO. Required unless the supplier company's inventory settings mark PO cost as non-mandatory
Line items to create with the purchase order; omitting it creates a PO with no line items
Show child attributes
Show child attributes