Get subcontracts
GET/api/v2/Contracts/Subcontracts
Get subcontracts
Request
Query Parameters
ContinuationToken string
Token is needed, unless all records have been returned in previous request. Do not forget to pass also all other parameters.
contractKey string
Contract Guid or ExternalKey
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
ContinuationToken stringnullable
Items
object[]
nullable
Guid guid
Revision int64
PersonCreated guidnullable
PersonChanged guidnullable
TimestampCreated date-timenullable
Example:
2024-10-07T12:48:00Z
TimestampChanged date-timenullable
Example:
2024-10-07T12:48:00Z
Name stringnullablerequired
Code stringnullable
Contract guid
Description stringnullable
EndDate datenullable
Billable BillableFlags (string)
Possible values: [None
, Billable
, ChangeAllowed
, BillableChangeAllowed
]
Note stringnullable
CustomFields objectnullable
Example:
{"MyCustomField":"value","MyNestedObject":{"MyNestedProperty":"value"}}
ExternalKey stringnullable
States string[]nullable
ResponsiblePerson guidnullable
CompletionDate date-timenullable
{
"ContinuationToken": "string",
"Items": [
{
"Guid": "string",
"Revision": 0,
"PersonCreated": "string",
"PersonChanged": "string",
"TimestampCreated": "2024-10-07T12:48:00Z",
"TimestampChanged": "2024-10-07T12:48:00Z",
"Name": "string",
"Code": "string",
"Contract": "string",
"Description": "string",
"EndDate": "2024-07-29",
"Billable": "None",
"Note": "string",
"CustomFields": {
"MyCustomField": "value",
"MyNestedObject": {
"MyNestedProperty": "value"
}
},
"ExternalKey": "string",
"States": [
"string"
],
"ResponsiblePerson": "string",
"CompletionDate": "2024-07-29T15:51:28.071Z"
}
]
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error
object
required
Code stringnullable
Message stringnullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Loading...