Basic Description
This endpoint is used to get information on a specific _Address _ in Taurus-PROTECT. To understand what an Address is and how to use it, please refer to the following page in the Taurus User Guides.
This endpoint would accept a GET request with one path parameter for the relevant addressId.
Prerequisites
Required Roles
Certain API endpoints require that the user has a specific role in order to access them. Roles are used to restrict access to certain functionality within the system and ensure that only authorized users are able to perform specific actions.
Here is the list of required Roles for this particular endpoint:
- TPUser
To find out more about roles, please refer to the following page in the Taurus User Guides.
Required Input Parameters
Certain API endpoints require specific input parameters. Here is the list of Required Input Parameters for this particular endpoint:
- addressId: The ID of the requested Address.
Preconditions
It is important to note that the selected Address needs to be already created in Taurus-PROTECT. If the given addressId does not exist, the request will result in an error.
Call Example
You can find a basic example in cURL below.
Please note that you will need to update the BASEURL and the APITOKEN for the command to function.
This piece of code submits a GET request to https://your-protect-instance.example.com/api/rest/v1/addresses/{id} with the relevant Address id as a path parameter.
Call Result
A successful response for the GET call to get the relevant address info might look like this:
In this example, Taurus-PROTECT responds with a JSON object containing the address details for the given Address id.
Requirements for Future Use
For this endpoint, the storing requirements vary according to the use case.
You can find the Swagger-generated page for this endpoint in the following link.