Registrations_ProJob - Job Condition, GET
API Url
Job Condition (OC) variant of generic registration
Ignore the URI, for the correct URI see
http://localhost:16010/ProMarkREST/{DummyRegistration?type=OC}
Success 200
| Field | Type | Description |
|---|---|---|
| actualTime | datetime | The actual time the registration was made |
approvaloptional | object[] | Approval information |
approvalTimeoptional | datetime | Time of approval/rejection, available when status is |
approverIdoptional | string | Id of user that approved or rejected, available when status is |
| deptId | string | Department ID, secondary to approval group |
| groupId | string | Approval group ID |
| level | number |
123 |
rejectCodeoptional | string | Rejection code, in use when status is |
rejectMsgoptional | string | Rejection message, in use when status is |
| status | number |
0123 |
| approvalStatus | number |
0123 |
| attendanceDate | date | The date that the registration belongs to. Typical the date of the registration unless it's a night shift |
| closedPeriod | boolean | The registration is in a closed period |
| correctedRegTime | datetime | Registration time adjusted according to setup in ProMark |
| description | string | Default value: Job Condition |
| empId | string | Internal employee ID |
| isDeleted | boolean | The registration is deleted and cannot be altered. |
| isErroneous | boolean | The registrations is erroneous and should either be changed or deleted. It's typical a result of offline CI/CO registration where a reason is missing or it's a duplicate. |
| jobChange | object | Job Change on an operation |
changeFromReasonoptional | object | Change from reason |
descriptionoptional | string | Description of the reason |
| id | string | Id of the job reason |
changeToReasonoptional | object | The reason to change to this condition |
descriptionoptional | string | Description of the reason |
| id | string | Id of the job reason |
| newCondition | String | New condition |
| description | String | Description of condition |
| id | String | Condition id |
| order | object | The order and operation to job in on |
| description | string | Description of the order |
| id | string | Id of the order |
| operation | object | The operation of the order |
| description | string | Description of the operation |
| id | string | Id of the operation |
tooMuchTimeReasonoptional | object | Too much setup/run time reason |
descriptionoptional | string | Description of the reason |
| id | string | Id of the job reason |
| type | Number | Compare too much time to setup or run. Possible values are 12 |
locationoptional | object | Geo location of registration |
| latitude | number | Latitude, negative value is west -180 to 180 |
| longitude | number | Longitude, negative value is south -180 to 180 |
| noDelete | boolean | It's not allowed to delete the registration. Some registrations may be readOnly but can still be deleted |
| noTimeChange | boolean | regTime cannot be changed, for instance on absence registrations |
| readOnly | boolean | It's not allowed to edit the registration |
| regTime | datetime | The time of registration |
signOffoptional | object | Sign off information |
| by | string | Used if status = |
| status | number |
012 |
| time | datetime | Used if status = |
| terminalId | string | Numeric ID (optional prefixed by*) of registration terminal. If it's not numeric (it does not start with a digit or *) then it's the ID of the user that changed or created the registration |
| transSeq | number | Unique reference of registration |
| type | string | Default value: OC |
| underValidation | boolean | The registration is under validation |