Get contract
Get contract
Path Parameters
- key string required
Guid or ExternalKey
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- Guid guid
- Revision int64
- PersonCreated guid nullable
- PersonChanged guid nullable
- TimestampCreated date-time nullable
- TimestampChanged date-time nullable
- Name string nullable required
- Code string nullable
- Customer guid nullable
- ResponsiblePerson guid nullable
- Description string nullable
- StartDate date nullable
- EndDate date nullable
- Billable BillableFlags
Possible values: [
None
,Billable
,ChangeAllowed
,BillableChangeAllowed
] - Note string nullable
- CostsPlanned int64 nullable
- HoursPlanned int64 nullable
- CustomFields object nullable
- ExternalKey string nullable
- States string[] nullable
- ContactPerson string nullable
Possible values:
<= 50 characters
- ContactPhone string nullable
Possible values:
<= 30 characters
- ContactEmail string nullable
Possible values:
<= 65 characters
- CompletionDate date-time nullable
{
"Guid": "string",
"Revision": 0,
"PersonCreated": "string",
"PersonChanged": "string",
"TimestampCreated": "2023-11-06T13:22:00Z",
"TimestampChanged": "2023-11-06T13:22:00Z",
"Name": "string",
"Code": "string",
"Customer": "string",
"ResponsiblePerson": "string",
"Description": "string",
"StartDate": "2023-11-06",
"EndDate": "2023-11-06",
"Billable": "None",
"Note": "string",
"CostsPlanned": 0,
"HoursPlanned": 0,
"CustomFields": {
"MyCustomField": "value",
"MyNestedObject": {
"MyNestedProperty": "value"
}
},
"ExternalKey": "string",
"States": [
"string"
],
"ContactPerson": "string",
"ContactPhone": "string",
"ContactEmail": "string",
"CompletionDate": "2023-11-06T13:24:57.085Z"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
- Guid guid
- Revision int64
- PersonCreated guid nullable
- PersonChanged guid nullable
- TimestampCreated date-time nullable
- TimestampChanged date-time nullable
- Name string nullable required
- Code string nullable
Type object
- oneOf
- ActivityType
stringPossible values: [
Work
,Absence
,Break
]- oneOf
- Default boolean
TimeEntry object
- oneOf
- ActivityTypeTimeEntry
stringPossible values: [
Optional
,TotalTime
,FromTo
]- oneOf
- Inactive boolean
- Movement boolean
- Icon string nullable
- ExternalKey string nullable
{
"Guid": "string",
"Revision": 0,
"PersonCreated": "string",
"PersonChanged": "string",
"TimestampCreated": "2023-11-06T13:22:00Z",
"TimestampChanged": "2023-11-06T13:22:00Z",
"Name": "string",
"Code": "string",
"Type": "Work",
"Default": true,
"TimeEntry": "Optional",
"Inactive": true,
"Movement": true,
"Icon": "string",
"ExternalKey": "string"
}
Loading...