POST api/store/{storeID}/kpigroup/{KPIGroupID}/targets

Saves the KPI Targets for the supplied KPI Group ID

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

Collection of KPIGroupingTargets
NameDescriptionTypeAdditional information
ID

ID of the record

integer

None.

StoreID

Store ID these labour figures are assosiated with

integer

None.

KPIGroupID

ID of the KPI Group to add these labour figures to

integer

None.

Date

The Date these figures are for

date

None.

SalesTarget

Sales target

decimal number

None.

GPTarget

Gross Profit target

decimal number

None.

CustomerTarget

Customer Count Target

decimal number

None.

ShrinkIncTarget

Shrink Inc Target

decimal number

None.

ShrinkPctTarget

Shrink Percent target

decimal number

None.

AvgBasketTarget

Average Basket target

decimal number

None.

UnknownShrinkTarget

Unknown Shrinkage Target

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": 1,
    "storeID": 2,
    "kpiGroupID": 3,
    "date": "2025-10-05T00:01:45.2447494",
    "salesTarget": 5.1,
    "gpTarget": 6.1,
    "customerTarget": 7.1,
    "shrinkIncTarget": 8.1,
    "shrinkPctTarget": 9.1,
    "avgBasketTarget": 10.1,
    "unknownShrinkTarget": 11.1
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKPIGroupingTargets xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.KPI">
  <KPIGroupingTargets>
    <AvgBasketTarget>10.1</AvgBasketTarget>
    <CustomerTarget>7.1</CustomerTarget>
    <Date>2025-10-05T00:01:45.2447494+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>
  </KPIGroupingTargets>
  <KPIGroupingTargets>
    <AvgBasketTarget>10.1</AvgBasketTarget>
    <CustomerTarget>7.1</CustomerTarget>
    <Date>2025-10-05T00:01:45.2447494+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>
  </KPIGroupingTargets>
</ArrayOfKPIGroupingTargets>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.