You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 48 Next »
This page serves as a central hub where you can find detailed descriptions of common models used repeatedly across various Workbench APIs.
Common models found on Workbench forms.
Field
Type
Description
BoolValue
Boolean
The boolean value of the field.
Name
String
The name of the field.
Disabled
A flag to indicate if the field is editable.
Required
A flag to indicate if the field is required.
DateValue
The date value of the field, as an ISO 8601 formatted string ("YYYY-MM-DDT00:00:00Z").
DecimalValue
Number
The decimal value of the field.
SelectedValue
The selected value of the field.
RelatedRecordID
The ID of this document. Used when uploading files to the StoredFilesApi endpoint.
RelatedRecord
The type of this document. Used when uploading files to the StoredFilesApi endpoint.
StringValue
A comma-delimited list of the selected value of the field.
SelectedOption
The selected option of the field.
The decimal value of the field, representing a percentage.
SelectedText
A description of the selected value of the field (read-only).
The string value of the field.
TimeValue
The time value of the field, as a formatted string ("hh:mm:ss").
Is24H
24h format
⬆️ Back to top
Common models used in requests to Workbench List endpoints for filtering and sorting data.
Sidx
The field that the data will be sorted on.
Sord
The sort order (“asc”, or “desc”).
Page
Integer
The specific page to be retrieved.
Rows
The number of records returned per page.
Predicate
DynamicPredicate
The filter to apply to the data.
Jobcode
Some list API endpoints will accept additional context to filter the data by.
finCode
functionalCode
IntValue
Date
PredicateRows
Array<DynamicPredicateRow>
A row for each column to be filtered on.
LeftOperand
The name of the field to be filtered
Operator
The operator to apply to the filtered field.
RightOperand
Array<String>
The value(s) to filter the field by.
Value
Right Operands Required
“Lt“
1
Less than the first item of the Right Operand.
“Gt“
Greater than the first item of the Right Operand.
“Eq“
Equal to the first item of the Right Operand.
“Ne“
Not equal to the first item of the Right Operand.
“Le”
Less than or equal to the first item of the Right Operand.
“Ge”
Greater than or equal to the first item of the Right Operand.
“Like”
Contains the first item of the Right Operand.
“IsOneOf”
Multiple
Is equal to any item in the Right Operand.
“IsNotOneOf”
Is not equal to any item in the Right Operand.
“Between”
2
Between the first 2 items in the Right Operand.
“StartsWith”
Starts with the first item in the Right Operand.
“StartsWithIsOneOf”
Starts with any item in the Right Operand
Common models in responses from Workbench List endpoints for filtered data.
records
The total number of records in the filtered dataset.
total
The total number of pages in the filtered dataset.
page
The specific page requested and retrieved.
rows
Array<T>
The page of filtered data.
CellId
The ID of the value of the field.
CellValue
The text value of the field.
CellNumValue
Decimal
CellBoolValue
CellValueDate
The data value of the field.
CellValueInt
the integer value of the field.
Common models in responses from Workbench Detail endpoints to save data.
successMessage
The success message if the save was successful.
warningMessage
A possible warning message if the save was successful.
errorMessage
The error message if the save was unsuccessful.
validationErrors
Array<MvcValidationError>
A list of specific validation errors if the save was unsuccessful.
KeyStr
Some endpoints will return additional context relating to the updated document.
KeyDate
KeyInt
n
The name of the field with a validation error.
m
The validation error message.
On this page
Resource
Workbench website
Workbench User Documentation
Workbench Knowledge Base
Support
Community forum
Email support@wbi.freshdesk.com