POST api/sfide/salvarisposte?IdSfida={IdSfida}
Salva le risposte relative alla scheda ricevuta in input
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
IdSfida | integer |
Required |
Body Parameters
RispostaSchedaName | Description | Type | Additional information |
---|---|---|---|
IdScheda |
Identificativo univoco della sheda |
integer |
None. |
ListaRisposteAllievo |
Lista delle risposte |
Collection of RispostaDomanda |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdScheda": 1, "ListaRisposteAllievo": [ { "IdDomanda": 1, "RispostaAllievo": "sample string 2" }, { "IdDomanda": 1, "RispostaAllievo": "sample string 2" } ] }
application/xml, text/xml
Sample:
<RispostaScheda xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GalileoNETWebAPI.Common"> <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> </RispostaScheda>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EsitoSfidaName | Description | Type | Additional information |
---|---|---|---|
Esito |
Identificativo univoco della scheda |
TipoEsitoSfida |
None. |
Punti |
Punti guadagnati con sfida |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Esito": 1, "Punti": 1 }
application/xml, text/xml
Sample:
<EsitoSfida xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GalileoNETWebAPI.Common"> <Esito>VINTA</Esito> <Punti>1</Punti> </EsitoSfida>