GET Offer/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

OfferView
NameDescriptionTypeAdditional information
OfferId

integer

None.

Balance

integer

None.

ReserveBalance

integer

None.

Prices

Collection of PriceView

None.

Response Formats

application/json, text/json

Sample:
{
  "OfferId": 1,
  "Balance": 2,
  "ReserveBalance": 1,
  "Prices": [
    {
      "PriceId": 1,
      "ProductId": 2,
      "Value": 3.0,
      "Border": 4,
      "CurrencyId": 1,
      "Currency": {
        "CurrencyId": 1,
        "SourceCode": "sample string 2"
      }
    },
    {
      "PriceId": 1,
      "ProductId": 2,
      "Value": 3.0,
      "Border": 4,
      "CurrencyId": 1,
      "Currency": {
        "CurrencyId": 1,
        "SourceCode": "sample string 2"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<OfferView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.View">
  <Balance>2</Balance>
  <OfferId>1</OfferId>
  <Prices>
    <PriceView>
      <Border>4</Border>
      <Currency>
        <SourceCode>sample string 2</SourceCode>
        <CurrencyId>1</CurrencyId>
      </Currency>
      <CurrencyId>1</CurrencyId>
      <PriceId>1</PriceId>
      <ProductId>2</ProductId>
      <Value>3</Value>
    </PriceView>
    <PriceView>
      <Border>4</Border>
      <Currency>
        <SourceCode>sample string 2</SourceCode>
        <CurrencyId>1</CurrencyId>
      </Currency>
      <CurrencyId>1</CurrencyId>
      <PriceId>1</PriceId>
      <ProductId>2</ProductId>
      <Value>3</Value>
    </PriceView>
  </Prices>
  <ReserveBalance>1</ReserveBalance>
</OfferView>