younifyd
Menu

/api/inspect_bookings/findInspectBookingByPlannedInspectDateRange (Get scheduled inspectBooking by PlannedInspectDate offset and week/month range)

Get scheduled inspectBooking by PlannedInspectDate offset and week/month range

GET/api/inspect_bookings/findInspectBookingByPlannedInspectDateRange

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/inspect_bookings/findInspectBookingByPlannedInspectDateRange (Get scheduled inspectBooking by PlannedInspectDate offset and week/month range) action (under InspectBookingController).
  3. Fill in the fields below, then reference the result from later steps as {{apiInspectBookingsFindinspectbookingbyplannedinspectdaterangeGetScheduledInspectbookingByPlannedinspectdateOffsetAndWeekMonthRange.response.data}}.

Request

Query parameters

startDaystringrequired

week start day, format is 'yyyy-MM-dd'

endDaystringrequired

week end day, format is 'yyyy-MM-dd'

inspectionPartysstring

Inspection Party codes, concat by ,

inspectionOfficesstring

Inspection Party codes, concat by ,

Response

Returns 200 with an object. Read it in later steps with {{apiInspectBookingsFindinspectbookingbyplannedinspectdaterangeGetScheduledInspectbookingByPlannedinspectdateOffsetAndWeekMonthRange.response.data.<field>}}.

inspectBookingDtoListarray<object>
idstring
fromImportboolean
deleteCommentFieldInfoListarray<object>3 fields
get_overrideCreateUserstring
get_overrideCreateUserNamestring
get_overrideUpdateUserstring
get_overrideUpdateUserNamestring
get_overrideCreatedOnstring (date-time)
get_overrideUpdatedOnstring (date-time)
get_overrideStatusstring
refNostring
createdOnstring (date-time)
statusstring
inspectBookingNostring
plannedInspectEndDatestring (date)
plannedInspectDatestring (date)
plannedInspectDatesstring
instructionsstring
estimatedEffortnumber
productCategoryValuestring
inspectTypeobject3 fields
inspectionOfficeobject3 fields
inspectionPartyobject3 fields
inspectorsListarray<object>9 fields
reportTemplateobject6 fields
factoryobject13 fields
vendorobject40 fields
maxConsecutiveVisitinteger (int64)
inspectBookingItemsListarray<object>18 fields
inspectBookingScheduledsListarray<object>7 fields
factoryAddressobject13 fields
publicHolidayListarray<string (date)>
weekendsListarray<string>
factoryAgentobject3 fields
requestDatestring (date)
locationIdstring
lastConsecutiveVisitBeforeWeekarray<object>
factoryIdstring
locationIdstring
inspectorIdstring
visitCountinteger (int32)
consecutiveBreakDatestring (date-time)
lastConsecutiveVisitDatestring (date-time)
consecutiveVisitDatesarray<string (date-time)>
json
{
  "inspectBookingDtoList": [
    {
      "id": "string",
      "fromImport": false,
      "deleteCommentFieldInfoList": [
        {
          "uiId": "string",
          "businessKey": "string",
          "internalSeqNo": 0
        }
      ],
      "get_overrideCreateUser": "string",
      "get_overrideCreateUserName": "string",
      "get_overrideUpdateUser": "string",
      "get_overrideUpdateUserName": "string",
      "get_overrideCreatedOn": "2025-01-01T00:00:00Z",
      "get_overrideUpdatedOn": "2025-01-01T00:00:00Z",
      "get_overrideStatus": "string",
      "refNo": "string",
      "createdOn": "2025-01-01T00:00:00Z"
    }
  ],
  "lastConsecutiveVisitBeforeWeek": [
    {
      "factoryId": "string",
      "locationId": "string",
      "inspectorId": "string",
      "visitCount": 0,
      "consecutiveBreakDate": "2025-01-01T00:00:00Z",
      "lastConsecutiveVisitDate": "2025-01-01T00:00:00Z",
      "consecutiveVisitDates": [
        "2025-01-01T00:00:00Z"
      ]
    }
  ]
}

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