Registrations_ProJob - Job Numbers, PUT

API Url

Job Numbers (ON) variant of generic registration

Ignore the URI, for the correct URI see

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

Parameter

FieldTypeDescription
empIdstring

Internal employee ID

jobNumbersobject

Job numbers on an operation

  batchIdoptionalString

Batch Id

  orderobject

The corresponding order and operation

    idstring

Id of the order

    operationobject

The operation of the order

      idstring

Id of the operation

  producedoptionalobject

Produced job information

    distributionoptionalobject[]

Produced job distribution
This object has following structure:
{
    "id": "123",
    "numbers": 1.0
}

    numbersNumber

Total produced number

    previousScrappedoptionalNumber

Previous scrapped number

  scrappedoptionalobject

Scrapped job information

    distributionoptionalobject[]

Scrapped job distribution, this is mandatory if scrapped reason id doesn't exist.
This object has following structure:
{
    "id": "ABC",
    "numbers": 1.0
}

    idoptionalString

Scrapped reason id. It is mandatory if "distribution" object doesn't exists.

    numbersNumber

Total scrapped number

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: ON