Product_Price_Enquiry
This method will returns the price of a single product.
Request Parameters
No. | Parameter Name | Mandatory/ Optional | Parameter Data Type | Sample Parameter | Description |
1 | Credentials.UID | M | String | partner_api | The API user ID that assigned to partner. |
2 | Credentials.PWD | M | String | m8tA24bW | The API password that assigned to partner. |
3 | Credentials.Signature | M | String | e0ea4fc301155 2e6f799a447e7 2f9341 | The digital signature that hashed with MD5 algorithm. Please refer section “Appendix: Digital Signature Hashing Algorithm” to hashing reference. |
4 | DealerTransactionId | M | String | 12345678 | The unique transaction ID from partner system. |
5 | OperatorCode | M | String | AK | The code of the operator that you want to query the denomination list. |
6 | ProductDenomination | M | Decimal | 50 | The denomination of the product |
Sample Request
1 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 2 xmlns:tem="http://tempuri.org/" 3 xmlns:tran="http://schemas.datacontract.org/2004/07/Tranglo20.Business.Processor" 4 xmlns:tran1="http://schemas.datacontract.org/2004/07/Tranglo20.Common.Entity"> 5 <soapenv:Header/> 6 <soapenv:Body> 7 <tem:Product_Price_Enquiry> 8 <tem:ppInqReq> 9 <tran:DealerTransactionId>101010</tran:DealerTransactionId> 10 <tran:ProdOperatorCode>AK</tran:ProdOperatorCode> 11 <tran:ProductDenomination>50</tran:ProductDenomination> 12 <tran:credential> 13 <tran1:UID>partner_api</tran1:UID> 14 <tran1:PWD>m8tA24bW</tran1:PWD> 15 <tran1:Signature>bea2629be8bd17f64c61be6e7afca7be</tran1:Signature> 16 </tran:credential> 17 </tem:ppInqReq> 18 </tem:Product_Price_Enquiry> 19 </soapenv:Body> 20 </soapenv:Envelope>
Response Parameters
No. | Parameter Name | Parameter | Sample | Description |
1 | Status.Code | String | 000 | The status code of the request. |
2 | Status.Description | String | Transaction is Successful | The description of the status code. |
3 | Status.Type | String | Approved | The category of the status code. There is 3 different Type – Approved, Error,and Pending. |
4 | ProdOperatorCode | String | Bangladesh | The code of the operator. |
5 | Denomination | String | Bangladesh Robi Axiata | The denomination of the product. |
6 | PriceCurrency | String | AK | The currency of the product price. |
7 | ProductPrice | String | BDT | The product price. |
Sample Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <Product_Price_EnquiryResponse xmlns="http://tempuri.org/"> <Product_Price_EnquiryResult xmlns:a="http://schemas.datacontract.org/2004/07/Tranglo20.Business.Processor" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <a:Status xmlns:b="http://schemas.datacontract.org/2004/07/Tranglo20.Common.Entity"> <b:Code>000</b:Code> <b:Description>Transaction is Successful</b:Description> <b:Type>Approved</b:Type> </a:Status> <a:ProdOperatorCode>AK</a:ProdOperatorCode> <a:Denomination>50</a:Denomination> <a:PriceCurrency>MYR</a:PriceCurrency> <a:ProductPrice>2.14</a:ProductPrice> </Product_Price_EnquiryResult> </Product_Price_EnquiryResponse> </s:Body> </s:Envelope>