Skip to main content

Get a list of job types

Retrieve a paged collection of job types (required scope jobs:read)

Query Parameters
    sortBy JobTypeSortOptions

    Possible values: [name]

    The field to sort items in the page by

    direction SortDirection

    Possible values: [ascending, descending]

    The direction to apply the sort

    id int64[]

    Only return job types where id matches the value(s) provided

    pageNumber int32

    Possible values: >= 1 and <= 2147483

    The page number being requested (minimum: 1, maximum: 2147483)

    pageSize int32

    Possible values: >= 1 and <= 1000

    The page size being requested (minimum: 1, maximum: 1000)

Header Parameters
    Customer-Id int64 required

    The customer identifier

Responses

Success


Schema
    items object[]

    The items returned for the requested page

  • Array [
  • id int64

    The unique identifier of the job type

    name string

    The name of the job type

    description string

    The default textual description for jobs of this type

    plannedDuration int32

    The default planned duration for jobs of this type, specified in minutes

    categoryId int32 nullable

    The unique identifier of default category for jobs of this type

    isArchived boolean

    A flag determining if a type is archived - new jobs cannot be created against archived job types

    isOrderNumberRequired boolean

    A flag determining if an order number is required for jobs of this type

    positiveResults string[] nullable

    The result options for when a job is completed successfully

    negativeResults string[] nullable

    The result options for when a job is completed with issues. If null then jobs of this type will not be allowed to have the status of completedWithIssues

  • ]
  • pageNumber int32

    The page number of the response where 1 is the first page

    pageSize int32

    The number of items requested for the current page

    pageItemCount int32

    The number of items returned in the current page

Loading...