POST api/Authorize
Request Information
URI Parameters
None.
Body Parameters
UserLoginDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Login | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Login": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<UserLoginDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VTC_API.Dto.User"> <Login>sample string 1</Login> <Password>sample string 2</Password> </UserLoginDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Message | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Message": {}
}
application/xml, text/xml
Sample:
<ResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VTC_API.Dto.Response"> <Code>sample string 1</Code> <Message /> </ResponseDto>