POST api/store/{storeID}/kpigroup/{KPIGroupID}/targets
Saves the KPI Targets for the supplied KPI Group ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
storeID |
The store selected for the target |
integer |
Required |
KPIGroupID |
The KPI Group ID which we are saving the targets for |
integer |
Required |
Body Parameters
KPI Targets
KPITargetsPacketName | Description | Type | Additional information |
---|---|---|---|
KPIGroupID |
KPI Group ID |
integer |
None. |
Figures |
Payload of the target figures |
Collection of KPITargetFigures |
None. |
Request Formats
application/json, text/json
Sample:
{ "kpiGroupID": 1, "figures": [ { "$id": "2", "id": 1, "storeID": 2, "kpiGroupID": 3, "date": "2025-06-14T07:32:44.5528976", "salesTarget": 5.1, "gpTarget": 6.1, "customerTarget": 7.1, "shrinkIncTarget": 8.1, "shrinkPctTarget": 9.1, "avgBasketTarget": 10.1, "unknownShrinkTarget": 11.1 }, { "$ref": "2" } ] }
application/xml, text/xml
Sample:
<KPITargetsPacket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.KPI"> <Figures> <KPITargetFigures> <AvgBasketTarget>10.1</AvgBasketTarget> <CustomerTarget>7.1</CustomerTarget> <Date>2025-06-14T07:32:44.5528976+00:00</Date> <GPTarget>6.1</GPTarget> <ID>1</ID> <KPIGroupID>3</KPIGroupID> <SalesTarget>5.1</SalesTarget> <ShrinkIncTarget>8.1</ShrinkIncTarget> <ShrinkPctTarget>9.1</ShrinkPctTarget> <StoreID>2</StoreID> <UnknownShrinkTarget>11.1</UnknownShrinkTarget> </KPITargetFigures> <KPITargetFigures> <AvgBasketTarget>10.1</AvgBasketTarget> <CustomerTarget>7.1</CustomerTarget> <Date>2025-06-14T07:32:44.5528976+00:00</Date> <GPTarget>6.1</GPTarget> <ID>1</ID> <KPIGroupID>3</KPIGroupID> <SalesTarget>5.1</SalesTarget> <ShrinkIncTarget>8.1</ShrinkIncTarget> <ShrinkPctTarget>9.1</ShrinkPctTarget> <StoreID>2</StoreID> <UnknownShrinkTarget>11.1</UnknownShrinkTarget> </KPITargetFigures> </Figures> <KPIGroupID>1</KPIGroupID> </KPITargetsPacket>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.