curl --request POST \
--url https://api.useopenwrench.com/api/external/v1/buyer/work_order/work_orders \
--header 'Content-Type: application/json' \
--header 'OW-KEY: <api-key>' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"title": "<string>",
"locationId": 123,
"problemTypeId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"createdBy": "<string>",
"id": 123,
"woNumber": "<string>",
"poNumber": "<string>",
"buyerProjectIds": [
123
],
"isPM": true,
"isCapex": true,
"isStale": true,
"isSupplierInitiated": true,
"isCustomerInitiated": true,
"isWarranty": true,
"status": "<string>",
"description": "<string>",
"assetId": 123,
"subAssetIds": [
123
],
"isAssetDown": true,
"areaId": 123,
"workCategoryId": 123,
"woPriorityId": 123,
"needApproval": true,
"requiresSignature": true,
"approvalRequiredFrom": [
{
"approvalSentTo": "<string>",
"signatureImage": "<string>"
}
],
"images": [
"<string>"
],
"parts": [
123
],
"skipSupplier": true,
"supplierFacilityId": 123,
"supplierPrimaryContactEmail": "<string>",
"contractorDetails": {
"contractorContacts": [
"<string>"
]
},
"assignmentChanges": [
{}
],
"scheduledAt": "2023-11-07T05:31:56Z",
"estimatedCompletionDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"price": 123,
"currencyId": "<string>",
"terms": "<string>",
"nte": 123,
"nteInLocationCurrency": 123,
"locationCurrencyId": "<string>",
"currencyExchangeRateLocationToSupplier": 123,
"currencyExchangeRateBuyerToLocation": 123,
"statusChanges": [
{
"statusText": "<string>",
"statusChangeAt": "2023-11-07T05:31:56Z"
}
],
"submittedByName": "<string>",
"hasBuyerArchived": true,
"hasSupplierArchived": true,
"buyerAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"supplierAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"fromRequestPortal": true,
"fromClientPortal": true,
"forcePendingStatusOnCreateFromPortal": true,
"resolutionTypeId": 123,
"plannedMaintenanceScheduleId": 123,
"taskCompletionMandatory": true,
"isPrivate": true,
"walkThroughId": 123,
"siteSurveyTaskTitleId": "<string>",
"includeWalkthroughTaskList": true
}
'import requests
url = "https://api.useopenwrench.com/api/external/v1/buyer/work_order/work_orders"
payload = {
"title": "<string>",
"locationId": 123,
"problemTypeId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"createdBy": "<string>",
"id": 123,
"woNumber": "<string>",
"poNumber": "<string>",
"buyerProjectIds": [123],
"isPM": True,
"isCapex": True,
"isStale": True,
"isSupplierInitiated": True,
"isCustomerInitiated": True,
"isWarranty": True,
"status": "<string>",
"description": "<string>",
"assetId": 123,
"subAssetIds": [123],
"isAssetDown": True,
"areaId": 123,
"workCategoryId": 123,
"woPriorityId": 123,
"needApproval": True,
"requiresSignature": True,
"approvalRequiredFrom": [
{
"approvalSentTo": "<string>",
"signatureImage": "<string>"
}
],
"images": ["<string>"],
"parts": [123],
"skipSupplier": True,
"supplierFacilityId": 123,
"supplierPrimaryContactEmail": "<string>",
"contractorDetails": { "contractorContacts": ["<string>"] },
"assignmentChanges": [{}],
"scheduledAt": "2023-11-07T05:31:56Z",
"estimatedCompletionDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"price": 123,
"currencyId": "<string>",
"terms": "<string>",
"nte": 123,
"nteInLocationCurrency": 123,
"locationCurrencyId": "<string>",
"currencyExchangeRateLocationToSupplier": 123,
"currencyExchangeRateBuyerToLocation": 123,
"statusChanges": [
{
"statusText": "<string>",
"statusChangeAt": "2023-11-07T05:31:56Z"
}
],
"submittedByName": "<string>",
"hasBuyerArchived": True,
"hasSupplierArchived": True,
"buyerAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"supplierAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"fromRequestPortal": True,
"fromClientPortal": True,
"forcePendingStatusOnCreateFromPortal": True,
"resolutionTypeId": 123,
"plannedMaintenanceScheduleId": 123,
"taskCompletionMandatory": True,
"isPrivate": True,
"walkThroughId": 123,
"siteSurveyTaskTitleId": "<string>",
"includeWalkthroughTaskList": True
}
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({
title: '<string>',
locationId: 123,
problemTypeId: 123,
buyerFacilityId: 123,
buyerCompanyId: 123,
createdBy: '<string>',
id: 123,
woNumber: '<string>',
poNumber: '<string>',
buyerProjectIds: [123],
isPM: true,
isCapex: true,
isStale: true,
isSupplierInitiated: true,
isCustomerInitiated: true,
isWarranty: true,
status: '<string>',
description: '<string>',
assetId: 123,
subAssetIds: [123],
isAssetDown: true,
areaId: 123,
workCategoryId: 123,
woPriorityId: 123,
needApproval: true,
requiresSignature: true,
approvalRequiredFrom: [{approvalSentTo: '<string>', signatureImage: '<string>'}],
images: ['<string>'],
parts: [123],
skipSupplier: true,
supplierFacilityId: 123,
supplierPrimaryContactEmail: '<string>',
contractorDetails: {contractorContacts: ['<string>']},
assignmentChanges: [{}],
scheduledAt: '2023-11-07T05:31:56Z',
estimatedCompletionDate: '2023-11-07T05:31:56Z',
dueDate: '2023-11-07T05:31:56Z',
price: 123,
currencyId: '<string>',
terms: '<string>',
nte: 123,
nteInLocationCurrency: 123,
locationCurrencyId: '<string>',
currencyExchangeRateLocationToSupplier: 123,
currencyExchangeRateBuyerToLocation: 123,
statusChanges: [{statusText: '<string>', statusChangeAt: '2023-11-07T05:31:56Z'}],
submittedByName: '<string>',
hasBuyerArchived: true,
hasSupplierArchived: true,
buyerAttachments: [{fileName: '<string>', fileId: '<string>'}],
supplierAttachments: [{fileName: '<string>', fileId: '<string>'}],
fromRequestPortal: true,
fromClientPortal: true,
forcePendingStatusOnCreateFromPortal: true,
resolutionTypeId: 123,
plannedMaintenanceScheduleId: 123,
taskCompletionMandatory: true,
isPrivate: true,
walkThroughId: 123,
siteSurveyTaskTitleId: '<string>',
includeWalkthroughTaskList: true
})
};
fetch('https://api.useopenwrench.com/api/external/v1/buyer/work_order/work_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/buyer/work_order/work_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([
'title' => '<string>',
'locationId' => 123,
'problemTypeId' => 123,
'buyerFacilityId' => 123,
'buyerCompanyId' => 123,
'createdBy' => '<string>',
'id' => 123,
'woNumber' => '<string>',
'poNumber' => '<string>',
'buyerProjectIds' => [
123
],
'isPM' => true,
'isCapex' => true,
'isStale' => true,
'isSupplierInitiated' => true,
'isCustomerInitiated' => true,
'isWarranty' => true,
'status' => '<string>',
'description' => '<string>',
'assetId' => 123,
'subAssetIds' => [
123
],
'isAssetDown' => true,
'areaId' => 123,
'workCategoryId' => 123,
'woPriorityId' => 123,
'needApproval' => true,
'requiresSignature' => true,
'approvalRequiredFrom' => [
[
'approvalSentTo' => '<string>',
'signatureImage' => '<string>'
]
],
'images' => [
'<string>'
],
'parts' => [
123
],
'skipSupplier' => true,
'supplierFacilityId' => 123,
'supplierPrimaryContactEmail' => '<string>',
'contractorDetails' => [
'contractorContacts' => [
'<string>'
]
],
'assignmentChanges' => [
[
]
],
'scheduledAt' => '2023-11-07T05:31:56Z',
'estimatedCompletionDate' => '2023-11-07T05:31:56Z',
'dueDate' => '2023-11-07T05:31:56Z',
'price' => 123,
'currencyId' => '<string>',
'terms' => '<string>',
'nte' => 123,
'nteInLocationCurrency' => 123,
'locationCurrencyId' => '<string>',
'currencyExchangeRateLocationToSupplier' => 123,
'currencyExchangeRateBuyerToLocation' => 123,
'statusChanges' => [
[
'statusText' => '<string>',
'statusChangeAt' => '2023-11-07T05:31:56Z'
]
],
'submittedByName' => '<string>',
'hasBuyerArchived' => true,
'hasSupplierArchived' => true,
'buyerAttachments' => [
[
'fileName' => '<string>',
'fileId' => '<string>'
]
],
'supplierAttachments' => [
[
'fileName' => '<string>',
'fileId' => '<string>'
]
],
'fromRequestPortal' => true,
'fromClientPortal' => true,
'forcePendingStatusOnCreateFromPortal' => true,
'resolutionTypeId' => 123,
'plannedMaintenanceScheduleId' => 123,
'taskCompletionMandatory' => true,
'isPrivate' => true,
'walkThroughId' => 123,
'siteSurveyTaskTitleId' => '<string>',
'includeWalkthroughTaskList' => true
]),
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/buyer/work_order/work_orders"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"locationId\": 123,\n \"problemTypeId\": 123,\n \"buyerFacilityId\": 123,\n \"buyerCompanyId\": 123,\n \"createdBy\": \"<string>\",\n \"id\": 123,\n \"woNumber\": \"<string>\",\n \"poNumber\": \"<string>\",\n \"buyerProjectIds\": [\n 123\n ],\n \"isPM\": true,\n \"isCapex\": true,\n \"isStale\": true,\n \"isSupplierInitiated\": true,\n \"isCustomerInitiated\": true,\n \"isWarranty\": true,\n \"status\": \"<string>\",\n \"description\": \"<string>\",\n \"assetId\": 123,\n \"subAssetIds\": [\n 123\n ],\n \"isAssetDown\": true,\n \"areaId\": 123,\n \"workCategoryId\": 123,\n \"woPriorityId\": 123,\n \"needApproval\": true,\n \"requiresSignature\": true,\n \"approvalRequiredFrom\": [\n {\n \"approvalSentTo\": \"<string>\",\n \"signatureImage\": \"<string>\"\n }\n ],\n \"images\": [\n \"<string>\"\n ],\n \"parts\": [\n 123\n ],\n \"skipSupplier\": true,\n \"supplierFacilityId\": 123,\n \"supplierPrimaryContactEmail\": \"<string>\",\n \"contractorDetails\": {\n \"contractorContacts\": [\n \"<string>\"\n ]\n },\n \"assignmentChanges\": [\n {}\n ],\n \"scheduledAt\": \"2023-11-07T05:31:56Z\",\n \"estimatedCompletionDate\": \"2023-11-07T05:31:56Z\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"price\": 123,\n \"currencyId\": \"<string>\",\n \"terms\": \"<string>\",\n \"nte\": 123,\n \"nteInLocationCurrency\": 123,\n \"locationCurrencyId\": \"<string>\",\n \"currencyExchangeRateLocationToSupplier\": 123,\n \"currencyExchangeRateBuyerToLocation\": 123,\n \"statusChanges\": [\n {\n \"statusText\": \"<string>\",\n \"statusChangeAt\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"submittedByName\": \"<string>\",\n \"hasBuyerArchived\": true,\n \"hasSupplierArchived\": true,\n \"buyerAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"supplierAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"fromRequestPortal\": true,\n \"fromClientPortal\": true,\n \"forcePendingStatusOnCreateFromPortal\": true,\n \"resolutionTypeId\": 123,\n \"plannedMaintenanceScheduleId\": 123,\n \"taskCompletionMandatory\": true,\n \"isPrivate\": true,\n \"walkThroughId\": 123,\n \"siteSurveyTaskTitleId\": \"<string>\",\n \"includeWalkthroughTaskList\": true\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/buyer/work_order/work_orders")
.header("X-API-KEY", "<api-key>")
.header("OW-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"locationId\": 123,\n \"problemTypeId\": 123,\n \"buyerFacilityId\": 123,\n \"buyerCompanyId\": 123,\n \"createdBy\": \"<string>\",\n \"id\": 123,\n \"woNumber\": \"<string>\",\n \"poNumber\": \"<string>\",\n \"buyerProjectIds\": [\n 123\n ],\n \"isPM\": true,\n \"isCapex\": true,\n \"isStale\": true,\n \"isSupplierInitiated\": true,\n \"isCustomerInitiated\": true,\n \"isWarranty\": true,\n \"status\": \"<string>\",\n \"description\": \"<string>\",\n \"assetId\": 123,\n \"subAssetIds\": [\n 123\n ],\n \"isAssetDown\": true,\n \"areaId\": 123,\n \"workCategoryId\": 123,\n \"woPriorityId\": 123,\n \"needApproval\": true,\n \"requiresSignature\": true,\n \"approvalRequiredFrom\": [\n {\n \"approvalSentTo\": \"<string>\",\n \"signatureImage\": \"<string>\"\n }\n ],\n \"images\": [\n \"<string>\"\n ],\n \"parts\": [\n 123\n ],\n \"skipSupplier\": true,\n \"supplierFacilityId\": 123,\n \"supplierPrimaryContactEmail\": \"<string>\",\n \"contractorDetails\": {\n \"contractorContacts\": [\n \"<string>\"\n ]\n },\n \"assignmentChanges\": [\n {}\n ],\n \"scheduledAt\": \"2023-11-07T05:31:56Z\",\n \"estimatedCompletionDate\": \"2023-11-07T05:31:56Z\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"price\": 123,\n \"currencyId\": \"<string>\",\n \"terms\": \"<string>\",\n \"nte\": 123,\n \"nteInLocationCurrency\": 123,\n \"locationCurrencyId\": \"<string>\",\n \"currencyExchangeRateLocationToSupplier\": 123,\n \"currencyExchangeRateBuyerToLocation\": 123,\n \"statusChanges\": [\n {\n \"statusText\": \"<string>\",\n \"statusChangeAt\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"submittedByName\": \"<string>\",\n \"hasBuyerArchived\": true,\n \"hasSupplierArchived\": true,\n \"buyerAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"supplierAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"fromRequestPortal\": true,\n \"fromClientPortal\": true,\n \"forcePendingStatusOnCreateFromPortal\": true,\n \"resolutionTypeId\": 123,\n \"plannedMaintenanceScheduleId\": 123,\n \"taskCompletionMandatory\": true,\n \"isPrivate\": true,\n \"walkThroughId\": 123,\n \"siteSurveyTaskTitleId\": \"<string>\",\n \"includeWalkthroughTaskList\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.useopenwrench.com/api/external/v1/buyer/work_order/work_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 \"title\": \"<string>\",\n \"locationId\": 123,\n \"problemTypeId\": 123,\n \"buyerFacilityId\": 123,\n \"buyerCompanyId\": 123,\n \"createdBy\": \"<string>\",\n \"id\": 123,\n \"woNumber\": \"<string>\",\n \"poNumber\": \"<string>\",\n \"buyerProjectIds\": [\n 123\n ],\n \"isPM\": true,\n \"isCapex\": true,\n \"isStale\": true,\n \"isSupplierInitiated\": true,\n \"isCustomerInitiated\": true,\n \"isWarranty\": true,\n \"status\": \"<string>\",\n \"description\": \"<string>\",\n \"assetId\": 123,\n \"subAssetIds\": [\n 123\n ],\n \"isAssetDown\": true,\n \"areaId\": 123,\n \"workCategoryId\": 123,\n \"woPriorityId\": 123,\n \"needApproval\": true,\n \"requiresSignature\": true,\n \"approvalRequiredFrom\": [\n {\n \"approvalSentTo\": \"<string>\",\n \"signatureImage\": \"<string>\"\n }\n ],\n \"images\": [\n \"<string>\"\n ],\n \"parts\": [\n 123\n ],\n \"skipSupplier\": true,\n \"supplierFacilityId\": 123,\n \"supplierPrimaryContactEmail\": \"<string>\",\n \"contractorDetails\": {\n \"contractorContacts\": [\n \"<string>\"\n ]\n },\n \"assignmentChanges\": [\n {}\n ],\n \"scheduledAt\": \"2023-11-07T05:31:56Z\",\n \"estimatedCompletionDate\": \"2023-11-07T05:31:56Z\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"price\": 123,\n \"currencyId\": \"<string>\",\n \"terms\": \"<string>\",\n \"nte\": 123,\n \"nteInLocationCurrency\": 123,\n \"locationCurrencyId\": \"<string>\",\n \"currencyExchangeRateLocationToSupplier\": 123,\n \"currencyExchangeRateBuyerToLocation\": 123,\n \"statusChanges\": [\n {\n \"statusText\": \"<string>\",\n \"statusChangeAt\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"submittedByName\": \"<string>\",\n \"hasBuyerArchived\": true,\n \"hasSupplierArchived\": true,\n \"buyerAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"supplierAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"fromRequestPortal\": true,\n \"fromClientPortal\": true,\n \"forcePendingStatusOnCreateFromPortal\": true,\n \"resolutionTypeId\": 123,\n \"plannedMaintenanceScheduleId\": 123,\n \"taskCompletionMandatory\": true,\n \"isPrivate\": true,\n \"walkThroughId\": 123,\n \"siteSurveyTaskTitleId\": \"<string>\",\n \"includeWalkthroughTaskList\": true\n}"
response = http.request(request)
puts response.read_body{
"type": "<string>",
"data": {
"title": "<string>",
"displayStatus": "<string>",
"status": "<string>",
"locationId": 123,
"problemTypeId": 123,
"currencyId": "<string>",
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"createdBy": "<string>",
"isDeleted": true,
"id": 123,
"buyerSpecificId": "<string>",
"woNumber": "<string>",
"poNumber": "<string>",
"buyerProjectIds": [
123
],
"isPM": true,
"isCapex": true,
"isStale": true,
"isSupplierInitiated": true,
"isCustomerInitiated": true,
"isWarranty": true,
"statusChangedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"descriptionNonFormatted": "<string>",
"assetId": 123,
"asset": {
"isUserAssignedUUID": true,
"name": "<string>",
"assetTypeId": 123,
"locationId": 123,
"isActive": true,
"isLeased": true,
"isRefrigerantTracked": true,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"buyerSpecificAssetId": "<string>",
"assetUUID": "<string>",
"assetNumber": "<string>",
"description": "<string>",
"images": [
"<string>"
],
"attachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"manufacturer": "<string>",
"upcNumber": "<string>",
"modelNumber": "<string>",
"serialNumber": "<string>",
"assetType": {
"name": "<string>",
"usesRefrigerant": true,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"primarySpendCategory": 123,
"attachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"allProblemTypeIds": [
123
],
"allProblemTypeIdsAsString": "<string>",
"allProblemTypes": [
{
"id": 123,
"name": "<string>"
}
],
"allProblemTypesName": "<string>",
"allSpendCategories": [
123
],
"depreciationClassId": 123,
"depreciationClassName": "<string>",
"requiredFields": [
{}
],
"optionalFields": [
{}
],
"replaceMarkupOnOriginalCost": 123,
"replacementThreshold": 123,
"applianceCategory": "<string>",
"refrigerantTypeCode": "<string>",
"fullChargeLb": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"assetModelId": 123,
"assetModel": {
"modelName": "<string>",
"assetTypeId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"manuals": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"specs": [
{
"key": "<string>",
"value": "<string>"
}
],
"assetType": {
"name": "<string>",
"usesRefrigerant": true,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"primarySpendCategory": 123,
"attachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"allProblemTypeIds": [
123
],
"allProblemTypeIdsAsString": "<string>",
"allProblemTypes": [
{
"id": 123,
"name": "<string>"
}
],
"allProblemTypesName": "<string>",
"allSpendCategories": [
123
],
"depreciationClassId": 123,
"depreciationClassName": "<string>",
"requiredFields": [
{}
],
"optionalFields": [
{}
],
"replaceMarkupOnOriginalCost": 123,
"replacementThreshold": 123,
"applianceCategory": "<string>",
"refrigerantTypeCode": "<string>",
"fullChargeLb": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"assetTypeDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"location": {
"name": "<string>",
"isActive": true,
"locationTypeId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"storeId": "<string>",
"brandId": 123,
"brandAssetGroupId": 123,
"allAssetCount": 123,
"description": "<string>",
"openDate": "2023-11-07T05:31:56Z",
"closeDate": "2023-11-07T05:31:56Z",
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"phoneNumber": "<string>",
"locationTypeDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"notes": "<string>",
"notesNonFormatted": "<string>",
"internalNotes": "<string>",
"images": [
"<string>"
],
"internalAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"primaryContactsEmails": [
"<string>"
],
"facilityInChargeEmails": [
"<string>"
],
"sendApprovedInvoicesToEmails": [
"<string>"
],
"sendApprovedQuotesToEmails": [
"<string>"
],
"storeAssociateEmails": [
"<string>"
],
"fieldTechEmails": [
"<string>"
],
"timeZoneId": "<string>",
"hasPresetAssetUUID": true,
"regionId": 123,
"region": {
"name": "<string>",
"buyerCompanyId": 123,
"hasChildren": true,
"isDeleted": true,
"id": 123,
"hierarchyName": "<string>",
"parentId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"purchaseOrderPrefix": "<string>",
"isLeased": true,
"leaseStartDate": "2023-11-07T05:31:56Z",
"leaseEndDate": "2023-11-07T05:31:56Z",
"taxRate": "<string>",
"customFieldDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"buildingWarrantyStartDate": "2023-11-07T05:31:56Z",
"buildingWarrantyExpirationDate": "2023-11-07T05:31:56Z",
"buildingWarrantyProblemTypeIds": [
123
],
"buildingWarrantyServiceProviderId": 123,
"invoicesBillTo": {
"billTo": "<string>",
"serviceAddress": {}
},
"countryCode": "<string>",
"totalWOCount": 123,
"totalNotClosedWOCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"areaId": 123,
"brand": "<string>",
"installDate": "2023-11-07T05:31:56Z",
"purchaseDate": "2023-11-07T05:31:56Z",
"leaseStartDate": "2023-11-07T05:31:56Z",
"leaseEndDate": "2023-11-07T05:31:56Z",
"warrantyIds": [
123
],
"lifeExpectancyInMonths": 123,
"originalPrice": 123,
"capitalisedCost": 123,
"assetTags": [
"<string>"
],
"parentId": 123,
"availabilityStatus": "<string>",
"downtimeStatus": "online",
"additionalAssetDetails": {
"energyEfficiencyDetails": "<string>",
"capacityDetails": "<string>",
"hasLeakDetector": true,
"usesRefrigerant": true,
"refrigerantDetails": "<string>"
},
"daysInUse": 123,
"refrigerantTypeCode": "<string>",
"fullChargeLb": 123,
"applianceCategory": "<string>",
"subAssetCount": 123,
"totalWOCount": 123,
"totalNotClosedWOCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"subAssetIds": [
123
],
"isAssetDown": true,
"location": {
"name": "<string>",
"isActive": true,
"locationTypeId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"storeId": "<string>",
"brandId": 123,
"brandAssetGroupId": 123,
"allAssetCount": 123,
"description": "<string>",
"openDate": "2023-11-07T05:31:56Z",
"closeDate": "2023-11-07T05:31:56Z",
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"phoneNumber": "<string>",
"locationTypeDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"notes": "<string>",
"notesNonFormatted": "<string>",
"internalNotes": "<string>",
"images": [
"<string>"
],
"internalAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"primaryContactsEmails": [
"<string>"
],
"facilityInChargeEmails": [
"<string>"
],
"sendApprovedInvoicesToEmails": [
"<string>"
],
"sendApprovedQuotesToEmails": [
"<string>"
],
"storeAssociateEmails": [
"<string>"
],
"fieldTechEmails": [
"<string>"
],
"timeZoneId": "<string>",
"hasPresetAssetUUID": true,
"regionId": 123,
"region": {
"name": "<string>",
"buyerCompanyId": 123,
"hasChildren": true,
"isDeleted": true,
"id": 123,
"hierarchyName": "<string>",
"parentId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"purchaseOrderPrefix": "<string>",
"isLeased": true,
"leaseStartDate": "2023-11-07T05:31:56Z",
"leaseEndDate": "2023-11-07T05:31:56Z",
"taxRate": "<string>",
"customFieldDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"buildingWarrantyStartDate": "2023-11-07T05:31:56Z",
"buildingWarrantyExpirationDate": "2023-11-07T05:31:56Z",
"buildingWarrantyProblemTypeIds": [
123
],
"buildingWarrantyServiceProviderId": 123,
"invoicesBillTo": {
"billTo": "<string>",
"serviceAddress": {}
},
"countryCode": "<string>",
"totalWOCount": 123,
"totalNotClosedWOCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"areaId": 123,
"workCategoryId": 123,
"spendCategoryId": 123,
"problemType": {
"id": 123,
"name": "<string>"
},
"woPriorityId": 123,
"approvedOrDeniedAt": "2023-11-07T05:31:56Z",
"approvedOrDeniedBy": "<string>",
"needsApproval": true,
"requiresSignature": true,
"images": [
"<string>"
],
"dueDate": "2023-11-07T05:31:56Z",
"staleAt": "2023-11-07T05:31:56Z",
"scheduledAt": "2023-11-07T05:31:56Z",
"estimatedCompletionDate": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"markedCompleteBy": "<string>",
"expirationAt": "2023-11-07T05:31:56Z",
"assignedAt": "2023-11-07T05:31:56Z",
"supplierRespondedAt": "2023-11-07T05:31:56Z",
"supplierFacilityId": 123,
"supplierFacility": {
"name": "<string>",
"displayName": "<string>",
"status": "<string>",
"currencyId": "<string>",
"supplierCompanyId": 123,
"isLandlord": true,
"id": 123,
"isClaimed": true,
"about": "<string>",
"isNationalSupplier": true,
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"w9": {
"fileName": "<string>",
"fileId": "<string>"
},
"verifications": [
{}
],
"licenses": [
{}
],
"certifications": [
{}
],
"insurances": [
{}
],
"faqs": [
{}
],
"isWomenOwned": true,
"isMinorityOwned": true,
"isVeteranOwned": true,
"isDisabledOwned": true,
"isLgbtOwned": true,
"isSmallBusinessEnterprise": true,
"categoryIds": [
123
],
"categoryNames": "<string>",
"duns": "<string>",
"taxId": "<string>",
"corporateURL": "<string>",
"storefrontURL": "<string>",
"logoURL": "<string>",
"poMethod": "<string>",
"poChangeMethod": "<string>",
"poEmail": "<string>",
"website": "<string>",
"primaryContactEmail": "<string>",
"primaryPhone": "<string>",
"primaryAddress": {},
"remitToAddress": {},
"latitude": 123,
"longitude": 123,
"radiusOfServiceInMiles": 123,
"serviceAreaSelfPerforming": [
"<string>"
],
"serviceAreaNotSelfPerforming": [
"<string>"
],
"averageRating": 123,
"numRatings": 123
},
"supplierPrimaryContactEmail": "<string>",
"price": 123,
"terms": "<string>",
"notes": [
{
"text": "<string>",
"noteAddedBy": "<string>",
"noteAddedAt": "2023-11-07T05:31:56Z",
"photo": "<string>",
"video": "<string>",
"audio": "<string>",
"otherFile": "<string>",
"elements": [
{
"type": "text",
"value": "<string>",
"userObject": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"noteReadDetails": [
{
"readAt": "2023-11-07T05:31:56Z",
"readBy": "<string>",
"readByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"noteAddedByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"noteType": "<string>",
"noteAddedByType": "<string>",
"usersActiveInChat": [
"<string>"
],
"s3EmailReference": "<string>",
"s3EmailReferenceUrl": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"captionGenerationAttempted": true,
"isNoteAwaitingResponse": true,
"isAudioTranslated": true,
"isAudioTranscriptionError": true,
"siteSurveyTaskTitleId": "<string>",
"id": 123
}
],
"lastNote": "<string>",
"lastNoteAddedBy": "<string>",
"lastNoteAddedAt": 123,
"nte": 123,
"statusChanges": [
{
"statusText": "<string>",
"statusChangeAt": "2023-11-07T05:31:56Z"
}
],
"submittedByName": "<string>",
"buyerSubscriberEmails": [
"<string>"
],
"supplierSubscriberEmails": [
"<string>"
],
"associatedServiceCalls": [
{
"supplierFacilityId": 123,
"numberOfTechs": 123,
"workOrderId": 123,
"locationId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"leadTechnicianEmail": "<string>",
"leadTechnicianEmailContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"additionalTechnicianEmails": [
"<string>"
],
"additionalTechnicians": [
{
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"stockLocationIds": [
123
],
"stockLocations": [
{}
],
"supplierFacility": {
"name": "<string>",
"displayName": "<string>",
"status": "<string>",
"currencyId": "<string>",
"supplierCompanyId": 123,
"isLandlord": true,
"id": 123,
"isClaimed": true,
"about": "<string>",
"isNationalSupplier": true,
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"w9": {
"fileName": "<string>",
"fileId": "<string>"
},
"verifications": [
{}
],
"licenses": [
{}
],
"certifications": [
{}
],
"insurances": [
{}
],
"faqs": [
{}
],
"isWomenOwned": true,
"isMinorityOwned": true,
"isVeteranOwned": true,
"isDisabledOwned": true,
"isLgbtOwned": true,
"isSmallBusinessEnterprise": true,
"categoryIds": [
123
],
"categoryNames": "<string>",
"duns": "<string>",
"taxId": "<string>",
"corporateURL": "<string>",
"storefrontURL": "<string>",
"logoURL": "<string>",
"poMethod": "<string>",
"poChangeMethod": "<string>",
"poEmail": "<string>",
"website": "<string>",
"primaryContactEmail": "<string>",
"primaryPhone": "<string>",
"primaryAddress": {},
"remitToAddress": {},
"latitude": 123,
"longitude": 123,
"radiusOfServiceInMiles": 123,
"serviceAreaSelfPerforming": [
"<string>"
],
"serviceAreaNotSelfPerforming": [
"<string>"
],
"averageRating": 123,
"numRatings": 123
},
"serviceScheduledAt": "2023-11-07T05:31:56Z",
"checkInByEmail": "<string>",
"checkInByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"checkInStatus": "<string>",
"checkInTime": "2023-11-07T05:31:56Z",
"checkInNotes": "<string>",
"checkInImages": [
"<string>"
],
"checkInImagesWithCaption": [
{
"s3ObjectKey": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"checkInGeoLocation": {
"lat": "<string>",
"long": "<string>"
},
"checkInAudio": "<string>",
"checkInAudioTranscription": "<string>",
"checkInIsAudioTranslated": true,
"checkInIsAudioTranscriptionError": true,
"checkOutByEmail": "<string>",
"checkOutByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"checkOutStatus": "<string>",
"checkOutTime": "2023-11-07T05:31:56Z",
"checkOutNotes": "<string>",
"checkOutImages": [
"<string>"
],
"checkOutImagesWithCaption": [
{
"s3ObjectKey": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"checkOutGeoLocation": {
"lat": "<string>",
"long": "<string>"
},
"checkOutAudio": "<string>",
"checkOutAudioTranscription": "<string>",
"checkOutIsAudioTranslated": true,
"checkOutIsAudioTranscriptionError": true,
"revisionChanges": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"lastServiceCall": {
"supplierFacilityId": 123,
"numberOfTechs": 123,
"workOrderId": 123,
"locationId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"leadTechnicianEmail": "<string>",
"leadTechnicianEmailContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"additionalTechnicianEmails": [
"<string>"
],
"additionalTechnicians": [
{
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"stockLocationIds": [
123
],
"stockLocations": [
{}
],
"supplierFacility": {
"name": "<string>",
"displayName": "<string>",
"status": "<string>",
"currencyId": "<string>",
"supplierCompanyId": 123,
"isLandlord": true,
"id": 123,
"isClaimed": true,
"about": "<string>",
"isNationalSupplier": true,
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"w9": {
"fileName": "<string>",
"fileId": "<string>"
},
"verifications": [
{}
],
"licenses": [
{}
],
"certifications": [
{}
],
"insurances": [
{}
],
"faqs": [
{}
],
"isWomenOwned": true,
"isMinorityOwned": true,
"isVeteranOwned": true,
"isDisabledOwned": true,
"isLgbtOwned": true,
"isSmallBusinessEnterprise": true,
"categoryIds": [
123
],
"categoryNames": "<string>",
"duns": "<string>",
"taxId": "<string>",
"corporateURL": "<string>",
"storefrontURL": "<string>",
"logoURL": "<string>",
"poMethod": "<string>",
"poChangeMethod": "<string>",
"poEmail": "<string>",
"website": "<string>",
"primaryContactEmail": "<string>",
"primaryPhone": "<string>",
"primaryAddress": {},
"remitToAddress": {},
"latitude": 123,
"longitude": 123,
"radiusOfServiceInMiles": 123,
"serviceAreaSelfPerforming": [
"<string>"
],
"serviceAreaNotSelfPerforming": [
"<string>"
],
"averageRating": 123,
"numRatings": 123
},
"serviceScheduledAt": "2023-11-07T05:31:56Z",
"checkInByEmail": "<string>",
"checkInByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"checkInStatus": "<string>",
"checkInTime": "2023-11-07T05:31:56Z",
"checkInNotes": "<string>",
"checkInImages": [
"<string>"
],
"checkInImagesWithCaption": [
{
"s3ObjectKey": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"checkInGeoLocation": {
"lat": "<string>",
"long": "<string>"
},
"checkInAudio": "<string>",
"checkInAudioTranscription": "<string>",
"checkInIsAudioTranslated": true,
"checkInIsAudioTranscriptionError": true,
"checkOutByEmail": "<string>",
"checkOutByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"checkOutStatus": "<string>",
"checkOutTime": "2023-11-07T05:31:56Z",
"checkOutNotes": "<string>",
"checkOutImages": [
"<string>"
],
"checkOutImagesWithCaption": [
{
"s3ObjectKey": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"checkOutGeoLocation": {
"lat": "<string>",
"long": "<string>"
},
"checkOutAudio": "<string>",
"checkOutAudioTranscription": "<string>",
"checkOutIsAudioTranslated": true,
"checkOutIsAudioTranscriptionError": true,
"revisionChanges": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"hasBuyerArchived": true,
"hasSupplierArchived": true,
"buyerAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"supplierAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"resolutionTypeId": 123,
"plannedMaintenanceScheduleId": 123,
"walkThroughId": 123,
"cancelledAt": "2023-11-07T05:31:56Z",
"cancelledBy": "<string>",
"isPrivate": true,
"fromRequestPortal": true,
"fromClientPortal": true,
"glCode": "<string>",
"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 work order
Creates a work order. buyerFacilityId, buyerCompanyId and createdBy must be supplied in the body (they are not derived from the API key on this endpoint). If status is omitted the initial status is computed from the buyer company’s configuration (service requests typically start PendingApproval; work orders default to Unassigned). An unknown supplierFacilityId, assetId or problemTypeId is rejected with 400. siteSurveyTaskTitleId and walkThroughId must be provided together or not at all.
curl --request POST \
--url https://api.useopenwrench.com/api/external/v1/buyer/work_order/work_orders \
--header 'Content-Type: application/json' \
--header 'OW-KEY: <api-key>' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"title": "<string>",
"locationId": 123,
"problemTypeId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"createdBy": "<string>",
"id": 123,
"woNumber": "<string>",
"poNumber": "<string>",
"buyerProjectIds": [
123
],
"isPM": true,
"isCapex": true,
"isStale": true,
"isSupplierInitiated": true,
"isCustomerInitiated": true,
"isWarranty": true,
"status": "<string>",
"description": "<string>",
"assetId": 123,
"subAssetIds": [
123
],
"isAssetDown": true,
"areaId": 123,
"workCategoryId": 123,
"woPriorityId": 123,
"needApproval": true,
"requiresSignature": true,
"approvalRequiredFrom": [
{
"approvalSentTo": "<string>",
"signatureImage": "<string>"
}
],
"images": [
"<string>"
],
"parts": [
123
],
"skipSupplier": true,
"supplierFacilityId": 123,
"supplierPrimaryContactEmail": "<string>",
"contractorDetails": {
"contractorContacts": [
"<string>"
]
},
"assignmentChanges": [
{}
],
"scheduledAt": "2023-11-07T05:31:56Z",
"estimatedCompletionDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"price": 123,
"currencyId": "<string>",
"terms": "<string>",
"nte": 123,
"nteInLocationCurrency": 123,
"locationCurrencyId": "<string>",
"currencyExchangeRateLocationToSupplier": 123,
"currencyExchangeRateBuyerToLocation": 123,
"statusChanges": [
{
"statusText": "<string>",
"statusChangeAt": "2023-11-07T05:31:56Z"
}
],
"submittedByName": "<string>",
"hasBuyerArchived": true,
"hasSupplierArchived": true,
"buyerAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"supplierAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"fromRequestPortal": true,
"fromClientPortal": true,
"forcePendingStatusOnCreateFromPortal": true,
"resolutionTypeId": 123,
"plannedMaintenanceScheduleId": 123,
"taskCompletionMandatory": true,
"isPrivate": true,
"walkThroughId": 123,
"siteSurveyTaskTitleId": "<string>",
"includeWalkthroughTaskList": true
}
'import requests
url = "https://api.useopenwrench.com/api/external/v1/buyer/work_order/work_orders"
payload = {
"title": "<string>",
"locationId": 123,
"problemTypeId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"createdBy": "<string>",
"id": 123,
"woNumber": "<string>",
"poNumber": "<string>",
"buyerProjectIds": [123],
"isPM": True,
"isCapex": True,
"isStale": True,
"isSupplierInitiated": True,
"isCustomerInitiated": True,
"isWarranty": True,
"status": "<string>",
"description": "<string>",
"assetId": 123,
"subAssetIds": [123],
"isAssetDown": True,
"areaId": 123,
"workCategoryId": 123,
"woPriorityId": 123,
"needApproval": True,
"requiresSignature": True,
"approvalRequiredFrom": [
{
"approvalSentTo": "<string>",
"signatureImage": "<string>"
}
],
"images": ["<string>"],
"parts": [123],
"skipSupplier": True,
"supplierFacilityId": 123,
"supplierPrimaryContactEmail": "<string>",
"contractorDetails": { "contractorContacts": ["<string>"] },
"assignmentChanges": [{}],
"scheduledAt": "2023-11-07T05:31:56Z",
"estimatedCompletionDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"price": 123,
"currencyId": "<string>",
"terms": "<string>",
"nte": 123,
"nteInLocationCurrency": 123,
"locationCurrencyId": "<string>",
"currencyExchangeRateLocationToSupplier": 123,
"currencyExchangeRateBuyerToLocation": 123,
"statusChanges": [
{
"statusText": "<string>",
"statusChangeAt": "2023-11-07T05:31:56Z"
}
],
"submittedByName": "<string>",
"hasBuyerArchived": True,
"hasSupplierArchived": True,
"buyerAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"supplierAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"fromRequestPortal": True,
"fromClientPortal": True,
"forcePendingStatusOnCreateFromPortal": True,
"resolutionTypeId": 123,
"plannedMaintenanceScheduleId": 123,
"taskCompletionMandatory": True,
"isPrivate": True,
"walkThroughId": 123,
"siteSurveyTaskTitleId": "<string>",
"includeWalkthroughTaskList": True
}
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({
title: '<string>',
locationId: 123,
problemTypeId: 123,
buyerFacilityId: 123,
buyerCompanyId: 123,
createdBy: '<string>',
id: 123,
woNumber: '<string>',
poNumber: '<string>',
buyerProjectIds: [123],
isPM: true,
isCapex: true,
isStale: true,
isSupplierInitiated: true,
isCustomerInitiated: true,
isWarranty: true,
status: '<string>',
description: '<string>',
assetId: 123,
subAssetIds: [123],
isAssetDown: true,
areaId: 123,
workCategoryId: 123,
woPriorityId: 123,
needApproval: true,
requiresSignature: true,
approvalRequiredFrom: [{approvalSentTo: '<string>', signatureImage: '<string>'}],
images: ['<string>'],
parts: [123],
skipSupplier: true,
supplierFacilityId: 123,
supplierPrimaryContactEmail: '<string>',
contractorDetails: {contractorContacts: ['<string>']},
assignmentChanges: [{}],
scheduledAt: '2023-11-07T05:31:56Z',
estimatedCompletionDate: '2023-11-07T05:31:56Z',
dueDate: '2023-11-07T05:31:56Z',
price: 123,
currencyId: '<string>',
terms: '<string>',
nte: 123,
nteInLocationCurrency: 123,
locationCurrencyId: '<string>',
currencyExchangeRateLocationToSupplier: 123,
currencyExchangeRateBuyerToLocation: 123,
statusChanges: [{statusText: '<string>', statusChangeAt: '2023-11-07T05:31:56Z'}],
submittedByName: '<string>',
hasBuyerArchived: true,
hasSupplierArchived: true,
buyerAttachments: [{fileName: '<string>', fileId: '<string>'}],
supplierAttachments: [{fileName: '<string>', fileId: '<string>'}],
fromRequestPortal: true,
fromClientPortal: true,
forcePendingStatusOnCreateFromPortal: true,
resolutionTypeId: 123,
plannedMaintenanceScheduleId: 123,
taskCompletionMandatory: true,
isPrivate: true,
walkThroughId: 123,
siteSurveyTaskTitleId: '<string>',
includeWalkthroughTaskList: true
})
};
fetch('https://api.useopenwrench.com/api/external/v1/buyer/work_order/work_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/buyer/work_order/work_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([
'title' => '<string>',
'locationId' => 123,
'problemTypeId' => 123,
'buyerFacilityId' => 123,
'buyerCompanyId' => 123,
'createdBy' => '<string>',
'id' => 123,
'woNumber' => '<string>',
'poNumber' => '<string>',
'buyerProjectIds' => [
123
],
'isPM' => true,
'isCapex' => true,
'isStale' => true,
'isSupplierInitiated' => true,
'isCustomerInitiated' => true,
'isWarranty' => true,
'status' => '<string>',
'description' => '<string>',
'assetId' => 123,
'subAssetIds' => [
123
],
'isAssetDown' => true,
'areaId' => 123,
'workCategoryId' => 123,
'woPriorityId' => 123,
'needApproval' => true,
'requiresSignature' => true,
'approvalRequiredFrom' => [
[
'approvalSentTo' => '<string>',
'signatureImage' => '<string>'
]
],
'images' => [
'<string>'
],
'parts' => [
123
],
'skipSupplier' => true,
'supplierFacilityId' => 123,
'supplierPrimaryContactEmail' => '<string>',
'contractorDetails' => [
'contractorContacts' => [
'<string>'
]
],
'assignmentChanges' => [
[
]
],
'scheduledAt' => '2023-11-07T05:31:56Z',
'estimatedCompletionDate' => '2023-11-07T05:31:56Z',
'dueDate' => '2023-11-07T05:31:56Z',
'price' => 123,
'currencyId' => '<string>',
'terms' => '<string>',
'nte' => 123,
'nteInLocationCurrency' => 123,
'locationCurrencyId' => '<string>',
'currencyExchangeRateLocationToSupplier' => 123,
'currencyExchangeRateBuyerToLocation' => 123,
'statusChanges' => [
[
'statusText' => '<string>',
'statusChangeAt' => '2023-11-07T05:31:56Z'
]
],
'submittedByName' => '<string>',
'hasBuyerArchived' => true,
'hasSupplierArchived' => true,
'buyerAttachments' => [
[
'fileName' => '<string>',
'fileId' => '<string>'
]
],
'supplierAttachments' => [
[
'fileName' => '<string>',
'fileId' => '<string>'
]
],
'fromRequestPortal' => true,
'fromClientPortal' => true,
'forcePendingStatusOnCreateFromPortal' => true,
'resolutionTypeId' => 123,
'plannedMaintenanceScheduleId' => 123,
'taskCompletionMandatory' => true,
'isPrivate' => true,
'walkThroughId' => 123,
'siteSurveyTaskTitleId' => '<string>',
'includeWalkthroughTaskList' => true
]),
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/buyer/work_order/work_orders"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"locationId\": 123,\n \"problemTypeId\": 123,\n \"buyerFacilityId\": 123,\n \"buyerCompanyId\": 123,\n \"createdBy\": \"<string>\",\n \"id\": 123,\n \"woNumber\": \"<string>\",\n \"poNumber\": \"<string>\",\n \"buyerProjectIds\": [\n 123\n ],\n \"isPM\": true,\n \"isCapex\": true,\n \"isStale\": true,\n \"isSupplierInitiated\": true,\n \"isCustomerInitiated\": true,\n \"isWarranty\": true,\n \"status\": \"<string>\",\n \"description\": \"<string>\",\n \"assetId\": 123,\n \"subAssetIds\": [\n 123\n ],\n \"isAssetDown\": true,\n \"areaId\": 123,\n \"workCategoryId\": 123,\n \"woPriorityId\": 123,\n \"needApproval\": true,\n \"requiresSignature\": true,\n \"approvalRequiredFrom\": [\n {\n \"approvalSentTo\": \"<string>\",\n \"signatureImage\": \"<string>\"\n }\n ],\n \"images\": [\n \"<string>\"\n ],\n \"parts\": [\n 123\n ],\n \"skipSupplier\": true,\n \"supplierFacilityId\": 123,\n \"supplierPrimaryContactEmail\": \"<string>\",\n \"contractorDetails\": {\n \"contractorContacts\": [\n \"<string>\"\n ]\n },\n \"assignmentChanges\": [\n {}\n ],\n \"scheduledAt\": \"2023-11-07T05:31:56Z\",\n \"estimatedCompletionDate\": \"2023-11-07T05:31:56Z\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"price\": 123,\n \"currencyId\": \"<string>\",\n \"terms\": \"<string>\",\n \"nte\": 123,\n \"nteInLocationCurrency\": 123,\n \"locationCurrencyId\": \"<string>\",\n \"currencyExchangeRateLocationToSupplier\": 123,\n \"currencyExchangeRateBuyerToLocation\": 123,\n \"statusChanges\": [\n {\n \"statusText\": \"<string>\",\n \"statusChangeAt\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"submittedByName\": \"<string>\",\n \"hasBuyerArchived\": true,\n \"hasSupplierArchived\": true,\n \"buyerAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"supplierAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"fromRequestPortal\": true,\n \"fromClientPortal\": true,\n \"forcePendingStatusOnCreateFromPortal\": true,\n \"resolutionTypeId\": 123,\n \"plannedMaintenanceScheduleId\": 123,\n \"taskCompletionMandatory\": true,\n \"isPrivate\": true,\n \"walkThroughId\": 123,\n \"siteSurveyTaskTitleId\": \"<string>\",\n \"includeWalkthroughTaskList\": true\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/buyer/work_order/work_orders")
.header("X-API-KEY", "<api-key>")
.header("OW-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"locationId\": 123,\n \"problemTypeId\": 123,\n \"buyerFacilityId\": 123,\n \"buyerCompanyId\": 123,\n \"createdBy\": \"<string>\",\n \"id\": 123,\n \"woNumber\": \"<string>\",\n \"poNumber\": \"<string>\",\n \"buyerProjectIds\": [\n 123\n ],\n \"isPM\": true,\n \"isCapex\": true,\n \"isStale\": true,\n \"isSupplierInitiated\": true,\n \"isCustomerInitiated\": true,\n \"isWarranty\": true,\n \"status\": \"<string>\",\n \"description\": \"<string>\",\n \"assetId\": 123,\n \"subAssetIds\": [\n 123\n ],\n \"isAssetDown\": true,\n \"areaId\": 123,\n \"workCategoryId\": 123,\n \"woPriorityId\": 123,\n \"needApproval\": true,\n \"requiresSignature\": true,\n \"approvalRequiredFrom\": [\n {\n \"approvalSentTo\": \"<string>\",\n \"signatureImage\": \"<string>\"\n }\n ],\n \"images\": [\n \"<string>\"\n ],\n \"parts\": [\n 123\n ],\n \"skipSupplier\": true,\n \"supplierFacilityId\": 123,\n \"supplierPrimaryContactEmail\": \"<string>\",\n \"contractorDetails\": {\n \"contractorContacts\": [\n \"<string>\"\n ]\n },\n \"assignmentChanges\": [\n {}\n ],\n \"scheduledAt\": \"2023-11-07T05:31:56Z\",\n \"estimatedCompletionDate\": \"2023-11-07T05:31:56Z\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"price\": 123,\n \"currencyId\": \"<string>\",\n \"terms\": \"<string>\",\n \"nte\": 123,\n \"nteInLocationCurrency\": 123,\n \"locationCurrencyId\": \"<string>\",\n \"currencyExchangeRateLocationToSupplier\": 123,\n \"currencyExchangeRateBuyerToLocation\": 123,\n \"statusChanges\": [\n {\n \"statusText\": \"<string>\",\n \"statusChangeAt\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"submittedByName\": \"<string>\",\n \"hasBuyerArchived\": true,\n \"hasSupplierArchived\": true,\n \"buyerAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"supplierAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"fromRequestPortal\": true,\n \"fromClientPortal\": true,\n \"forcePendingStatusOnCreateFromPortal\": true,\n \"resolutionTypeId\": 123,\n \"plannedMaintenanceScheduleId\": 123,\n \"taskCompletionMandatory\": true,\n \"isPrivate\": true,\n \"walkThroughId\": 123,\n \"siteSurveyTaskTitleId\": \"<string>\",\n \"includeWalkthroughTaskList\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.useopenwrench.com/api/external/v1/buyer/work_order/work_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 \"title\": \"<string>\",\n \"locationId\": 123,\n \"problemTypeId\": 123,\n \"buyerFacilityId\": 123,\n \"buyerCompanyId\": 123,\n \"createdBy\": \"<string>\",\n \"id\": 123,\n \"woNumber\": \"<string>\",\n \"poNumber\": \"<string>\",\n \"buyerProjectIds\": [\n 123\n ],\n \"isPM\": true,\n \"isCapex\": true,\n \"isStale\": true,\n \"isSupplierInitiated\": true,\n \"isCustomerInitiated\": true,\n \"isWarranty\": true,\n \"status\": \"<string>\",\n \"description\": \"<string>\",\n \"assetId\": 123,\n \"subAssetIds\": [\n 123\n ],\n \"isAssetDown\": true,\n \"areaId\": 123,\n \"workCategoryId\": 123,\n \"woPriorityId\": 123,\n \"needApproval\": true,\n \"requiresSignature\": true,\n \"approvalRequiredFrom\": [\n {\n \"approvalSentTo\": \"<string>\",\n \"signatureImage\": \"<string>\"\n }\n ],\n \"images\": [\n \"<string>\"\n ],\n \"parts\": [\n 123\n ],\n \"skipSupplier\": true,\n \"supplierFacilityId\": 123,\n \"supplierPrimaryContactEmail\": \"<string>\",\n \"contractorDetails\": {\n \"contractorContacts\": [\n \"<string>\"\n ]\n },\n \"assignmentChanges\": [\n {}\n ],\n \"scheduledAt\": \"2023-11-07T05:31:56Z\",\n \"estimatedCompletionDate\": \"2023-11-07T05:31:56Z\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"price\": 123,\n \"currencyId\": \"<string>\",\n \"terms\": \"<string>\",\n \"nte\": 123,\n \"nteInLocationCurrency\": 123,\n \"locationCurrencyId\": \"<string>\",\n \"currencyExchangeRateLocationToSupplier\": 123,\n \"currencyExchangeRateBuyerToLocation\": 123,\n \"statusChanges\": [\n {\n \"statusText\": \"<string>\",\n \"statusChangeAt\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"submittedByName\": \"<string>\",\n \"hasBuyerArchived\": true,\n \"hasSupplierArchived\": true,\n \"buyerAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"supplierAttachments\": [\n {\n \"fileName\": \"<string>\",\n \"fileId\": \"<string>\"\n }\n ],\n \"fromRequestPortal\": true,\n \"fromClientPortal\": true,\n \"forcePendingStatusOnCreateFromPortal\": true,\n \"resolutionTypeId\": 123,\n \"plannedMaintenanceScheduleId\": 123,\n \"taskCompletionMandatory\": true,\n \"isPrivate\": true,\n \"walkThroughId\": 123,\n \"siteSurveyTaskTitleId\": \"<string>\",\n \"includeWalkthroughTaskList\": true\n}"
response = http.request(request)
puts response.read_body{
"type": "<string>",
"data": {
"title": "<string>",
"displayStatus": "<string>",
"status": "<string>",
"locationId": 123,
"problemTypeId": 123,
"currencyId": "<string>",
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"createdBy": "<string>",
"isDeleted": true,
"id": 123,
"buyerSpecificId": "<string>",
"woNumber": "<string>",
"poNumber": "<string>",
"buyerProjectIds": [
123
],
"isPM": true,
"isCapex": true,
"isStale": true,
"isSupplierInitiated": true,
"isCustomerInitiated": true,
"isWarranty": true,
"statusChangedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"descriptionNonFormatted": "<string>",
"assetId": 123,
"asset": {
"isUserAssignedUUID": true,
"name": "<string>",
"assetTypeId": 123,
"locationId": 123,
"isActive": true,
"isLeased": true,
"isRefrigerantTracked": true,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"buyerSpecificAssetId": "<string>",
"assetUUID": "<string>",
"assetNumber": "<string>",
"description": "<string>",
"images": [
"<string>"
],
"attachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"manufacturer": "<string>",
"upcNumber": "<string>",
"modelNumber": "<string>",
"serialNumber": "<string>",
"assetType": {
"name": "<string>",
"usesRefrigerant": true,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"primarySpendCategory": 123,
"attachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"allProblemTypeIds": [
123
],
"allProblemTypeIdsAsString": "<string>",
"allProblemTypes": [
{
"id": 123,
"name": "<string>"
}
],
"allProblemTypesName": "<string>",
"allSpendCategories": [
123
],
"depreciationClassId": 123,
"depreciationClassName": "<string>",
"requiredFields": [
{}
],
"optionalFields": [
{}
],
"replaceMarkupOnOriginalCost": 123,
"replacementThreshold": 123,
"applianceCategory": "<string>",
"refrigerantTypeCode": "<string>",
"fullChargeLb": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"assetModelId": 123,
"assetModel": {
"modelName": "<string>",
"assetTypeId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"manuals": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"specs": [
{
"key": "<string>",
"value": "<string>"
}
],
"assetType": {
"name": "<string>",
"usesRefrigerant": true,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"primarySpendCategory": 123,
"attachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"allProblemTypeIds": [
123
],
"allProblemTypeIdsAsString": "<string>",
"allProblemTypes": [
{
"id": 123,
"name": "<string>"
}
],
"allProblemTypesName": "<string>",
"allSpendCategories": [
123
],
"depreciationClassId": 123,
"depreciationClassName": "<string>",
"requiredFields": [
{}
],
"optionalFields": [
{}
],
"replaceMarkupOnOriginalCost": 123,
"replacementThreshold": 123,
"applianceCategory": "<string>",
"refrigerantTypeCode": "<string>",
"fullChargeLb": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"assetTypeDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"location": {
"name": "<string>",
"isActive": true,
"locationTypeId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"storeId": "<string>",
"brandId": 123,
"brandAssetGroupId": 123,
"allAssetCount": 123,
"description": "<string>",
"openDate": "2023-11-07T05:31:56Z",
"closeDate": "2023-11-07T05:31:56Z",
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"phoneNumber": "<string>",
"locationTypeDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"notes": "<string>",
"notesNonFormatted": "<string>",
"internalNotes": "<string>",
"images": [
"<string>"
],
"internalAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"primaryContactsEmails": [
"<string>"
],
"facilityInChargeEmails": [
"<string>"
],
"sendApprovedInvoicesToEmails": [
"<string>"
],
"sendApprovedQuotesToEmails": [
"<string>"
],
"storeAssociateEmails": [
"<string>"
],
"fieldTechEmails": [
"<string>"
],
"timeZoneId": "<string>",
"hasPresetAssetUUID": true,
"regionId": 123,
"region": {
"name": "<string>",
"buyerCompanyId": 123,
"hasChildren": true,
"isDeleted": true,
"id": 123,
"hierarchyName": "<string>",
"parentId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"purchaseOrderPrefix": "<string>",
"isLeased": true,
"leaseStartDate": "2023-11-07T05:31:56Z",
"leaseEndDate": "2023-11-07T05:31:56Z",
"taxRate": "<string>",
"customFieldDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"buildingWarrantyStartDate": "2023-11-07T05:31:56Z",
"buildingWarrantyExpirationDate": "2023-11-07T05:31:56Z",
"buildingWarrantyProblemTypeIds": [
123
],
"buildingWarrantyServiceProviderId": 123,
"invoicesBillTo": {
"billTo": "<string>",
"serviceAddress": {}
},
"countryCode": "<string>",
"totalWOCount": 123,
"totalNotClosedWOCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"areaId": 123,
"brand": "<string>",
"installDate": "2023-11-07T05:31:56Z",
"purchaseDate": "2023-11-07T05:31:56Z",
"leaseStartDate": "2023-11-07T05:31:56Z",
"leaseEndDate": "2023-11-07T05:31:56Z",
"warrantyIds": [
123
],
"lifeExpectancyInMonths": 123,
"originalPrice": 123,
"capitalisedCost": 123,
"assetTags": [
"<string>"
],
"parentId": 123,
"availabilityStatus": "<string>",
"downtimeStatus": "online",
"additionalAssetDetails": {
"energyEfficiencyDetails": "<string>",
"capacityDetails": "<string>",
"hasLeakDetector": true,
"usesRefrigerant": true,
"refrigerantDetails": "<string>"
},
"daysInUse": 123,
"refrigerantTypeCode": "<string>",
"fullChargeLb": 123,
"applianceCategory": "<string>",
"subAssetCount": 123,
"totalWOCount": 123,
"totalNotClosedWOCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"subAssetIds": [
123
],
"isAssetDown": true,
"location": {
"name": "<string>",
"isActive": true,
"locationTypeId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"storeId": "<string>",
"brandId": 123,
"brandAssetGroupId": 123,
"allAssetCount": 123,
"description": "<string>",
"openDate": "2023-11-07T05:31:56Z",
"closeDate": "2023-11-07T05:31:56Z",
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"phoneNumber": "<string>",
"locationTypeDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"notes": "<string>",
"notesNonFormatted": "<string>",
"internalNotes": "<string>",
"images": [
"<string>"
],
"internalAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"primaryContactsEmails": [
"<string>"
],
"facilityInChargeEmails": [
"<string>"
],
"sendApprovedInvoicesToEmails": [
"<string>"
],
"sendApprovedQuotesToEmails": [
"<string>"
],
"storeAssociateEmails": [
"<string>"
],
"fieldTechEmails": [
"<string>"
],
"timeZoneId": "<string>",
"hasPresetAssetUUID": true,
"regionId": 123,
"region": {
"name": "<string>",
"buyerCompanyId": 123,
"hasChildren": true,
"isDeleted": true,
"id": 123,
"hierarchyName": "<string>",
"parentId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"purchaseOrderPrefix": "<string>",
"isLeased": true,
"leaseStartDate": "2023-11-07T05:31:56Z",
"leaseEndDate": "2023-11-07T05:31:56Z",
"taxRate": "<string>",
"customFieldDetails": [
{
"key": "<string>",
"valueAsString": "<string>",
"valueType": "<string>"
}
],
"buildingWarrantyStartDate": "2023-11-07T05:31:56Z",
"buildingWarrantyExpirationDate": "2023-11-07T05:31:56Z",
"buildingWarrantyProblemTypeIds": [
123
],
"buildingWarrantyServiceProviderId": 123,
"invoicesBillTo": {
"billTo": "<string>",
"serviceAddress": {}
},
"countryCode": "<string>",
"totalWOCount": 123,
"totalNotClosedWOCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"areaId": 123,
"workCategoryId": 123,
"spendCategoryId": 123,
"problemType": {
"id": 123,
"name": "<string>"
},
"woPriorityId": 123,
"approvedOrDeniedAt": "2023-11-07T05:31:56Z",
"approvedOrDeniedBy": "<string>",
"needsApproval": true,
"requiresSignature": true,
"images": [
"<string>"
],
"dueDate": "2023-11-07T05:31:56Z",
"staleAt": "2023-11-07T05:31:56Z",
"scheduledAt": "2023-11-07T05:31:56Z",
"estimatedCompletionDate": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"markedCompleteBy": "<string>",
"expirationAt": "2023-11-07T05:31:56Z",
"assignedAt": "2023-11-07T05:31:56Z",
"supplierRespondedAt": "2023-11-07T05:31:56Z",
"supplierFacilityId": 123,
"supplierFacility": {
"name": "<string>",
"displayName": "<string>",
"status": "<string>",
"currencyId": "<string>",
"supplierCompanyId": 123,
"isLandlord": true,
"id": 123,
"isClaimed": true,
"about": "<string>",
"isNationalSupplier": true,
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"w9": {
"fileName": "<string>",
"fileId": "<string>"
},
"verifications": [
{}
],
"licenses": [
{}
],
"certifications": [
{}
],
"insurances": [
{}
],
"faqs": [
{}
],
"isWomenOwned": true,
"isMinorityOwned": true,
"isVeteranOwned": true,
"isDisabledOwned": true,
"isLgbtOwned": true,
"isSmallBusinessEnterprise": true,
"categoryIds": [
123
],
"categoryNames": "<string>",
"duns": "<string>",
"taxId": "<string>",
"corporateURL": "<string>",
"storefrontURL": "<string>",
"logoURL": "<string>",
"poMethod": "<string>",
"poChangeMethod": "<string>",
"poEmail": "<string>",
"website": "<string>",
"primaryContactEmail": "<string>",
"primaryPhone": "<string>",
"primaryAddress": {},
"remitToAddress": {},
"latitude": 123,
"longitude": 123,
"radiusOfServiceInMiles": 123,
"serviceAreaSelfPerforming": [
"<string>"
],
"serviceAreaNotSelfPerforming": [
"<string>"
],
"averageRating": 123,
"numRatings": 123
},
"supplierPrimaryContactEmail": "<string>",
"price": 123,
"terms": "<string>",
"notes": [
{
"text": "<string>",
"noteAddedBy": "<string>",
"noteAddedAt": "2023-11-07T05:31:56Z",
"photo": "<string>",
"video": "<string>",
"audio": "<string>",
"otherFile": "<string>",
"elements": [
{
"type": "text",
"value": "<string>",
"userObject": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"noteReadDetails": [
{
"readAt": "2023-11-07T05:31:56Z",
"readBy": "<string>",
"readByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"noteAddedByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"noteType": "<string>",
"noteAddedByType": "<string>",
"usersActiveInChat": [
"<string>"
],
"s3EmailReference": "<string>",
"s3EmailReferenceUrl": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"captionGenerationAttempted": true,
"isNoteAwaitingResponse": true,
"isAudioTranslated": true,
"isAudioTranscriptionError": true,
"siteSurveyTaskTitleId": "<string>",
"id": 123
}
],
"lastNote": "<string>",
"lastNoteAddedBy": "<string>",
"lastNoteAddedAt": 123,
"nte": 123,
"statusChanges": [
{
"statusText": "<string>",
"statusChangeAt": "2023-11-07T05:31:56Z"
}
],
"submittedByName": "<string>",
"buyerSubscriberEmails": [
"<string>"
],
"supplierSubscriberEmails": [
"<string>"
],
"associatedServiceCalls": [
{
"supplierFacilityId": 123,
"numberOfTechs": 123,
"workOrderId": 123,
"locationId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"leadTechnicianEmail": "<string>",
"leadTechnicianEmailContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"additionalTechnicianEmails": [
"<string>"
],
"additionalTechnicians": [
{
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"stockLocationIds": [
123
],
"stockLocations": [
{}
],
"supplierFacility": {
"name": "<string>",
"displayName": "<string>",
"status": "<string>",
"currencyId": "<string>",
"supplierCompanyId": 123,
"isLandlord": true,
"id": 123,
"isClaimed": true,
"about": "<string>",
"isNationalSupplier": true,
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"w9": {
"fileName": "<string>",
"fileId": "<string>"
},
"verifications": [
{}
],
"licenses": [
{}
],
"certifications": [
{}
],
"insurances": [
{}
],
"faqs": [
{}
],
"isWomenOwned": true,
"isMinorityOwned": true,
"isVeteranOwned": true,
"isDisabledOwned": true,
"isLgbtOwned": true,
"isSmallBusinessEnterprise": true,
"categoryIds": [
123
],
"categoryNames": "<string>",
"duns": "<string>",
"taxId": "<string>",
"corporateURL": "<string>",
"storefrontURL": "<string>",
"logoURL": "<string>",
"poMethod": "<string>",
"poChangeMethod": "<string>",
"poEmail": "<string>",
"website": "<string>",
"primaryContactEmail": "<string>",
"primaryPhone": "<string>",
"primaryAddress": {},
"remitToAddress": {},
"latitude": 123,
"longitude": 123,
"radiusOfServiceInMiles": 123,
"serviceAreaSelfPerforming": [
"<string>"
],
"serviceAreaNotSelfPerforming": [
"<string>"
],
"averageRating": 123,
"numRatings": 123
},
"serviceScheduledAt": "2023-11-07T05:31:56Z",
"checkInByEmail": "<string>",
"checkInByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"checkInStatus": "<string>",
"checkInTime": "2023-11-07T05:31:56Z",
"checkInNotes": "<string>",
"checkInImages": [
"<string>"
],
"checkInImagesWithCaption": [
{
"s3ObjectKey": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"checkInGeoLocation": {
"lat": "<string>",
"long": "<string>"
},
"checkInAudio": "<string>",
"checkInAudioTranscription": "<string>",
"checkInIsAudioTranslated": true,
"checkInIsAudioTranscriptionError": true,
"checkOutByEmail": "<string>",
"checkOutByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"checkOutStatus": "<string>",
"checkOutTime": "2023-11-07T05:31:56Z",
"checkOutNotes": "<string>",
"checkOutImages": [
"<string>"
],
"checkOutImagesWithCaption": [
{
"s3ObjectKey": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"checkOutGeoLocation": {
"lat": "<string>",
"long": "<string>"
},
"checkOutAudio": "<string>",
"checkOutAudioTranscription": "<string>",
"checkOutIsAudioTranslated": true,
"checkOutIsAudioTranscriptionError": true,
"revisionChanges": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"lastServiceCall": {
"supplierFacilityId": 123,
"numberOfTechs": 123,
"workOrderId": 123,
"locationId": 123,
"buyerFacilityId": 123,
"buyerCompanyId": 123,
"isDeleted": true,
"id": 123,
"leadTechnicianEmail": "<string>",
"leadTechnicianEmailContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"additionalTechnicianEmails": [
"<string>"
],
"additionalTechnicians": [
{
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"stockLocationIds": [
123
],
"stockLocations": [
{}
],
"supplierFacility": {
"name": "<string>",
"displayName": "<string>",
"status": "<string>",
"currencyId": "<string>",
"supplierCompanyId": 123,
"isLandlord": true,
"id": 123,
"isClaimed": true,
"about": "<string>",
"isNationalSupplier": true,
"operatingHours": {
"timeZoneId": "<string>",
"timeZoneName": "<string>",
"Monday": {},
"Tuesday": {},
"Wednesday": {},
"Thursday": {},
"Friday": {},
"Saturday": {},
"Sunday": {}
},
"w9": {
"fileName": "<string>",
"fileId": "<string>"
},
"verifications": [
{}
],
"licenses": [
{}
],
"certifications": [
{}
],
"insurances": [
{}
],
"faqs": [
{}
],
"isWomenOwned": true,
"isMinorityOwned": true,
"isVeteranOwned": true,
"isDisabledOwned": true,
"isLgbtOwned": true,
"isSmallBusinessEnterprise": true,
"categoryIds": [
123
],
"categoryNames": "<string>",
"duns": "<string>",
"taxId": "<string>",
"corporateURL": "<string>",
"storefrontURL": "<string>",
"logoURL": "<string>",
"poMethod": "<string>",
"poChangeMethod": "<string>",
"poEmail": "<string>",
"website": "<string>",
"primaryContactEmail": "<string>",
"primaryPhone": "<string>",
"primaryAddress": {},
"remitToAddress": {},
"latitude": 123,
"longitude": 123,
"radiusOfServiceInMiles": 123,
"serviceAreaSelfPerforming": [
"<string>"
],
"serviceAreaNotSelfPerforming": [
"<string>"
],
"averageRating": 123,
"numRatings": 123
},
"serviceScheduledAt": "2023-11-07T05:31:56Z",
"checkInByEmail": "<string>",
"checkInByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"checkInStatus": "<string>",
"checkInTime": "2023-11-07T05:31:56Z",
"checkInNotes": "<string>",
"checkInImages": [
"<string>"
],
"checkInImagesWithCaption": [
{
"s3ObjectKey": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"checkInGeoLocation": {
"lat": "<string>",
"long": "<string>"
},
"checkInAudio": "<string>",
"checkInAudioTranscription": "<string>",
"checkInIsAudioTranslated": true,
"checkInIsAudioTranscriptionError": true,
"checkOutByEmail": "<string>",
"checkOutByContact": {
"email": "<string>",
"nameGiven": "<string>",
"nameFamily": "<string>",
"contactType": "<string>",
"title": "<string>",
"department": "<string>",
"facilityId": 123,
"isSharedContact": true,
"readOnlyAccess": true,
"invitedByEmail": "<string>",
"invitedAt": "2023-11-07T05:31:56Z",
"invitedByName": "<string>",
"epaCertificationType": "<string>",
"epaCertificationNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"checkOutStatus": "<string>",
"checkOutTime": "2023-11-07T05:31:56Z",
"checkOutNotes": "<string>",
"checkOutImages": [
"<string>"
],
"checkOutImagesWithCaption": [
{
"s3ObjectKey": "<string>",
"caption": "<string>",
"captionSource": "<string>",
"captionModel": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"checkOutGeoLocation": {
"lat": "<string>",
"long": "<string>"
},
"checkOutAudio": "<string>",
"checkOutAudioTranscription": "<string>",
"checkOutIsAudioTranslated": true,
"checkOutIsAudioTranscriptionError": true,
"revisionChanges": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"hasBuyerArchived": true,
"hasSupplierArchived": true,
"buyerAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"supplierAttachments": [
{
"fileName": "<string>",
"fileId": "<string>"
}
],
"resolutionTypeId": 123,
"plannedMaintenanceScheduleId": 123,
"walkThroughId": 123,
"cancelledAt": "2023-11-07T05:31:56Z",
"cancelledBy": "<string>",
"isPrivate": true,
"fromRequestPortal": true,
"fromClientPortal": true,
"glCode": "<string>",
"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
OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.
Cuerpo
Email of the creating contact.
Present only when upserting an existing work order.
Requested WorkOrderStatus name; the effective status is still resolved against company configuration. Omit to use the computed initial status.
Note the field name: needApproval, not needsApproval.
Show child attributes
Show child attributes
Part ids.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Respuesta
Success.
Entity type marker, e.g. "WorkOrder".
Work order. ABRIDGED: the full case class has 150+ fields (hydrated approval hierarchies, budgets, troubleshooting answers, contractor/sub-contractor details, internal workspaces, labels, stars, etc.); only the commonly used fields are listed here and additional properties may appear in responses.
Show child attributes
Show child attributes
ok