GET api/Centers/kpi-model?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
siteId

integer

Required

Body Parameters

None.

Response Information

Resource Description

KpiModelResponse

NameDescriptionTypeAdditional Information
Model

KpiReportingModel

None.

ResponseCode

APIResponseCodes

None.

Message

string

None.

CorrelationId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Model": {
    "Sites": null,
    "CurrentSite": null,
    "KpiToday": null,
    "KpiYesterday": null,
    "KpiSeventhDay": null,
    "TodayDate": "sample string 1",
    "YesterdayDate": "sample string 2",
    "SeventhDayDate": "sample string 3",
    "CurrentDateFormat": "sample string 4",
    "Details": null,
    "SelectSiteID": 5,
    "CacheRefreshMessage": "sample string 6"
  },
  "ResponseCode": 0,
  "Message": "sample string 1",
  "CorrelationId": "sample string 2"
}

application/xml, text/xml

Sample:
<KpiModelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API.Centers">
  <CorrelationId>sample string 2</CorrelationId>
  <Message>sample string 1</Message>
  <Model xmlns:d2p1="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models">
    <d2p1:CacheRefreshMessage>sample string 6</d2p1:CacheRefreshMessage>
    <d2p1:CurrentDateFormat>sample string 4</d2p1:CurrentDateFormat>
    <d2p1:CurrentSite i:nil="true" />
    <d2p1:Details xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <d2p1:KpiSeventhDay i:nil="true" />
    <d2p1:KpiToday i:nil="true" />
    <d2p1:KpiYesterday i:nil="true" />
    <d2p1:SelectSiteID>5</d2p1:SelectSiteID>
    <d2p1:SeventhDayDate>sample string 3</d2p1:SeventhDayDate>
    <d2p1:Sites xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <d2p1:TodayDate>sample string 1</d2p1:TodayDate>
    <d2p1:YesterdayDate>sample string 2</d2p1:YesterdayDate>
  </Model>
  <ResponseCode>Success</ResponseCode>
</KpiModelResponse>