POST api/Subscriber/GetLastPG
Request Information
URI Parameters
None.
Body Parameters
LastPG| Name | Description | Type | Additional information |
|---|---|---|---|
| SMSID | integer |
None. |
|
| VCNO | string |
None. |
|
| VendorID | integer |
None. |
|
| Amount | decimal number |
None. |
|
| PG | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SMSID": 1,
"VCNO": "sample string 2",
"VendorID": 3,
"Amount": 4.0,
"PG": "sample string 5"
}
application/xml, text/xml
Sample:
<LastPG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.TokenizationLogs"> <Amount>4</Amount> <PG>sample string 5</PG> <SMSID>1</SMSID> <VCNO>sample string 2</VCNO> <VendorID>3</VendorID> </LastPG>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultInfoOfLastPG| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| TokenType | string |
None. |
|
| ResultType | TypeOfResult |
None. |
|
| ResultCode | integer |
None. |
|
| ResultDesc | string |
None. |
|
| Result | LastPG |
None. |
|
| ErrCode | integer |
None. |
|
| ErrDesc | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccessToken": "sample string 1",
"TokenType": "sample string 2",
"ResultType": 0,
"ResultCode": 3,
"ResultDesc": "sample string 4",
"Result": {
"SMSID": 1,
"VCNO": "sample string 2",
"VendorID": 3,
"Amount": 4.0,
"PG": "sample string 5"
},
"ErrCode": 5,
"ErrDesc": "sample string 6"
}
application/xml, text/xml
Sample:
<ResultInfoOfLastPGh_SM_SfNFk xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common">
<AccessToken>sample string 1</AccessToken>
<ErrCode>5</ErrCode>
<ErrDesc>sample string 6</ErrDesc>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.TokenizationLogs">
<d2p1:Amount>4</d2p1:Amount>
<d2p1:PG>sample string 5</d2p1:PG>
<d2p1:SMSID>1</d2p1:SMSID>
<d2p1:VCNO>sample string 2</d2p1:VCNO>
<d2p1:VendorID>3</d2p1:VendorID>
</Result>
<ResultCode>3</ResultCode>
<ResultDesc>sample string 4</ResultDesc>
<ResultType>Success</ResultType>
<TokenType>sample string 2</TokenType>
</ResultInfoOfLastPGh_SM_SfNFk>