POST api/WebAppRest/PostOrUpdateListe?type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

string

Required

Body Parameters

Liste
NameDescriptionTypeAdditional information
UserId

string

None.

Type

string

None.

Entrees

Collection of ListeEntree

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Type": "sample string 2",
  "Entrees": [
    {
      "Nom": "sample string 1",
      "Lien": "sample string 2",
      "Type": "sample string 3",
      "Genres": "sample string 4",
      "Note": 5,
      "NombreEpisode": 6,
      "DureeEpisode": 7,
      "NombreEpisodeVue": 8,
      "Complet": false,
      "Statut": "En cours",
      "Etat": "Actif",
      "Duree": "56min",
      "DateAjout": "2017-11-22T19:26:44.0490475+01:00",
      "AnneeSortie": 11
    },
    {
      "Nom": "sample string 1",
      "Lien": "sample string 2",
      "Type": "sample string 3",
      "Genres": "sample string 4",
      "Note": 5,
      "NombreEpisode": 6,
      "DureeEpisode": 7,
      "NombreEpisodeVue": 8,
      "Complet": false,
      "Statut": "En cours",
      "Etat": "Actif",
      "Duree": "56min",
      "DateAjout": "2017-11-22T19:26:44.0490475+01:00",
      "AnneeSortie": 11
    }
  ]
}

application/xml, text/xml

Sample:
<Liste xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GAL.Model">
  <Entrees>
    <ListeEntree>
      <AnneeSortie>11</AnneeSortie>
      <DateAjout>2017-11-22T19:26:44.0490475+01:00</DateAjout>
      <DureeEpisode>7</DureeEpisode>
      <Etat>Actif</Etat>
      <Genres>sample string 4</Genres>
      <Lien>sample string 2</Lien>
      <Nom>sample string 1</Nom>
      <NombreEpisode>6</NombreEpisode>
      <NombreEpisodeVue>8</NombreEpisodeVue>
      <Note>5</Note>
      <Type>sample string 3</Type>
    </ListeEntree>
    <ListeEntree>
      <AnneeSortie>11</AnneeSortie>
      <DateAjout>2017-11-22T19:26:44.0490475+01:00</DateAjout>
      <DureeEpisode>7</DureeEpisode>
      <Etat>Actif</Etat>
      <Genres>sample string 4</Genres>
      <Lien>sample string 2</Lien>
      <Nom>sample string 1</Nom>
      <NombreEpisode>6</NombreEpisode>
      <NombreEpisodeVue>8</NombreEpisodeVue>
      <Note>5</Note>
      <Type>sample string 3</Type>
    </ListeEntree>
  </Entrees>
  <Type>sample string 2</Type>
  <UserId>sample string 1</UserId>
</Liste>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.