Update contract
PUT/api/v2/Contracts/:key
Update contract
Request
Path Parameters
key stringrequired
Guid or ExternalKey
- application/json
Body
required
- BillableFlags
Name stringrequired
Possible values: non-empty
and <= 250 characters
Code stringnullable
Possible values: <= 15 characters
StartDate datenullable
EndDate datenullable
Description stringnullable
Possible values: <= 500 characters
Billable
object
nullable
oneOf
string
Possible values: [None
, Billable
, ChangeAllowed
, BillableChangeAllowed
]
CustomFields objectnullable
Example:
{"MyCustomField":"value","MyNestedObject":{"MyNestedProperty":"value"}}
ExternalKey stringnullable
Possible values: <= 100 characters
Note stringnullable
States string[]nullable
ContactPerson stringnullable
Possible values: <= 50 characters
ContactPhone stringnullable
Possible values: <= 30 characters
ContactEmail stringnullable
Possible values: <= 65 characters
CompletionDate date-timenullable
ResponsiblePerson guidnullable
Customer guidnullable
Branch guidnullable
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...