Get a contract detailed informations.
GET/contracts/:contract_id
Get a contract detailed informations.
Request
Path Parameters
contract_id stringrequired
Possible values: non-empty
The ID of the contract to retrieve.
Responses
- 200
- 404
A contract object
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
Possible values: non-empty
name string
Possible values: non-empty
managers string[]
Possible values: non-empty
List of managers ids related to this contract.
customers string[]
Possible values: non-empty
List of customers ids related to this contract.
assets string[]required
Possible values: non-empty
List of assets ids related to this contract.
{
"id": "string",
"name": "string",
"managers": [
"string"
],
"customers": [
"string"
],
"assets": [
"string"
]
}
The requested resource is not found.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Resource not found"
}
Loading...