POST api/SuperChallenge/get_SuperChallengeAgente

Request Information

URI Parameters

None.

Body Parameters

GetSuperChallengeAgente
NameDescriptionTypeAdditional information
IdAgente

integer

Required

Anno

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "IdAgente": 1,
  "Anno": 2
}

application/xml, text/xml

Sample:
<ParametriWS.GetSuperChallengeAgente xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess">
  <Anno>2</Anno>
  <IdAgente>1</IdAgente>
</ParametriWS.GetSuperChallengeAgente>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SuperChallengeAgente
NameDescriptionTypeAdditional information
Soglie

Collection of SogliaSuperChallenge

None.

SogliaCorrente

SogliaSuperChallenge

None.

SogliaSuccessiva

SogliaSuperChallenge

None.

Percentuale

decimal number

None.

Venduto

decimal number

None.

Guadagnato

decimal number

None.

PremioOttenuto

boolean

None.

GameOver

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Soglie": [
    {
      "QuantitaMinima": 1.0,
      "QuantitaMassima": 2.0,
      "Percentuale": 3.0
    },
    {
      "QuantitaMinima": 1.0,
      "QuantitaMassima": 2.0,
      "Percentuale": 3.0
    }
  ],
  "SogliaCorrente": {
    "QuantitaMinima": 1.0,
    "QuantitaMassima": 2.0,
    "Percentuale": 3.0
  },
  "SogliaSuccessiva": {
    "QuantitaMinima": 1.0,
    "QuantitaMassima": 2.0,
    "Percentuale": 3.0
  },
  "Percentuale": 1.0,
  "Venduto": 2.0,
  "Guadagnato": 3.0,
  "PremioOttenuto": true,
  "GameOver": true
}

application/xml, text/xml

Sample:
<SuperChallengeAgente xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess">
  <GameOver>true</GameOver>
  <Guadagnato>3</Guadagnato>
  <Percentuale>1</Percentuale>
  <PremioOttenuto>true</PremioOttenuto>
  <SogliaCorrente>
    <Percentuale>3</Percentuale>
    <QuantitaMassima>2</QuantitaMassima>
    <QuantitaMinima>1</QuantitaMinima>
  </SogliaCorrente>
  <SogliaSuccessiva>
    <Percentuale>3</Percentuale>
    <QuantitaMassima>2</QuantitaMassima>
    <QuantitaMinima>1</QuantitaMinima>
  </SogliaSuccessiva>
  <Soglie>
    <SogliaSuperChallenge>
      <Percentuale>3</Percentuale>
      <QuantitaMassima>2</QuantitaMassima>
      <QuantitaMinima>1</QuantitaMinima>
    </SogliaSuperChallenge>
    <SogliaSuperChallenge>
      <Percentuale>3</Percentuale>
      <QuantitaMassima>2</QuantitaMassima>
      <QuantitaMinima>1</QuantitaMinima>
    </SogliaSuperChallenge>
  </Soglie>
  <Venduto>2</Venduto>
</SuperChallengeAgente>