| Methods / Methods for Custom Attributes | |
REST
GET
Gets all the custom attributes with the specified array of custom IDs.
https://[domain]:[port]/AgilePointServer/Workflow/GetCustomAttrsbyID/[customID]
https://[domain]:[port]/AgilePointService/Workflow/GetCustomAttrsbyID/[customID]
| Name | Description |
|---|---|
customID |
|
$("#btnGetCustomAttrsByID").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
GetCustomAttrsByID/00084509E95E4A72B51A602DB6EA182C",
type: "GET"
});
});
public String GetCustomAttrsByID(String customID) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/GetCustomAttrsbyID/"
+ customID;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetCustomAttrsByID()
{
string URL = "http://mydomain:9011/AgilePointServer/Workflow/
GetCustomAttrsByID/FE6F63E224174FE9BD8B30A8ADCB0434";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URL);
}
XML Serialized object of custom attributes with the specified custom id.
{
"GetCustomAttrsByIDResult": "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<ArrayOfNameValue xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance
\"xmlns:xsd=\"http:\/\/www.w3.org\/2001
\/XMLSchema">
<NameValue>
<Name>Test<\/Name>
<Value xsi:type=\"xsd:string\">Global Custom Attr<\/Value>
<\/NameValue>
<NameValue>
<Name>URL<\/Name>
<Value xsi:type=\"xsd:string\">localhost:8888<\/Value>
<\/NameValue>
<\/ArrayOfNameValue>"
}
AgilePoint BPMS v5.0 R2 and higher