Skip to main content

List Assignments

GET 

/api/v1/assignments

List Assignments

Request​

Query Parameters

    factory_country string

    Factory’s country code (two-letter country code) of assignments. Case-insensitive

    executor_organization string

    Inspection Executor of assignments. Allow filtering with the Local Organization ID or the text “owner”. Case-sensitive

    assignment_updated_to date-time

    Assignment updated to in date and time

    assignment_created_from date-time

    Assignment created from in date and time

    limit integer

    Possible values: >= 1 and <= 100

    Default value: 10

    Limit result of list

    assignment_status string

    Possible values: [NEW, PRE-ASSIGNED, ASSIGNED, RELEASED, IN-PROGRESS, COMPLETED, ABORTED]

    Status of assignments

    assignment_created_to date-time

    Assignment created to in date and time

    factory_city string

    Factory’s city of assignments. Case-sensitive

    expected_inspection_date_from date

    Start date of the range of the expected inspection date in assignments. Allow only date format

    order string

    Order of the list of assignments

    expected_inspection_date_to date

    End date of the range of the expected inspection date in assignments. Allow only date format

    offset integer

    Default value: 0

    assignment_updated_from date-time

    Assignment updated from in date and time

Responses​

OK

Schema

    data

    object[]

    Assignments data

  • Array [

  • actualInspectionDate date-time

    Actual inspection date

    assignedToInspector

    object

    nullable

    Inspector that the assignment is assigned to

    email string

    Email of the inspector that is assigned to the assignment

    employeeId stringnullable

    External ID of the inspector that is assigned to the assignment

    id string

    User ID of the inspector that the assignment is assigned to

    name string

    Name of the inspector that the assignment is assigned to

    assignedToOrganization

    object

    nullable

    Organization that the assignment is assigned to

    name string

    Organization name that the assignment is assigned to

    systemId string

    Organization ID stored in the system that the assignment is assigned to

    assignmentCreatedDate date-time

    Assignment creation date

    assignmentId uuidrequired

    Unique identifier of the assignment

    assignmentStatus string

    Assignment status

    assignmentUpdatedDate date-time

    Assignment last updated date

    billingInformation

    object

    nullable

    Organization that is billed

    address stringnullable

    Address line of the organization that receives is billed

    city stringnullable

    City of the organization that is billed

    contact

    object

    nullable

    Contact information of the organization

    email stringnullable

    Billing contact email

    mobileNumber stringnullable

    Billing contact mobile number

    name stringnullable

    Billing contact name

    telephoneNumber stringnullable

    Billing contact telephone number

    country stringnullable

    Country of the organization that is billed

    name stringnullable

    Name of the organization that is billed

    postalCode stringnullable

    Postal code of the organization that is billed

    state stringnullable

    State of the organization that is billed

    bookingId string

    Unique identifier of the booking

    bookingType string

    Booking type e.g normal

    caseNumber string

    Case number of the booking defined by a configuration rule

    clientInformation

    object

    Information on the Brand or Retailer in the booking

    address string
    city string

    contact

    object

    nullable

    contactId string
    email string
    mobileNumber string
    name string
    telephoneNumber string
    country string
    localOrganizationId string

    Local Custom ID of the organization

    localOrganizationIds string[]nullable

    The list of all connected Local Custom IDs of the organization

    name string
    organizationId string
    confirmedBy string

    The organization which confirmed the booking

    createdBy string

    The user who created the booking

    createdDate date-time

    Creation date of the booking

    detailOfPIPO

    object

    Details of PIPO

    pipoInformation

    object

    opoNumber string
    poNumber string
    poTypes string[]
    productLineId string
    productLineName string

    styles

    object[]

  • Array [

  • assortments

    object[]

    nullable

  • Array [

  • assortmentId stringrequired

    Possible values: non-empty

    availableCartonQuantity integernullable
    cartonQuantity integerrequired

    items

    object[]

    required

    Possible values: >= 1

  • Array [

  • availableQuantity integernullable
    brandId stringnullable

    Precondition: must be configured in your Inspectorio's account.

    brandName string

    Possible values: non-empty

    classId stringnullable
    color stringrequired

    Possible values: non-empty

    configuration integerrequired

    Possible values: >= 1

    departmentId stringnullable
    id stringnullable
    itemId stringrequired

    Possible values: non-empty

    quantity integer
    shipmentTerm stringnullable
    size stringrequired

    Possible values: non-empty

  • ]

  • ]

  • measurements

    object[]

  • Array [

  • caption stringrequired

    Possible values: non-empty

    isPomCritical booleannullable

    Measurement is critical or not

    pom stringrequired

    Possible values: non-empty

    sizes

    object[]

  • Array [

  • measurement stringrequired
    size stringrequired

    Possible values: non-empty

    Size name

  • ]

  • tolerance stringrequired
    toleranceLower numbernullable

    Accepted lower limit between the expected measure (standard) and the actual measure

    toleranceUpper numbernullable

    Accepted upper limit between the expected measure (standard) and the actual measure

    unit stringrequired

    Possible values: [inch, cm, mm]

  • ]

  • productCategoryId stringrequired
    productCategoryName string

    Possible values: non-empty

    solids

    object[]

    nullable

  • Array [

  • availableCartonQuantity integernullable
    availableQuantity integernullable
    brandId stringnullable

    Precondition: must be configured in your Inspectorio's account.

    brandName string

    Possible values: non-empty

    cartonQuantity integernullable
    casePackQuantity integernullable
    classId stringnullable
    color stringrequired

    Possible values: non-empty

    departmentId stringnullable
    id stringnullable
    itemId stringrequired

    Possible values: non-empty

    quantity integerrequired

    Possible values: >= 1

    shipmentTerm stringnullable
    size stringrequired

    Possible values: non-empty

  • ]

  • styleId stringrequired

    Possible values: non-empty

    styleName stringnullable
  • ]

  • expectedDate

    object

    Expected date

    inspectionDate date-timerequired
    shipmentDate date-timenullable

    factoryInformation

    object

    Information on the factory in the booking

    address string
    city string

    contact

    object

    nullable

    contactId string
    email string
    mobileNumber string
    name string
    telephoneNumber string
    country string
    localOrganizationId string

    Local Custom ID of the organization

    localOrganizationIds string[]nullable

    The list of all connected Local Custom IDs of the organization

    localPostalCode string
    localState string
    name string
    organizationId string
    fromOrganizationId string

    Organization ID where the booking is created

    fromOrganizationName string

    inspectionInformation

    object

    Inspection Information

    typeOfInspection string
    typeOfInspectionName string

    locationPicker

    object

    Location picker of where the inspection takes place

    address string

    gpsLocation

    object

    latitude string
    longitude string

    questionnaire

    object

    questions

    object[]

    List of questions in the questionnaire

  • Array [

  • defaultSubQuestions object[]

    List of recursive questions from "questionnaire"

    description string

    Description of the question

    freeTextAnswer string

    Free text answer for the question

    id stringrequired

    Unique identifier of a question

    options

    object[]

    List of answering options

  • Array [

  • id string

    Unique identifier of the option

    otherOptionText string

    Other option text

    questions object[]

    List of recursive questions from "questionnaire"

    selected boolean

    Indicate whether this option is selected or not

    text string

    Preset answer in text

  • ]

  • questionType stringrequired

    Question type e.g single select, multiple select

    responseId string

    Unique identifier of a response

    validation

    object

    required

    Question validation

    mandatory booleanrequired

    Indicate if the question is mandatory or not

  • ]

  • remark string

    Remark on the booking

    sampleSize integer

    Sample size of inspection

    serviceType string

    Service Type of the inspection

    status string

    Booking status

    tags string[]nullable

    Labels attached to the report giving other information

    toOrganizationId string

    Organization ID which the booking is booked to

    toOrganizationName string

    Organization name which the booking is booking to

    unit string

    Unit used in inspections e.g piece

    updatedDate date-time

    Last updated date of the booking

    vendorInformation

    object

    Information on the Vendor or Supplier in the assignment

    address string
    city string

    contact

    object

    nullable

    contactId string
    email string
    mobileNumber string
    name string
    telephoneNumber string
    country string
    localOrganizationId string

    Local Custom ID of the organization

    localOrganizationIds string[]nullable

    The list of all connected Local Custom IDs of the organization

    localPostalCode string
    localState string
    name string
    organizationId string
  • ]

  • limit integerrequired

    Possible values: >= 1 and <= 100

    offset integerrequired
    total integerrequired
Loading...