POST YemekSepeti/Token

Request Information

URI Parameters

None.

Body Parameters

RestaurantModel
NameDescriptionTypeAdditional information
grant_type

string

None.

username

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "grant_type": "sample string 1",
  "username": "sample string 2",
  "password": "sample string 3"
}

application/xml, text/xml

Sample:
<Yemeksepeti.RestaurantModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiApp.Models">
  <grant_type>sample string 1</grant_type>
  <password>sample string 3</password>
  <username>sample string 2</username>
</Yemeksepeti.RestaurantModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RestaurantModel'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>