REST API - setWorkItemPriority
The table summarizes the REST API - setWorkItemPriority.
Request
| Format | PUT <baseurl>/workitem/setpriority |
| Body | setWorkItemPriorityelement (from the WorkItemManagementService schema). |
Response
| JSON | Returns a JSON representation of the content of the setWorkItemPriorityResponseelement. |
| XML | Returns the content of the setWorkItemPriorityResponseelement (from the WorkItemManagementService schema) |
Example
| Request | PUT <baseurl>/workitem/setpriority |
| Request body | <setWorkItemPriority xmlns="http://api.brm.n2.tibco.com">
<workItemIDandPriority xmlns="">
<workItemID id="14"/>
<workItemPriority>
<absPriority>51</absPriority>
</workItemPriority>
</workItemIDandPriority>
</setWorkItemPriority>
|
| Response | {
"workItemID": {
"@id": "14",
"@version": "1"
}
}
|