Creates a supplier-initiated work order. Requires the API key’s contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location’s buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer’s approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer’s internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company’s configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer’s supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.
OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.
Kropp
application/json
Work-order create payload (verified against the shared work-order constructor). createdBy, supplierFacilityId, buyerFacilityId and buyerCompanyId are always overwritten server-side from the API key and the location - caller-supplied values for them are ignored. Unknown fields are ignored.
title
string
obligatorisk
REQUIRED
locationId
integer<int64>
obligatorisk
REQUIRED. The buyer location the work order is for; also determines the server-set buyerFacilityId and buyerCompanyId.
problemTypeId
integer
Optional; when omitted the first leaf problem type of the location's buyer company is used. Must reference an existing problem type.
woPriorityId
integer
Optional; when omitted a default priority for the buyer company is chosen (preference order 3,4,5,2,1, following linkedTo mappings).
woNumber
string
poNumber
string
buyerProjectIds
integer<int64>[]
isPM
boolean
isCapex
boolean
isStale
boolean
isSupplierInitiated
boolean
Set to true by the server for third-party supplier keys; a value in the body is ignored there. Keys of a buyer's internal service team and paying suppliers creating for a client they manage keep the value they send.
isCustomerInitiated
boolean
isWarranty
boolean
status
string
Ignored for third-party supplier keys: the server seeds SupplierInitiatedPendingApproval and the buyer's approval configuration resolves the initial status. Honoured only for keys of a buyer's internal service team and for paying suppliers creating at a location of a client they manage; must be a valid work-order status name (invalid names are rejected), and when omitted the initial status is derived from the buyer company's configuration. On an internal service team hand-off to another supplier facility, omitting status or sending SupplierInitiatedPendingApproval seeds PendingConfirmationByServiceProvider.
description
string
assetId
integer<int64>
Must reference an existing asset; its areaId is inherited when areaId is not given
subAssetIds
integer<int64>[]
isAssetDown
boolean
Default false
areaId
integer<int64>
workCategoryId
integer
needApproval
boolean
NOTE: the key is needApproval (no 's')
requiresSignature
boolean
approvalRequiredFrom
object[]
ApprovalRequirement objects
images
string[]
parts
integer<int64>[]
Part ids (mapped to the work order's partIds)
skipSupplier
boolean
contractorDetails
object
ContractorDetails object
assignmentChanges
object[]
AssignmentChange objects
scheduledAt
string<date-time>
ISO 8601 date-time
estimatedCompletionDate
string<date-time>
ISO 8601 date-time
dueDate
string<date-time>
ISO 8601 date-time
price
number
currencyId
string
terms
string
nte
number
nteInLocationCurrency
number
locationCurrencyId
string
currencyExchangeRateLocationToSupplier
number
currencyExchangeRateBuyerToLocation
number
statusChanges
object[]
StatusChange objects
submittedByName
string
hasBuyerArchived
boolean
hasSupplierArchived
boolean
buyerAttachments
object[]
Show child attributes
supplierAttachments
object[]
Show child attributes
fromRequestPortal
boolean
fromClientPortal
boolean
forcePendingStatusOnCreateFromPortal
boolean
resolutionTypeId
integer
plannedMaintenanceScheduleId
integer<int64>
taskCompletionMandatory
boolean
isPrivate
boolean
walkThroughId
integer<int64>
Must be set together with siteSurveyTaskTitleId
siteSurveyTaskTitleId
string
Must be set together with walkThroughId
includeWalkthroughTaskList
boolean
supplierPrimaryContactEmail
string
Svar
Successful response
type
string
obligatorisk
Entity type label, e.g. "WorkOrder". Endpoints that derive it via Scala reflection (most generic list/get endpoints) may return the fully qualified server class name instead (e.g. "models.workorder.WorkOrder"); treat this field as informational.
data
object
obligatorisk
Work order (abridged - the full model has 150+ fields including hydrated location/asset/facility/approval-hierarchy objects). For third-party suppliers (keys not belonging to an internal service team) responses are masked: buyer-private fields are removed/blanked by the API masking layer.
Show child attributes
status
enum<string>
obligatorisk
"ok" on success
Tillgängliga alternativ:
ok
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenWrench Docs","description":"Reference documentation and integration guides for the OpenWrench External API — buyer, supplier, and partner surfaces.","colors":{"primary":"#6D28D9","light":"#8B5CF6","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/openwrench/MpgUm2Im5ZrD9tFw/logo/light.svg?fit=max\u0026auto=format\u0026n=MpgUm2Im5ZrD9tFw\u0026q=85\u0026s=763bb056b0ddeaaeae3d8bee85dc3e06","dark":"https://mintcdn.com/openwrench/MpgUm2Im5ZrD9tFw/logo/dark.svg?fit=max\u0026auto=format\u0026n=MpgUm2Im5ZrD9tFw\u0026q=85\u0026s=a84a39cf7849f387cfb865ba22e0a38e"},"favicon":"https://mintcdn.com/openwrench/MpgUm2Im5ZrD9tFw/favicon.png?fit=max\u0026auto=format\u0026n=MpgUm2Im5ZrD9tFw\u0026q=85\u0026s=b01cf4070a34a54ba40b628a09269099","navbar":{"links":[{"href":"mailto:support@useopenwrench.com","label":"Support"}]},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"buyer-api/introduction"},{"language":"es","href":"es/buyer-api/introduction"},{"language":"fr-CA","href":"fr-CA/buyer-api/introduction"},{"language":"sv","href":"sv/buyer-api/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openwrench","hasAudioNarration":false,"actualSubdomain":"openwrench","customDomains":["api-docs.useopenwrench.com"],"gitSource":{"type":"github","owner":"emptor-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adafe041d1d6d712a14178e","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"en","tag":"API Reference","count":159},{"language":"es","tag":"Referencia de la API","count":159},{"language":"fr-CA","tag":"Référence de l’API","count":159},{"language":"sv","tag":"API-referens","count":159},{"language":"en","tag":"Buyer API","count":123},{"language":"es","tag":"Buyer API","count":123},{"language":"fr-CA","tag":"API Acheteur","count":123},{"language":"sv","tag":"Buyer API","count":123},{"language":"en","tag":"Supplier API","count":90},{"language":"es","tag":"Supplier API","count":90},{"language":"fr-CA","tag":"API Fournisseur","count":90},{"language":"sv","tag":"Supplier API","count":90},{"language":"en","tag":"Internal Teams API","count":32},{"language":"es","tag":"Internal Teams API","count":32},{"language":"fr-CA","tag":"Internal Teams API","count":32},{"language":"sv","tag":"Internal Teams API","count":32},{"language":"en","tag":"Endpoints","count":29},{"language":"es","tag":"Endpoints","count":29},{"language":"fr-CA","tag":"Points de terminaison","count":29},{"language":"sv","tag":"Slutpunkter","count":29},{"language":"en","tag":"Work Orders","count":25},{"language":"es","tag":"Work Orders","count":25},{"language":"fr-CA","tag":"Work Orders","count":25},{"language":"sv","tag":"Work Orders","count":25},{"language":"en","tag":"Guides","count":20},{"language":"es","tag":"Guías","count":20},{"language":"fr-CA","tag":"Guides","count":20},{"language":"sv","tag":"Guider","count":20},{"language":"en","tag":"Invoices","count":16},{"language":"es","tag":"Invoices","count":16},{"language":"fr-CA","tag":"Invoices","count":16},{"language":"sv","tag":"Invoices","count":16},{"language":"en","tag":"Service Calls","count":12},{"language":"en","tag":"Purchase Orders","count":12},{"language":"es","tag":"Service Calls","count":12},{"language":"es","tag":"Purchase Orders","count":12},{"language":"fr-CA","tag":"Service Calls","count":12},{"language":"fr-CA","tag":"Purchase Orders","count":12},{"language":"sv","tag":"Service Calls","count":12},{"language":"sv","tag":"Purchase Orders","count":12}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"sv/supplier-reference/work-orders/create-a-work-order","slug":"/sv/supplier-reference/work-orders/create-a-work-order","pageMetadata":{"title":"Create a work order","description":"Creates a supplier-initiated work order. Requires the API key's contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location's buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer's approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer's internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company's configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer's supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/work_orders","href":"/sv/supplier-reference/work-orders/create-a-work-order","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates a supplier-initiated work order. Requires the API key’s contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location’s buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer’s approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer’s internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company’s configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer’s supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a work order","description":"Creates a supplier-initiated work order. Requires the API key's contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location's buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer's approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer's internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company's configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer's supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/work_orders","href":"/sv/supplier-reference/work-orders/create-a-work-order","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createWorkOrder","summary":"Create a work order","description":"Creates a supplier-initiated work order. Requires the API key's contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location's buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer's approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer's internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company's configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer's supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.","tags":["Work Orders"],"responses":{"200":"506b9e11-e538-4a55-8430-57b325953438","400":"fd81c9fd-eb06-4625-9622-e1bd684685cf","401":"aefb85bd-1580-458f-a795-c7ceab6e33d5","429":"02e2475f-5d55-4765-95eb-afe14d13a565"},"requestBody":"0c0efb17-cacb-4de4-b8c5-eaf0a98c0512","method":"post","type":"path","servers":["39a68869-7562-43c2-a9b9-dd3eec2625ef"],"security":["31024452-7f0c-4bf6-a021-77cab71ffc70"],"path":"/v1/supplier/work_order/work_orders","baseUrlOptions":["https://api.useopenwrench.com/api/external"],"title":"Create a work order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"REQUIRED","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"locationId":{"type":"integer","format":"int64","description":"REQUIRED. The buyer location the work order is for; also determines the server-set buyerFacilityId and buyerCompanyId.","isRequired":true,"uniqueKey":"locationId","typeLabel":"integer\u003cint64>"},"problemTypeId":{"type":"integer","description":"Optional; when omitted the first leaf problem type of the location's buyer company is used. Must reference an existing problem type.","uniqueKey":"problemTypeId","typeLabel":"integer"},"woPriorityId":{"type":"integer","description":"Optional; when omitted a default priority for the buyer company is chosen (preference order 3,4,5,2,1, following linkedTo mappings).","uniqueKey":"woPriorityId","typeLabel":"integer"},"woNumber":{"type":"string","uniqueKey":"woNumber","typeLabel":"string"},"poNumber":{"type":"string","uniqueKey":"poNumber","typeLabel":"string"},"buyerProjectIds":{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"buyerProjectIds.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"buyerProjectIds","typeLabel":"integer\u003cint64>[]"},"isPM":{"type":"boolean","uniqueKey":"isPM","typeLabel":"boolean"},"isCapex":{"type":"boolean","uniqueKey":"isCapex","typeLabel":"boolean"},"isStale":{"type":"boolean","uniqueKey":"isStale","typeLabel":"boolean"},"isSupplierInitiated":{"type":"boolean","description":"Set to true by the server for third-party supplier keys; a value in the body is ignored there. Keys of a buyer's internal service team and paying suppliers creating for a client they manage keep the value they send.","uniqueKey":"isSupplierInitiated","typeLabel":"boolean"},"isCustomerInitiated":{"type":"boolean","uniqueKey":"isCustomerInitiated","typeLabel":"boolean"},"isWarranty":{"type":"boolean","uniqueKey":"isWarranty","typeLabel":"boolean"},"status":{"type":"string","description":"Ignored for third-party supplier keys: the server seeds SupplierInitiatedPendingApproval and the buyer's approval configuration resolves the initial status. Honoured only for keys of a buyer's internal service team and for paying suppliers creating at a location of a client they manage; must be a valid work-order status name (invalid names are rejected), and when omitted the initial status is derived from the buyer company's configuration. On an internal service team hand-off to another supplier facility, omitting status or sending SupplierInitiatedPendingApproval seeds PendingConfirmationByServiceProvider.","uniqueKey":"status","typeLabel":"string"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"assetId":{"type":"integer","format":"int64","description":"Must reference an existing asset; its areaId is inherited when areaId is not given","uniqueKey":"assetId","typeLabel":"integer\u003cint64>"},"subAssetIds":{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"subAssetIds.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"subAssetIds","typeLabel":"integer\u003cint64>[]"},"isAssetDown":{"type":"boolean","description":"Default false","uniqueKey":"isAssetDown","typeLabel":"boolean"},"areaId":{"type":"integer","format":"int64","uniqueKey":"areaId","typeLabel":"integer\u003cint64>"},"workCategoryId":{"type":"integer","uniqueKey":"workCategoryId","typeLabel":"integer"},"needApproval":{"type":"boolean","description":"NOTE: the key is needApproval (no 's')","uniqueKey":"needApproval","typeLabel":"boolean"},"requiresSignature":{"type":"boolean","uniqueKey":"requiresSignature","typeLabel":"boolean"},"approvalRequiredFrom":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"uniqueKey":"approvalRequiredFrom.items.[INDEX]","typeLabel":"object"},"description":"ApprovalRequirement objects","uniqueKey":"approvalRequiredFrom","typeLabel":"object[]"},"images":{"type":"array","items":{"type":"string","uniqueKey":"images.items.[INDEX]","typeLabel":"string"},"uniqueKey":"images","typeLabel":"string[]"},"parts":{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"parts.items.[INDEX]","typeLabel":"integer\u003cint64>"},"description":"Part ids (mapped to the work order's partIds)","uniqueKey":"parts","typeLabel":"integer\u003cint64>[]"},"skipSupplier":{"type":"boolean","uniqueKey":"skipSupplier","typeLabel":"boolean"},"contractorDetails":{"type":"object","properties":{},"description":"ContractorDetails object","additionalProperties":true,"uniqueKey":"contractorDetails","typeLabel":"object"},"assignmentChanges":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"uniqueKey":"assignmentChanges.items.[INDEX]","typeLabel":"object"},"description":"AssignmentChange objects","uniqueKey":"assignmentChanges","typeLabel":"object[]"},"scheduledAt":{"type":"string","format":"date-time","description":"ISO 8601 date-time","uniqueKey":"scheduledAt","typeLabel":"string\u003cdate-time>"},"estimatedCompletionDate":{"type":"string","format":"date-time","description":"ISO 8601 date-time","uniqueKey":"estimatedCompletionDate","typeLabel":"string\u003cdate-time>"},"dueDate":{"type":"string","format":"date-time","description":"ISO 8601 date-time","uniqueKey":"dueDate","typeLabel":"string\u003cdate-time>"},"price":{"type":"number","uniqueKey":"price","typeLabel":"number"},"currencyId":{"type":"string","uniqueKey":"currencyId","typeLabel":"string"},"terms":{"type":"string","uniqueKey":"terms","typeLabel":"string"},"nte":{"type":"number","uniqueKey":"nte","typeLabel":"number"},"nteInLocationCurrency":{"type":"number","uniqueKey":"nteInLocationCurrency","typeLabel":"number"},"locationCurrencyId":{"type":"string","uniqueKey":"locationCurrencyId","typeLabel":"string"},"currencyExchangeRateLocationToSupplier":{"type":"number","uniqueKey":"currencyExchangeRateLocationToSupplier","typeLabel":"number"},"currencyExchangeRateBuyerToLocation":{"type":"number","uniqueKey":"currencyExchangeRateBuyerToLocation","typeLabel":"number"},"statusChanges":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"uniqueKey":"statusChanges.items.[INDEX]","typeLabel":"object"},"description":"StatusChange objects","uniqueKey":"statusChanges","typeLabel":"object[]"},"submittedByName":{"type":"string","uniqueKey":"submittedByName","typeLabel":"string"},"hasBuyerArchived":{"type":"boolean","uniqueKey":"hasBuyerArchived","typeLabel":"boolean"},"hasSupplierArchived":{"type":"boolean","uniqueKey":"hasSupplierArchived","typeLabel":"boolean"},"buyerAttachments":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","description":"Original file name (non-ASCII characters removed on upload)","isRequired":true,"uniqueKey":"buyerAttachments.items.[INDEX].fileName","typeLabel":"string"},"fileId":{"type":"string","description":"Server-assigned file identifier; use with the file download endpoint","isRequired":true,"uniqueKey":"buyerAttachments.items.[INDEX].fileId","typeLabel":"string"}},"required":["fileName","fileId"],"description":"Uploaded-file reference, as returned by the file upload endpoint and used in all attachment fields.","uniqueKey":"buyerAttachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"buyerAttachments","typeLabel":"object[]"},"supplierAttachments":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","description":"Original file name (non-ASCII characters removed on upload)","isRequired":true,"uniqueKey":"supplierAttachments.items.[INDEX].fileName","typeLabel":"string"},"fileId":{"type":"string","description":"Server-assigned file identifier; use with the file download endpoint","isRequired":true,"uniqueKey":"supplierAttachments.items.[INDEX].fileId","typeLabel":"string"}},"required":["fileName","fileId"],"description":"Uploaded-file reference, as returned by the file upload endpoint and used in all attachment fields.","uniqueKey":"supplierAttachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"supplierAttachments","typeLabel":"object[]"},"fromRequestPortal":{"type":"boolean","uniqueKey":"fromRequestPortal","typeLabel":"boolean"},"fromClientPortal":{"type":"boolean","uniqueKey":"fromClientPortal","typeLabel":"boolean"},"forcePendingStatusOnCreateFromPortal":{"type":"boolean","uniqueKey":"forcePendingStatusOnCreateFromPortal","typeLabel":"boolean"},"resolutionTypeId":{"type":"integer","uniqueKey":"resolutionTypeId","typeLabel":"integer"},"plannedMaintenanceScheduleId":{"type":"integer","format":"int64","uniqueKey":"plannedMaintenanceScheduleId","typeLabel":"integer\u003cint64>"},"taskCompletionMandatory":{"type":"boolean","uniqueKey":"taskCompletionMandatory","typeLabel":"boolean"},"isPrivate":{"type":"boolean","uniqueKey":"isPrivate","typeLabel":"boolean"},"walkThroughId":{"type":"integer","format":"int64","description":"Must be set together with siteSurveyTaskTitleId","uniqueKey":"walkThroughId","typeLabel":"integer\u003cint64>"},"siteSurveyTaskTitleId":{"type":"string","description":"Must be set together with walkThroughId","uniqueKey":"siteSurveyTaskTitleId","typeLabel":"string"},"includeWalkthroughTaskList":{"type":"boolean","uniqueKey":"includeWalkthroughTaskList","typeLabel":"boolean"},"supplierPrimaryContactEmail":{"type":"string","uniqueKey":"supplierPrimaryContactEmail","typeLabel":"string"}},"required":["title","locationId"],"description":"Work-order create payload (verified against the shared work-order constructor). createdBy, supplierFacilityId, buyerFacilityId and buyerCompanyId are always overwritten server-side from the API key and the location - caller-supplied values for them are ignored. Unknown fields are ignored.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","locationId":123,"problemTypeId":123,"woPriorityId":123,"woNumber":"\u003cstring>","poNumber":"\u003cstring>","buyerProjectIds":[123],"isPM":true,"isCapex":true,"isStale":true,"isSupplierInitiated":true,"isCustomerInitiated":true,"isWarranty":true,"status":"\u003cstring>","description":"\u003cstring>","assetId":123,"subAssetIds":[123],"isAssetDown":true,"areaId":123,"workCategoryId":123,"needApproval":true,"requiresSignature":true,"approvalRequiredFrom":[{}],"images":["\u003cstring>"],"parts":[123],"skipSupplier":true,"contractorDetails":{},"assignmentChanges":[{}],"scheduledAt":"2023-11-07T05:31:56Z","estimatedCompletionDate":"2023-11-07T05:31:56Z","dueDate":"2023-11-07T05:31:56Z","price":123,"currencyId":"\u003cstring>","terms":"\u003cstring>","nte":123,"nteInLocationCurrency":123,"locationCurrencyId":"\u003cstring>","currencyExchangeRateLocationToSupplier":123,"currencyExchangeRateBuyerToLocation":123,"statusChanges":[{}],"submittedByName":"\u003cstring>","hasBuyerArchived":true,"hasSupplierArchived":true,"buyerAttachments":[{"fileName":"\u003cstring>","fileId":"\u003cstring>"}],"supplierAttachments":[{"fileName":"\u003cstring>","fileId":"\u003cstring>"}],"fromRequestPortal":true,"fromClientPortal":true,"forcePendingStatusOnCreateFromPortal":true,"resolutionTypeId":123,"plannedMaintenanceScheduleId":123,"taskCompletionMandatory":true,"isPrivate":true,"walkThroughId":123,"siteSurveyTaskTitleId":"\u003cstring>","includeWalkthroughTaskList":true,"supplierPrimaryContactEmail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"506b9e11-e538-4a55-8430-57b325953438":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"Entity type label, e.g. \"WorkOrder\". Endpoints that derive it via Scala reflection (most generic list/get endpoints) may return the fully qualified server class name instead (e.g. \"models.workorder.WorkOrder\"); treat this field as informational.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.id.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.id","typeLabel":"integer\u003cint64> | null"},"buyerSpecificId":{"oneOf":[{"type":"string","uniqueKey":"data.buyerSpecificId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.buyerSpecificId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.buyerSpecificId","typeLabel":"string | null"},"woNumber":{"oneOf":[{"type":"string","uniqueKey":"data.woNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.woNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.woNumber","typeLabel":"string | null"},"poNumber":{"oneOf":[{"type":"string","uniqueKey":"data.poNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.poNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.poNumber","typeLabel":"string | null"},"isPM":{"type":"boolean","description":"Planned-maintenance work order","uniqueKey":"data.isPM","typeLabel":"boolean"},"isCapex":{"type":"boolean","uniqueKey":"data.isCapex","typeLabel":"boolean"},"isStale":{"type":"boolean","uniqueKey":"data.isStale","typeLabel":"boolean"},"isSupplierInitiated":{"type":"boolean","uniqueKey":"data.isSupplierInitiated","typeLabel":"boolean"},"isCustomerInitiated":{"type":"boolean","uniqueKey":"data.isCustomerInitiated","typeLabel":"boolean"},"isWarranty":{"type":"boolean","uniqueKey":"data.isWarranty","typeLabel":"boolean"},"title":{"type":"string","uniqueKey":"data.title","typeLabel":"string"},"displayStatus":{"type":"string","uniqueKey":"data.displayStatus","typeLabel":"string"},"status":{"type":"string","uniqueKey":"data.status","typeLabel":"string"},"statusChangedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.statusChangedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.statusChangedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.statusChangedAt","typeLabel":"string\u003cdate-time> | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.description","typeLabel":"string | null"},"assetId":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.assetId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.assetId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.assetId","typeLabel":"integer\u003cint64> | null"},"subAssetIds":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"data.subAssetIds.oneOf.0.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"data.subAssetIds.oneOf.0","typeLabel":"integer\u003cint64>[]"},{"type":"null","uniqueKey":"data.subAssetIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.subAssetIds","typeLabel":"integer\u003cint64>[] | null"},"isAssetDown":{"type":"boolean","uniqueKey":"data.isAssetDown","typeLabel":"boolean"},"locationId":{"type":"integer","format":"int64","uniqueKey":"data.locationId","typeLabel":"integer\u003cint64>"},"areaId":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.areaId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.areaId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.areaId","typeLabel":"integer\u003cint64> | null"},"workCategoryId":{"oneOf":[{"type":"integer","uniqueKey":"data.workCategoryId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.workCategoryId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.workCategoryId","typeLabel":"integer | null"},"spendCategoryId":{"oneOf":[{"type":"integer","uniqueKey":"data.spendCategoryId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.spendCategoryId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.spendCategoryId","typeLabel":"integer | null"},"problemTypeId":{"type":"integer","uniqueKey":"data.problemTypeId","typeLabel":"integer"},"problemType":{"oneOf":[{"type":"object","description":"Problem type (abridged - model source not available; fields inferred from controller usage).","properties":{"id":{"oneOf":[{"type":"integer","uniqueKey":"data.problemType.oneOf.0.id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.problemType.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.problemType.oneOf.0.id","typeLabel":"integer | null"},"name":{"type":"string","uniqueKey":"data.problemType.oneOf.0.name","typeLabel":"string"},"buyerCompanyId":{"type":"integer","uniqueKey":"data.problemType.oneOf.0.buyerCompanyId","typeLabel":"integer"},"hasChildren":{"type":"boolean","uniqueKey":"data.problemType.oneOf.0.hasChildren","typeLabel":"boolean"}},"additionalProperties":true,"uniqueKey":"data.problemType.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.problemType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.problemType","typeLabel":"object | null"},"woPriorityId":{"oneOf":[{"type":"integer","uniqueKey":"data.woPriorityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.woPriorityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.woPriorityId","typeLabel":"integer | null"},"needsApproval":{"type":"boolean","uniqueKey":"data.needsApproval","typeLabel":"boolean"},"images":{"type":"array","items":{"type":"string","uniqueKey":"data.images.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.images","typeLabel":"string[]"},"dueDate":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.dueDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.dueDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.dueDate","typeLabel":"string\u003cdate-time> | null"},"scheduledAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.scheduledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.scheduledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.scheduledAt","typeLabel":"string\u003cdate-time> | null"},"estimatedCompletionDate":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.estimatedCompletionDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.estimatedCompletionDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.estimatedCompletionDate","typeLabel":"string\u003cdate-time> | null"},"completedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.completedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.completedAt","typeLabel":"string\u003cdate-time> | null"},"assignedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.assignedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.assignedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.assignedAt","typeLabel":"string\u003cdate-time> | null"},"supplierRespondedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.supplierRespondedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.supplierRespondedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.supplierRespondedAt","typeLabel":"string\u003cdate-time> | null"},"supplierFacilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.supplierFacilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.supplierFacilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.supplierFacilityId","typeLabel":"integer | null"},"supplierPrimaryContactEmail":{"oneOf":[{"type":"string","uniqueKey":"data.supplierPrimaryContactEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.supplierPrimaryContactEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.supplierPrimaryContactEmail","typeLabel":"string | null"},"price":{"oneOf":[{"type":"number","uniqueKey":"data.price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.price","typeLabel":"number | null"},"currencyId":{"type":"string","uniqueKey":"data.currencyId","typeLabel":"string"},"nte":{"oneOf":[{"type":"number","description":"Not-to-exceed amount","uniqueKey":"data.nte.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.nte.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.nte","typeLabel":"number | null"},"notes":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].text","typeLabel":"string"},"noteAddedBy":{"type":"string","description":"Email of the author","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteAddedBy","typeLabel":"string"},"noteAddedAt":{"type":"string","format":"date-time","description":"ISO 8601 date-time","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteAddedAt","typeLabel":"string\u003cdate-time>"},"id":{"oneOf":[{"type":"integer","description":"Per-note row id, populated on read where the note store is normalized","format":"int64","uniqueKey":"data.notes.items.[INDEX].id.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].id","typeLabel":"integer\u003cint64> | null"},"photo":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].photo.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].photo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].photo","typeLabel":"string | null"},"video":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].video.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].video.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].video","typeLabel":"string | null"},"audio":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].audio.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].audio.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].audio","typeLabel":"string | null"},"otherFile":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].otherFile.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].otherFile.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].otherFile","typeLabel":"string | null"},"elements":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].type","typeLabel":"string"},"value":{"type":"string","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].value","typeLabel":"string"},"userObject":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX].userObject","typeLabel":"object | null"}},"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.notes.items.[INDEX].elements.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].elements.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].elements","typeLabel":"object[] | null"},"noteReadDetails":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"readAt":{"type":"string","format":"date-time","description":"ISO 8601 date-time","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readAt","typeLabel":"string\u003cdate-time>"},"readBy":{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readBy","typeLabel":"string"},"readByContact":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX].readByContact","typeLabel":"object | null"}},"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteReadDetails.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteReadDetails","typeLabel":"object[] | null"},"noteAddedByContact":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByContact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByContact","typeLabel":"object | null"},"noteType":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteType","typeLabel":"string | null"},"noteAddedByType":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].noteAddedByType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].noteAddedByType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].noteAddedByType","typeLabel":"string | null"},"caption":{"oneOf":[{"type":"string","uniqueKey":"data.notes.items.[INDEX].caption.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].caption.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].caption","typeLabel":"string | null"},"isNoteAwaitingResponse":{"oneOf":[{"type":"boolean","uniqueKey":"data.notes.items.[INDEX].isNoteAwaitingResponse.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.notes.items.[INDEX].isNoteAwaitingResponse.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes.items.[INDEX].isNoteAwaitingResponse","typeLabel":"boolean | null"}},"required":["text","noteAddedBy","noteAddedAt"],"description":"Work-order note (abridged - additional media/caption/transcription fields exist).","additionalProperties":true,"uniqueKey":"data.notes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.notes","typeLabel":"object[]"},"lastNote":{"oneOf":[{"type":"string","uniqueKey":"data.lastNote.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastNote.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastNote","typeLabel":"string | null"},"lastNoteAddedBy":{"oneOf":[{"type":"string","uniqueKey":"data.lastNoteAddedBy.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastNoteAddedBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastNoteAddedBy","typeLabel":"string | null"},"lastNoteAddedAt":{"oneOf":[{"type":"integer","description":"Epoch millis","format":"int64","uniqueKey":"data.lastNoteAddedAt.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.lastNoteAddedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastNoteAddedAt","typeLabel":"integer\u003cint64> | null"},"buyerFacilityId":{"type":"integer","uniqueKey":"data.buyerFacilityId","typeLabel":"integer"},"buyerCompanyId":{"type":"integer","uniqueKey":"data.buyerCompanyId","typeLabel":"integer"},"createdBy":{"type":"string","uniqueKey":"data.createdBy","typeLabel":"string"},"buyerSubscriberEmails":{"type":"array","items":{"type":"string","uniqueKey":"data.buyerSubscriberEmails.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.buyerSubscriberEmails","typeLabel":"string[]"},"supplierSubscriberEmails":{"type":"array","items":{"type":"string","uniqueKey":"data.supplierSubscriberEmails.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.supplierSubscriberEmails","typeLabel":"string[]"},"associatedServiceCalls":{"type":"array","items":{"type":"object","properties":{"supplierFacilityId":{"type":"integer","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].supplierFacilityId","typeLabel":"integer"},"numberOfTechs":{"type":"integer","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].numberOfTechs","typeLabel":"integer"},"workOrderId":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].workOrderId","typeLabel":"integer\u003cint64>"},"locationId":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].locationId","typeLabel":"integer\u003cint64>"},"buyerFacilityId":{"type":"integer","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].buyerFacilityId","typeLabel":"integer"},"buyerCompanyId":{"type":"integer","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].buyerCompanyId","typeLabel":"integer"},"isDeleted":{"type":"boolean","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].isDeleted","typeLabel":"boolean"},"id":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.associatedServiceCalls.items.[INDEX].id.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].id","typeLabel":"integer\u003cint64> | null"},"leadTechnicianEmail":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmail","typeLabel":"string | null"},"leadTechnicianEmailContact":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].leadTechnicianEmailContact","typeLabel":"object | null"},"additionalTechnicianEmails":{"type":"array","items":{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicianEmails.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicianEmails","typeLabel":"string[]"},"additionalTechnicians":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["email","nameGiven","nameFamily","contactType"],"description":"Contact record (abridged - the full Contact model carries additional fields).","additionalProperties":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].additionalTechnicians","typeLabel":"object[]"},"stockLocationIds":{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocationIds.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocationIds","typeLabel":"integer\u003cint64>[]"},"stockLocations":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].name","typeLabel":"string"},"isMobile":{"type":"boolean","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].isMobile","typeLabel":"boolean"},"supplierFacilityId":{"type":"integer","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].supplierFacilityId","typeLabel":"integer"},"supplierCompanyId":{"type":"integer","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].supplierCompanyId","typeLabel":"integer"},"isActive":{"type":"boolean","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].isActive","typeLabel":"boolean"},"allowEquipmentForwarding":{"type":"boolean","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].allowEquipmentForwarding","typeLabel":"boolean"},"isDeleted":{"type":"boolean","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].isDeleted","typeLabel":"boolean"},"id":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].id.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].id","typeLabel":"integer\u003cint64> | null"},"warehouseId":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].warehouseId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].warehouseId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].warehouseId","typeLabel":"string | null"},"images":{"type":"array","items":{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].images.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].images","typeLabel":"string[]"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].description","typeLabel":"string | null"},"address":{"oneOf":[{"type":"object","description":"Postal address object (shape abridged - model source not available).","properties":{},"additionalProperties":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].address.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].address","typeLabel":"object | null"},"latitude":{"oneOf":[{"type":"number","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].latitude.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].latitude.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].latitude","typeLabel":"number | null"},"longitude":{"oneOf":[{"type":"number","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].longitude.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].longitude.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].longitude","typeLabel":"number | null"},"timeZoneId":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].timeZoneId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].timeZoneId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].timeZoneId","typeLabel":"string | null"},"locationId":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].locationId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].locationId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].locationId","typeLabel":"integer\u003cint64> | null"},"burdenRates":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].burdenRates.oneOf.0.items.[INDEX].year","typeLabel":"integer"},"rate":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].burdenRates.oneOf.0.items.[INDEX].rate","typeLabel":"string"}},"required":["year","rate"],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].burdenRates.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].burdenRates.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].burdenRates.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].burdenRates","typeLabel":"object[] | null"},"taxRates":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].taxRates.oneOf.0.items.[INDEX].year","typeLabel":"integer"},"rate":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].taxRates.oneOf.0.items.[INDEX].rate","typeLabel":"string"}},"required":["year","rate"],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].taxRates.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].taxRates.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].taxRates.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].taxRates","typeLabel":"object[] | null"},"purchaseOrderPrefix":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].purchaseOrderPrefix.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].purchaseOrderPrefix.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].purchaseOrderPrefix","typeLabel":"string | null"},"glCode":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].glCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].glCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].glCode","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time> | null"},"deletedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].deletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX].deletedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["name","isMobile","supplierFacilityId","supplierCompanyId","isActive","allowEquipmentForwarding","isDeleted"],"additionalProperties":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].stockLocations","typeLabel":"object[]"},"serviceScheduledAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].serviceScheduledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].serviceScheduledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].serviceScheduledAt","typeLabel":"string\u003cdate-time> | null"},"checkInByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByEmail","typeLabel":"string | null"},"checkInByContact":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInByContact","typeLabel":"object | null"},"checkInStatus":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInStatus.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInStatus","typeLabel":"string | null"},"checkInTime":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInTime.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInTime","typeLabel":"string\u003cdate-time> | null"},"checkInNotes":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInNotes.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInNotes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInNotes","typeLabel":"string | null"},"checkInImages":{"type":"array","items":{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInImages.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInImages","typeLabel":"string[]"},"checkInGeoLocation":{"oneOf":[{"type":"object","required":["lat","long"],"properties":{"lat":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInGeoLocation.oneOf.0.lat","typeLabel":"string"},"long":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInGeoLocation.oneOf.0.long","typeLabel":"string"}},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInGeoLocation.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInGeoLocation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInGeoLocation","typeLabel":"object | null"},"checkInAudio":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInAudio.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInAudio.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInAudio","typeLabel":"string | null"},"checkInAudioTranscription":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInAudioTranscription.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInAudioTranscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkInAudioTranscription","typeLabel":"string | null"},"checkOutByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByEmail","typeLabel":"string | null"},"checkOutByContact":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutByContact","typeLabel":"object | null"},"checkOutStatus":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutStatus.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutStatus","typeLabel":"string | null"},"checkOutTime":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutTime.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutTime","typeLabel":"string\u003cdate-time> | null"},"checkOutNotes":{"oneOf":[{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutNotes.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutNotes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutNotes","typeLabel":"string | null"},"checkOutImages":{"type":"array","items":{"type":"string","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutImages.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutImages","typeLabel":"string[]"},"checkOutGeoLocation":{"oneOf":[{"type":"object","required":["lat","long"],"properties":{"lat":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutGeoLocation.oneOf.0.lat","typeLabel":"string"},"long":{"type":"string","isRequired":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutGeoLocation.oneOf.0.long","typeLabel":"string"}},"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutGeoLocation.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutGeoLocation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].checkOutGeoLocation","typeLabel":"object | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time> | null"},"deletedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.associatedServiceCalls.items.[INDEX].deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.associatedServiceCalls.items.[INDEX].deletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.associatedServiceCalls.items.[INDEX].deletedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["supplierFacilityId","numberOfTechs","workOrderId","locationId","buyerFacilityId","buyerCompanyId","isDeleted"],"description":"Service call. Captioned-image and audio-transcription companion fields omitted here.","additionalProperties":true,"uniqueKey":"data.associatedServiceCalls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.associatedServiceCalls","typeLabel":"object[]"},"lastServiceCall":{"oneOf":[{"type":"object","description":"Service call. Captioned-image and audio-transcription companion fields omitted here.","required":["supplierFacilityId","numberOfTechs","workOrderId","locationId","buyerFacilityId","buyerCompanyId","isDeleted"],"properties":{"supplierFacilityId":{"type":"integer","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.supplierFacilityId","typeLabel":"integer"},"numberOfTechs":{"type":"integer","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.numberOfTechs","typeLabel":"integer"},"workOrderId":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.workOrderId","typeLabel":"integer\u003cint64>"},"locationId":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.locationId","typeLabel":"integer\u003cint64>"},"buyerFacilityId":{"type":"integer","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.buyerFacilityId","typeLabel":"integer"},"buyerCompanyId":{"type":"integer","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.buyerCompanyId","typeLabel":"integer"},"isDeleted":{"type":"boolean","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.isDeleted","typeLabel":"boolean"},"id":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.lastServiceCall.oneOf.0.id.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.id","typeLabel":"integer\u003cint64> | null"},"leadTechnicianEmail":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmail","typeLabel":"string | null"},"leadTechnicianEmailContact":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.leadTechnicianEmailContact","typeLabel":"object | null"},"additionalTechnicianEmails":{"type":"array","items":{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicianEmails.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicianEmails","typeLabel":"string[]"},"additionalTechnicians":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["email","nameGiven","nameFamily","contactType"],"description":"Contact record (abridged - the full Contact model carries additional fields).","additionalProperties":true,"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.lastServiceCall.oneOf.0.additionalTechnicians","typeLabel":"object[]"},"stockLocationIds":{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocationIds.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocationIds","typeLabel":"integer\u003cint64>[]"},"stockLocations":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].name","typeLabel":"string"},"isMobile":{"type":"boolean","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].isMobile","typeLabel":"boolean"},"supplierFacilityId":{"type":"integer","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].supplierFacilityId","typeLabel":"integer"},"supplierCompanyId":{"type":"integer","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].supplierCompanyId","typeLabel":"integer"},"isActive":{"type":"boolean","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].isActive","typeLabel":"boolean"},"allowEquipmentForwarding":{"type":"boolean","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].allowEquipmentForwarding","typeLabel":"boolean"},"isDeleted":{"type":"boolean","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].isDeleted","typeLabel":"boolean"},"id":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].id.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].id","typeLabel":"integer\u003cint64> | null"},"warehouseId":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].warehouseId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].warehouseId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].warehouseId","typeLabel":"string | null"},"images":{"type":"array","items":{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].images.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].images","typeLabel":"string[]"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].description","typeLabel":"string | null"},"address":{"oneOf":[{"type":"object","description":"Postal address object (shape abridged - model source not available).","properties":{},"additionalProperties":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].address.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].address","typeLabel":"object | null"},"latitude":{"oneOf":[{"type":"number","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].latitude.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].latitude.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].latitude","typeLabel":"number | null"},"longitude":{"oneOf":[{"type":"number","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].longitude.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].longitude.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].longitude","typeLabel":"number | null"},"timeZoneId":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].timeZoneId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].timeZoneId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].timeZoneId","typeLabel":"string | null"},"locationId":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].locationId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].locationId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].locationId","typeLabel":"integer\u003cint64> | null"},"burdenRates":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].burdenRates.oneOf.0.items.[INDEX].year","typeLabel":"integer"},"rate":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].burdenRates.oneOf.0.items.[INDEX].rate","typeLabel":"string"}},"required":["year","rate"],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].burdenRates.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].burdenRates.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].burdenRates.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].burdenRates","typeLabel":"object[] | null"},"taxRates":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].taxRates.oneOf.0.items.[INDEX].year","typeLabel":"integer"},"rate":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].taxRates.oneOf.0.items.[INDEX].rate","typeLabel":"string"}},"required":["year","rate"],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].taxRates.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].taxRates.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].taxRates.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].taxRates","typeLabel":"object[] | null"},"purchaseOrderPrefix":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].purchaseOrderPrefix.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].purchaseOrderPrefix.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].purchaseOrderPrefix","typeLabel":"string | null"},"glCode":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].glCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].glCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].glCode","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time> | null"},"deletedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].deletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX].deletedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["name","isMobile","supplierFacilityId","supplierCompanyId","isActive","allowEquipmentForwarding","isDeleted"],"additionalProperties":true,"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.lastServiceCall.oneOf.0.stockLocations","typeLabel":"object[]"},"serviceScheduledAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.serviceScheduledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.serviceScheduledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.serviceScheduledAt","typeLabel":"string\u003cdate-time> | null"},"checkInByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByEmail","typeLabel":"string | null"},"checkInByContact":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInByContact","typeLabel":"object | null"},"checkInStatus":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInStatus.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInStatus","typeLabel":"string | null"},"checkInTime":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.checkInTime.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInTime","typeLabel":"string\u003cdate-time> | null"},"checkInNotes":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInNotes.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInNotes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInNotes","typeLabel":"string | null"},"checkInImages":{"type":"array","items":{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInImages.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.lastServiceCall.oneOf.0.checkInImages","typeLabel":"string[]"},"checkInGeoLocation":{"oneOf":[{"type":"object","required":["lat","long"],"properties":{"lat":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkInGeoLocation.oneOf.0.lat","typeLabel":"string"},"long":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkInGeoLocation.oneOf.0.long","typeLabel":"string"}},"uniqueKey":"data.lastServiceCall.oneOf.0.checkInGeoLocation.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInGeoLocation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInGeoLocation","typeLabel":"object | null"},"checkInAudio":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInAudio.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInAudio.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInAudio","typeLabel":"string | null"},"checkInAudioTranscription":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkInAudioTranscription.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkInAudioTranscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkInAudioTranscription","typeLabel":"string | null"},"checkOutByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByEmail","typeLabel":"string | null"},"checkOutByContact":{"oneOf":[{"type":"object","description":"Contact record (abridged - the full Contact model carries additional fields).","required":["email","nameGiven","nameFamily","contactType"],"properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.email","typeLabel":"string"},"nameGiven":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.nameGiven","typeLabel":"string"},"nameFamily":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.nameFamily","typeLabel":"string"},"contactType":{"type":"string","description":"\"buyer\" or \"supplier\"","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.contactType","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.title","typeLabel":"string | null"},"department":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.department.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.department.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.department","typeLabel":"string | null"},"facilityId":{"oneOf":[{"type":"integer","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.facilityId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.facilityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.facilityId","typeLabel":"integer | null"},"isSharedContact":{"type":"boolean","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.isSharedContact","typeLabel":"boolean"},"readOnlyAccess":{"oneOf":[{"type":"boolean","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.readOnlyAccess.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.readOnlyAccess.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.readOnlyAccess","typeLabel":"boolean | null"},"invitedByEmail":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.invitedByEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.invitedByEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.invitedByEmail","typeLabel":"string | null"},"invitedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.invitedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.invitedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.invitedAt","typeLabel":"string\u003cdate-time> | null"},"epaCertificationType":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.epaCertificationType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.epaCertificationType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.epaCertificationType","typeLabel":"string | null"},"epaCertificationNumber":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.epaCertificationNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.epaCertificationNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.epaCertificationNumber","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutByContact","typeLabel":"object | null"},"checkOutStatus":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutStatus.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutStatus","typeLabel":"string | null"},"checkOutTime":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutTime.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutTime","typeLabel":"string\u003cdate-time> | null"},"checkOutNotes":{"oneOf":[{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutNotes.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutNotes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutNotes","typeLabel":"string | null"},"checkOutImages":{"type":"array","items":{"type":"string","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutImages.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutImages","typeLabel":"string[]"},"checkOutGeoLocation":{"oneOf":[{"type":"object","required":["lat","long"],"properties":{"lat":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutGeoLocation.oneOf.0.lat","typeLabel":"string"},"long":{"type":"string","isRequired":true,"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutGeoLocation.oneOf.0.long","typeLabel":"string"}},"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutGeoLocation.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.checkOutGeoLocation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.checkOutGeoLocation","typeLabel":"object | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"},"deletedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.lastServiceCall.oneOf.0.deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.0.deletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall.oneOf.0.deletedAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":true,"uniqueKey":"data.lastServiceCall.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.lastServiceCall.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastServiceCall","typeLabel":"object | null"},"buyerAttachments":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","description":"Original file name (non-ASCII characters removed on upload)","isRequired":true,"uniqueKey":"data.buyerAttachments.items.[INDEX].fileName","typeLabel":"string"},"fileId":{"type":"string","description":"Server-assigned file identifier; use with the file download endpoint","isRequired":true,"uniqueKey":"data.buyerAttachments.items.[INDEX].fileId","typeLabel":"string"}},"required":["fileName","fileId"],"description":"Uploaded-file reference, as returned by the file upload endpoint and used in all attachment fields.","uniqueKey":"data.buyerAttachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.buyerAttachments","typeLabel":"object[]"},"supplierAttachments":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","description":"Original file name (non-ASCII characters removed on upload)","isRequired":true,"uniqueKey":"data.supplierAttachments.items.[INDEX].fileName","typeLabel":"string"},"fileId":{"type":"string","description":"Server-assigned file identifier; use with the file download endpoint","isRequired":true,"uniqueKey":"data.supplierAttachments.items.[INDEX].fileId","typeLabel":"string"}},"required":["fileName","fileId"],"description":"Uploaded-file reference, as returned by the file upload endpoint and used in all attachment fields.","uniqueKey":"data.supplierAttachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.supplierAttachments","typeLabel":"object[]"},"resolutionTypeId":{"oneOf":[{"type":"integer","uniqueKey":"data.resolutionTypeId.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.resolutionTypeId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.resolutionTypeId","typeLabel":"integer | null"},"plannedMaintenanceScheduleId":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"data.plannedMaintenanceScheduleId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","uniqueKey":"data.plannedMaintenanceScheduleId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.plannedMaintenanceScheduleId","typeLabel":"integer\u003cint64> | null"},"cancelledAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.cancelledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.cancelledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.cancelledAt","typeLabel":"string\u003cdate-time> | null"},"cancelledBy":{"oneOf":[{"type":"string","uniqueKey":"data.cancelledBy.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.cancelledBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.cancelledBy","typeLabel":"string | null"},"glCode":{"oneOf":[{"type":"string","uniqueKey":"data.glCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.glCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.glCode","typeLabel":"string | null"},"createdAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.updatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time> | null"},"isDeleted":{"type":"boolean","uniqueKey":"data.isDeleted","typeLabel":"boolean"},"deletedAt":{"oneOf":[{"type":"string","description":"ISO 8601 date-time","format":"date-time","uniqueKey":"data.deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.deletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deletedAt","typeLabel":"string\u003cdate-time> | null"}},"description":"Work order (abridged - the full model has 150+ fields including hydrated location/asset/facility/approval-hierarchy objects). For third-party suppliers (keys not belonging to an internal service team) responses are masked: buyer-private fields are removed/blanked by the API masking layer.","additionalProperties":true,"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"status":{"type":"string","description":"\"ok\" on success","enum":["ok"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"required":["type","data","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","data":{"id":123,"buyerSpecificId":"\u003cstring>","woNumber":"\u003cstring>","poNumber":"\u003cstring>","isPM":true,"isCapex":true,"isStale":true,"isSupplierInitiated":true,"isCustomerInitiated":true,"isWarranty":true,"title":"\u003cstring>","displayStatus":"\u003cstring>","status":"\u003cstring>","statusChangedAt":"2023-11-07T05:31:56Z","description":"\u003cstring>","assetId":123,"subAssetIds":[123],"isAssetDown":true,"locationId":123,"areaId":123,"workCategoryId":123,"spendCategoryId":123,"problemTypeId":123,"problemType":{"id":123,"name":"\u003cstring>","buyerCompanyId":123,"hasChildren":true},"woPriorityId":123,"needsApproval":true,"images":["\u003cstring>"],"dueDate":"2023-11-07T05:31:56Z","scheduledAt":"2023-11-07T05:31:56Z","estimatedCompletionDate":"2023-11-07T05:31:56Z","completedAt":"2023-11-07T05:31:56Z","assignedAt":"2023-11-07T05:31:56Z","supplierRespondedAt":"2023-11-07T05:31:56Z","supplierFacilityId":123,"supplierPrimaryContactEmail":"\u003cstring>","price":123,"currencyId":"\u003cstring>","nte":123,"notes":[{"text":"\u003cstring>","noteAddedBy":"\u003cstring>","noteAddedAt":"2023-11-07T05:31:56Z","id":123,"photo":"\u003cstring>","video":"\u003cstring>","audio":"\u003cstring>","otherFile":"\u003cstring>","elements":[{"type":"\u003cstring>","value":"\u003cstring>","userObject":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}],"noteReadDetails":[{"readAt":"2023-11-07T05:31:56Z","readBy":"\u003cstring>","readByContact":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}],"noteAddedByContact":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"noteType":"\u003cstring>","noteAddedByType":"\u003cstring>","caption":"\u003cstring>","isNoteAwaitingResponse":true}],"lastNote":"\u003cstring>","lastNoteAddedBy":"\u003cstring>","lastNoteAddedAt":123,"buyerFacilityId":123,"buyerCompanyId":123,"createdBy":"\u003cstring>","buyerSubscriberEmails":["\u003cstring>"],"supplierSubscriberEmails":["\u003cstring>"],"associatedServiceCalls":[{"supplierFacilityId":123,"numberOfTechs":123,"workOrderId":123,"locationId":123,"buyerFacilityId":123,"buyerCompanyId":123,"isDeleted":true,"id":123,"leadTechnicianEmail":"\u003cstring>","leadTechnicianEmailContact":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"additionalTechnicianEmails":["\u003cstring>"],"additionalTechnicians":[{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"stockLocationIds":[123],"stockLocations":[{"name":"\u003cstring>","isMobile":true,"supplierFacilityId":123,"supplierCompanyId":123,"isActive":true,"allowEquipmentForwarding":true,"isDeleted":true,"id":123,"warehouseId":"\u003cstring>","images":["\u003cstring>"],"description":"\u003cstring>","address":{},"latitude":123,"longitude":123,"timeZoneId":"\u003cstring>","locationId":123,"burdenRates":[{"year":123,"rate":"\u003cstring>"}],"taxRates":[{"year":123,"rate":"\u003cstring>"}],"purchaseOrderPrefix":"\u003cstring>","glCode":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","deletedAt":"2023-11-07T05:31:56Z"}],"serviceScheduledAt":"2023-11-07T05:31:56Z","checkInByEmail":"\u003cstring>","checkInByContact":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"checkInStatus":"\u003cstring>","checkInTime":"2023-11-07T05:31:56Z","checkInNotes":"\u003cstring>","checkInImages":["\u003cstring>"],"checkInGeoLocation":{"lat":"\u003cstring>","long":"\u003cstring>"},"checkInAudio":"\u003cstring>","checkInAudioTranscription":"\u003cstring>","checkOutByEmail":"\u003cstring>","checkOutByContact":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"checkOutStatus":"\u003cstring>","checkOutTime":"2023-11-07T05:31:56Z","checkOutNotes":"\u003cstring>","checkOutImages":["\u003cstring>"],"checkOutGeoLocation":{"lat":"\u003cstring>","long":"\u003cstring>"},"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":"\u003cstring>","leadTechnicianEmailContact":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"additionalTechnicianEmails":["\u003cstring>"],"additionalTechnicians":[{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"stockLocationIds":[123],"stockLocations":[{"name":"\u003cstring>","isMobile":true,"supplierFacilityId":123,"supplierCompanyId":123,"isActive":true,"allowEquipmentForwarding":true,"isDeleted":true,"id":123,"warehouseId":"\u003cstring>","images":["\u003cstring>"],"description":"\u003cstring>","address":{},"latitude":123,"longitude":123,"timeZoneId":"\u003cstring>","locationId":123,"burdenRates":[{"year":123,"rate":"\u003cstring>"}],"taxRates":[{"year":123,"rate":"\u003cstring>"}],"purchaseOrderPrefix":"\u003cstring>","glCode":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","deletedAt":"2023-11-07T05:31:56Z"}],"serviceScheduledAt":"2023-11-07T05:31:56Z","checkInByEmail":"\u003cstring>","checkInByContact":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"checkInStatus":"\u003cstring>","checkInTime":"2023-11-07T05:31:56Z","checkInNotes":"\u003cstring>","checkInImages":["\u003cstring>"],"checkInGeoLocation":{"lat":"\u003cstring>","long":"\u003cstring>"},"checkInAudio":"\u003cstring>","checkInAudioTranscription":"\u003cstring>","checkOutByEmail":"\u003cstring>","checkOutByContact":{"email":"\u003cstring>","nameGiven":"\u003cstring>","nameFamily":"\u003cstring>","contactType":"\u003cstring>","title":"\u003cstring>","department":"\u003cstring>","facilityId":123,"isSharedContact":true,"readOnlyAccess":true,"invitedByEmail":"\u003cstring>","invitedAt":"2023-11-07T05:31:56Z","epaCertificationType":"\u003cstring>","epaCertificationNumber":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"checkOutStatus":"\u003cstring>","checkOutTime":"2023-11-07T05:31:56Z","checkOutNotes":"\u003cstring>","checkOutImages":["\u003cstring>"],"checkOutGeoLocation":{"lat":"\u003cstring>","long":"\u003cstring>"},"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","deletedAt":"2023-11-07T05:31:56Z"},"buyerAttachments":[{"fileName":"\u003cstring>","fileId":"\u003cstring>"}],"supplierAttachments":[{"fileName":"\u003cstring>","fileId":"\u003cstring>"}],"resolutionTypeId":123,"plannedMaintenanceScheduleId":123,"cancelledAt":"2023-11-07T05:31:56Z","cancelledBy":"\u003cstring>","glCode":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","isDeleted":true,"deletedAt":"2023-11-07T05:31:56Z"},"status":"ok"}}},"exampleType":"generated"}},"exampleType":"generated"},"fd81c9fd-eb06-4625-9622-e1bd684685cf":{"description":"Bad input, validation failure, or the API key's contact could not be resolved","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","description":"Exception type identifier. Known values (exact casing): \"unauthorizedException\", \"authorizationException\", \"ParseException\", \"UnexpectedException\", \"NotFoundException\", \"BadRequestException\", \"PaymentRequiredException\", \"InvalidInputDataException\", \"ConflictException\", \"ForbiddenException\", \"InvalidInputException\"","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"traceId":{"type":"string","description":"Server-generated trace identifier for support (11 alphanumeric characters)","isRequired":true,"uniqueKey":"traceId","typeLabel":"string"}},"required":["message","type","status","traceId"],"description":"Standard error envelope returned for 4xx/5xx responses.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","type":"\u003cstring>","status":"error","traceId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"aefb85bd-1580-458f-a795-c7ceab6e33d5":{"description":"Missing or invalid X-API-KEY","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","description":"Exception type identifier. Known values (exact casing): \"unauthorizedException\", \"authorizationException\", \"ParseException\", \"UnexpectedException\", \"NotFoundException\", \"BadRequestException\", \"PaymentRequiredException\", \"InvalidInputDataException\", \"ConflictException\", \"ForbiddenException\", \"InvalidInputException\"","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"traceId":{"type":"string","description":"Server-generated trace identifier for support (11 alphanumeric characters)","isRequired":true,"uniqueKey":"traceId","typeLabel":"string"}},"required":["message","type","status","traceId"],"description":"Standard error envelope returned for 4xx/5xx responses.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","type":"\u003cstring>","status":"error","traceId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"02e2475f-5d55-4765-95eb-afe14d13a565":{"description":"Rate limit exceeded (10 requests per 20-second window)","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","description":"Exception type identifier. Known values (exact casing): \"unauthorizedException\", \"authorizationException\", \"ParseException\", \"UnexpectedException\", \"NotFoundException\", \"BadRequestException\", \"PaymentRequiredException\", \"InvalidInputDataException\", \"ConflictException\", \"ForbiddenException\", \"InvalidInputException\"","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"traceId":{"type":"string","description":"Server-generated trace identifier for support (11 alphanumeric characters)","isRequired":true,"uniqueKey":"traceId","typeLabel":"string"}},"required":["message","type","status","traceId"],"description":"Standard error envelope returned for 4xx/5xx responses.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","type":"\u003cstring>","status":"error","traceId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"31024452-7f0c-4bf6-a021-77cab71ffc70":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[],"schemeName":"ApiKeyAuth"},"OwKeyAuth":{"type":"apiKey","in":"header","name":"OW-KEY","description":"OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.","scopes":[],"schemeName":"OwKeyAuth"}}},"servers":{"39a68869-7562-43c2-a9b9-dd3eec2625ef":{"url":"https://api.useopenwrench.com/api/external"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-KEY"},{"scheme":{"type":"apiKey","in":"header","name":"OW-KEY","description":"OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.","scopes":[],"schemeName":"OwKeyAuth"},"schema":{"title":"OW-KEY","type":"string","description":"OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"OwKeyAuth","name":"OW-KEY"}],"title":"ApiKeyAuth \u0026 OwKeyAuth"}]},"originalFileLocation":"openapi/supplier.json"},"subdomain":"openwrench","siteName":"OpenWrench Docs","title":"Create a work order - OpenWrench Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/supplier-reference/work-orders/create-a-work-order","matchLevel":1},"es":{"href":"/es/supplier-reference/work-orders/create-a-work-order","matchLevel":1},"fr-CA":{"href":"/fr-ca/supplier-reference/work-orders/create-a-work-order","matchLevel":1},"sv":{"href":"/sv/supplier-reference/work-orders/create-a-work-order","matchLevel":0}}},"lastModified":"2026-10-23T06:07:20.298Z","originalFileLocation":"sv/supplier-reference/work-orders/create-a-work-order.mdx","locale":"sv"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a supplier-initiated work order. Requires the API key\u0026#x27;s contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location\u0026#x27;s buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer\u0026#x27;s approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer\u0026#x27;s internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company\u0026#x27;s configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer\u0026#x27;s supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenWrench Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a work order - OpenWrench Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a supplier-initiated work order. Requires the API key\u0026#x27;s contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location\u0026#x27;s buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer\u0026#x27;s approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer\u0026#x27;s internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company\u0026#x27;s configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer\u0026#x27;s supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenWrench Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openwrench.mintlify.site/_mintlify/api/og/v2?division=Work+Orders\u0026amp;title=Create+a+work+order\u0026amp;description=Creates+a+supplier-initiated+work+order.+Requires+the+API+key%27s+contact+to+belong+to+a+supplier+facility.+locationId+is+required%3B+problemTypeId+and+woPriorityId\u0026amp;theme=8eaa85c789c5eedd571f3d45\u0026amp;signature=8bceec07a2d77ce06181ec87e672cf2b16aed15554ab23bccc73208519471dfc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a work order - OpenWrench Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a supplier-initiated work order. Requires the API key\u0026#x27;s contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location\u0026#x27;s buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer\u0026#x27;s approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer\u0026#x27;s internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company\u0026#x27;s configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer\u0026#x27;s supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openwrench.mintlify.site/_mintlify/api/og/v2?division=Work+Orders\u0026amp;title=Create+a+work+order\u0026amp;description=Creates+a+supplier-initiated+work+order.+Requires+the+API+key%27s+contact+to+belong+to+a+supplier+facility.+locationId+is+required%3B+problemTypeId+and+woPriorityId\u0026amp;theme=8eaa85c789c5eedd571f3d45\u0026amp;signature=8bceec07a2d77ce06181ec87e672cf2b16aed15554ab23bccc73208519471dfc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/openwrench/XAALPMBrZvYVDdsH/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenWrench Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D28D9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sv/supplier-reference/work-orders/create-a-work-order.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"sv\" href=\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://api-docs.useopenwrench.com/supplier-reference/work-orders/create-a-work-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://api-docs.useopenwrench.com/es/supplier-reference/work-orders/create-a-work-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr-CA\" href=\"https://api-docs.useopenwrench.com/fr-ca/supplier-reference/work-orders/create-a-work-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://api-docs.useopenwrench.com/supplier-reference/work-orders/create-a-work-order\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api-docs.useopenwrench.com/#organization\",\"name\":\"OpenWrench Docs\",\"url\":\"https://api-docs.useopenwrench.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openwrench/MpgUm2Im5ZrD9tFw/logo/light.svg?fit=max\u0026auto=format\u0026n=MpgUm2Im5ZrD9tFw\u0026q=85\u0026s=763bb056b0ddeaaeae3d8bee85dc3e06\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api-docs.useopenwrench.com#website\",\"name\":\"OpenWrench Docs\",\"url\":\"https://api-docs.useopenwrench.com\",\"publisher\":{\"@id\":\"https://api-docs.useopenwrench.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order#webpage\",\"url\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order\",\"name\":\"Create a work order\",\"description\":\"Creates a supplier-initiated work order. Requires the API key's contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location's buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer's approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer's internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company's configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer's supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.\",\"dateModified\":\"2026-10-23T06:07:20.298Z\",\"isPartOf\":{\"@id\":\"https://api-docs.useopenwrench.com#website\"},\"breadcrumb\":{\"@id\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API-referens\",\"item\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/ping/ping-supplier-key-check\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Work Orders\",\"item\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/list-work-orders\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a work order\",\"item\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order#apireference\",\"headline\":\"Create a work order\",\"name\":\"Create a work order\",\"description\":\"Creates a supplier-initiated work order. Requires the API key's contact to belong to a supplier facility. locationId is required; problemTypeId and woPriorityId are defaulted from the location's buyer company when omitted. This endpoint always creates: an id in the body is ignored. The initial status is set by the server. For a third-party supplier key, any status or isSupplierInitiated in the body is ignored: the work order is created as SupplierInitiatedPendingApproval with isSupplierInitiated true, and the buyer's approval configuration then either holds it there until a buyer approves it or, when the buyer auto-approves supplier-initiated work orders, confirms it to the calling facility as ConfirmedByServiceProvider. Keys that belong to a buyer's internal service team, and paying suppliers creating a work order at a location of a client they manage, can set status; when they omit it, the initial status is derived from the buyer company's configuration. An internal service team key that sends a supplierFacilityId other than its own, from a facility whose configuration allows transferring work, is handing the work order off: when the request sends no status, or sends SupplierInitiatedPendingApproval (as the contractor mobile app does), the server seeds PendingConfirmationByServiceProvider, so the work order goes to that provider to confirm instead of the buyer's supplier-initiated approval queue. A private destination facility still maps to AssignedToInternalTech. Any other explicit status, an own-facility create, and a facility without transfer permission are left as sent. Returns the created work order.\",\"url\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order\",\"mainEntityOfPage\":{\"@id\":\"https://api-docs.useopenwrench.com/sv/supplier-reference/work-orders/create-a-work-order#webpage\"},\"dateModified\":\"2026-10-23T06:07:20.298Z\",\"publisher\":{\"@id\":\"https://api-docs.useopenwrench.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api-docs.useopenwrench.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenWrench Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenWrench Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sv/supplier-reference/work-orders/create-a-work-order.md","siteName":"OpenWrench Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/supplier-reference/work-orders/create-a-work-order"}]},{"language":"es","pages":[{"title":"es","href":"/es/supplier-reference/work-orders/create-a-work-order"}]},{"language":"fr-CA","pages":[{"title":"fr-CA","href":"/fr-ca/supplier-reference/work-orders/create-a-work-order"}]},{"language":"sv","tabs":[{"tab":"Buyer API","pages":[{"title":"Buyer API","href":"/sv/buyer-api/introduction"}]},{"tab":"Supplier API","groups":[{"group":"Kom igång","pages":[{"title":"Autentisering, gränser och paginering i Supplier API","sidebarTitle":"Introduktion","icon":"screwdriver-wrench","href":"/sv/supplier-api/introduction"}]},{"group":"Guider","pages":[{"title":"Arbeta med arbetsordrar via Supplier API","sidebarTitle":"Arbetsordrar","href":"/sv/supplier-api/work-orders"},{"title":"Webhooks i Supplier API","sidebarTitle":"Webhooks","href":"/sv/supplier-api/webhooks"},{"title":"Servicebesök: schemaläggning, incheckning och slutförande","sidebarTitle":"Servicebesök","href":"/sv/supplier-api/service-calls"},{"title":"WrenchMode-tidsdata i Supplier API","sidebarTitle":"WrenchMode","href":"/sv/supplier-api/wrenchmode"},{"title":"Skicka in offerter och fakturor med Supplier API","sidebarTitle":"Offerter och fakturering","href":"/sv/supplier-api/quotes-and-invoicing"},{"title":"Inköp och lager med Supplier API","sidebarTitle":"Inköp och lager","href":"/sv/supplier-api/purchasing-and-inventory"},{"title":"Köparföretag, platser, tillgångar och datamaskering","sidebarTitle":"Referensdata","href":"/sv/supplier-api/reference-data"},{"title":"Fillagring och användarprovisionering i Supplier API","sidebarTitle":"Filer och användare","href":"/sv/supplier-api/files-and-users"},{"title":"Privat nätverk för underleverantörer i Supplier API","sidebarTitle":"Privat nätverk","href":"/sv/supplier-api/private-network"}]},{"group":"API-referens","pages":[{"group":"Ping","pages":[{"title":"Ping (supplier key check)","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/ping","href":"/sv/supplier-reference/ping/ping-supplier-key-check"}]},{"group":"Buyer Companies","pages":[{"title":"List buyer companies related to the supplier","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/buyer_company/buyer_companies","href":"/sv/supplier-reference/buyer-companies/list-buyer-companies-related-to-the-supplier"}]},{"group":"Locations","pages":[{"title":"Count locations","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/location/locations/count_by","href":"/sv/supplier-reference/locations/count-locations"},{"title":"List locations","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/location/locations","href":"/sv/supplier-reference/locations/list-locations"},{"title":"Get a location","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/location/locations/{id}","href":"/sv/supplier-reference/locations/get-a-location"},{"title":"Get multiple locations by ids","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/location/locations/multiple/{ids}","href":"/sv/supplier-reference/locations/get-multiple-locations-by-ids"}]},{"group":"Regions","pages":[{"title":"List regions","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/location/regions","href":"/sv/supplier-reference/regions/list-regions"},{"title":"Get a region","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/location/regions/{id}","href":"/sv/supplier-reference/regions/get-a-region"}]},{"group":"Asset Types","pages":[{"title":"List asset types","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/asset/asset_types","href":"/sv/supplier-reference/asset-types/list-asset-types"},{"title":"Get an asset type","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/asset/asset_types/{id}","href":"/sv/supplier-reference/asset-types/get-an-asset-type"}]},{"group":"Assets","pages":[{"title":"List assets","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/asset/assets","href":"/sv/supplier-reference/assets/list-assets"},{"title":"Get an asset","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/asset/assets/{id}","href":"/sv/supplier-reference/assets/get-an-asset"}]},{"group":"Asset Labels","pages":[{"title":"List asset labels","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/asset/asset_labels","href":"/sv/supplier-reference/asset-labels/list-asset-labels"},{"title":"Get an asset label","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/asset/asset_labels/{id}","href":"/sv/supplier-reference/asset-labels/get-an-asset-label"},{"title":"Replace an asset's labels","deprecated":null,"version":null,"openapi":"/openapi/supplier.json put /v1/supplier/asset/assets/{assetId}/labels","href":"/sv/supplier-reference/asset-labels/replace-an-assets-labels"}]},{"group":"Work Orders","pages":[{"title":"List work orders","description":"Lists work orders visible to the supplier key. The page and total are resolved in the search index, then the matching records are loaded from the read replica; a just-created or just-assigned work order can be briefly absent while the index and replica catch up. For third-party suppliers each work order is masked (buyer-private fields blanked); internal-service-team keys receive full records. Filtering: the supported filters are listed as parameters below. A singular key (`status`) takes one value; the plural key (`statuses`) takes a comma-separated list; `not…` keys exclude. If a parameter is repeated, only the first value is used. A query parameter that is not a supported filter (for example `statusChangedAt`, `updatedAtStartDate`, `updatedAtEndDate`, `buyerFacilityId`, `walkthroughId`, `assignedAt`, or a misspelled key) is ignored rather than rejected. A non-numeric id or a boolean other than `true`/`false` can fail the request with a 500. `offset + limit` cannot exceed the 10,000-result search window. Tenant-security filters restricting results to the API key's supplier facility/company are always applied server-side and cannot be overridden.","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/work_orders","href":"/sv/supplier-reference/work-orders/list-work-orders"},{"title":"Create a work order","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/work_orders","href":"/sv/supplier-reference/work-orders/create-a-work-order"},{"title":"Count work orders","description":"Counts work orders visible to the supplier key. Accepts the same filters as the list endpoint (listed as parameters below) and runs the same search-index query, so the count always agrees with the list results, including the same ignored unsupported parameters and the brief lag before a just-created work order is counted. Tenant-security filters restricting results to the API key's supplier facility/company are always applied server-side and cannot be overridden.","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/work_orders/count_by","href":"/sv/supplier-reference/work-orders/count-work-orders"},{"title":"Get a work order","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/work_orders/{id}","href":"/sv/supplier-reference/work-orders/get-a-work-order"},{"title":"Update a work order's estimated completion date","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/work_order/work_orders/{id}/estimated_completion_date","href":"/sv/supplier-reference/work-orders/update-a-work-orders-estimated-completion-date"},{"title":"Append supplier attachments to a work order","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/work_order/work_orders/{id}/append_supplier_attachments","href":"/sv/supplier-reference/work-orders/append-supplier-attachments-to-a-work-order"},{"title":"Append a note to a work order","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/work_order/work_orders/append_notes","href":"/sv/supplier-reference/work-orders/append-a-note-to-a-work-order"},{"title":"Append photo notes to a work order in bulk","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/work_order/work_orders/append_notes/bulk","href":"/sv/supplier-reference/work-orders/append-photo-notes-to-a-work-order-in-bulk"},{"title":"Get a work order's notes","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/work_order_notes/{woId}","href":"/sv/supplier-reference/work-orders/get-a-work-orders-notes"},{"title":"Work order status update: confirm","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/work_orders/status_update/confirm","href":"/sv/supplier-reference/work-orders/work-order-status-update:-confirm"},{"title":"Work order status update: decline","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/work_orders/status_update/decline","href":"/sv/supplier-reference/work-orders/work-order-status-update:-decline"},{"title":"Work order status update: parts requested","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/work_orders/status_update/parts_requested","href":"/sv/supplier-reference/work-orders/work-order-status-update:-parts-requested"},{"title":"Work order status update: parts received","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/work_orders/status_update/parts_received","href":"/sv/supplier-reference/work-orders/work-order-status-update:-parts-received"},{"title":"Work order status update: parts ordered","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/work_orders/status_update/parts_ordered","href":"/sv/supplier-reference/work-orders/work-order-status-update:-parts-ordered"},{"title":"List problem types","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/problem_types","href":"/sv/supplier-reference/work-orders/list-problem-types"}]},{"group":"Work Order Labels","pages":[{"title":"List work order labels","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/work_order_labels","href":"/sv/supplier-reference/work-order-labels/list-work-order-labels"},{"title":"Get a work order label","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/work_order_labels/{id}","href":"/sv/supplier-reference/work-order-labels/get-a-work-order-label"},{"title":"Replace a work order's labels","deprecated":null,"version":null,"openapi":"/openapi/supplier.json put /v1/supplier/work_order/work_orders/{woId}/labels","href":"/sv/supplier-reference/work-order-labels/replace-a-work-orders-labels"}]},{"group":"Service Calls","pages":[{"title":"Service call status update: tech scheduled","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/service_calls/status_update/tech_scheduled","href":"/sv/supplier-reference/service-calls/service-call-status-update:-tech-scheduled"},{"title":"Service call status update: tech rescheduled","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/service_calls/status_update/tech_rescheduled","href":"/sv/supplier-reference/service-calls/service-call-status-update:-tech-rescheduled"},{"title":"Service call status update: check in","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/service_calls/status_update/check_in","href":"/sv/supplier-reference/service-calls/service-call-status-update:-check-in"},{"title":"Service call status update: check out","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/service_calls/status_update/check_out","href":"/sv/supplier-reference/service-calls/service-call-status-update:-check-out"},{"title":"Service call status update: remote check in","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/service_calls/status_update/remote_check_in","href":"/sv/supplier-reference/service-calls/service-call-status-update:-remote-check-in"},{"title":"Service call status update: remote check out","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/work_order/service_calls/status_update/remote_check_out","href":"/sv/supplier-reference/service-calls/service-call-status-update:-remote-check-out"},{"title":"Get a service call with work logs","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/service_calls/{id}/with_work_logs","href":"/sv/supplier-reference/service-calls/get-a-service-call-with-work-logs"},{"title":"Get a service call with tech details","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/service_calls/{id}/with_tech_details","href":"/sv/supplier-reference/service-calls/get-a-service-call-with-tech-details"},{"title":"Get a service call with work logs and tech details","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/work_order/service_calls/{id}/with_work_logs/with_tech_details","href":"/sv/supplier-reference/service-calls/get-a-service-call-with-work-logs-and-tech-details"}]},{"group":"WrenchMode","pages":[{"title":"List WrenchMode events (work logs)","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/wrench_mode/events","href":"/sv/supplier-reference/wrenchmode/list-wrenchmode-events-work-logs"},{"title":"WrenchMode per-technician analytics","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/wrench_mode/events/analytics/{fromDate}/{toDate}","href":"/sv/supplier-reference/wrenchmode/wrenchmode-per-technician-analytics"}]},{"group":"Proposals","pages":[{"title":"List proposals","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/quote/proposals","href":"/sv/supplier-reference/proposals/list-proposals"},{"title":"Create (submit) a proposal","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/quote/proposals","href":"/sv/supplier-reference/proposals/create-submit-a-proposal"},{"title":"Get a proposal","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/quote/proposals/{id}","href":"/sv/supplier-reference/proposals/get-a-proposal"}]},{"group":"Invoices","pages":[{"title":"List invoices","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/invoice/invoices","href":"/sv/supplier-reference/invoices/list-invoices"},{"title":"Create a draft invoice","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/invoice/invoices","href":"/sv/supplier-reference/invoices/create-a-draft-invoice"},{"title":"Get an invoice","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/invoice/invoices/{id}","href":"/sv/supplier-reference/invoices/get-an-invoice"},{"title":"Upload an invoice PDF and publish the invoice","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/invoice/file/upload_and_publish/{invoiceId}","href":"/sv/supplier-reference/invoices/upload-an-invoice-pdf-and-publish-the-invoice"}]},{"group":"Files","pages":[{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/file/upload","href":"/sv/supplier-reference/files/upload-a-file"},{"title":"Download a file","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/file/download/{id}/{name}","href":"/sv/supplier-reference/files/download-a-file"}]},{"group":"Purchase Requests","pages":[{"title":"List purchase requests","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/purchase_requests","href":"/sv/supplier-reference/purchase-requests/list-purchase-requests"},{"title":"Get a purchase request","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/purchase_requests/{id}","href":"/sv/supplier-reference/purchase-requests/get-a-purchase-request"},{"title":"Cancel a purchase request","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/inventory/purchase_requests/{id}/cancelled","href":"/sv/supplier-reference/purchase-requests/cancel-a-purchase-request"},{"title":"Update a purchase request's status","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/inventory/purchase_requests/{id}/{status}","href":"/sv/supplier-reference/purchase-requests/update-a-purchase-requests-status"},{"title":"Count purchase request line items","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/purchase_request_line_items/count_by","href":"/sv/supplier-reference/purchase-requests/count-purchase-request-line-items"},{"title":"List purchase request line items","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/purchase_request_line_items","href":"/sv/supplier-reference/purchase-requests/list-purchase-request-line-items"},{"title":"Associate PR line items with a PO line item","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/inventory/purchase_request_line_items/associate_po_line_item/{ids}/{poLineItem}","href":"/sv/supplier-reference/purchase-requests/associate-pr-line-items-with-a-po-line-item"}]},{"group":"Purchase Orders","pages":[{"title":"List purchase orders","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/purchase_orders","href":"/sv/supplier-reference/purchase-orders/list-purchase-orders"},{"title":"Create a purchase order","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/inventory/purchase_orders","href":"/sv/supplier-reference/purchase-orders/create-a-purchase-order"},{"title":"Get a purchase order","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/purchase_orders/{id}","href":"/sv/supplier-reference/purchase-orders/get-a-purchase-order"},{"title":"Cancel a purchase order","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/inventory/purchase_orders/{id}/cancel","href":"/sv/supplier-reference/purchase-orders/cancel-a-purchase-order"},{"title":"Mark a purchase order as ordered","deprecated":null,"version":null,"openapi":"/openapi/supplier.json patch /v1/supplier/inventory/purchase_orders/{id}/ordered","href":"/sv/supplier-reference/purchase-orders/mark-a-purchase-order-as-ordered"},{"title":"Bulk create (replace) purchase order line items","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/inventory/purchase_order_line_items/bulk","href":"/sv/supplier-reference/purchase-orders/bulk-create-replace-purchase-order-line-items"},{"title":"Purchase order webhook (third-party integrations)","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/inventory/webhook/purchase_order","href":"/sv/supplier-reference/purchase-orders/purchase-order-webhook-third-party-integrations"}]},{"group":"Purchase Order Receipts","pages":[{"title":"Get a purchase order receipt","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/purchase_order_receipts/{id}","href":"/sv/supplier-reference/purchase-order-receipts/get-a-purchase-order-receipt"},{"title":"Update a purchase order receipt","deprecated":null,"version":null,"openapi":"/openapi/supplier.json put /v1/supplier/inventory/purchase_order_receipts","href":"/sv/supplier-reference/purchase-order-receipts/update-a-purchase-order-receipt"}]},{"group":"Parts","pages":[{"title":"List parts","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/parts","href":"/sv/supplier-reference/parts/list-parts"},{"title":"Get a part","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/parts/{id}","href":"/sv/supplier-reference/parts/get-a-part"}]},{"group":"Equipment Types","pages":[{"title":"List equipment types","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/equipments","href":"/sv/supplier-reference/equipment-types/list-equipment-types"},{"title":"Get an equipment type","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/equipments/{id}","href":"/sv/supplier-reference/equipment-types/get-an-equipment-type"}]},{"group":"Stock Location Inventory","pages":[{"title":"List parts per stock location","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/parts_per_stock_locations","href":"/sv/supplier-reference/stock-location-inventory/list-parts-per-stock-location"},{"title":"Get a parts-per-stock-location record","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/parts_per_stock_locations/{id}","href":"/sv/supplier-reference/stock-location-inventory/get-a-parts-per-stock-location-record"},{"title":"List equipment per stock location","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/equipment_per_stock_locations","href":"/sv/supplier-reference/stock-location-inventory/list-equipment-per-stock-location"},{"title":"Get an equipment-per-stock-location record","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/equipment_per_stock_locations/{id}","href":"/sv/supplier-reference/stock-location-inventory/get-an-equipment-per-stock-location-record"}]},{"group":"Vendors","pages":[{"title":"List part/equipment vendors","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/part_equipment_vendors","href":"/sv/supplier-reference/vendors/list-partequipment-vendors"},{"title":"Get a part/equipment vendor","deprecated":null,"version":null,"openapi":"/openapi/supplier.json get /v1/supplier/inventory/part_equipment_vendors/{id}","href":"/sv/supplier-reference/vendors/get-a-partequipment-vendor"}]},{"group":"Users","pages":[{"title":"Provision a supplier user","deprecated":null,"version":null,"openapi":"/openapi/supplier.json post /v1/supplier/user/provision","href":"/sv/supplier-reference/users/provision-a-supplier-user"}]}]}]}]}]},"basePath":"","title":"Create a work order - OpenWrench Docs","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js","Markdown-BwQ4RMdp.js","dist-CiVXVcSh.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-Dic2Jtb2.js"]}