POST api/QuickPickToken?authToken={authToken}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authToken

string

Required

Body Parameters

Collection of QuickPickRequest
NameDescriptionTypeAdditional information
Id

string

None.

HowMany

integer

None.

ExtraNumber

boolean

None.

MainRangeMin

integer

None.

MainRangeMax

integer

None.

ExtraRangeMin

integer

None.

ExtraRangeMax

integer

None.

NumberOfTickets

integer

None.

Exclusive

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "HowMany": 2,
    "ExtraNumber": true,
    "MainRangeMin": 4,
    "MainRangeMax": 5,
    "ExtraRangeMin": 6,
    "ExtraRangeMax": 7,
    "NumberOfTickets": 8,
    "Exclusive": true
  },
  {
    "Id": "sample string 1",
    "HowMany": 2,
    "ExtraNumber": true,
    "MainRangeMin": 4,
    "MainRangeMax": 5,
    "ExtraRangeMin": 6,
    "ExtraRangeMax": 7,
    "NumberOfTickets": 8,
    "Exclusive": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuickPickRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SciRandAPI.Models">
  <QuickPickRequest>
    <Id xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</Id>
    <HowMany xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">2</HowMany>
    <ExtraNumber xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</ExtraNumber>
    <MainRangeMin xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">4</MainRangeMin>
    <MainRangeMax xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">5</MainRangeMax>
    <ExtraRangeMin xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">6</ExtraRangeMin>
    <ExtraRangeMax xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">7</ExtraRangeMax>
    <NumberOfTickets xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">8</NumberOfTickets>
    <Exclusive xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</Exclusive>
  </QuickPickRequest>
  <QuickPickRequest>
    <Id xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</Id>
    <HowMany xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">2</HowMany>
    <ExtraNumber xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</ExtraNumber>
    <MainRangeMin xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">4</MainRangeMin>
    <MainRangeMax xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">5</MainRangeMax>
    <ExtraRangeMin xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">6</ExtraRangeMin>
    <ExtraRangeMax xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">7</ExtraRangeMax>
    <NumberOfTickets xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">8</NumberOfTickets>
    <Exclusive xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</Exclusive>
  </QuickPickRequest>
</ArrayOfQuickPickRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of QuickPickResponseWithId
NameDescriptionTypeAdditional information
Id

string

None.

MainNumbers

Collection of unsigned integer

None.

ExtraNumber

unsigned integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "MainNumbers": [
      1,
      2
    ],
    "ExtraNumber": 2
  },
  {
    "Id": "sample string 1",
    "MainNumbers": [
      1,
      2
    ],
    "ExtraNumber": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuickPickResponseWithId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SciRandAPI.Models">
  <QuickPickResponseWithId>
    <ExtraNumber>2</ExtraNumber>
    <MainNumbers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:unsignedInt>1</d3p1:unsignedInt>
      <d3p1:unsignedInt>2</d3p1:unsignedInt>
    </MainNumbers>
    <Id>sample string 1</Id>
  </QuickPickResponseWithId>
  <QuickPickResponseWithId>
    <ExtraNumber>2</ExtraNumber>
    <MainNumbers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:unsignedInt>1</d3p1:unsignedInt>
      <d3p1:unsignedInt>2</d3p1:unsignedInt>
    </MainNumbers>
    <Id>sample string 1</Id>
  </QuickPickResponseWithId>
</ArrayOfQuickPickResponseWithId>