GET api/Field/GetDTTTaskSystemFields?projectId={projectId}
Get all sys fields based on project id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get all sys fields based on project id
API_Data_ListOfTFieldUIName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of TFieldUI |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "FieldId": 1, "FieldName": "sample string 2", "Attributes": 3, "FieldType": "sample string 4", "FieldTypeId": 5, "MandatoryOnSubmit": true }, { "FieldId": 1, "FieldName": "sample string 2", "Attributes": 3, "FieldType": "sample string 4", "FieldTypeId": 5, "MandatoryOnSubmit": true } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfTFieldUI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Project"> <d2p1:TFieldUI> <d2p1:Attributes>3</d2p1:Attributes> <d2p1:FieldId>1</d2p1:FieldId> <d2p1:FieldName>sample string 2</d2p1:FieldName> <d2p1:FieldType>sample string 4</d2p1:FieldType> <d2p1:FieldTypeId>5</d2p1:FieldTypeId> <d2p1:MandatoryOnSubmit>true</d2p1:MandatoryOnSubmit> </d2p1:TFieldUI> <d2p1:TFieldUI> <d2p1:Attributes>3</d2p1:Attributes> <d2p1:FieldId>1</d2p1:FieldId> <d2p1:FieldName>sample string 2</d2p1:FieldName> <d2p1:FieldType>sample string 4</d2p1:FieldType> <d2p1:FieldTypeId>5</d2p1:FieldTypeId> <d2p1:MandatoryOnSubmit>true</d2p1:MandatoryOnSubmit> </d2p1:TFieldUI> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfTFieldUI>