Retrieves the db report type with the specified key.
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The db report type id. |
globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the db report type, or 404 Not Found if it doesn't exist.
db_report_type| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| name |
Name |
string | |
| description |
Description |
string | |
| date_start_visible |
Date and time from which this report type becomes visible/usable. |
date | |
| date_end_visible |
Date and time until which this report type remains visible/usable. |
date | |
| sales_organization_id |
Sale organization id |
globally unique identifier | |
| template |
Using for PCL pdf preview |
string | |
| is_mandatory |
is_mandatory |
boolean | |
| status |
Current status of this report type definition. |
string | |
| print_options |
Serialized print/rendering options applied when generating this report. |
string | |
| type |
The kind of form: SAFETY (asked before the technician starts working) or COMPLETION (filled in when the work is done). Always one of the two: a form type without a type in the database, created before this field existed, is returned as COMPLETION. |
string | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
{
"id": "c56f8387-41ec-4656-bc49-58f5cedfe17a",
"name": "sample string 2",
"description": "sample string 3",
"date_start_visible": "2026-11-12T14:28:19.9941912+00:00",
"date_end_visible": "2026-11-12T14:28:19.9941912+00:00",
"sales_organization_id": "f1212ffb-7b0d-4b3d-a93c-7b2874bc0988",
"template": "sample string 7",
"is_mandatory": true,
"status": "sample string 9",
"print_options": "sample string 10",
"type": "sample string 11",
"modified_dateutc": "2026-11-12T14:28:19.9941912+00:00"
}
application/xml, text/xml
<db_report_type xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <date_end_visible>2026-11-12T14:28:19.994Z</date_end_visible> <date_start_visible>2026-11-12T14:28:19.994Z</date_start_visible> <description>sample string 3</description> <id>c56f8387-41ec-4656-bc49-58f5cedfe17a</id> <is_mandatory>true</is_mandatory> <modified_dateutc>2026-11-12T14:28:19.994Z</modified_dateutc> <name>sample string 2</name> <print_options>sample string 10</print_options> <sales_organization_id>f1212ffb-7b0d-4b3d-a93c-7b2874bc0988</sales_organization_id> <status>sample string 9</status> <template>sample string 7</template> <type>sample string 11</type> </db_report_type>