Retrieves the task type with the specified key
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| key |
contract_type.id |
globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
contract_type| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| name |
Name of contract type |
string | |
| translations |
List of translations per language |
Collection of contract_type_translations_per_language | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
Sample:
{
"id": "bb03410a-0aa7-4127-90c3-ea5672592c83",
"name": "sample string 2",
"translations": [
{
"language_code": "sample string 1",
"value": "sample string 2"
},
{
"language_code": "sample string 1",
"value": "sample string 2"
}
],
"modified_dateutc": "2026-06-24T04:03:44.3982417+00:00"
}
application/xml, text/xml
Sample:
<contract_type xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<id>bb03410a-0aa7-4127-90c3-ea5672592c83</id>
<modified_dateutc>2026-06-24T04:03:44.398Z</modified_dateutc>
<name>sample string 2</name>
<translations xmlns:d2p1="http://schemas.datacontract.org/2004/07/Odyssee.ServiceDesk.Api.Models">
<d2p1:contract_type_translations_per_language>
<d2p1:language_code>sample string 1</d2p1:language_code>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:contract_type_translations_per_language>
<d2p1:contract_type_translations_per_language>
<d2p1:language_code>sample string 1</d2p1:language_code>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:contract_type_translations_per_language>
</translations>
</contract_type>