younifyd
Menu

/api/inspect_bookings/batchUpdateInspectBooking (Batch Update Inspection Booking)

Batch Update Inspection Booking

POST/api/inspect_bookings/batchUpdateInspectBooking

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/inspect_bookings/batchUpdateInspectBooking (Batch Update Inspection Booking) action (under InspectBookingController).
  3. Fill in the fields below, then reference the result from later steps as {{apiInspectBookingsBatchupdateinspectbookingBatchUpdateInspectionBooking.response.data}}.

Request

Query parameters

updateFieldsstringrequired
docIdsstringrequired

Request body

Enter the body as JSON in the step's Body field.

statusobject
codestringrequired
namestring
versioninteger (int32)
instructionsstring
plannedInspectDatestring (date)
plannedInspectDatesstring
inspectTypeobject
codestringrequired
namestring
versioninteger (int32)
inspectFormatobject
codestringrequired
namestring
versioninteger (int32)
inspectionOfficeobject
codestringrequired
namestring
versioninteger (int32)
inspectionPartyobject
codestringrequired
namestring
versioninteger (int32)
inspectorsListarray<object>
refEntitystring
codestring
refKeystring
statusstring
factCodestring
idstringrequired
refNostring
namestring
versioninteger (int32)
reportTemplateobject
idstring
refNostring
versioninteger (int32)
namestring
requiredSkillobject3 fields
productCategoryobject3 fields
templateInspectionLevelstring
templateCriticalLevelstring
templateMajorLevelstring
templateMinorLevelstring
isAllowRealtimeUpdateSRstring
measInspectionstring
measCriticalstring
measMajorstring
measMinorstring
allowUpdateMeasSRstring
isCountMeasIntoDefectstring
json
{
  "status": {
    "code": "string",
    "name": "string",
    "version": 0
  },
  "instructions": "string",
  "plannedInspectDate": "2025-01-01",
  "plannedInspectDates": "string",
  "inspectType": {
    "code": "string",
    "name": "string",
    "version": 0
  },
  "inspectFormat": {
    "code": "string",
    "name": "string",
    "version": 0
  },
  "inspectionOffice": {
    "code": "string",
    "name": "string",
    "version": 0
  },
  "inspectionParty": {
    "code": "string",
    "name": "string",
    "version": 0
  },
  "inspectorsList": [
    {
      "id": "string",
      "refEntity": "string",
      "code": "string",
      "refKey": "string",
      "status": "string",
      "factCode": "string",
      "refNo": "string",
      "name": "string",
      "version": 0
    }
  ],
  "reportTemplate": {
    "id": "string",
    "refNo": "string",
    "version": 0,
    "name": "string",
    "requiredSkill": {
      "code": "string",
      "name": "string",
      "version": 0
    },
    "productCategory": {
      "code": "string",
      "name": "string",
      "version": 0
    }
  },
  "templateInspectionLevel": "string",
  "templateCriticalLevel": "string"
}

Response

Returns 200 with a any. Read it in later steps with {{apiInspectBookingsBatchupdateinspectbookingBatchUpdateInspectionBooking.response.data.<field>}}.

Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.