POST api/PFMS/pfms_get_access_token
Documentation for 'pfms_get_access_token'.
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:
{ "stateCode": "sample string 1", "AuthString": "sample string 2", "AuthCode": "sample string 3" }
application/xml, text/xml
Sample:
<RequestModelLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PFMS"> <AuthCode>sample string 3</AuthCode> <AuthString>sample string 2</AuthString> <stateCode>sample string 1</stateCode> </RequestModelLogin>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{ "AckCode": "sample string 1", "Status": "sample string 2", "Remarks": "sample string 3", "DateOfData": "sample string 4", "PFMSLogInResponse": { "externalSourceName": "sample string 1", "userName": "sample string 2", "requestSource": "sample string 3", "accessToken": "sample string 4", "refreshToken": "sample string 5", "tokenCreated": "sample string 6", "tokenExpires": "sample string 7", "responseData": "sample string 8", "errorMessage": "sample string 9", "isSuccess": "sample string 10", "errorCode": "sample string 11" } }
application/xml, text/xml
Sample:
<ResponseModelLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PFMS"> <AckCode>sample string 1</AckCode> <DateOfData>sample string 4</DateOfData> <PFMSLogInResponse> <accessToken>sample string 4</accessToken> <errorCode>sample string 11</errorCode> <errorMessage>sample string 9</errorMessage> <externalSourceName>sample string 1</externalSourceName> <isSuccess>sample string 10</isSuccess> <refreshToken>sample string 5</refreshToken> <requestSource>sample string 3</requestSource> <responseData>sample string 8</responseData> <tokenCreated>sample string 6</tokenCreated> <tokenExpires>sample string 7</tokenExpires> <userName>sample string 2</userName> </PFMSLogInResponse> <Remarks>sample string 3</Remarks> <Status>sample string 2</Status> </ResponseModelLogin>