GET Api/Contest/Play/{userId}/{giocata}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

globally unique identifier

Required

giocata

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ContestResultRadioItalia
NameDescriptionTypeAdditional information
Redirect

string

None.

Response

string

None.

Error

ContestError

None.

Response Formats

application/json, text/json

Sample:
{
  "redirect": "sample string 1",
  "response": "sample string 2",
  "error": {
    "hasError": true,
    "errorDescription": "sample string 2"
  }
}

text/plain

Sample:
{"redirect":"sample string 1","response":"sample string 2","error":{"hasError":true,"errorDescription":"sample string 2"}}

application/xml, text/xml

Sample:
<ContestResultRadioItalia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Customer.BL.Models.Contest">
  <Error>
    <ErrorDescription>sample string 2</ErrorDescription>
    <HasError>true</HasError>
  </Error>
  <Redirect>sample string 1</Redirect>
  <Response>sample string 2</Response>
</ContestResultRadioItalia>

application/octet-stream

Sample:
{"Redirect":"sample string 1","Response":"sample string 2","Error":{"HasError":true,"ErrorDescription":"sample string 2"}}

text/javascript, application/javascript, application/json-p

Sample:
({"redirect":"sample string 1","response":"sample string 2","error":{"hasError":true,"errorDescription":"sample string 2"}});