Get Contract State
GET/api/v2/Contracts/States/:key
Get Contract State
Request
Path Parameters
key stringrequired
Guid or ExternalKey
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
Guid guid
Revision int64
PersonCreated guidnullable
PersonChanged guidnullable
TimestampCreated date-timenullable
Example:
2024-10-07T12:48:00Z
TimestampChanged date-timenullable
Example:
2024-10-07T12:48:00Z
Name stringnullable
Possible values: <= 100 characters
DisplayName stringnullable
Possible values: <= 100 characters
Visibility ContractStateVisibility (string)
Possible values: [Contracts
, Subcontracts
, All
]
Color stringnullable
Possible values: <= 7 characters
SortOrder integer
ExternalKey stringnullable
{
"Guid": "string",
"Revision": 0,
"PersonCreated": "string",
"PersonChanged": "string",
"TimestampCreated": "2024-10-07T12:48:00Z",
"TimestampChanged": "2024-10-07T12:48:00Z",
"Name": "string",
"DisplayName": "string",
"Visibility": "Contracts",
"Color": "string",
"SortOrder": 0,
"ExternalKey": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
- ActivityType
- ActivityTypeTimeEntry
Guid guid
Revision int64
PersonCreated guidnullable
PersonChanged guidnullable
TimestampCreated date-timenullable
Example:
2024-10-07T12:48:00Z
TimestampChanged date-timenullable
Example:
2024-10-07T12:48:00Z
Name stringnullablerequired
Code stringnullable
Type
object
oneOf
string
Possible values: [Work
, Absence
, Break
]
Default boolean
TimeEntry
object
oneOf
string
Possible values: [Optional
, TotalTime
, FromTo
]
Inactive boolean
Movement boolean
Icon stringnullable
ExternalKey stringnullable
{
"Guid": "string",
"Revision": 0,
"PersonCreated": "string",
"PersonChanged": "string",
"TimestampCreated": "2024-10-07T12:48:00Z",
"TimestampChanged": "2024-10-07T12:48:00Z",
"Name": "string",
"Code": "string",
"Type": "Work",
"Default": true,
"TimeEntry": "Optional",
"Inactive": true,
"Movement": true,
"Icon": "string",
"ExternalKey": "string"
}
Loading...