POST api/auth

Request Information

URI Parameters

None.

Body Parameters

AuthRequestModel
NameDescriptionTypeAdditional information
UserName

string

Required

Password

string

Required

Request Formats

application/json, text/json, text/html

Sample:
{
  "userName": "sample string 1",
  "password": "sample string 2"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AuthResponseModel
NameDescriptionTypeAdditional information
AccessToken

string

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "accessToken": "sample string 1",
  "isSuccess": true
}

application/xml, text/xml

Sample:
<AuthResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RSBids.Api.Models">
  <AccessToken>sample string 1</AccessToken>
  <IsSuccess>true</IsSuccess>
</AuthResponseModel>