GET api/order/buyingoptions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of yinBuyingOption
NameDescriptionTypeAdditional information
buyingOptionID

integer

None.

description

string

None.

valutaCode

string

None.

isRenewal

boolean

None.

isLoanOption

boolean

None.

isBuyingOption

boolean

None.

hasAltEan

boolean

None.

numLoanDays

integer

None.

yinBookPrices

Collection of yinBookPrice

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "buyingOptionID": 1,
    "description": "sample string 2",
    "valutaCode": "sample string 3",
    "isRenewal": true,
    "isLoanOption": true,
    "isBuyingOption": true,
    "hasAltEan": true,
    "numLoanDays": 1,
    "yinBookPrices": [
      {
        "bookPriceID": 1,
        "bookID": 1,
        "buyingOptionID": 1,
        "productGroupID": 4,
        "prijs": 1,
        "btwID": 1,
        "isAvailable": true,
        "isAvailableText": "sample string 7",
        "altEan": "sample string 8",
        "dispatcherID": 1
      }
    ]
  },
  {
    "buyingOptionID": 1,
    "description": "sample string 2",
    "valutaCode": "sample string 3",
    "isRenewal": true,
    "isLoanOption": true,
    "isBuyingOption": true,
    "hasAltEan": true,
    "numLoanDays": 1,
    "yinBookPrices": [
      {
        "bookPriceID": 1,
        "bookID": 1,
        "buyingOptionID": 1,
        "productGroupID": 4,
        "prijs": 1,
        "btwID": 1,
        "isAvailable": true,
        "isAvailableText": "sample string 7",
        "altEan": "sample string 8",
        "dispatcherID": 1
      }
    ]
  }
]

text/javascript

Sample:
[{"buyingOptionID":1,"description":"sample string 2","valutaCode":"sample string 3","isRenewal":true,"isLoanOption":true,"isBuyingOption":true,"hasAltEan":true,"numLoanDays":1,"yinBookPrices":[{"bookPriceID":1,"bookID":1,"buyingOptionID":1,"productGroupID":4,"prijs":1,"btwID":1,"isAvailable":true,"isAvailableText":"sample string 7","altEan":"sample string 8","dispatcherID":1}]},{"buyingOptionID":1,"description":"sample string 2","valutaCode":"sample string 3","isRenewal":true,"isLoanOption":true,"isBuyingOption":true,"hasAltEan":true,"numLoanDays":1,"yinBookPrices":[{"bookPriceID":1,"bookID":1,"buyingOptionID":1,"productGroupID":4,"prijs":1,"btwID":1,"isAvailable":true,"isAvailableText":"sample string 7","altEan":"sample string 8","dispatcherID":1}]}]

application/xml, text/xml

Sample:
<ArrayOfyinBuyingOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yindo.DAL">
  <yinBuyingOption>
    <buyingOptionID>1</buyingOptionID>
    <description>sample string 2</description>
    <valutaCode>sample string 3</valutaCode>
    <isRenewal>true</isRenewal>
    <isLoanOption>true</isLoanOption>
    <isBuyingOption>true</isBuyingOption>
    <hasAltEan>true</hasAltEan>
    <numLoanDays>1</numLoanDays>
    <yinBookPrices>
      <yinBookPrice>
        <bookPriceID>1</bookPriceID>
        <bookID>1</bookID>
        <buyingOptionID>1</buyingOptionID>
        <productGroupID>4</productGroupID>
        <prijs>1</prijs>
        <btwID>1</btwID>
        <isAvailable>true</isAvailable>
        <isAvailableText>sample string 7</isAvailableText>
        <altEan>sample string 8</altEan>
        <dispatcherID>1</dispatcherID>
      </yinBookPrice>
    </yinBookPrices>
  </yinBuyingOption>
  <yinBuyingOption>
    <buyingOptionID>1</buyingOptionID>
    <description>sample string 2</description>
    <valutaCode>sample string 3</valutaCode>
    <isRenewal>true</isRenewal>
    <isLoanOption>true</isLoanOption>
    <isBuyingOption>true</isBuyingOption>
    <hasAltEan>true</hasAltEan>
    <numLoanDays>1</numLoanDays>
    <yinBookPrices>
      <yinBookPrice>
        <bookPriceID>1</bookPriceID>
        <bookID>1</bookID>
        <buyingOptionID>1</buyingOptionID>
        <productGroupID>4</productGroupID>
        <prijs>1</prijs>
        <btwID>1</btwID>
        <isAvailable>true</isAvailable>
        <isAvailableText>sample string 7</isAvailableText>
        <altEan>sample string 8</altEan>
        <dispatcherID>1</dispatcherID>
      </yinBookPrice>
    </yinBookPrices>
  </yinBuyingOption>
</ArrayOfyinBuyingOption>