Skip to main content

Create a job

Create a new job (required scope jobs:write)

Header Parameters
    Customer-Id int64 required

    The customer identifier

Request Body
    typeId int64 required

    The unique identifier of the type assigned to this job

    contactId int64 required

    The unique identifier of the contact (customer) for who this job is to be performed

    plannedDuration int32 nullable

    The planned duration for the job, indicated in minutes. If not provided, the default duration for the job type will be used

    reference string nullable

    The internal reference of the job - should usually be unique. If not provided and job type auto-reference set, auto-referenced value will be used

    description string nullable

    The textual details about the job

    personId uuid nullable

    The unique uuid identifier of the person who will serve as primary point of contact for the job

    orderNumber string nullable

    The order number associated to the job. May be required, dependent upon job type

    customFields object[]

    Custom fields applied to this job

  • Array [
  • definitionId int64 required

    The unique identifier of the associated custom field definition

    value string nullable

    The value of this custom field. If set to null, any existing value will be unset

  • ]
Responses

Created


Schema
    id int64

    Identifier of the newly created record

Loading...