Update contract state
PUT/api/v2/Contracts/States/:key
Update contract state
Request
Path Parameters
key stringrequired
Guid or ExternalKey
- application/json
Body
required
- ContractStateVisibility
Name stringrequired
Possible values: non-empty
and <= 100 characters
DisplayName stringrequired
Possible values: non-empty
and <= 100 characters
Visibility
object
oneOf
string
Possible values: [Contracts
, Subcontracts
, All
]
Color stringnullable
Possible values: <= 7 characters
SortOrder int32required
Possible values: >= 1
and <= 32767
ExternalKey stringnullable
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...