POST api/PackageInfo/GetOrderIDDetailsSmrtHub
Request Information
URI Parameters
None.
Body Parameters
SmrtHubRecharge| Name | Description | Type | Additional information |
|---|---|---|---|
| Flag | integer |
None. |
|
| FormNo | string |
None. |
|
| TokenNumber | integer |
None. |
|
| TimeStamp | string |
None. |
|
| ComplaintTrnRowID | integer |
None. |
|
| InstallationCharge | decimal number |
None. |
|
| ActivationCharge | decimal number |
None. |
|
| SubTotalWithoutTax | decimal number |
None. |
|
| SubTotalTax | decimal number |
None. |
|
| SubTotalWithTax | decimal number |
None. |
|
| AdvanceRentalWithoutTax | decimal number |
None. |
|
| AdvanceRentalTax | decimal number |
None. |
|
| TotalPackagePrice | decimal number |
None. |
|
| PackName | string |
None. |
|
| ProductType | string |
None. |
|
| IsSMRTHubEnabled | integer |
None. |
|
| IsSMRTHubForNewUser | integer |
None. |
|
| IsSMRTStickEnabled | integer |
None. |
|
| IsPayment | integer |
None. |
|
| Isd2h | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Flag": 1,
"FormNo": "sample string 2",
"TokenNumber": 3,
"TimeStamp": "sample string 4",
"ComplaintTrnRowID": 5,
"InstallationCharge": 6.0,
"ActivationCharge": 7.0,
"SubTotalWithoutTax": 8.0,
"SubTotalTax": 9.0,
"SubTotalWithTax": 10.0,
"AdvanceRentalWithoutTax": 11.0,
"AdvanceRentalTax": 12.0,
"TotalPackagePrice": 13.0,
"PackName": "sample string 14",
"ProductType": "sample string 15",
"IsSMRTHubEnabled": 16,
"IsSMRTHubForNewUser": 17,
"IsSMRTStickEnabled": 18,
"IsPayment": 19,
"Isd2h": 20
}
application/xml, text/xml
Sample:
<SmrtHubRecharge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Transaction.Recharge"> <ActivationCharge>7</ActivationCharge> <AdvanceRentalTax>12</AdvanceRentalTax> <AdvanceRentalWithoutTax>11</AdvanceRentalWithoutTax> <ComplaintTrnRowID>5</ComplaintTrnRowID> <Flag>1</Flag> <FormNo>sample string 2</FormNo> <InstallationCharge>6</InstallationCharge> <IsPayment>19</IsPayment> <IsSMRTHubEnabled>16</IsSMRTHubEnabled> <IsSMRTHubForNewUser>17</IsSMRTHubForNewUser> <IsSMRTStickEnabled>18</IsSMRTStickEnabled> <Isd2h>20</Isd2h> <PackName>sample string 14</PackName> <ProductType>sample string 15</ProductType> <SubTotalTax>9</SubTotalTax> <SubTotalWithTax>10</SubTotalWithTax> <SubTotalWithoutTax>8</SubTotalWithoutTax> <TimeStamp>sample string 4</TimeStamp> <TokenNumber>3</TokenNumber> <TotalPackagePrice>13</TotalPackagePrice> </SmrtHubRecharge>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultInfoOfSmrtHubRecharge| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| TokenType | string |
None. |
|
| ResultType | TypeOfResult |
None. |
|
| ResultCode | integer |
None. |
|
| ResultDesc | string |
None. |
|
| Result | SmrtHubRecharge |
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": {
"Flag": 1,
"FormNo": "sample string 2",
"TokenNumber": 3,
"TimeStamp": "sample string 4",
"ComplaintTrnRowID": 5,
"InstallationCharge": 6.0,
"ActivationCharge": 7.0,
"SubTotalWithoutTax": 8.0,
"SubTotalTax": 9.0,
"SubTotalWithTax": 10.0,
"AdvanceRentalWithoutTax": 11.0,
"AdvanceRentalTax": 12.0,
"TotalPackagePrice": 13.0,
"PackName": "sample string 14",
"ProductType": "sample string 15",
"IsSMRTHubEnabled": 16,
"IsSMRTHubForNewUser": 17,
"IsSMRTStickEnabled": 18,
"IsPayment": 19,
"Isd2h": 20
},
"ErrCode": 5,
"ErrDesc": "sample string 6"
}
application/xml, text/xml
Sample:
<ResultInfoOfSmrtHubRechargeYpx_PLYeY 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.Transaction.Recharge">
<d2p1:ActivationCharge>7</d2p1:ActivationCharge>
<d2p1:AdvanceRentalTax>12</d2p1:AdvanceRentalTax>
<d2p1:AdvanceRentalWithoutTax>11</d2p1:AdvanceRentalWithoutTax>
<d2p1:ComplaintTrnRowID>5</d2p1:ComplaintTrnRowID>
<d2p1:Flag>1</d2p1:Flag>
<d2p1:FormNo>sample string 2</d2p1:FormNo>
<d2p1:InstallationCharge>6</d2p1:InstallationCharge>
<d2p1:IsPayment>19</d2p1:IsPayment>
<d2p1:IsSMRTHubEnabled>16</d2p1:IsSMRTHubEnabled>
<d2p1:IsSMRTHubForNewUser>17</d2p1:IsSMRTHubForNewUser>
<d2p1:IsSMRTStickEnabled>18</d2p1:IsSMRTStickEnabled>
<d2p1:Isd2h>20</d2p1:Isd2h>
<d2p1:PackName>sample string 14</d2p1:PackName>
<d2p1:ProductType>sample string 15</d2p1:ProductType>
<d2p1:SubTotalTax>9</d2p1:SubTotalTax>
<d2p1:SubTotalWithTax>10</d2p1:SubTotalWithTax>
<d2p1:SubTotalWithoutTax>8</d2p1:SubTotalWithoutTax>
<d2p1:TimeStamp>sample string 4</d2p1:TimeStamp>
<d2p1:TokenNumber>3</d2p1:TokenNumber>
<d2p1:TotalPackagePrice>13</d2p1:TotalPackagePrice>
</Result>
<ResultCode>3</ResultCode>
<ResultDesc>sample string 4</ResultDesc>
<ResultType>Success</ResultType>
<TokenType>sample string 2</TokenType>
</ResultInfoOfSmrtHubRechargeYpx_PLYeY>