Show/Hide Toolbars

Therefore Web API Programming Interface 1.0

REST URL (POST) https://tenant.thereforeonline.com/theservice/v0001/restun/ValidateFields

SOAP Action (POST) http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/ValidateFields

 

 

 

 

Input Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/ValidateFields

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–¡ CaseDefinitionNo

xs:int

optional nillable

Set the case definition number. If you set CaseDefinitionNo then the CategoryNo should not be set.

â–¡ CategoryNo

xs:int

optional nillable

Set the category number. If you set CategoryNo then the CaseDefinitionNo should not be set.

â–¡ Fields

 

mandatory nillable

Sets data for the fields to validate.

≡ WSValidateFieldRequest

 

optional unbounded nillable


â–  FieldNoToValidate

xs:int

mandatory

Sets number of the field.

â–¡ FieldValueToValidate

xs:string

mandatory nillable

Sets field value for validation.

â–¡ RowNoTag

xs:int

optional nillable

Sets a row number tag to be returned in the result. For non-table fields don't set it or set it to null. Use it to map validation error on a table field/row.

â–  IgnoreMandatoryfields

xs:boolean

optional

Sets to True to ignore mandatory fields.

â–  IsQueryMode

xs:boolean

optional

Sets to True to validate field value for search. Set to False (default) value to validate field value for editing/updateing.

â–  ReturnSuccessfullResults

xs:boolean

optional

Sets to True to return sucessfull validation result items in the response together with the validation error items.

 

 

Output Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/ValidateFieldsResponse

 

Element Name

Element Type

Restrictions

Description

â–  parameters

 

 


â–¡ Fields

 

optional nillable

Gets validation result.

≡ WSValidateFieldResult

 

optional unbounded nillable


â–  FieldNo

xs:int

optional

Gets number of the field.

â–¡ ErrorMessage

xs:string

optional nillable

Gets validation error message if IsValid is False.

â–  IsValid

xs:boolean

optional

Returns True if field value is valid.

â–¡ RowNoTag

xs:int

optional nillable

Gets row number tag from the request. Use it to map validation error on a table field/row.

 

 

 

Legend:

 

â– 

Not nillable element.

â–¡

Nillable element.

≡

Unbounded element (List of elements).

Normal

Optional element.

Bold

Mandatory element.

 

 

© 2024 Therefore Corporation, all rights reserved.