Download OpenAPI specification:
This is the API documentation for the Employee Directory and Branch Management application.
| name required | string |
| address required | string |
| phone required | string |
{- "name": "string",
- "address": "string",
- "phone": "string"
}{- "id": "g9sdfh4nc85hd47bvn",
- "name": "Winnipeg Branch",
- "address": "1 Portage Ave, Winnipeg, MB, R3B 2B9",
- "phone": "204-988-2402"
}| id required | string The Firestore document ID of the branch to update |
| name | string |
| address | string |
| phone | string |
{- "name": "string",
- "address": "string",
- "phone": "string"
}{- "id": "g9sdfh4nc85hd47bvn",
- "name": "Winnipeg Branch",
- "address": "1 Portage Ave, Winnipeg, MB, R3B 2B9",
- "phone": "204-988-2402"
}| name required | string |
| position required | string |
| department required | string |
| email required | string |
| phone required | string |
| branchId required | integer |
{- "name": "string",
- "position": "string",
- "department": "string",
- "email": "string",
- "phone": "string",
- "branchId": 0
}{- "id": "fe4ghb67dg2d1ac1",
- "name": "Alice Johnson",
- "position": "Branch Manager",
- "department": "Management",
- "email": "alice.johnson@example.com",
- "phone": "604-555-0148",
- "branchId": 1
}| id required | string The Firestore document ID of the employee |
{- "id": "fe4ghb67dg2d1ac1",
- "name": "Alice Johnson",
- "position": "Branch Manager",
- "department": "Management",
- "email": "alice.johnson@example.com",
- "phone": "604-555-0148",
- "branchId": 1
}| id required | string The Firestore document ID of the employee to update |
| position | string |
| phone | string |
{- "position": "string",
- "phone": "string"
}{- "id": "fe4ghb67dg2d1ac1",
- "name": "Alice Johnson",
- "position": "Branch Manager",
- "department": "Management",
- "email": "alice.johnson@example.com",
- "phone": "604-555-0148",
- "branchId": 1
}| branchId required | integer Numeric branch identifier to filter employees |
[- {
- "id": "fe4ghb67dg2d1ac1",
- "name": "Alice Johnson",
- "position": "Branch Manager",
- "department": "Management",
- "email": "alice.johnson@example.com",
- "phone": "604-555-0148",
- "branchId": 1
}
]| department required | string Department name to filter employees (case-insensitive) |
[- {
- "id": "fe4ghb67dg2d1ac1",
- "name": "Alice Johnson",
- "position": "Branch Manager",
- "department": "Management",
- "email": "alice.johnson@example.com",
- "phone": "604-555-0148",
- "branchId": 1
}
]