POST api/login/SignIn
Request Information
URI Parameters
None.
Body Parameters
Login| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| Password | string |
None. |
|
| Page | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"Password": "sample string 2",
"Page": "sample string 3"
}
application/xml, text/xml
Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eBuy.Models"> <Email>sample string 1</Email> <Page>sample string 3</Page> <Password>sample string 2</Password> </Login>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LoginRespuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IdUser | integer |
None. |
|
| string |
None. |
||
| Role | string |
None. |
|
| UserType | string |
None. |
|
| StartPage | string |
None. |
|
| Auth | boolean |
None. |
|
| Status | boolean |
None. |
|
| Token | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"IdUser": 2,
"Email": "sample string 3",
"Role": "sample string 4",
"UserType": "sample string 5",
"StartPage": "sample string 6",
"Auth": true,
"Status": true,
"Token": "sample string 9",
"Message": "sample string 10"
}
application/xml, text/xml
Sample:
<LoginRespuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eBuy.Models"> <Auth>true</Auth> <Email>sample string 3</Email> <Id>1</Id> <IdUser>2</IdUser> <Message>sample string 10</Message> <Role>sample string 4</Role> <StartPage>sample string 6</StartPage> <Status>true</Status> <Token>sample string 9</Token> <UserType>sample string 5</UserType> </LoginRespuesta>