Get All Cs
GET/v1/armada/datacenter_contract
Get all contracts
Responses
- 200
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
start_date date-time
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
end_date date-time
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
cancel_date date-time
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
period_days Period Days (integer)
The number of days in the contract period
extend_period_days Extend Period Days (integer)
The service extend period in days
notice_days Notice Days (integer)
The number of days notice required to cancel the contract
purchase_order Purchase Order (string)
Possible values: non-empty
The purchase order number or description for the contract
payment_term_days Payment Term Days (integer)
The number of days after the invoice is sent that payment is due
hosts uuid[]
The IDs of the hosts this contract is associated with
datacenter_contract_id uuidrequired
[
{
"start_date": "2024-07-29T15:51:28.071Z",
"end_date": "2024-07-29T15:51:28.071Z",
"cancel_date": "2024-07-29T15:51:28.071Z",
"period_days": 0,
"extend_period_days": 0,
"notice_days": 0,
"purchase_order": "string",
"payment_term_days": 0,
"hosts": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"datacenter_contract_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Loading...