GET api/ProviderPerformance?systemName={systemName}&username={username}&password={password}&providerId={providerId}

Read performance for provider

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

providerId

integer

Required

Body Parameters

None.

Response Information

Resource Description

APIProviderPerformance
NameDescriptionTypeAdditional information
providerFeedPerformances

Collection of APIProviderFeedPerformance

None.

providerFeedPublisherPerformances

Collection of APIProviderFeedPublisherPerformance

None.

Response Formats

application/json, text/json

Sample:
{
  "providerFeedPerformances": [
    {
      "feedId": 1,
      "timestamp": "sample string 2",
      "discountSpend": 3.1,
      "providerDiscountSpend": 4.1,
      "performancePercentage": 5.1,
      "discountSpendDiscrepancy": 6.1
    },
    {
      "feedId": 1,
      "timestamp": "sample string 2",
      "discountSpend": 3.1,
      "providerDiscountSpend": 4.1,
      "performancePercentage": 5.1,
      "discountSpendDiscrepancy": 6.1
    }
  ],
  "providerFeedPublisherPerformances": [
    {
      "feedId": 1,
      "publisherId": 2,
      "timestamp": "sample string 3",
      "discountSpend": 4.1,
      "providerDiscountSpend": 5.1,
      "performancePercentage": 6.1,
      "discountSpendDiscrepancy": 7.1
    },
    {
      "feedId": 1,
      "publisherId": 2,
      "timestamp": "sample string 3",
      "discountSpend": 4.1,
      "providerDiscountSpend": 5.1,
      "performancePercentage": 6.1,
      "discountSpendDiscrepancy": 7.1
    }
  ]
}

application/xml, text/xml

Sample:
<APIProviderPerformance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <providerFeedPerformances>
    <APIProviderFeedPerformance>
      <DiscountSpend>3.1</DiscountSpend>
      <DiscountSpendDiscrepancy>6.1</DiscountSpendDiscrepancy>
      <FeedId>1</FeedId>
      <PerformancePercentage>5.1</PerformancePercentage>
      <ProviderDiscountSpend>4.1</ProviderDiscountSpend>
      <Timestamp>sample string 2</Timestamp>
    </APIProviderFeedPerformance>
    <APIProviderFeedPerformance>
      <DiscountSpend>3.1</DiscountSpend>
      <DiscountSpendDiscrepancy>6.1</DiscountSpendDiscrepancy>
      <FeedId>1</FeedId>
      <PerformancePercentage>5.1</PerformancePercentage>
      <ProviderDiscountSpend>4.1</ProviderDiscountSpend>
      <Timestamp>sample string 2</Timestamp>
    </APIProviderFeedPerformance>
  </providerFeedPerformances>
  <providerFeedPublisherPerformances>
    <APIProviderFeedPublisherPerformance>
      <DiscountSpend>4.1</DiscountSpend>
      <DiscountSpendDiscrepancy>7.1</DiscountSpendDiscrepancy>
      <FeedId>1</FeedId>
      <PerformancePercentage>6.1</PerformancePercentage>
      <ProviderDiscountSpend>5.1</ProviderDiscountSpend>
      <PublisherId>2</PublisherId>
      <Timestamp>sample string 3</Timestamp>
    </APIProviderFeedPublisherPerformance>
    <APIProviderFeedPublisherPerformance>
      <DiscountSpend>4.1</DiscountSpend>
      <DiscountSpendDiscrepancy>7.1</DiscountSpendDiscrepancy>
      <FeedId>1</FeedId>
      <PerformancePercentage>6.1</PerformancePercentage>
      <ProviderDiscountSpend>5.1</ProviderDiscountSpend>
      <PublisherId>2</PublisherId>
      <Timestamp>sample string 3</Timestamp>
    </APIProviderFeedPublisherPerformance>
  </providerFeedPublisherPerformances>
</APIProviderPerformance>