Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT job_timesheet('create', '{
- "weekId": 15,
- "jobId": 438,
- "userId": 1603,
- "startDate": "2019-06-10T00:00:00+00:00",
- "endDate": "2019-06-17T00:00:00+00:00",
- "weeklyHours": 0,
- "totalPrice": 0,
- "weekDays": [
- {
- "day_of_week": "Monday",
- "working_hours": 0,
- "description": "",
- "date": "2019-06-17T00:00:00+00:00"
- },
- {
- "day_of_week": "Tuesday",
- "working_hours": 0,
- "description": "",
- "date": "2019-06-18T00:00:00+00:00"
- },
- {
- "day_of_week": "Wednesday",
- "working_hours": 0,
- "description": "",
- "date": "2019-06-19T00:00:00+00:00"
- },
- {
- "day_of_week": "Thursday",
- "working_hours": 0,
- "description": "",
- "date": "2019-06-20T00:00:00+00:00"
- },
- {
- "day_of_week": "Friday",
- "working_hours": 0,
- "description": "",
- "date": "2019-06-21T00:00:00+00:00"
- },
- {
- "day_of_week": "Saturday",
- "working_hours": 0,
- "description": "",
- "date": "2019-06-22T00:00:00+00:00"
- },
- {
- "day_of_week": "Sunday",
- "working_hours": 0,
- "description": "",
- "date": "2019-06-23T00:00:00+00:00"
- }
- ]
- }'::json);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement