POST api/schede/salvarisposte

Salva le risposte relative alla scheda ricevuta in input

Request Information

URI Parameters

None.

Body Parameters

SalvaRisposteRequest
NameDescriptionTypeAdditional information
Scheda

Identificativo univoco della richiesta

RispostaScheda

None.

Device

Mittente

TipoDevice

None.

Request Formats

application/json, text/json

Sample:
{
  "Scheda": {
    "IdScheda": 1,
    "ListaRisposteAllievo": [
      {
        "IdDomanda": 1,
        "RispostaAllievo": "sample string 2"
      },
      {
        "IdDomanda": 1,
        "RispostaAllievo": "sample string 2"
      }
    ]
  },
  "Device": 0
}

application/xml, text/xml

Sample:
<SalvaRisposteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GalileoNETWebAPI.Common">
  <Device>NONE</Device>
  <Scheda>
    <IdScheda>1</IdScheda>
    <ListaRisposteAllievo>
      <RispostaDomanda>
        <IdDomanda>1</IdDomanda>
        <RispostaAllievo>sample string 2</RispostaAllievo>
      </RispostaDomanda>
      <RispostaDomanda>
        <IdDomanda>1</IdDomanda>
        <RispostaAllievo>sample string 2</RispostaAllievo>
      </RispostaDomanda>
    </ListaRisposteAllievo>
  </Scheda>
</SalvaRisposteRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

true/false

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>