{ "opencollection": "1.0.0", "info": { "name": "Shyft Customer Authentication > Email Customer > RequstTimeOff API", "version": "1.0.0" }, "items": [ { "info": { "name": "Customer > RequstTimeOff", "type": "folder" }, "items": [ { "info": { "name": "get manageable request time offs", "type": "http" }, "http": { "method": "GET", "url": "http://{{host}}/api/customer/user_role/request_time_offs/can_admin", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "location_id", "value": "{{location_id}}", "type": "query" } ] }, "docs": "Description\n- - - \n\n\n\n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\n\n\nOutput\n- - -" }, { "info": { "name": "get my request time offs", "type": "http" }, "http": { "method": "GET", "url": "http://{{host}}/api/customer/user_role/request_time_offs/mine", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ] }, "docs": "Description\n- - - \n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\n\n\nOutput\n- - -" }, { "info": { "name": "get user's request time off balances", "type": "http" }, "http": { "method": "GET", "url": "http://{{host}}/api/customer/user_role/user_privileges/:user_privilege_id/rto_balances", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "user_privilege_id", "value": "", "type": "path" } ] }, "docs": "Description\n- - - \n\n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\n\n\nOutput\n- - -" }, { "info": { "name": "get a single rto", "type": "http" }, "http": { "method": "GET", "url": "http://{{host}}/api/customer/user_role/request_time_offs/:rto_id", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "rto_id", "value": "", "type": "path" } ] }, "docs": "Description\n- - - \n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\n\n\nOutput\n- - -" }, { "info": { "name": "create request time off", "type": "http" }, "http": { "method": "POST", "url": "http://{{host}}/api/customer/user_role/request_time_offs", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Description\n- - - \n\n\n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\n\n\nOutput\n- - -" }, { "info": { "name": "approve request time off", "type": "http" }, "http": { "method": "PUT", "url": "http://{{host}}/api/customer/user_role/request_time_offs/:request_time_off_id/approve", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "response[put_return_resource]", "value": "true", "type": "query" }, { "name": "request_time_off_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Description\n- - - \n\n\n\n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\n\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\n\n\nOutput\n- - -" }, { "info": { "name": "deny request time off", "type": "http" }, "http": { "method": "PUT", "url": "http://{{host}}/api/customer/user_role/request_time_offs/1/deny", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "response[put_return_resource]", "value": "true", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Description\n- - - \n\n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\n\n\nOutput\n- - -" }, { "info": { "name": "cancel request time off", "type": "http" }, "http": { "method": "DELETE", "url": "http://{{host}}/api/customer/user_role/request_time_offs/1", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ] }, "docs": "Description\n- - - \n\n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\n\n\nOutput\n- - -" } ] } ], "bundled": true }