Staffing Calendar
GET URL | https://api.recman.no/v2/get/ |
Scope | staffingCalendar |
booked | 1 or 0 |
fromDate | Y-m-d |
toDate | Y-m-d |
projectId | Id of project |
Example | https://api.recman.no/v2/get/index.php?scope=staffingCalendar&key=KEY&page=1&booked=1&fromDate=2018-10-01&toDate=2018-10-15&projectId=113925 |
POST URL | https://api.recman.no/v2/post/ |
Scope | staffingCalendar |
Operation | insert |
Fields | See details below |
Staffing calendar fields
Fields | Description |
---|---|
namestring |
Name of the shiftRequired on operation: insert |
projectIdstring |
ID of related projectRequired on operation: insert |
startDtdate-time |
Start date and time of shift. Format is: "yyyy-mm-dd hh:ii:ss"Required on operation: insert |
endDtdate-time |
End date and time of shift. Format is: "yyyy-mm-dd hh:ii:ss"Required on operation: insert |
breakTimestring | Break time. Format is: "hh:ii:ss" |
invoiceNotestring | Note which ends up on the invoice |
employeeNotestring | Note which becomes visible to the employee |
internalNotestring | Note visible internally in the system |
POST URL | https://api.recman.no/v2/get/ |
Scope | bookStaffingCalendar |
Operation | insert |
Fields | See details below |
Book staffing calendar fields
Fields | Description |
---|---|
staffingCalendarIdinteger |
Staffing calendar IDRequired on operation: insert |
jobIdinteger |
Job Id of the job being bookedRequired on operation: insert |
projectIdinteger |
Project IDRequired on operation: insert |
validateboolean | "0" or "1". Default is 1 if not defined. If set to 0 it will ignore AML check. |