Get All Teams
Author: Rohit Agnihotri
18 views
GET
Get All Teams
{{URL}}/api/get_all_teams
Get All Teams of Dispatcher
HEADERS
shortcode
b0eeff
None
Example Request
- Get Team List
Example Response
{- data: [
- {
- id: 1
- manager_id: null
- name: "Car Team"
- location_accuracy: 1
- location_frequency: 1
- created_at: null
- updated_at: "2022-09-09T16:17:01.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 8
- name: "Testing"
- created_at: "2022-09-09T16:17:01.000000Z"
- updated_at: "2022-09-09T16:17:01.000000Z"
- pivot: {
- team_id: 1
- tag_id: 8
}
}
]
} - {
- id: 2
- manager_id: null
- name: "Moto Team"
- location_accuracy: 1
- location_frequency: 1
- created_at: null
- updated_at: null
- client_id: "b0eeff"
- tags: [
]
} - {
- id: 3
- manager_id: null
- name: "Peru Cabs Team"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-08T16:12:06.000000Z"
- updated_at: "2022-09-08T16:12:06.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 1
- name: "8b8156_2"
- created_at: "2022-09-08T11:16:12.000000Z"
- updated_at: "2022-09-08T11:16:12.000000Z"
- pivot: {
- team_id: 3
- tag_id: 1
}
}
]
} - {
- id: 4
- manager_id: 1
- name: "Bus Outstation"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-09T15:27:52.000000Z"
- updated_at: "2022-09-09T16:22:30.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 2
- name: "busoutstation"
- created_at: "2022-09-09T15:27:52.000000Z"
- updated_at: "2022-09-09T15:27:52.000000Z"
- pivot: {
- team_id: 4
- tag_id: 2
}
} - {
- id: 9
- name: "buslocal"
- created_at: "2022-09-09T16:22:30.000000Z"
- updated_at: "2022-09-09T16:22:30.000000Z"
- pivot: {
- team_id: 4
- tag_id: 9
}
}
]
} - {
- id: 5
- manager_id: 1
- name: "Hatchbackcar Outstation"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-09T15:28:35.000000Z"
- updated_at: "2022-09-09T15:28:35.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 3
- name: "hatchbackcaroutstati"
- created_at: "2022-09-09T15:28:35.000000Z"
- updated_at: "2022-09-09T15:28:35.000000Z"
- pivot: {
- team_id: 5
- tag_id: 3
}
}
]
} - {
- id: 6
- manager_id: 1
- name: "Sedancar Oustation"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-09T15:29:09.000000Z"
- updated_at: "2022-09-09T15:29:09.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 4
- name: "Sedancaroutstation"
- created_at: "2022-09-09T15:29:09.000000Z"
- updated_at: "2022-09-09T15:29:09.000000Z"
- pivot: {
- team_id: 6
- tag_id: 4
}
}
]
} - {
- id: 7
- manager_id: 1
- name: "SUVcar Outstation"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-09T15:29:53.000000Z"
- updated_at: "2022-09-09T15:29:53.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 5
- name: "SUVcaroutstation"
- created_at: "2022-09-09T15:29:53.000000Z"
- updated_at: "2022-09-09T15:29:53.000000Z"
- pivot: {
- team_id: 7
- tag_id: 5
}
}
]
} - {
- id: 8
- manager_id: 1
- name: "Tempotravellers Outstation"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-09T15:30:26.000000Z"
- updated_at: "2022-09-09T15:30:26.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 6
- name: "Tempotravellersoutst"
- created_at: "2022-09-09T15:30:26.000000Z"
- updated_at: "2022-09-09T15:30:26.000000Z"
- pivot: {
- team_id: 8
- tag_id: 6
}
}
]
} - {
- id: 9
- manager_id: 1
- name: "Wingervan Outstation"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-09T15:31:00.000000Z"
- updated_at: "2022-09-09T15:31:00.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 7
- name: "wingervanoutstation"
- created_at: "2022-09-09T15:31:00.000000Z"
- updated_at: "2022-09-09T15:31:00.000000Z"
- pivot: {
- team_id: 9
- tag_id: 7
}
}
]
} - {
- id: 10
- manager_id: 1
- name: "Buslocal"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-09T16:24:09.000000Z"
- updated_at: "2022-09-09T16:24:09.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 9
- name: "buslocal"
- created_at: "2022-09-09T16:22:30.000000Z"
- updated_at: "2022-09-09T16:22:30.000000Z"
- pivot: {
- team_id: 10
- tag_id: 9
}
} - {
- id: 10
- name: "taxi"
- created_at: "2022-09-09T16:24:09.000000Z"
- updated_at: "2022-09-09T16:24:09.000000Z"
- pivot: {
- team_id: 10
- tag_id: 10
}
}
]
} - {
- id: 11
- manager_id: null
- name: "Go Rentals Team"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-29T15:54:48.000000Z"
- updated_at: "2022-09-29T18:53:47.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 12
- name: "8b8156_4"
- created_at: "2022-09-29T15:54:48.000000Z"
- updated_at: "2022-09-29T15:54:48.000000Z"
- pivot: {
- team_id: 11
- tag_id: 12
}
}
]
} - {
- id: 12
- manager_id: 1
- name: "Hatchback Rentals"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-29T18:48:17.000000Z"
- updated_at: "2022-09-29T18:48:17.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 13
- name: "Hatchback"
- created_at: "2022-09-29T18:48:17.000000Z"
- updated_at: "2022-09-29T18:48:17.000000Z"
- pivot: {
- team_id: 12
- tag_id: 13
}
}
]
} - {
- id: 13
- manager_id: 1
- name: "SUV Rentals"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-09-29T18:48:50.000000Z"
- updated_at: "2022-09-29T18:49:00.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 14
- name: "SUV Rentals"
- created_at: "2022-09-29T18:49:00.000000Z"
- updated_at: "2022-09-29T18:49:00.000000Z"
- pivot: {
- team_id: 13
- tag_id: 14
}
}
]
} - {
- id: 14
- manager_id: 4
- name: "Flywheel Team"
- location_accuracy: 1
- location_frequency: 1
- created_at: "2022-10-28T11:54:06.000000Z"
- updated_at: "2022-10-28T11:54:06.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 18
- name: "2d98b5_1"
- created_at: "2022-10-28T11:54:06.000000Z"
- updated_at: "2022-10-28T11:54:06.000000Z"
- pivot: {
- team_id: 14
- tag_id: 18
}
}
]
} - {
- id: 15
- manager_id: 1
- name: "test"
- location_accuracy: 2
- location_frequency: 5
- created_at: "2023-03-29T06:45:43.000000Z"
- updated_at: "2023-03-29T06:45:43.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 19
- name: "test"
- created_at: "2023-03-29T06:45:43.000000Z"
- updated_at: "2023-03-29T06:45:43.000000Z"
- pivot: {
- team_id: 15
- tag_id: 19
}
}
]
} - {
- id: 16
- manager_id: null
- name: "ApiTeam"
- location_accuracy: 2
- location_frequency: 2
- created_at: "2023-03-29T09:30:20.000000Z"
- updated_at: "2023-03-29T09:30:20.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 20
- name: "tester"
- created_at: "2023-03-29T09:30:20.000000Z"
- updated_at: "2023-03-29T09:30:20.000000Z"
- pivot: {
- team_id: 16
- tag_id: 20
}
}
]
} - {
- id: 17
- manager_id: null
- name: "testedTeam"
- location_accuracy: 2
- location_frequency: 2
- created_at: "2023-03-30T07:30:49.000000Z"
- updated_at: "2023-03-30T07:30:49.000000Z"
- client_id: "b0eeff"
- tags: [
- {
- id: 21
- name: "testingsss"
- created_at: "2023-03-30T07:30:49.000000Z"
- updated_at: "2023-03-30T07:30:49.000000Z"
- pivot: {
- team_id: 17
- tag_id: 21
}
}
]
}
] - status: 200
- message: "success"
}
Still stuck? How can we help?
How can we help?
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.