List all contracts.
GET/contracts
By default the call will only return the ongoing contracts.
Responses
- 200
A array of contracts entities
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
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.
next stringrequired
Possible values: non-empty
previous string
Possible values: non-empty
{
"data": [
{
"id": "string",
"name": "string",
"managers": [
"string"
],
"customers": [
"string"
],
"assets": [
"string"
]
}
],
"next": "string",
"previous": "string"
}
Loading...