Retrieves all task types available for ServiceDesk
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
task_type| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| name |
Name (Translated) of the task type |
string |
Required Max length: 255 |
| code |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 255 |
| description |
Description of the task status |
string |
Required Max length: 255 |
| is_default |
Auto selected when creating a new task |
boolean | |
| sequence |
Sorting field (0 first), to order them |
integer | |
| only_for_e_service |
Specify if this task type is only usable on the e-service |
boolean | |
| sales_organization_id |
Specify his this task priority is global (=GuidEmpty) or specific for one organization |
globally unique identifier | |
| translations |
List of translations per language |
Collection of task_type_translations_per_language |
Response Formats
application/json, text/json
Sample:
{
"id": "a0fbeecc-e8cf-43d6-9f04-2a4af145f3c2",
"name": "sample string 2",
"code": "sample string 3",
"description": "sample string 4",
"is_default": true,
"sequence": 6,
"only_for_e_service": true,
"sales_organization_id": "73739337-1b63-4fef-84f5-dbf09bb6eece",
"translations": [
{
"language_code": "sample string 1",
"value": "sample string 2"
},
{
"language_code": "sample string 1",
"value": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<task_type xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<code>sample string 3</code>
<description>sample string 4</description>
<id>a0fbeecc-e8cf-43d6-9f04-2a4af145f3c2</id>
<is_default>true</is_default>
<name>sample string 2</name>
<only_for_e_service>true</only_for_e_service>
<sales_organization_id>73739337-1b63-4fef-84f5-dbf09bb6eece</sales_organization_id>
<sequence>6</sequence>
<translations xmlns:d2p1="http://schemas.datacontract.org/2004/07/Odyssee.ServiceDesk.Api.Models">
<d2p1:task_type_translations_per_language>
<d2p1:language_code>sample string 1</d2p1:language_code>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:task_type_translations_per_language>
<d2p1:task_type_translations_per_language>
<d2p1:language_code>sample string 1</d2p1:language_code>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:task_type_translations_per_language>
</translations>
</task_type>