GetTransactionsHistory
This XML API returns the status of the transactions history of default one month
Sample Request XML
<?xml version="1.0" encoding="utf-8"?> <VCAREOSSAPI xmlns="http://www.oss.vcarecorporation.com/oss" mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CREDENTIALS> <VENDORID></VENDORID> <USERNAME></USERNAME> <PASSWORD></PASSWORD> <PIN></PIN> <REFERENCENUMBER></REFERENCENUMBER> </CREDENTIALS> <VCAREOSS> <GETTRANSACTIONSHISTORY> <CUSTOMERID></CUSTOMERID> <PAYMENT_TYPE></PAYMENT_TYPE> <PURCHASE_TYPE></PURCHASE_TYPE> <DATEFROM></DATEFROM> <DATETO></DATETO> <AGENTID></AGENTID> <AGENTPASSWORD></AGENTPASSWORD> <SOURCE></SOURCE> </GETTRANSACTIONSHISTORY> </VCAREOSS> </VCAREOSSAPI>
List of status code, description and resolution. | ||
---|---|---|
Status Code | Description | How to Resolve? |
00 | SUCCESS | SUCCESS |
13 | Password is invalid. | Provide a valid Password. |
16 | Vendor not found. Wrong credentials. | Please enter valid vendor credentials. |
226 | Customer ID is required. | Please provide Customer ID. |
243 | Record(s) not found. | Please provide valid value as Record(s) not found. |
356 | Agent ID cannot be blank. | Please provide Agent ID as it cannot be blank. |
457 | Invalid Source. | Please provide a valid Source. Given value is invalid for Source. |
Sample Response XML
<?xml version="1.0" encoding="utf-8"?> <VcareOssApi xmlns="http://www.oss.vcarecorporation.com/oss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <credentials> <vendorId>Vcarecorporation</vendorId> <referenceNumber>111111</referenceNumber> </credentials> <GetTransactionsHistory> <statusCode>00</statusCode> <description>SUCCESS</description> <errorDescription>SUCCESS</errorDescription> <transaction> <payment_type></payment_type> <payment_source></payment_source> <purchase_type></purchase_type> <purchase_name></purchase_name> <payment_amount></payment_amount> <tax_amount></tax_amount> <processing_fee></processing_fee> <enollment_id></enollment_id> <customer_id></customer_id> <company_id></company_id> <mdn></mdn> <purchase_date></purchase_date> <purchase_by></purchase_by> <refrence_no></refrence_no> <transaction_type></transaction_type> <updated_at></updated_at> <invoice_no></invoice_no> </transaction> <transaction> <payment_type></payment_type> <payment_source></payment_source> <purchase_type></purchase_type> <purchase_name></purchase_name> <payment_amount></payment_amount> <tax_amount></tax_amount> <processing_fee></processing_fee> <enollment_id></enollment_id> <customer_id></customer_id> <company_id></company_id> <mdn></mdn> <purchase_date></purchase_date> <purchase_by></purchase_by> <refrence_no></refrence_no> <transaction_type></transaction_type> <updated_at></updated_at> <invoice_no></invoice_no> </transaction> </GetTransactionsHistory> </VcareOssApi>
SUCCESS
Sample Fail Response: 1
<?xml version="1.0" encoding="utf-8"?> <VcareOssApi xmlns="http://www.oss.vcarecorporation.com/oss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <credentials> <vendorId>Vcarecorporation</vendorId> <referenceNumber>11111</referenceNumber> </credentials> <GetTransactionsHistory> <statusCode>13</statusCode> <description>FAIL</description> <errorDescription>Password is invalid.</errorDescription> </GetTransactionsHistory> </VcareOssApi>
Error Description: Password is invalid.
How to Resolve?: Provide a valid Password.
Sample Fail Response: 2
<?xml version="1.0" encoding="utf-8"?> <VcareOssApi xmlns="http://www.oss.vcarecorporation.com/oss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <credentials> <vendorId>Vcarecorporation</vendorId> <referenceNumber>11111</referenceNumber> </credentials> <GetTransactionsHistory> <statusCode>16</statusCode> <description>FAIL</description> <errorDescription>Vendor not found. Wrong credentials.</errorDescription> </GetTransactionsHistory> </VcareOssApi>
Error Description: Vendor not found. Wrong credentials.
How to Resolve?: Please enter valid vendor credentials.
Sample Fail Response: 3
<?xml version="1.0" encoding="utf-8"?> <VcareOssApi xmlns="http://www.oss.vcarecorporation.com/oss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <credentials> <vendorId>Vcarecorporation</vendorId> <referenceNumber>11111</referenceNumber> </credentials> <GetTransactionsHistory> <statusCode>226</statusCode> <description>FAIL</description> <errorDescription>Customer ID is required.</errorDescription> </GetTransactionsHistory> </VcareOssApi>
Error Description: Customer ID is required.
How to Resolve?: Please provide Customer ID.
Sample Fail Response: 4
<?xml version="1.0" encoding="utf-8"?> <VcareOssApi xmlns="http://www.oss.vcarecorporation.com/oss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <credentials> <vendorId>Vcarecorporation</vendorId> <referenceNumber>11111</referenceNumber> </credentials> <GetTransactionsHistory> <statusCode>243</statusCode> <description>FAIL</description> <errorDescription>Record(s) not found.</errorDescription> </GetTransactionsHistory> </VcareOssApi>
Error Description: Record(s) not found.
How to Resolve?: Please provide valid value as Record(s) not found.
Sample Fail Response: 5
<?xml version="1.0" encoding="utf-8"?> <VcareOssApi xmlns="http://www.oss.vcarecorporation.com/oss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <credentials> <vendorId>Vcarecorporation</vendorId> <referenceNumber>11111</referenceNumber> </credentials> <GetTransactionsHistory> <statusCode>356</statusCode> <description>FAIL</description> <errorDescription>Agent ID cannot be blank.</errorDescription> </GetTransactionsHistory> </VcareOssApi>
Error Description: Agent ID cannot be blank.
How to Resolve?: Please provide Agent ID as it cannot be blank.
Sample Fail Response: 6
<?xml version="1.0" encoding="utf-8"?> <VcareOssApi xmlns="http://www.oss.vcarecorporation.com/oss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <credentials> <vendorId>Vcarecorporation</vendorId> <referenceNumber>11111</referenceNumber> </credentials> <GetTransactionsHistory> <statusCode>457</statusCode> <description>FAIL</description> <errorDescription>Invalid Source.</errorDescription> </GetTransactionsHistory> </VcareOssApi>
Error Description: Invalid Source.
How to Resolve?: Please provide a valid Source. Given value is invalid for Source.
All the status codes are listed under the status code sections. Please click here to go to the status code.