Download OpenAPI specification:
User Privilege stands for the connection between user and location.
Each user can be associated with many different locations, and each location can have many different users.
Description
Use this API to pull user data into your BI system. This can be used to generate data for registration, roster etc. across your organization.
Path Params
| Param | Values | R | Description |
|---|
Input
| Attribute | Values | R | Description |
|---|
Output
| Attribute | Type | Description |
|---|---|---|
| employee_id | string | User's global uniq ID in partner's system. |
| site_reference_id | string | The location user is associated with. |
| created_at | datetime | The time user is created in Shyft system. |
| updated_at | datetime | The most recent time user updated in Shyft system. |
| last_see | date | The last date the user used the app. |
| is_admin | boolean | Whether or not the user is admin of this location. |
| X-Api-Key | string Example: {{api_key}} |
| X-Api-Uuid | string Example: {{api_uuid}} |
{- "user_privileges": [
- {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21455,
- "owner_id": 12227,
- "full_name": "Etty7337 Burstein",
- "employee_id": null,
- "site_reference_id": "1015",
- "is_admin": true,
- "created_at": "2021-07-21T21:49:21.916Z",
- "updated_at": "2021-07-21T21:57:52.413Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21298,
- "owner_id": 11284,
- "full_name": "Bin Li",
- "employee_id": "10050784",
- "site_reference_id": "1015",
- "is_admin": true,
- "created_at": "2021-06-29T05:55:44.778Z",
- "updated_at": "2021-08-27T00:49:13.414Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21379,
- "owner_id": 14595,
- "full_name": "Hugh Courtney",
- "employee_id": "10011025",
- "site_reference_id": "1015",
- "is_admin": false,
- "created_at": "2021-07-13T21:09:45.865Z",
- "updated_at": "2021-07-13T21:09:45.865Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21309,
- "owner_id": 14566,
- "full_name": "Allen Reddick",
- "employee_id": "10010303",
- "site_reference_id": "1015",
- "is_admin": false,
- "created_at": "2021-06-30T05:59:02.323Z",
- "updated_at": "2021-06-30T05:59:02.323Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21327,
- "owner_id": 14574,
- "full_name": "Eric Morris",
- "employee_id": "10011508",
- "site_reference_id": "2277",
- "is_admin": false,
- "created_at": "2021-07-01T18:46:37.468Z",
- "updated_at": "2021-07-01T18:46:37.468Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21446,
- "owner_id": 14639,
- "full_name": "Ryan Mccall",
- "employee_id": "30078107",
- "site_reference_id": "2284",
- "is_admin": false,
- "created_at": "2021-07-20T17:48:01.910Z",
- "updated_at": "2021-07-20T17:48:01.910Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21483,
- "owner_id": 14690,
- "full_name": "Tim Cheek",
- "employee_id": "30110988",
- "site_reference_id": "2566",
- "is_admin": false,
- "created_at": "2021-08-03T20:39:21.466Z",
- "updated_at": "2021-08-03T20:39:21.466Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21528,
- "owner_id": 14566,
- "full_name": "Allen Reddick",
- "employee_id": "10010303",
- "site_reference_id": "1144",
- "is_admin": false,
- "created_at": "2021-08-30T21:55:13.797Z",
- "updated_at": "2021-08-30T21:55:13.797Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21527,
- "owner_id": 14600,
- "full_name": "Allen Reddick",
- "employee_id": "10010303",
- "site_reference_id": "1144",
- "is_admin": true,
- "created_at": "2021-08-30T18:01:37.764Z",
- "updated_at": "2021-08-30T18:07:23.023Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21523,
- "owner_id": 14592,
- "full_name": "Howard Holmes",
- "employee_id": "10016152",
- "site_reference_id": "1144",
- "is_admin": false,
- "created_at": "2021-08-27T04:08:25.733Z",
- "updated_at": "2021-08-27T04:08:25.733Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21499,
- "owner_id": 14601,
- "full_name": "Monica Lyons",
- "employee_id": "10019827",
- "site_reference_id": "1144",
- "is_admin": true,
- "created_at": "2021-08-09T17:16:12.822Z",
- "updated_at": "2021-08-30T18:12:59.631Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21366,
- "owner_id": 14591,
- "full_name": "Zahid Ali",
- "employee_id": "10012689",
- "site_reference_id": "1144",
- "is_admin": false,
- "created_at": "2021-07-09T20:35:00.044Z",
- "updated_at": "2021-07-09T20:35:00.044Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21537,
- "owner_id": 14592,
- "full_name": "Howard Holmes",
- "employee_id": "10016152",
- "site_reference_id": "1871",
- "is_admin": false,
- "created_at": "2021-09-01T03:45:16.372Z",
- "updated_at": "2021-09-01T03:45:16.372Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21217,
- "owner_id": 14530,
- "full_name": "Francisco Rodriguez",
- "employee_id": null,
- "site_reference_id": "1955",
- "is_admin": false,
- "created_at": "2021-06-16T15:23:32.107Z",
- "updated_at": "2021-06-16T15:23:33.922Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21503,
- "owner_id": 14592,
- "full_name": "Howard Holmes",
- "employee_id": "10016152",
- "site_reference_id": "2014",
- "is_admin": true,
- "created_at": "2021-08-10T22:28:25.746Z",
- "updated_at": "2021-08-10T22:36:00.304Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21501,
- "owner_id": 14566,
- "full_name": "Allen Reddick",
- "employee_id": "10010303",
- "site_reference_id": "2014",
- "is_admin": true,
- "created_at": "2021-08-09T21:35:25.294Z",
- "updated_at": "2021-08-10T22:52:07.791Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21498,
- "owner_id": 14601,
- "full_name": "Monica Lyons",
- "employee_id": "10019827",
- "site_reference_id": "2014",
- "is_admin": false,
- "created_at": "2021-08-07T00:06:37.561Z",
- "updated_at": "2021-08-09T21:34:04.752Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21497,
- "owner_id": 14646,
- "full_name": "Alem Taffesse",
- "employee_id": null,
- "site_reference_id": "2014",
- "is_admin": false,
- "created_at": "2021-08-06T17:48:02.065Z",
- "updated_at": "2021-08-06T17:48:02.065Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21423,
- "owner_id": 14647,
- "full_name": "April Pritchard",
- "employee_id": "10562221",
- "site_reference_id": "2014",
- "is_admin": false,
- "created_at": "2021-07-19T21:29:26.951Z",
- "updated_at": "2021-07-19T21:29:26.951Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21469,
- "owner_id": 14677,
- "full_name": "Deanna Ratynski",
- "employee_id": "30142525",
- "site_reference_id": "2014",
- "is_admin": true,
- "created_at": "2021-07-28T00:25:50.691Z",
- "updated_at": "2021-07-30T19:22:49.821Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21451,
- "owner_id": 11284,
- "full_name": "Bin Li",
- "employee_id": "10050784",
- "site_reference_id": "2014",
- "is_admin": false,
- "created_at": "2021-07-20T21:47:15.100Z",
- "updated_at": "2021-07-20T21:59:35.152Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21425,
- "owner_id": 14649,
- "full_name": "William Clark",
- "employee_id": "30103637",
- "site_reference_id": "2014",
- "is_admin": false,
- "created_at": "2021-07-19T21:32:12.020Z",
- "updated_at": "2021-07-30T14:11:06.302Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21443,
- "owner_id": 14669,
- "full_name": "Douglas Stephens",
- "employee_id": "10052452",
- "site_reference_id": "2014",
- "is_admin": false,
- "created_at": "2021-07-19T22:16:35.048Z",
- "updated_at": "2021-07-19T22:16:35.048Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21442,
- "owner_id": 14668,
- "full_name": "Elvira Silvan",
- "employee_id": "30165803",
- "site_reference_id": "2014",
- "is_admin": false,
- "created_at": "2021-07-19T22:15:12.739Z",
- "updated_at": "2021-07-19T22:15:12.739Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21441,
- "owner_id": 14667,
- "full_name": "Brittany Miner",
- "employee_id": "30103164",
- "site_reference_id": "2014",
- "is_admin": false,
- "created_at": "2021-07-19T22:13:38.438Z",
- "updated_at": "2021-07-19T22:13:38.438Z"
}
], - "meta": {
- "pagination": {
- "current_page": 1,
- "next_page": 2,
- "per_page": 25,
- "total_pages": 3,
- "total_count": 59
}
}
}Shifts stands for the schedules already assigned to employees or need to be covered(open shifts).
Description
Use this API to pull shift data into your BI system. This can be used generate reporting regarding the various functions of Shyft across your organization.
Path Params
| Param | Values | R | Description |
|---|
Input
| Attribute | Values | R | Description |
|---|---|---|---|
| updated_after | datetime | only pull shifts that are updated since the date-time. | |
| created_at | datetime | only pull shifts that are created since the date-time. |
Output
| Attribute | Values | Description |
|---|---|---|
| id | integer | The ID Shyft assigns to the shift. |
| shift_reference_id | string | The ID WFM system assigns to the shift. |
| name | string | Shyft assign names to shift to indicate its type. shift: shift posted for trade within the Shyft application. inventory: shift that was imported and have not been traded. open_shift: open shift created within Shyft. vto: voluntary time off generated within Shyft. |
| person_id | string | Employee ID of user who originally owns the shift. |
| cover_person_id | string | Employee ID of user who covered the shift (empty unless shift is covered). |
| approve_person_id | string | Employee ID of user who approved or denied the shift trade (empty unless shift is approved or denied). |
| kronos_path | string | The org path that the shift was originally assigned in the Kronos system. |
| start_at | datetime | Start time of the shift in (GMT). |
| end_at | datetime | End time of the shift (GMT). |
| start_at_local | datetime | Start time of the shift as sent to Shyft. |
| end_at_local | datetime | End time of the shift as sent to Shyft. |
| created_at | datetime | Timestamp when the shift was imported (or posted if it is posted to trade) (GMT). |
| updated_at | datetime | Timestamp when the shift was last updated (GMT). |
| cover_time | datetime | Timestamp when shift was covered (GMT). |
| manage_time | datetime | Timestamp when shift was approved/denied (GMT). |
| status | string | The status of a shift. unclaimed: imported shift of a owner who is not on Shyft yet. inventory: imported shifts. posted: this shift is being traded. auto approved: this shift trade was automatically approved. pending: this shift is pending manager action. approved: this shift trade was approved by manager. rejected: this shift trade was denied by manager. |
| post_reference_id | integer | The reference ID to the post containing social communications attached to this shift trade. |
| shift_reason | string | The reason (if attached) of the shift trade from original owner. |
| comments_count | integer | The number of comments attached to this shift trade. |
| view_count | integer | The number of views attached to this shift trade. |
| is_valid | boolean | If the shift is deleted. |
| X-Api-Key | string Example: {{api_key}} |
| X-Api-Uuid | string Example: {{api_uuid}} |
{- "schedule_elements": [
- {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2737950,
- "name": "open_shift",
- "trade_status": "posted",
- "site_reference_id": "2014",
- "start_at": "2021-07-19T13:00:00.000Z",
- "end_at": "2021-07-19T23:00:00.000Z",
- "coverer_time": null,
- "manager_time": null,
- "created_at": "2021-07-16T02:33:56.894Z",
- "updated_at": "2021-07-16T14:19:06.755Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2737970,
- "name": "open_shift",
- "trade_status": "pending",
- "site_reference_id": "2014",
- "start_at": "2021-07-19T13:00:00.000Z",
- "end_at": "2021-07-19T23:00:00.000Z",
- "coverer_time": "2021-07-16T14:19:06.634Z",
- "manager_time": null,
- "created_at": "2021-07-16T14:19:06.231Z",
- "updated_at": "2021-07-16T14:19:06.833Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739263,
- "name": "open_shift",
- "trade_status": "posted",
- "site_reference_id": "2014",
- "start_at": "2021-07-21T13:00:00.000Z",
- "end_at": "2021-07-22T01:00:00.000Z",
- "coverer_time": null,
- "manager_time": null,
- "created_at": "2021-07-20T15:45:34.810Z",
- "updated_at": "2021-07-20T20:45:39.727Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2909011,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-21T13:00:00.000Z",
- "end_at": "2021-07-22T01:00:00.000Z",
- "coverer_time": "2021-07-20T19:33:57.966Z",
- "manager_time": "2021-07-20T20:45:39.600Z",
- "created_at": "2021-07-20T19:33:57.553Z",
- "updated_at": "2021-07-20T20:45:39.808Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739264,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-21T13:00:00.000Z",
- "end_at": "2021-07-22T01:00:00.000Z",
- "coverer_time": "2021-07-20T15:46:05.863Z",
- "manager_time": "2021-07-20T15:47:47.143Z",
- "created_at": "2021-07-20T15:46:05.277Z",
- "updated_at": "2021-07-20T20:45:39.883Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739284,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-21T13:00:00.000Z",
- "end_at": "2021-07-22T01:00:00.000Z",
- "coverer_time": "2021-07-20T16:05:33.699Z",
- "manager_time": "2021-07-20T16:10:53.836Z",
- "created_at": "2021-07-20T16:05:33.315Z",
- "updated_at": "2021-07-20T20:45:39.970Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739278,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-21T13:00:00.000Z",
- "end_at": "2021-07-22T01:00:00.000Z",
- "coverer_time": "2021-07-20T15:57:27.122Z",
- "manager_time": "2021-07-20T16:01:18.107Z",
- "created_at": "2021-07-20T15:57:26.682Z",
- "updated_at": "2021-07-20T20:45:40.043Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739265,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-21T13:00:00.000Z",
- "end_at": "2021-07-22T01:00:00.000Z",
- "coverer_time": "2021-07-20T15:48:31.984Z",
- "manager_time": "2021-07-20T15:50:44.315Z",
- "created_at": "2021-07-20T15:48:31.576Z",
- "updated_at": "2021-07-20T20:45:40.117Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302169,
- "name": "open_shift",
- "trade_status": "posted",
- "site_reference_id": "2014",
- "start_at": "2021-07-22T13:00:00.000Z",
- "end_at": "2021-07-22T21:00:00.000Z",
- "coverer_time": null,
- "manager_time": null,
- "created_at": "2021-07-21T15:49:32.072Z",
- "updated_at": "2021-07-21T15:55:10.980Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302175,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-22T13:00:00.000Z",
- "end_at": "2021-07-22T21:00:00.000Z",
- "coverer_time": "2021-07-21T15:54:52.253Z",
- "manager_time": "2021-07-21T15:55:10.848Z",
- "created_at": "2021-07-21T15:54:51.968Z",
- "updated_at": "2021-07-21T15:55:11.059Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739286,
- "name": "open_shift",
- "trade_status": "posted",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T12:00:00.000Z",
- "end_at": "2021-07-23T18:00:00.000Z",
- "coverer_time": null,
- "manager_time": null,
- "created_at": "2021-07-20T16:08:38.909Z",
- "updated_at": "2021-07-21T15:51:04.732Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302170,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T12:00:00.000Z",
- "end_at": "2021-07-23T18:00:00.000Z",
- "coverer_time": "2021-07-21T15:49:59.501Z",
- "manager_time": "2021-07-21T15:51:04.620Z",
- "created_at": "2021-07-21T15:49:59.225Z",
- "updated_at": "2021-07-21T15:51:04.824Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2909013,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T12:00:00.000Z",
- "end_at": "2021-07-23T18:00:00.000Z",
- "coverer_time": "2021-07-20T19:38:54.063Z",
- "manager_time": "2021-07-20T20:41:05.267Z",
- "created_at": "2021-07-20T19:38:53.658Z",
- "updated_at": "2021-07-21T15:51:04.895Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739289,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T12:00:00.000Z",
- "end_at": "2021-07-23T18:00:00.000Z",
- "coverer_time": "2021-07-20T16:14:38.962Z",
- "manager_time": "2021-07-20T16:15:07.752Z",
- "created_at": "2021-07-20T16:14:38.595Z",
- "updated_at": "2021-07-21T15:51:04.966Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739287,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T12:00:00.000Z",
- "end_at": "2021-07-23T18:00:00.000Z",
- "coverer_time": "2021-07-20T16:08:56.261Z",
- "manager_time": "2021-07-20T16:09:19.147Z",
- "created_at": "2021-07-20T16:08:55.893Z",
- "updated_at": "2021-07-21T15:51:05.051Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2739288,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T12:00:00.000Z",
- "end_at": "2021-07-23T18:00:00.000Z",
- "coverer_time": "2021-07-20T16:09:51.441Z",
- "manager_time": "2021-07-20T16:11:07.256Z",
- "created_at": "2021-07-20T16:09:50.903Z",
- "updated_at": "2021-07-21T15:51:05.141Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302182,
- "name": "open_shift",
- "trade_status": "posted",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T15:00:00.000Z",
- "end_at": "2021-07-23T23:30:00.000Z",
- "coverer_time": null,
- "manager_time": null,
- "created_at": "2021-07-21T16:01:06.118Z",
- "updated_at": "2021-07-21T16:05:38.058Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302183,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T15:00:00.000Z",
- "end_at": "2021-07-23T23:30:00.000Z",
- "coverer_time": "2021-07-21T16:02:25.656Z",
- "manager_time": "2021-07-21T16:05:37.925Z",
- "created_at": "2021-07-21T16:02:24.879Z",
- "updated_at": "2021-07-21T16:05:38.152Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302167,
- "name": "open_shift",
- "trade_status": "posted",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T15:00:00.000Z",
- "end_at": "2021-07-23T23:30:00.000Z",
- "coverer_time": null,
- "manager_time": null,
- "created_at": "2021-07-21T15:47:41.591Z",
- "updated_at": "2021-07-21T15:47:41.716Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3390512,
- "name": "shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-23T22:00:00.000Z",
- "end_at": "2021-07-24T06:30:00.000Z",
- "coverer_time": "2021-07-22T15:44:48.138Z",
- "manager_time": "2021-07-22T15:49:52.739Z",
- "created_at": "2021-07-21T21:58:29.517Z",
- "updated_at": "2021-07-22T15:49:52.739Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302165,
- "name": "open_shift",
- "trade_status": "posted",
- "site_reference_id": "2014",
- "start_at": "2021-07-24T12:00:00.000Z",
- "end_at": "2021-07-24T20:30:00.000Z",
- "coverer_time": null,
- "manager_time": null,
- "created_at": "2021-07-21T15:45:14.487Z",
- "updated_at": "2021-07-21T15:58:07.493Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302168,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-24T12:00:00.000Z",
- "end_at": "2021-07-24T20:30:00.000Z",
- "coverer_time": "2021-07-21T15:49:18.083Z",
- "manager_time": "2021-07-21T15:49:35.757Z",
- "created_at": "2021-07-21T15:49:17.741Z",
- "updated_at": "2021-07-21T15:58:08.372Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302178,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-24T12:00:00.000Z",
- "end_at": "2021-07-24T20:30:00.000Z",
- "coverer_time": "2021-07-21T15:57:41.111Z",
- "manager_time": "2021-07-21T15:58:07.366Z",
- "created_at": "2021-07-21T15:57:40.828Z",
- "updated_at": "2021-07-21T15:58:07.649Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302177,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-24T12:00:00.000Z",
- "end_at": "2021-07-24T20:30:00.000Z",
- "coverer_time": "2021-07-21T15:55:20.444Z",
- "manager_time": "2021-07-21T15:56:08.068Z",
- "created_at": "2021-07-21T15:55:19.690Z",
- "updated_at": "2021-07-21T15:58:07.819Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3302173,
- "name": "open_shift",
- "trade_status": "approved",
- "site_reference_id": "2014",
- "start_at": "2021-07-24T12:00:00.000Z",
- "end_at": "2021-07-24T20:30:00.000Z",
- "coverer_time": "2021-07-21T15:51:31.386Z",
- "manager_time": "2021-07-21T15:52:02.865Z",
- "created_at": "2021-07-21T15:51:31.104Z",
- "updated_at": "2021-07-21T15:58:08.180Z"
}
], - "meta": {
- "pagination": {
- "current_page": 1,
- "next_page": 2,
- "per_page": 25,
- "total_pages": 5,
- "total_count": 114
}
}
}Description
Pull locations usage data.
dau: daily active users.
wau: weekly active users.
mau: monthly active users.
Path Params
| Param | Values | R | Description |
|---|
Input
| Attribute | Values | R | Description |
|---|
Output
| Attribute | Type | R | Description |
|---|---|---|---|
| site_reference_id | string | the reference id of target location | |
| date | date | the target date | |
| dau | number | # of daily active users | |
| wau | number | # of weekly active users | |
| mau | number | # of monthly active users | |
| member_count | number | # of total registered users for target location on target date |
| X-Api-Key | string Example: {{api_key}} |
| X-Api-Uuid | string Example: {{api_uuid}} |
{- "locations": [
- {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0029 Seattle",
- "date": "2021-03-16",
- "dau": 88,
- "wau": 1200,
- "mau": 2349309,
- "member_count": 54
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0030 Bellevue",
- "date": "2021-03-16",
- "dau": 28,
- "wau": 7902,
- "mau": 3278393,
- "member_count": 76
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0029 Seattle",
- "date": "2021-03-17",
- "dau": 98,
- "wau": 1300,
- "mau": 2359309,
- "member_count": 58
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0030 Bellevue",
- "date": "2021-03-17",
- "dau": 48,
- "wau": 8902,
- "mau": 3478393,
- "member_count": 79
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0029 Seattle",
- "date": "2021-03-18",
- "dau": 188,
- "wau": 2200,
- "mau": 3349319,
- "member_count": 94
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0030 Bellevue",
- "date": "2021-03-18",
- "dau": 128,
- "wau": 7912,
- "mau": 3274393,
- "member_count": 176
}
]
}Description
Pull locations usage data.
dau: daily active users.
wau: weekly active users.
mau: monthly active users.
Path Params
| Param | Values | R | Description |
|---|
Input
| Attribute | Values | R | Description |
|---|
Output
| Attribute | Type | R | Description |
|---|---|---|---|
| site_reference_id | string | the reference id of target location | |
| date | date | the target date | |
| dau | number | # of daily active users | |
| wau | number | # of weekly active users | |
| mau | number | # of monthly active users | |
| member_count | number | # of total registered users for target location on target date |
| X-Api-Key | string Example: X-Api-Key={{api_key}} |
| X-Api-Uuid | string Example: X-Api-Uuid={{api_uuid}} |
| X-Api-Key | string Example: {{api_key}} |
| X-Api-Uuid | string Example: {{api_uuid}} |
{- "locations": [
- {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0029 Seattle",
- "date": "2021-03-16",
- "dau": 88,
- "wau": 1200,
- "mau": 2349309,
- "member_count": 54
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0030 Bellevue",
- "date": "2021-03-16",
- "dau": 28,
- "wau": 7902,
- "mau": 3278393,
- "member_count": 76
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0029 Seattle",
- "date": "2021-03-17",
- "dau": 98,
- "wau": 1300,
- "mau": 2359309,
- "member_count": 58
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0030 Bellevue",
- "date": "2021-03-17",
- "dau": 48,
- "wau": 8902,
- "mau": 3478393,
- "member_count": 79
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0029 Seattle",
- "date": "2021-03-18",
- "dau": 188,
- "wau": 2200,
- "mau": 3349319,
- "member_count": 94
}, - {
- "site_reference_id": "Sample Logistics/Logistics/North West/Washington/0030 Bellevue",
- "date": "2021-03-18",
- "dau": 128,
- "wau": 7912,
- "mau": 3274393,
- "member_count": 176
}
]
}Description
Pull partner's comments usage data.
Path Params
| Param | Values | R | Description |
|---|
Input
| Attribute | Values | Description |
|---|---|---|
| updated_after | datetime | only pull comments that are updated since the date-time. |
| created_at | datetime | only pull comments that are created since the date-time. |
Output
| Attribute | Type | Description |
|---|---|---|
| id | integer | The ID Shyft assigns to the comment. |
| post_reference_id | integer | The reference ID to the post containing social communications. |
| person_id | string | Employee ID of user who originally owns the comment. |
| content | string | The content of the comment. |
| created_at | datetime | Timestamp when the comment was created (GMT). |
| updated_at | datetime | Timestamp when the comment was last updated (GMT). |
| is_valid | boolean | If the comment is deleted. |
| X-Api-Key | string Example: {{api_key}} |
| X-Api-Uuid | string Example: {{api_uuid}} |
{- "posts": [
- {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 141859,
- "content": "Hey, my name is Daniel Chen, and I just joined this channel!",
- "owner_id": 7709,
- "owner_full_name": "Daniel Chen",
- "created_at": "2021-06-16T10:22:33.958Z",
- "updated_at": "2021-06-16T10:22:33.958Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 141878,
- "content": "Hey, my name is Francisco Rodriguez, and I just joined this channel!",
- "owner_id": 14530,
- "owner_full_name": "Francisco Rodriguez",
- "created_at": "2021-06-16T15:23:41.784Z",
- "updated_at": "2021-06-16T15:23:41.784Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 143386,
- "content": "Hey, my name is Bin Li, and I just joined this channel!",
- "owner_id": 11284,
- "owner_full_name": "Bin Li",
- "created_at": "2021-06-29T05:55:48.155Z",
- "updated_at": "2021-06-29T05:55:48.155Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 143495,
- "content": "Hey, my name is Elaina Jimenez, and I just joined this channel!",
- "owner_id": 14563,
- "owner_full_name": null,
- "created_at": "2021-06-29T23:06:28.816Z",
- "updated_at": "2021-06-29T23:06:28.816Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 143537,
- "content": "Hey, my name is Kyle210 Lou, and I just joined this channel!",
- "owner_id": 7613,
- "owner_full_name": "Kyle210 Lou",
- "created_at": "2021-06-30T05:53:02.506Z",
- "updated_at": "2021-06-30T05:53:02.506Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 143538,
- "content": "Hey, my name is Allen Reddick, and I just joined this channel!",
- "owner_id": 14566,
- "owner_full_name": "Allen Reddick",
- "created_at": "2021-06-30T05:59:14.160Z",
- "updated_at": "2021-06-30T05:59:14.160Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 143742,
- "content": "Hey, my name is Eric Morris, and I just joined this channel!",
- "owner_id": 14574,
- "owner_full_name": "Eric Morris",
- "created_at": "2021-07-01T18:46:44.827Z",
- "updated_at": "2021-07-01T18:46:44.827Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144565,
- "content": "Hey, my name is Kyle210 Lou, and I just joined this channel!",
- "owner_id": 7613,
- "owner_full_name": "Kyle210 Lou",
- "created_at": "2021-07-08T20:26:48.259Z",
- "updated_at": "2021-07-08T20:26:48.259Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144646,
- "content": "Hey, my name is Zahid Ali, and I just joined this channel!",
- "owner_id": 14591,
- "owner_full_name": "Zahid Ali",
- "created_at": "2021-07-09T20:35:05.860Z",
- "updated_at": "2021-07-09T20:35:05.860Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144711,
- "content": "Hey, my name is Hugh Courtney, and I just joined this channel!",
- "owner_id": 14595,
- "owner_full_name": "Hugh Courtney",
- "created_at": "2021-07-13T21:09:51.949Z",
- "updated_at": "2021-07-13T21:09:51.949Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144869,
- "content": "Higher volume than anticipated. Come help out your team!",
- "owner_id": 14604,
- "owner_full_name": null,
- "created_at": "2021-07-16T02:33:56.947Z",
- "updated_at": "2021-07-16T02:33:56.947Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144882,
- "content": "Higher volume than anticipated. Come help out your team!",
- "owner_id": 14604,
- "owner_full_name": null,
- "created_at": "2021-07-16T14:19:06.271Z",
- "updated_at": "2021-07-16T14:19:06.271Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144909,
- "content": "Hello region",
- "owner_id": 13409,
- "owner_full_name": "Brett Patrontasch",
- "created_at": "2021-07-16T19:07:50.119Z",
- "updated_at": "2021-07-16T19:07:50.119Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144918,
- "content": "Great, thanks for sharing ",
- "owner_id": 14591,
- "owner_full_name": "Zahid Ali",
- "created_at": "2021-07-19T14:24:50.890Z",
- "updated_at": "2021-07-19T14:24:50.890Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144919,
- "content": "Hi Brett",
- "owner_id": 14591,
- "owner_full_name": "Zahid Ali",
- "created_at": "2021-07-19T14:38:13.688Z",
- "updated_at": "2021-07-19T14:38:13.688Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144921,
- "content": "Lower volume than anticipated, looking for volunteers to take the day off.",
- "owner_id": 14606,
- "owner_full_name": "Scot Dupre",
- "created_at": "2021-07-19T18:05:34.366Z",
- "updated_at": "2021-07-19T18:05:34.366Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144936,
- "content": "Lower volume than anticipated, looking for volunteers to take the day off.",
- "owner_id": 14606,
- "owner_full_name": "Scot Dupre",
- "created_at": "2021-07-19T23:13:13.514Z",
- "updated_at": "2021-07-19T23:13:13.514Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144995,
- "content": "Yes, I am available. Please approve me.",
- "owner_id": 14591,
- "owner_full_name": "Zahid Ali",
- "created_at": "2021-07-20T15:46:40.452Z",
- "updated_at": "2021-07-20T15:46:40.452Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144993,
- "content": "Help needed to cover shift ",
- "owner_id": 14645,
- "owner_full_name": "Sean Curran",
- "created_at": "2021-07-20T15:45:34.883Z",
- "updated_at": "2021-07-20T15:45:34.883Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 145023,
- "content": "Open PIT Position for Thursday July 29th. ",
- "owner_id": 14653,
- "owner_full_name": "Kirk Willis",
- "created_at": "2021-07-20T16:02:57.367Z",
- "updated_at": "2021-07-20T16:02:57.367Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144885,
- "content": "Our largest hiring event ever is about to kick off! ✨ Refer your friends & family now for a seasonal warehouse position that offers competitive pay and a generous discount. We have a variety of shifts and - in some regions - we are making same day offers. jobs.Sample.com",
- "owner_id": 14606,
- "owner_full_name": "Scot Dupre",
- "created_at": "2021-07-16T14:34:29.151Z",
- "updated_at": "2021-07-16T14:34:31.370Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 145001,
- "content": "Help needed to cover shift ",
- "owner_id": 14645,
- "owner_full_name": "Sean Curran",
- "created_at": "2021-07-20T15:48:31.609Z",
- "updated_at": "2021-07-20T15:48:31.609Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 144994,
- "content": "Help needed to cover shift ",
- "owner_id": 14645,
- "owner_full_name": "Sean Curran",
- "created_at": "2021-07-20T15:46:05.327Z",
- "updated_at": "2021-07-20T15:46:05.327Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 145026,
- "content": "I need certified operators for a few hours of work ",
- "owner_id": 14591,
- "owner_full_name": "Zahid Ali",
- "created_at": "2021-07-20T16:08:38.999Z",
- "updated_at": "2021-07-20T16:08:38.999Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 145028,
- "content": "I need certified operators for a few hours of work ",
- "owner_id": 14591,
- "owner_full_name": "Zahid Ali",
- "created_at": "2021-07-20T16:09:50.931Z",
- "updated_at": "2021-07-20T16:09:50.931Z"
}
], - "meta": {
- "pagination": {
- "current_page": 1,
- "next_page": 2,
- "per_page": 25,
- "total_pages": 9,
- "total_count": 208
}
}
}Description
Pull partner's comments usage data.
Path Params
| Param | Values | R | Description |
|---|
Input
| Attribute | Values | Description |
|---|---|---|
| updated_after | datetime | only pull comments that are updated since the date-time. |
| created_at | datetime | only pull comments that are created since the date-time. |
Output
| Attribute | Type | Description |
|---|---|---|
| id | integer | The ID Shyft assigns to the comment. |
| post_reference_id | integer | The reference ID to the post containing social communications. |
| person_id | string | Employee ID of user who originally owns the comment. |
| content | string | The content of the comment. |
| created_at | datetime | Timestamp when the comment was created (GMT). |
| updated_at | datetime | Timestamp when the comment was last updated (GMT). |
| is_valid | boolean | If the comment is deleted. |
| X-Api-Key | string Example: {{api_key}} |
| X-Api-Uuid | string Example: {{api_uuid}} |
{- "comments": [
- {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 176,
- "content": "Exciting year ahead! ",
- "owner_id": 41,
- "owner_full_name": "Sheri Chiprout",
- "created_at": "2015-01-06T19:41:33.841Z",
- "updated_at": "2015-01-06T19:41:33.841Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 182,
- "content": "The best of the best!",
- "owner_id": 53,
- "owner_full_name": "Cedrik Coulombe",
- "created_at": "2015-01-07T00:41:36.960Z",
- "updated_at": "2015-01-07T00:41:36.960Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 183,
- "content": "This photo is awesome, especially grizzly Dan :)",
- "owner_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "created_at": "2015-01-07T01:04:37.387Z",
- "updated_at": "2015-01-07T01:04:37.387Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2833,
- "content": "Sjjsjs",
- "owner_id": 7609,
- "owner_full_name": "Kyle206 Liu7609",
- "created_at": "2016-11-11T21:38:22.357Z",
- "updated_at": "2016-11-11T21:38:22.357Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2834,
- "content": "Luj",
- "owner_id": 7609,
- "owner_full_name": "Kyle206 Liu7609",
- "created_at": "2016-11-11T21:42:43.028Z",
- "updated_at": "2016-11-11T21:42:43.028Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 2844,
- "content": "Yi",
- "owner_id": 7609,
- "owner_full_name": "Kyle206 Liu7609",
- "created_at": "2016-11-23T02:58:53.072Z",
- "updated_at": "2016-11-23T02:58:53.072Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3088,
- "content": "yo",
- "owner_id": 8414,
- "owner_full_name": "Kyle7469 Liu",
- "created_at": "2017-04-01T00:30:54.039Z",
- "updated_at": "2017-04-01T00:30:54.039Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 3089,
- "content": "ghjnbj bhjn kjm",
- "owner_id": 8414,
- "owner_full_name": "Kyle7469 Liu",
- "created_at": "2017-04-01T00:31:00.592Z",
- "updated_at": "2017-04-01T00:31:00.592Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 4168,
- "content": "asdfasdf",
- "owner_id": 8892,
- "owner_full_name": "Kyle2454 Liu",
- "created_at": "2017-08-23T01:56:02.976Z",
- "updated_at": "2017-08-23T01:56:02.976Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8523,
- "content": "Welcome",
- "owner_id": 10200,
- "owner_full_name": "Deepak Jji",
- "created_at": "2018-08-20T22:26:32.073Z",
- "updated_at": "2018-08-20T22:26:32.073Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8570,
- "content": "Jdjjd",
- "owner_id": 7610,
- "owner_full_name": "Kyle207Manager Manager",
- "created_at": "2018-08-22T21:30:41.060Z",
- "updated_at": "2018-08-22T21:30:41.060Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8571,
- "content": "Sick",
- "owner_id": 10203,
- "owner_full_name": "Anna Franxx",
- "created_at": "2018-08-22T21:36:55.206Z",
- "updated_at": "2018-08-22T21:36:55.206Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8572,
- "content": "Sick",
- "owner_id": 10203,
- "owner_full_name": "Anna Franxx",
- "created_at": "2018-08-22T21:38:22.159Z",
- "updated_at": "2018-08-22T21:38:22.159Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8573,
- "content": "(Open Shift #1 of 1) ",
- "owner_id": 10191,
- "owner_full_name": "Deepa Kn",
- "created_at": "2018-08-22T21:48:51.155Z",
- "updated_at": "2018-08-22T21:48:51.155Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8574,
- "content": "Test",
- "owner_id": 10203,
- "owner_full_name": "Anna Franxx",
- "created_at": "2018-08-22T21:51:09.195Z",
- "updated_at": "2018-08-22T21:51:09.195Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8575,
- "content": "sick",
- "owner_id": 10216,
- "owner_full_name": "Frank Anderson",
- "created_at": "2018-08-22T21:56:35.708Z",
- "updated_at": "2018-08-22T21:56:35.708Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8576,
- "content": "sick",
- "owner_id": 10216,
- "owner_full_name": "Frank Anderson",
- "created_at": "2018-08-22T21:58:29.507Z",
- "updated_at": "2018-08-22T21:58:29.507Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8577,
- "content": "test",
- "owner_id": 10216,
- "owner_full_name": "Frank Anderson",
- "created_at": "2018-08-22T21:59:25.334Z",
- "updated_at": "2018-08-22T21:59:25.334Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8592,
- "content": "Thank you so much for covering!",
- "owner_id": 10192,
- "owner_full_name": "Hermione Granger",
- "created_at": "2018-08-23T16:46:10.088Z",
- "updated_at": "2018-08-23T16:46:10.088Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8600,
- "content": "Hahah",
- "owner_id": 10223,
- "owner_full_name": "Sirius Black",
- "created_at": "2018-08-23T20:45:33.073Z",
- "updated_at": "2018-08-23T20:45:33.073Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8601,
- "content": "Gjgh",
- "owner_id": 10223,
- "owner_full_name": "Sirius Black",
- "created_at": "2018-08-23T20:50:33.793Z",
- "updated_at": "2018-08-23T20:50:33.793Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8602,
- "content": "Hduc",
- "owner_id": 10223,
- "owner_full_name": "Sirius Black",
- "created_at": "2018-08-23T20:50:39.834Z",
- "updated_at": "2018-08-23T20:50:39.834Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8603,
- "content": "Test",
- "owner_id": 10203,
- "owner_full_name": "Anna Franxx",
- "created_at": "2018-08-23T21:01:00.507Z",
- "updated_at": "2018-08-23T21:01:00.507Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8606,
- "content": "Needs coverage ",
- "owner_id": 7608,
- "owner_full_name": "Kyle0205 Associate",
- "created_at": "2018-08-23T21:29:56.783Z",
- "updated_at": "2018-08-23T21:29:56.783Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 8607,
- "content": "Ksjjdhd",
- "owner_id": 7608,
- "owner_full_name": "Kyle0205 Associate",
- "created_at": "2018-08-23T21:30:58.399Z",
- "updated_at": "2018-08-23T21:30:58.399Z"
}
], - "meta": {
- "pagination": {
- "current_page": 1,
- "next_page": 2,
- "per_page": 25,
- "total_pages": 18,
- "total_count": 430
}
}
}Description
Pull partner's comments usage data.
Path Params
| Param | Values | R | Description |
|---|
Input
| Attribute | Values | Description |
|---|---|---|
| updated_after | datetime | only pull comments that are updated since the date-time. |
| created_at | datetime | only pull comments that are created since the date-time. |
Output
| Attribute | Type | Description |
|---|---|---|
| id | integer | The ID Shyft assigns to the comment. |
| post_reference_id | integer | The reference ID to the post containing social communications. |
| person_id | string | Employee ID of user who originally owns the comment. |
| content | string | The content of the comment. |
| created_at | datetime | Timestamp when the comment was created (GMT). |
| updated_at | datetime | Timestamp when the comment was last updated (GMT). |
| is_valid | boolean | If the comment is deleted. |
| X-Api-Key | string Example: {{api_key}} |
| X-Api-Uuid | string Example: {{api_uuid}} |
{- "chat_messages": [
- {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 1,
- "sender_id": 1,
- "owner_full_name": "kyle1 Liu",
- "message_masked": "********",
- "receiver_ids": [
- 1,
- 4
], - "receiver_full_names": [
- "kyle1 Liu",
- "K2 Liu"
], - "created_at": "2014-12-13T22:39:52.770Z",
- "updated_at": "2014-12-13T22:39:52.770Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 19,
- "sender_id": 1,
- "owner_full_name": "kyle1 Liu",
- "message_masked": "********",
- "receiver_ids": [
- 1,
- 17
], - "receiver_full_names": [
- "kyle1 Liu",
- "K5 Liu"
], - "created_at": "2014-12-17T22:08:29.749Z",
- "updated_at": "2014-12-17T22:08:29.749Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 20,
- "sender_id": 1,
- "owner_full_name": "kyle1 Liu",
- "message_masked": "********",
- "receiver_ids": [
- 1,
- 17
], - "receiver_full_names": [
- "kyle1 Liu",
- "K5 Liu"
], - "created_at": "2014-12-17T22:08:38.867Z",
- "updated_at": "2014-12-17T22:08:38.867Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 21,
- "sender_id": 1,
- "owner_full_name": "kyle1 Liu",
- "message_masked": "********",
- "receiver_ids": [
- 1,
- 17
], - "receiver_full_names": [
- "kyle1 Liu",
- "K5 Liu"
], - "created_at": "2014-12-17T22:08:54.188Z",
- "updated_at": "2014-12-17T22:08:54.188Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 22,
- "sender_id": 1,
- "owner_full_name": "kyle1 Liu",
- "message_masked": "********",
- "receiver_ids": [
- 1,
- 17
], - "receiver_full_names": [
- "kyle1 Liu",
- "K5 Liu"
], - "created_at": "2014-12-17T22:09:19.907Z",
- "updated_at": "2014-12-17T22:09:19.907Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 37,
- "sender_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 19
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T04:21:12.179Z",
- "updated_at": "2014-12-18T04:21:12.179Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 63,
- "sender_id": 23,
- "owner_full_name": "Kyle Liu",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T15:25:06.922Z",
- "updated_at": "2014-12-18T15:25:06.922Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 64,
- "sender_id": 23,
- "owner_full_name": "Kyle Liu",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T15:25:15.967Z",
- "updated_at": "2014-12-18T15:25:15.967Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 65,
- "sender_id": 23,
- "owner_full_name": "Kyle Liu",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T15:25:24.046Z",
- "updated_at": "2014-12-18T15:25:24.046Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 66,
- "sender_id": 23,
- "owner_full_name": "Kyle Liu",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T15:40:48.449Z",
- "updated_at": "2014-12-18T15:40:48.449Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 67,
- "sender_id": 23,
- "owner_full_name": "Kyle Liu",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T15:41:12.887Z",
- "updated_at": "2014-12-18T15:41:12.887Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 92,
- "sender_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T18:42:53.436Z",
- "updated_at": "2014-12-18T18:42:53.436Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 93,
- "sender_id": 23,
- "owner_full_name": "Kyle Liu",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T18:43:10.007Z",
- "updated_at": "2014-12-18T18:43:10.007Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 94,
- "sender_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T18:43:24.042Z",
- "updated_at": "2014-12-18T18:43:24.042Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 95,
- "sender_id": 23,
- "owner_full_name": "Kyle Liu",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T18:43:57.477Z",
- "updated_at": "2014-12-18T18:43:57.477Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 96,
- "sender_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T18:44:17.188Z",
- "updated_at": "2014-12-18T18:44:17.188Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 97,
- "sender_id": 23,
- "owner_full_name": "Kyle Liu",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T18:56:20.170Z",
- "updated_at": "2014-12-18T18:56:20.170Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 98,
- "sender_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "message_masked": "********",
- "receiver_ids": [
- 7,
- 23
], - "receiver_full_names": [
- "Brett Patrontasch",
- "Kyle Liu"
], - "created_at": "2014-12-18T18:59:46.773Z",
- "updated_at": "2014-12-18T18:59:46.773Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 99,
- "sender_id": 36,
- "owner_full_name": "Nick Hamm",
- "message_masked": "********",
- "receiver_ids": [
- 36,
- 7
], - "receiver_full_names": [
- "Nick Hamm",
- "Brett Patrontasch"
], - "created_at": "2014-12-18T20:21:49.493Z",
- "updated_at": "2014-12-18T20:21:49.493Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 100,
- "sender_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "message_masked": "********",
- "receiver_ids": [
- 36,
- 7
], - "receiver_full_names": [
- "Nick Hamm",
- "Brett Patrontasch"
], - "created_at": "2014-12-18T20:22:03.277Z",
- "updated_at": "2014-12-18T20:22:03.277Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 101,
- "sender_id": 36,
- "owner_full_name": "Nick Hamm",
- "message_masked": "********",
- "receiver_ids": [
- 36,
- 7
], - "receiver_full_names": [
- "Nick Hamm",
- "Brett Patrontasch"
], - "created_at": "2014-12-18T20:22:33.051Z",
- "updated_at": "2014-12-18T20:22:33.051Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 102,
- "sender_id": 36,
- "owner_full_name": "Nick Hamm",
- "message_masked": "********",
- "receiver_ids": [
- 36,
- 7
], - "receiver_full_names": [
- "Nick Hamm",
- "Brett Patrontasch"
], - "created_at": "2014-12-18T20:22:46.254Z",
- "updated_at": "2014-12-18T20:22:46.254Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 103,
- "sender_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "message_masked": "********",
- "receiver_ids": [
- 36,
- 7
], - "receiver_full_names": [
- "Nick Hamm",
- "Brett Patrontasch"
], - "created_at": "2014-12-18T20:23:16.010Z",
- "updated_at": "2014-12-18T20:23:16.010Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 104,
- "sender_id": 36,
- "owner_full_name": "Nick Hamm",
- "message_masked": "********",
- "receiver_ids": [
- 36,
- 7
], - "receiver_full_names": [
- "Nick Hamm",
- "Brett Patrontasch"
], - "created_at": "2014-12-18T20:25:08.369Z",
- "updated_at": "2014-12-18T20:25:08.369Z"
}, - {
- "_associations_removed": true,
- "_parent_object_id": null,
- "id": 105,
- "sender_id": 7,
- "owner_full_name": "Brett Patrontasch",
- "message_masked": "********",
- "receiver_ids": [
- 36,
- 7
], - "receiver_full_names": [
- "Nick Hamm",
- "Brett Patrontasch"
], - "created_at": "2014-12-18T20:26:26.964Z",
- "updated_at": "2014-12-18T20:26:26.964Z"
}
], - "meta": {
- "pagination": {
- "current_page": 1,
- "next_page": 2,
- "per_page": 25,
- "total_pages": 153,
- "total_count": 3823
}
}
}