POST api/kpigroup/update/{ID}
Updates a single KPI Department Group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The ID of the KPI Department Group to update |
integer |
Required |
Body Parameters
The KPI Group to update
KPIGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
ID |
integer |
None. |
| Name |
Name of the KPI Department Grouping |
string |
None. |
| DeptIDs |
Which Departments are in this group |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"deptIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<KPIGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.KPI">
<DeptIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</DeptIDs>
<ID>1</ID>
<Name>sample string 2</Name>
</KPIGroup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.