GET api/Admin/GetKWTasksByOwnerId?personID={personID}
Get KW Tasks By Owner personID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
personID |
personID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get KW Tasks By Owner personID
API_Data_ListOfMyTaskModelName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of MyTaskModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "ProjectID": 1, "TaskID": 2, "Title": "sample string 3", "StatusID": 1, "StatusName": "sample string 4", "CurrentOwner": 5, "TimeSpent": 1, "TimeRemain": 1, "Points": 1 }, { "ProjectID": 1, "TaskID": 2, "Title": "sample string 3", "StatusID": 1, "StatusName": "sample string 4", "CurrentOwner": 5, "TimeSpent": 1, "TimeRemain": 1, "Points": 1 } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfMyTaskModel 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:MyTaskModel> <d2p1:CurrentOwner>5</d2p1:CurrentOwner> <d2p1:Points>1</d2p1:Points> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:StatusID>1</d2p1:StatusID> <d2p1:StatusName>sample string 4</d2p1:StatusName> <d2p1:TaskID>2</d2p1:TaskID> <d2p1:TimeRemain>1</d2p1:TimeRemain> <d2p1:TimeSpent>1</d2p1:TimeSpent> <d2p1:Title>sample string 3</d2p1:Title> </d2p1:MyTaskModel> <d2p1:MyTaskModel> <d2p1:CurrentOwner>5</d2p1:CurrentOwner> <d2p1:Points>1</d2p1:Points> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:StatusID>1</d2p1:StatusID> <d2p1:StatusName>sample string 4</d2p1:StatusName> <d2p1:TaskID>2</d2p1:TaskID> <d2p1:TimeRemain>1</d2p1:TimeRemain> <d2p1:TimeSpent>1</d2p1:TimeSpent> <d2p1:Title>sample string 3</d2p1:Title> </d2p1:MyTaskModel> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfMyTaskModel>