Create new contract state
POST/api/v2/Contracts/States
Create new contract state
Request
- 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
- 201
- 400
Successfully Inserted
- application/json
- Schema
- Example (from schema)
Schema
Guid guidnullable
ExternalKey stringnullable
{
"Guid": "string",
"ExternalKey": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error
object
required
Code stringnullable
Message stringnullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Loading...