Skip to main content
POST
Service call status update: remote check in

Auktoriseringar

X-API-KEY
string
header
obligatorisk
OW-KEY
string
header
obligatorisk

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Kropp

application/json

Service-call payload parsed by the shared service-call constructor. locationId, buyerFacilityId and buyerCompanyId are derived from the work order.

workOrderId
integer<int64>
obligatorisk

REQUIRED. Work order the service call belongs to; must exist.

numberOfTechs
integer
obligatorisk

REQUIRED. Number of technicians.

id
integer<int64>

Service call id, when updating an existing call

leadTechnicianEmail
string
additionalTechnicianEmails
string[]
stockLocationIds
integer<int64>[]
partsWithQuantity
object[]

Part/quantity objects

equipmentPerStockLocationIds
integer<int64>[]
supplierFacilityId
integer

Required for internal-service-team keys; for third-party suppliers it is overwritten with the API key's own facility id.

serviceScheduledAt
string<date-time>

ISO 8601 date-time

checkInByEmail
string
checkInStatus
string
checkInTime
string<date-time>

Defaults to now when checkInStatus is set without a time

checkInNotes
string
checkInImages
string[]
checkInGeoLocation
object
checkOutByEmail
string
checkOutStatus
string
checkOutTime
string<date-time>

Defaults to now when checkOutStatus is set without a time

checkOutNotes
string
checkOutImages
string[]
checkOutGeoLocation
object
createdAt
string<date-time>

ISO 8601 date-time

Svar

The associated work order, with its status updated

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.

status
enum<string>
obligatorisk

"ok" on success

Tillgängliga alternativ:
ok