Get company by ID
GET/api/inspect/v1/company/:id
Fetch a company that the user has access to with the ID of the company.
Request
Path Parameters
ID of the company to fetch
Responses
- 200
- 400
- 401
- 403
- 404
- 500
200 response
- application/json
- Schema
- Example (from schema)
Schema
data
object
A business entity hosting the asset health data on screening eagle inspect platform
ID of the user who created the company
Unique identifier (ID) for the company
Name of the company
User ID of the company owner
URL to the company logo
Possible values: [https://eu-io.screeningeagle.com
, https://jp-io.screeningeagle.com
, https://sg-io.screeningeagle.com
, https://uk-io.screeningeagle.com
, https://us-io.screeningeagle.com
]
Regional endpoint for the company. This endpoint is used to access the regional data of the company like assets, spots, etc.
Timestamp when the company was created in milliseconds
Timestamp when the company was last updated in milliseconds
ID of the user who last updated the company
{
"data": {
"createdBy": 1413,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"owner": 0,
"pictureURL": "string",
"regionalEndpoint": "https://eu-io.screeningeagle.com",
"createdAt": 1652933097739,
"updatedAt": 1652933097739,
"updatedBy": 1413
}
}
400 Bad Request. The request is invalid. This may occur if required parameters are missing or invalid. Ensure that all required parameters are included and valid.
- application/json
- Schema
- Example (from schema)
Schema
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
{
"errorDescription": "permission denied",
"error": "Forbidden"
}
401 Unauthorized. Authentication is required and was not provided or is invalid. Ensure that the correct credentials or tokens are included in the request.
- application/json
- Schema
- Example (from schema)
Schema
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
{
"errorDescription": "permission denied",
"error": "Forbidden"
}
403 Forbidden. The client does not have permission to perform this action. This might happen if the client lacks the necessary privileges to interact with the specified entity.
- application/json
- Schema
- Example (from schema)
Schema
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
{
"errorDescription": "permission denied",
"error": "Forbidden"
}
404 Not Found. The specified entity does not exist. Verify that the reference given is correct and that the entity is available.
- application/json
- Schema
- Example (from schema)
Schema
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
{
"errorDescription": "permission denied",
"error": "Forbidden"
}
500 Internal Server Error. An error occurred on the server while processing the request. Retry the operation or contact support if the issue persists.
- application/json
- Schema
- Example (from schema)
Schema
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
{
"errorDescription": "permission denied",
"error": "Forbidden"
}