Update subcontract
PUT/api/v2/Contracts/Subcontracts/:key
Update subcontract
Request
Path Parameters
key stringrequired
Guid or ExternalKey
- application/json
Body
required
- BillableFlags
Name stringnullablerequired
Possible values: <= 250 characters
Code stringnullable
Possible values: <= 15 characters
Contract guidrequired
Description stringnullable
Possible values: <= 500 characters
EndDate date-timenullable
Billable
object
nullable
oneOf
string
Possible values: [None
, Billable
, ChangeAllowed
, BillableChangeAllowed
]
Note stringnullable
HoursPlanned int64nullable
CustomFields objectnullable
Example:
{"MyCustomField":"value","MyNestedObject":{"MyNestedProperty":"value"}}
ExternalKey stringnullable
Possible values: <= 100 characters
States string[]nullable
ResponsiblePerson guidnullable
CompletionDate date-timenullable
Responses
- 200
- 400
- 404
Successfully Updated
- application/json
- Schema
- Example (from schema)
Schema
Guid guidnullable
{
"Guid": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error
object
required
Code stringnullable
Message stringnullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Not Found
Loading...