GET api/Admin/GetSubProjectLinkedDelayedTaskInfoByIDs?projectId={projectId}&SubProjectID={SubProjectID}&fresh={fresh}
GetSubProjectLinkedAlarmDefectInfoByIDs info based on project id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId |
projectId |
integer |
Required |
SubProjectID |
SubProjectIDs |
integer |
Required |
fresh |
fresh |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
GetSubProjectLinkedAlarmDefectInfoByIDs info based on project id
API_Data_ListOfTaskInfoName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of TaskInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "ProjectID": 1, "ID": 2, "Title": "sample string 3", "Description": "sample string 4", "CrntOwnerID": 5, "OwnerName": "sample string 6", "CrntStateID": 7, "StateName": "sample string 8", "WorkDescription": "sample string 9" }, { "ProjectID": 1, "ID": 2, "Title": "sample string 3", "Description": "sample string 4", "CrntOwnerID": 5, "OwnerName": "sample string 6", "CrntStateID": 7, "StateName": "sample string 8", "WorkDescription": "sample string 9" } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfTaskInfo 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.Binding"> <d2p1:TaskInfo> <d2p1:CrntOwnerID>5</d2p1:CrntOwnerID> <d2p1:CrntStateID>7</d2p1:CrntStateID> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:ID>2</d2p1:ID> <d2p1:OwnerName>sample string 6</d2p1:OwnerName> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:StateName>sample string 8</d2p1:StateName> <d2p1:Title>sample string 3</d2p1:Title> <d2p1:WorkDescription>sample string 9</d2p1:WorkDescription> </d2p1:TaskInfo> <d2p1:TaskInfo> <d2p1:CrntOwnerID>5</d2p1:CrntOwnerID> <d2p1:CrntStateID>7</d2p1:CrntStateID> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:ID>2</d2p1:ID> <d2p1:OwnerName>sample string 6</d2p1:OwnerName> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:StateName>sample string 8</d2p1:StateName> <d2p1:Title>sample string 3</d2p1:Title> <d2p1:WorkDescription>sample string 9</d2p1:WorkDescription> </d2p1:TaskInfo> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfTaskInfo>