Create Schedule
/folders/{id}/schedules
Create Schedule [POST]
Create a new schedule for a folder.
Authorization: Admin
Request
Body{
"userId": 9082,
"folderId": 22908,
"scheduleFrom": "2014-06-27T14:20:00Z",
"scheduleTo": "2014-06-27T15:20:00Z",
"note": "show ID at entrance"
}
Response 200
Body
{
"item": {
"folder": {
"id": 22908,
"num": "IN1004",
"closed": false,
"description": "Check that all parts are in working order",
"folderTypeName": "Inspections",
"folderTypeColor": "f5c960",
"accountId": 19769,
"accountName": "Springfield Nuclear Plant",
"accountNum": "SP22908",
"locationNum": null,
"locationName": "Unit 4"
},
"id": 72505,
"userId": 9082,
"user": {
"id": 9082,
"firstName": "Homer",
"lastName": "Simpson"
},
"folderId": 22908,
"scheduleFrom": "2014-06-27T14:20:00Z",
"scheduleTo": "2014-06-27T15:20:00Z",
"note": "show ID at entrance"
}
}