Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Overview
APIs regarding the Datasheet in WorkbenchProvides access to Datasheet related data.
Endpoints
The resources available in this module.
DatasheetListApi
[Description]Provides API access to the Datasheets List (#/Datasheets/List.aspx) Web Workbench screen.
/api/DatasheetTemplateListApi
Method
/api/DatasheetListApi | |||||
---|---|---|---|---|---|
Method | Description | Performed As | Request Query | Request Body | Response |
POST | - | PUT |
DatasheetTemplateListApi
[Description]
Retrieve a filtered list of datasheets. | Logged in User | - | GridRequestParametersApi | GridResult<DatasheetModelLine> | |
PUT | Create a new Datasheet | Logged in User | - | DialogFields | SaveResult |
DatasheetTemplateListApi
[Description]
/api/DatasheetTemplateListApi | |||||
---|---|---|---|---|---|
Method | Description | Performed As | Request Query | Request Body | Response |
GET | - | ||||
POST |
GET parameters.
Parameter |
---|
-
Value | Description | Parameter Type | Data Type | |
---|---|---|---|---|
keyTable | One of these: Jobs | query | string | |
keyString | query | string | ||
keyInt | query | integer |
DatasheetDetailApi
[Description]
/url | |||||
---|---|---|---|---|---|
Method | Description | Performed As | Request Query | Request Body | Response |
DELETE | - | ||||
GET | |||||
POST |
GET Parameter
Parameter | Description | Parameter Type | Data Type |
---|---|---|---|
datasheetId | query | integer | |
datasheetTemplateId | query | integer | |
keyStr | query | string | |
keyInt | query | integer |
Models
The definitions of models specific to endpoints in this module.
DatasheetApiModel
Field | Type | Description |
---|---|---|
Key | DatasheetsDatasheetKey | |
Completed | Boolean | |
Questions | Array [QuestionViewData] | |
Headers | HeaderViewData | |
Fields | Array [FieldViewData] |
DatasheetsDatasheetKey
Field | Type | Description |
---|---|---|
DatasheetId | Integer | |
DatasheetTemplateId | Integer | |
KeyStr | String | |
KeyInt | Integer |
DatasheetsDatasheetModelLine
Field | Type | Description |
---|---|---|
Datasheet | ||
Template | The template was used for the datasheet. | |
Date | String | Date of datasheet. |
Name | String | Name of datasheet |
KeyTable | String | The area the datasheet relates to |
Subject | String | |
Rating | Number | |
Complete | Boolean | Completed or not. |
JSON | String | |
Status | String | |
ReadonlyFlag | Integer | |
OriginalKey | DatasheetsDatasheetKey | |
CurrentKey | DatasheetsDatasheetKey | |
Key | DatasheetsDatasheetKey | |
Index | Integer |
DatasheetsTemplateKey
Field | Type | Description |
---|---|---|
DatasheetTemplateId | Integer |
DatasheetsTemplateLine
Field | Type | Description |
---|---|---|
Description | ||
Header | ||
Deactivated | Boolean | |
DeactivatedValue | ||
Details | String | |
KeyTable | String | The area the datasheet relates to |
DatasheetType | String | |
DatasheetTemplateTypeId | Integer | |
JSON | String | |
Select | ||
Status | String | |
ReadonlyFlag | Integer | |
ReadonlyMessage | String | |
OriginalKey | DatasheetsTemplateKey | |
CurrentKey | DatasheetsTemplateKey | |
Key | DatasheetsTemplateKey | |
Index | Integer |
QuestionViewData
Field | Type | Description |
---|---|---|
DatasheetLineId | Integer | |
QuestionId | Integer | Code of the datasheets question |
Text | String | |
Title | String | |
HasNotes | Boolean | |
Notes | String | |
BoolValue | Boolean | |
StringValue | String | |
DateValue | String | |
TimeValue | String | |
IntValue | Integer | |
DecimalValue | Number | |
DisplayText | String | Text that displayed for users. |
SelectList | Array [string] | Values of answers. |
Type | String | Type of the question.
|
GetClass | String | |
TemplateLineId | Integer | Line id. |
Id | String | |
JsAttrName | String | |
JsAttrValue | String | |
Name | String | |
Visible | Boolean | |
Disabled | Boolean | |
Required | Boolean | |
InfoText | String |
Examples
%name
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Request
Response
Response sample
|
Get the list of datasheets template.
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Request
Response
Response sample
|
⬆️ Back to top
On this page
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|