Skip to content

Instantly share code, notes, and snippets.

@daviddmr
Created October 14, 2020 17:47
Show Gist options
  • Select an option

  • Save daviddmr/8769393e3efc080f30574c6adc3a6f6a to your computer and use it in GitHub Desktop.

Select an option

Save daviddmr/8769393e3efc080f30574c6adc3a6f6a to your computer and use it in GitHub Desktop.
Order schedule object
{
"order_schedule": {
"id": 2805,
"start_time": "2020-10-16T18:00:00.000Z",
"end_time": "2020-10-17T06:00:00.000Z",
"status": "accepted",
"total_time": "11.5",
"total_price": "448.5",
"total_payout": "333.5",
"flex": false,
"created_at": "2020-09-21T17:13:01.531Z",
"assessment_status": "accepted",
"time_sheet": {
"id": 2786,
"status": "pending",
"clock_in": "2020-10-16T18:00:00.000Z",
"clock_out": "2020-10-17T06:00:00.000Z",
"unpaid_break_time": "00:30",
"approved_start_time": "2020-10-16T18:00:00.000Z",
"approved_end_time": "2020-10-17T06:00:00.000Z",
"approved_unpaid_break_time": "00:30",
"approved_total_time": "11.5",
"approved_customer_cost": "448.5",
"approved_by": null,
"approved_at": null,
"notes": null,
"performed_skills": []
},
"main_jane": {
"id": 742,
"avatar": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg",
"large": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/large_28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg"
},
"small": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/small_28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg"
}
},
"first_name": "Hula",
"last_name": "Hu",
"access_status": "approved",
"jane_positions": [
{
"id": 2858,
"name": "Personal Support Worker"
},
{
"id": 2859,
"name": "Registered Practical Nurse"
},
{
"id": 2860,
"name": "Registered Nurse"
},
{
"id": 2862,
"name": "Recreation Team Member"
},
{
"id": 2863,
"name": "Maintenance Worker"
}
],
"agency_community": null
},
"order": {
"id": 2810,
"is_b2b": true,
"description": "daily orders",
"status": "accepted",
"order_schedules_count": 1,
"total_price": "448.5",
"total_time": "11.5",
"requested_jane": false,
"created_at": "2020-09-21T17:12:59.919Z",
"resident": null,
"position_filter_by": [
{
"id": 2858,
"code": "51e71a70-2438-4da9-bac4-a15ec9dd0d57",
"name": "Personal Support Worker"
},
{
"id": 7,
"code": "PSWS",
"name": "Personal Support Worker (Shift)"
}
],
"assessment_required": true,
"customer_info": {
"name": "LNT",
"welcome_message": "",
"check_in_procedure": "",
"dress_code": "",
"notes": "",
"avatar": {
"url": null,
"large": {
"url": null
},
"small": {
"url": null
}
}
},
"contact_info": {
"contact_name": "Alisha undefined",
"contact_phone": "8378283902"
},
"order_location": {
"id": 743,
"latitude": 43.7648261,
"longitude": -79.4128023,
"country": "Canada",
"state": "ON",
"city": "Toronto",
"street": "Yonge Street",
"street_number": "4950",
"zip_code": null,
"flat": null,
"full_address": "4950 Yonge Street, Toronto, ON, Canada"
},
"order_schedules": [
{
"id": 2805,
"start_time": "2020-10-16T18:00:00.000Z",
"end_time": "2020-10-17T06:00:00.000Z",
"status": "accepted",
"total_time": "11.5",
"total_price": "448.5",
"total_payout": "333.5",
"flex": false,
"created_at": "2020-09-21T17:13:01.531Z",
"assessment_status": "accepted",
"time_sheet": {
"id": 2786,
"status": "pending",
"clock_in": "2020-10-16T18:00:00.000Z",
"clock_out": "2020-10-17T06:00:00.000Z",
"unpaid_break_time": "00:30",
"approved_start_time": "2020-10-16T18:00:00.000Z",
"approved_end_time": "2020-10-17T06:00:00.000Z",
"approved_unpaid_break_time": "00:30",
"approved_total_time": "11.5",
"approved_customer_cost": "448.5",
"approved_by": null,
"approved_at": null,
"notes": null,
"performed_skills": []
},
"main_jane": {
"id": 742,
"avatar": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg",
"large": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/large_28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg"
},
"small": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/small_28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg"
}
},
"first_name": "Hula",
"last_name": "Hu",
"access_status": "approved",
"jane_positions": [
{
"id": 2858,
"name": "Personal Support Worker"
},
{
"id": 2859,
"name": "Registered Practical Nurse"
},
{
"id": 2860,
"name": "Registered Nurse"
},
{
"id": 2862,
"name": "Recreation Team Member"
},
{
"id": 2863,
"name": "Maintenance Worker"
}
],
"agency_community": null
}
}
],
"recurring_end_date": "2021-07-17T04:00:00.000Z",
"frequency": "day",
"interval": 30,
"recurring": {
"id": 219,
"frequency": "day",
"expiration_date": "2021-07-17T04:00:00.000Z",
"status": "active",
"created_at": "2020-09-21T17:12:59.988Z",
"updated_at": "2020-10-08T16:37:39.649Z",
"interval": 30,
"day": null,
"ordinal": null,
"weekdays": null,
"order_id": 2810,
"shift_meta": {
"end_time": "2020-10-17T06:00:00.000Z",
"break_time": "00:30",
"start_time": "2020-10-16T18:00:00.000Z"
},
"trail_date": "2020-12-15T18:00:00.000Z",
"main_jane": {
"id": 742,
"email": "subhashree+box9@bookjane.com",
"first_name": "Hula",
"last_name": "Hu",
"phone": "8454545184",
"gender": "not_known",
"avatar": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg",
"large": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/large_28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg"
},
"small": {
"url": "https://s3.amazonaws.com/bjk2-0/sandbox/user/avatar/742/small_28ACD855-1BA4-4D77-8AC4-DBF5857713B6.jpg"
}
},
"working_radius": 150,
"provider": "email",
"provider_id": null,
"created_at": "2020-09-18T17:21:18.085Z",
"updated_at": "2020-09-18T20:24:55.543Z",
"languages": [],
"bio": "",
"experience": null,
"rating": "5.0",
"access_status": "approved",
"date_of_birth": null,
"introduction_video": {
"url": null
},
"notes": null,
"contact_name": null,
"push_receiving_channels": [
"apn",
"gcm",
"twilio",
"pusher",
"email"
],
"accepted_tos": null,
"accepted_privacy_policy": null,
"seniority_date": "2017-01-01",
"employment_status": "reg_part_time",
"payroll_id": "",
"probation": false,
"company_experience_val": null,
"applicant": false,
"primary_community_id": 327,
"preview_introduction_video": {
"url": null
},
"pseudo_jane": false,
"phone_extension": null,
"old_id": null,
"agency_community_id": null,
"employee_number": null,
"industry_id": null,
"account_level_id": null,
"title": null,
"tiering_status": "off",
"sharing_status": "disable",
"onboarding_initiated": false,
"access_level_id": 1,
"is_mobile": true,
"deleted_at": null,
"invitation_id": "6a3bc561-c00e-4175-a5df-bf7b408ab19e",
"invite_type": null
}
},
"community": {
"id": 327,
"identifier": "327LN",
"main": true,
"name": "LNT",
"avatar_urls": {
"origin": null,
"large": null,
"small": null
},
"contact_phone": "8378283902",
"contact_name": "Alisha undefined",
"contact_email": "subhashree+sandbox@bookjane.com",
"b2b_customer_id": 666,
"dress_code": "",
"parking": "",
"check_in_procedure": "",
"policies": "",
"welcome_message": "",
"notes": "",
"location": {
"id": 743,
"latitude": 43.7648261,
"longitude": -79.4128023,
"country": "Canada",
"state": "ON",
"city": "Toronto",
"street": "Yonge Street",
"street_number": "4950",
"zip_code": null,
"flat": null,
"full_address": "4950 Yonge Street, Toronto, ON, Canada"
}
},
"position": {
"id": 2858,
"name": "Personal Support Worker",
"code": "51e71a70-2438-4da9-bac4-a15ec9dd0d57",
"skills": [],
"flag": false
},
"room": null
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment