| Methods / User Delegation | |
REST
GET
Retrieves a delegation object.
https://[domain]:[port]/AgilePointServer/Admin/GetDelegation/[delegationID]
https://[domain]:[port]/AgilePointService/Admin/GetDelegation/[delegationID]
| Name | Description |
|---|---|
delegationID |
|
$("#btnGetDelegation").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Admin/
GetDelegation/E83A0F99EDB74FF7A048C01F1C5A32A7",
type: "GET"
});
});
public String GetDelegation(String delegationID) {
String URI = "http://mydomain:9011/AgilePointServer/Admin/GetDelegation/"
+ delegationID;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetDelegation()
{
string URI = "http://mydomain:9011/AgilePointServer/Admin/
GetDelegation/C0298B1AA3444A28A7CE5E1DFC297A87";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URI);
}
WFDelegation object that specifies the user whose tasks will be delegated and the designated user to whom to delegate tasks.
{
"CancelledBy": null,
"CancelledDate": "\/Date(928149600000+0000)\/",
"CreatedBy": "demo3\\brian.lucas",
"CreatedDate": "\/Date(1394154711507+0000)\/",
"DelegationID": "77F9A9946CF74545B4C8A27956CDA036",
"Description": "Rest Test",
"EndDate": "\/Date(28799000+0000)\/",
"FromUser": "demo3\\brian.lucas",
"LastUpdatedBy": null,
"LastUpdatedDate": "\/Date(928149600000+0000)\/",
"ProcDefIDS": "",
"RecWeekdaysString": "",
"StartDate": "\/Date(-57600000+0000)\/",
"Status": "Created",
"ToUser": "demo3\\lilly.allen"
}
AgilePoint BPMS v5.0 R2 and higher