Create new contract state
Create new contract state
- application/json
Request Body required
- Name string required
Possible values:
non-empty
and<= 100 characters
- DisplayName string required
Possible values:
non-empty
and<= 100 characters
Visibility object
- oneOf
- ContractStateVisibility
stringPossible values: [
Contracts
,Subcontracts
,All
]- oneOf
- Color string nullable
Possible values:
<= 7 characters
- SortOrder int32 required
Possible values:
>= 1
and<= 32767
- ExternalKey string nullable
Responses
- 201
- 400
Successfully Inserted
- application/json
- Schema
- Example (from schema)
Schema
- Guid guid nullable
- ExternalKey string nullable
{
"Guid": "string",
"ExternalKey": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error object required
Code string nullableMessage string nullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Loading...