POST api/PMJAY/pmjay_get_accesstoken
Documentation for 'pmjay_get_accesstoken'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
model | Documentation for 'model'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "State": "sample string 1", "AuthString": "sample string 2", "UserId": "sample string 3", "Password": "sample string 4" }
application/xml, text/xml
Sample:
<PMJAYRequestModelGetToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PMJAY"> <AuthString>sample string 2</AuthString> <Password>sample string 4</Password> <State>sample string 1</State> <UserId>sample string 3</UserId> </PMJAYRequestModelGetToken>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{ "AccessToken": "sample string 1", "Status": "sample string 2", "Remarks": "sample string 3", "State": "sample string 4" }
application/xml, text/xml
Sample:
<PMJAYResponseModelGetToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PMJAY"> <AccessToken>sample string 1</AccessToken> <Remarks>sample string 3</Remarks> <State>sample string 4</State> <Status>sample string 2</Status> </PMJAYResponseModelGetToken>