POST api/WebAppRest/GetAllListeWithLogin

Request Information

URI Parameters

None.

Body Parameters

LoginViewModel
NameDescriptionTypeAdditional information
UserName

string

Required

Data type: Text

String length: inclusive between 4 and 100

Password

string

Required

Data type: Password

RememberMe

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "RememberMe": true
}

application/xml, text/xml

Sample:
<LoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/gold_s.Models">
  <Password>sample string 2</Password>
  <RememberMe>true</RememberMe>
  <UserName>sample string 1</UserName>
</LoginViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of string [key] and Liste [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": {
    "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-09-22T19:12:51.232421+02: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-09-22T19:12:51.232421+02:00",
        "AnneeSortie": 11
      }
    ]
  },
  "sample string 2": {
    "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-09-22T19:12:51.232421+02: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-09-22T19:12:51.232421+02:00",
        "AnneeSortie": 11
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringListenSBC5n7n xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringListenSBC5n7n>
    <Key>sample string 1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/GAL.Model">
      <d3p1:Entrees>
        <d3p1:ListeEntree>
          <d3p1:AnneeSortie>11</d3p1:AnneeSortie>
          <d3p1:DateAjout>2017-09-22T19:12:51.232421+02:00</d3p1:DateAjout>
          <d3p1:DureeEpisode>7</d3p1:DureeEpisode>
          <d3p1:Etat>Actif</d3p1:Etat>
          <d3p1:Genres>sample string 4</d3p1:Genres>
          <d3p1:Lien>sample string 2</d3p1:Lien>
          <d3p1:Nom>sample string 1</d3p1:Nom>
          <d3p1:NombreEpisode>6</d3p1:NombreEpisode>
          <d3p1:NombreEpisodeVue>8</d3p1:NombreEpisodeVue>
          <d3p1:Note>5</d3p1:Note>
          <d3p1:Type>sample string 3</d3p1:Type>
        </d3p1:ListeEntree>
        <d3p1:ListeEntree>
          <d3p1:AnneeSortie>11</d3p1:AnneeSortie>
          <d3p1:DateAjout>2017-09-22T19:12:51.232421+02:00</d3p1:DateAjout>
          <d3p1:DureeEpisode>7</d3p1:DureeEpisode>
          <d3p1:Etat>Actif</d3p1:Etat>
          <d3p1:Genres>sample string 4</d3p1:Genres>
          <d3p1:Lien>sample string 2</d3p1:Lien>
          <d3p1:Nom>sample string 1</d3p1:Nom>
          <d3p1:NombreEpisode>6</d3p1:NombreEpisode>
          <d3p1:NombreEpisodeVue>8</d3p1:NombreEpisodeVue>
          <d3p1:Note>5</d3p1:Note>
          <d3p1:Type>sample string 3</d3p1:Type>
        </d3p1:ListeEntree>
      </d3p1:Entrees>
      <d3p1:Type>sample string 2</d3p1:Type>
      <d3p1:UserId>sample string 1</d3p1:UserId>
    </Value>
  </KeyValueOfstringListenSBC5n7n>
  <KeyValueOfstringListenSBC5n7n>
    <Key>sample string 2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/GAL.Model">
      <d3p1:Entrees>
        <d3p1:ListeEntree>
          <d3p1:AnneeSortie>11</d3p1:AnneeSortie>
          <d3p1:DateAjout>2017-09-22T19:12:51.232421+02:00</d3p1:DateAjout>
          <d3p1:DureeEpisode>7</d3p1:DureeEpisode>
          <d3p1:Etat>Actif</d3p1:Etat>
          <d3p1:Genres>sample string 4</d3p1:Genres>
          <d3p1:Lien>sample string 2</d3p1:Lien>
          <d3p1:Nom>sample string 1</d3p1:Nom>
          <d3p1:NombreEpisode>6</d3p1:NombreEpisode>
          <d3p1:NombreEpisodeVue>8</d3p1:NombreEpisodeVue>
          <d3p1:Note>5</d3p1:Note>
          <d3p1:Type>sample string 3</d3p1:Type>
        </d3p1:ListeEntree>
        <d3p1:ListeEntree>
          <d3p1:AnneeSortie>11</d3p1:AnneeSortie>
          <d3p1:DateAjout>2017-09-22T19:12:51.232421+02:00</d3p1:DateAjout>
          <d3p1:DureeEpisode>7</d3p1:DureeEpisode>
          <d3p1:Etat>Actif</d3p1:Etat>
          <d3p1:Genres>sample string 4</d3p1:Genres>
          <d3p1:Lien>sample string 2</d3p1:Lien>
          <d3p1:Nom>sample string 1</d3p1:Nom>
          <d3p1:NombreEpisode>6</d3p1:NombreEpisode>
          <d3p1:NombreEpisodeVue>8</d3p1:NombreEpisodeVue>
          <d3p1:Note>5</d3p1:Note>
          <d3p1:Type>sample string 3</d3p1:Type>
        </d3p1:ListeEntree>
      </d3p1:Entrees>
      <d3p1:Type>sample string 2</d3p1:Type>
      <d3p1:UserId>sample string 1</d3p1:UserId>
    </Value>
  </KeyValueOfstringListenSBC5n7n>
</ArrayOfKeyValueOfstringListenSBC5n7n>