URL
https://devwebapi.leadmaster.com/api/LMWebAPI/GetAccessToken
Description
Get accesstoken
HttpMethod
POST
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | for the given model. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"password": "sample string 2",
"companyid": 3
}
application/xml, text/xml
Sample:
<AccessTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers"> <companyid>3</companyid> <password>sample string 2</password> <username>sample string 1</username> </AccessTokenModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body 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>