4.45. Editor - Search a site by address
| Id | 4.45. |
| Description |
As an Editor,
I want to be able to search for an address and retrieve the linked site information,
So that I can get an understanding of the vertical cabling situation on site. |
| Priority | High |
| Actors | Editor |
| API Calls | GET /sites |
| Linked Processes | |
| Status | Implemented |
Preconditions
- The User must be authenticated and have the Editor role.
- The User inputs a full or partial address
Postconditions
- The system returns the list of sites that match the searched address
Main flow
- The Editor uses an API call to query the sites by using either a full address or partial address information (GET).
- The system validates the search parameters.
- The system returns the list of sites that match the searched address
Exceptions
[400 Bad Request] Invalid input:
If mandatory fields are missing or invalid, the system returns an error message.
[500 Internal Server Error] System Error
If the system fails to save changes due to an internal error, it displays an appropriate message and logs the error for further investigation.