GET ReferenceData/GetValidationItemsForWorkProvider?workProviderCode={workProviderCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workProviderCode | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WebApiResultOfIEnumerableOfValidationItemDTOName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Data | Collection of ValidationItemDTO |
None. |
|
ErrorMessage | string |
None. |
|
Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": [ { "FieldName": "sample string 1", "ValidationType": "None" }, { "FieldName": "sample string 1", "ValidationType": "None" } ], "ErrorMessage": "sample string 2", "Exception": "sample string 3" }
application/xml, text/xml
Sample:
<WebApiResultOfArrayOfValidationItemDTOi7dyBnnP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Audatex.AudaMobile.WebApi.Models"> <Data> <ValidationItemDTO> <FieldName>sample string 1</FieldName> <ValidationType>None</ValidationType> </ValidationItemDTO> <ValidationItemDTO> <FieldName>sample string 1</FieldName> <ValidationType>None</ValidationType> </ValidationItemDTO> </Data> <ErrorMessage>sample string 2</ErrorMessage> <Exception>sample string 3</Exception> <Success>true</Success> </WebApiResultOfArrayOfValidationItemDTOi7dyBnnP>