Registrations_ProJob - Job Condition, PUT

API Url

Job Condition (OC) variant of generic registration

Ignore the URI, for the correct URI see

PUT
http://localhost:16010/ProMarkREST/{DummyRegistration?type=OC}

Parameter

FieldTypeDescription
empIdstring

Internal employee ID

jobChangeobject

Job change on an operation

  changeFromReasonoptionalobject

Change from reason

    idstring

Id of the reason group

    reasonobject

Reason to change from current condition
This object has following structure:
"reason": {
    "id": "123",
}

  changeToReasonoptionalobject

Change to reason

    idstring

Id of the reason

  newConditionString

New condition

    idString

Condition id

  orderobject

The order and operation to job change

    idstring

Id of the order

    operationobject

The operation of the order

      idstring

Id of the operation

  tooMuchTimeReasonoptionalobject

Too much setup/run time reason

    idstring

Id of the reason

    typeNumber

Compare too much time to setup or run. Possible values are 1: Too much setup time, 2: Too much run time

Allowed values:12
locationoptionalobject

Geo location of registration

  latitudenumber

Latitude, negative value is west

Size range: -180 to 180
  longitudenumber

Longitude, negative value is south

Size range: -180 to 180
regTimedatetime

The time of registration

terminalIdstring

Numeric ID of registration terminal, or if not numeric, then it's the ID of the user that changed or added the registration

transSeqnumber

Unique reference of registration

typestring
Default value: OC