POST api/DWTS

Request Information

URI Parameters

None.

Body Parameters

Message
NameDescriptionTypeAdditional information
date

string

None.

idapplication

string

None.

resultats

Collection of Resultats

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "sample string 1",
  "idapplication": "sample string 2",
  "resultats": [
    {
      "phase": "sample string 1",
      "resultat": [
        {
          "candidat": "sample string 1",
          "vote": "sample string 2",
          "point": "sample string 3",
          "note": "sample string 4"
        },
        {
          "candidat": "sample string 1",
          "vote": "sample string 2",
          "point": "sample string 3",
          "note": "sample string 4"
        }
      ]
    },
    {
      "phase": "sample string 1",
      "resultat": [
        {
          "candidat": "sample string 1",
          "vote": "sample string 2",
          "point": "sample string 3",
          "note": "sample string 4"
        },
        {
          "candidat": "sample string 1",
          "vote": "sample string 2",
          "point": "sample string 3",
          "note": "sample string 4"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestInDals">
  <DateMessage>sample string 1</DateMessage>
  <IdApplication>sample string 2</IdApplication>
  <ListResultats>
    <Resultats>
      <ListeResultat>
        <Resultat>
          <Candidat>sample string 1</Candidat>
          <Note>sample string 4</Note>
          <Point>sample string 3</Point>
          <Vote>sample string 2</Vote>
        </Resultat>
        <Resultat>
          <Candidat>sample string 1</Candidat>
          <Note>sample string 4</Note>
          <Point>sample string 3</Point>
          <Vote>sample string 2</Vote>
        </Resultat>
      </ListeResultat>
      <Phase>sample string 1</Phase>
    </Resultats>
    <Resultats>
      <ListeResultat>
        <Resultat>
          <Candidat>sample string 1</Candidat>
          <Note>sample string 4</Note>
          <Point>sample string 3</Point>
          <Vote>sample string 2</Vote>
        </Resultat>
        <Resultat>
          <Candidat>sample string 1</Candidat>
          <Note>sample string 4</Note>
          <Point>sample string 3</Point>
          <Vote>sample string 2</Vote>
        </Resultat>
      </ListeResultat>
      <Phase>sample string 1</Phase>
    </Resultats>
  </ListResultats>
</Message>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.