POST api/WebAppRest/GetEntryByTypeAndUrlWithLogin?type={type}&url={url}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

string

Required

url

string

Required

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

ListeEntree
NameDescriptionTypeAdditional information
Nom

string

None.

Lien

string

None.

Type

string

None.

Genres

string

None.

Note

integer

None.

NombreEpisode

integer

None.

DureeEpisode

integer

None.

NombreEpisodeVue

integer

None.

Complet

boolean

None.

Statut

string

None.

Etat

string

None.

Duree

string

None.

DateAjout

date

None.

AnneeSortie

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "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:13:39.7915511+02:00",
  "AnneeSortie": 11
}

application/xml, text/xml

Sample:
<ListeEntree xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GAL.Model">
  <AnneeSortie>11</AnneeSortie>
  <DateAjout>2017-09-22T19:13:39.7915511+02: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>