ChangePlan
This XML API is used to change the plan on the existing subscriber's account
Sample Request 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></VENDORID> <USERNAME></USERNAME> <PASSWORD></PASSWORD> <PIN></PIN> <REFERENCENUMBER></REFERENCENUMBER> </CREDENTIALS> <VCAREOSS> <CHANGEPLAN> <CUSTOMERID></CUSTOMERID> <PLANID></PLANID> <PLANCODE></PLANCODE> <CHANGETYPE></CHANGETYPE> <KEEPORIGINALEXPIRY></KEEPORIGINALEXPIRY> <PRORATEDPLANPRICE></PRORATEDPLANPRICE> <ADVANCEBILLINGMONTH></ADVANCEBILLINGMONTH> <AGENTID></AGENTID> <AGENTPASSWORD></AGENTPASSWORD> <SOURCE></SOURCE> </CHANGEPLAN> </VCAREOSS> </VCAREOSSAPI>
List of status code, description and resolution. | ||
---|---|---|
Status Code | Description | How to Resolve? |
00 | SUCCESS | SUCCESS |
01 | Error Received from Carrier. | Please try again with valid data. |
13 | Password is invalid. | Provide a valid Password. |
16 | Vendor not found. Wrong credentials. | Please enter valid vendor credentials. |
22 | Plan not found. | Provide a valid plan available in system |
25 | Customer ID is invalid. | Provide a valid Customer ID. |
203 | Invalid PlanID. | Provide a valid PlanID. |
226 | Customer ID is required. | Please provide Customer ID. |
321 | Customer not found. | Customer is not found. |
356 | Agent ID cannot be blank. | Please provide Agent ID as it cannot be blank. |
374 | Change Type should not be blank. | Please provide Change Type as it cannot be blank. |
377 | Change Type is not valid. | Please provide a valid Change Type. |
403 | Plan ID is not LIVE. | This plan id is not live in system. |
404 | Plan ID should be of same State. | Plan id should be of same state |
405 | Customer Account Type not matched. | Customer Account Type is different and not matched. |
457 | Invalid Source. | Please provide a valid Source. Given value is invalid for Source. |
589 | Tribal customer plan could not be changed from tribal to non tribal. | Tribal customer plan could not be changed from tribal to non tribal. |
590 | Tribal customer plan could not be changed from non tribal to tribal. | Tribal customer plan could not be changed from non tribal to tribal. |
662 | Keep original expiry should be Y OR N. | Provide correct Keep original expiry. Keep original expiry should be Y or N. |
663 | Prorated plan price should be Y OR N. | Provide correct Prorated plan price. Prorated plan price should be Y or N. |
Sample Response
<?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></vendorId> <referenceNumber></referenceNumber> </credentials> <ChangePlan> <statusCode></statusCode> <description></description> <errorDescription></errorDescription> <ChangePlan> </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> <ChangePlan> <statusCode>01</statusCode> <description>FAIL</description> <errorDescription>Error Received from Carrier.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Error Received from Carrier.
How to Resolve?: Please try again with valid data.
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> <ChangePlan> <statusCode>13</statusCode> <description>FAIL</description> <errorDescription>Password is invalid.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Password is invalid.
How to Resolve?: Provide a valid Password.
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> <ChangePlan> <statusCode>16</statusCode> <description>FAIL</description> <errorDescription>Vendor not found. Wrong credentials.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Vendor not found. Wrong credentials.
How to Resolve?: Please enter valid vendor credentials.
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> <ChangePlan> <statusCode>22</statusCode> <description>FAIL</description> <errorDescription>Plan not found.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Plan not found.
How to Resolve?: Provide a valid plan available in system
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> <ChangePlan> <statusCode>25</statusCode> <description>FAIL</description> <errorDescription>Customer ID is invalid.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Customer ID is invalid.
How to Resolve?: Provide a valid Customer ID.
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> <ChangePlan> <statusCode>203</statusCode> <description>FAIL</description> <errorDescription>Invalid PlanID.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Invalid PlanID.
How to Resolve?: Provide a valid PlanID.
Sample Fail Response: 7
<?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> <ChangePlan> <statusCode>226</statusCode> <description>FAIL</description> <errorDescription>Customer ID is required.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Customer ID is required.
How to Resolve?: Please provide Customer ID.
Sample Fail Response: 8
<?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> <ChangePlan> <statusCode>321</statusCode> <description>FAIL</description> <errorDescription>Customer not found.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Customer not found.
How to Resolve?: Customer is not found.
Sample Fail Response: 9
<?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> <ChangePlan> <statusCode>356</statusCode> <description>FAIL</description> <errorDescription>Agent ID cannot be blank.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Agent ID cannot be blank.
How to Resolve?: Please provide Agent ID as it cannot be blank.
Sample Fail Response: 10
<?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> <ChangePlan> <statusCode>374</statusCode> <description>FAIL</description> <errorDescription>Change Type should not be blank.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Change Type should not be blank.
How to Resolve?: Please provide Change Type as it cannot be blank.
Sample Fail Response: 11
<?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> <ChangePlan> <statusCode>377</statusCode> <description>FAIL</description> <errorDescription>Change Type is not valid.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Change Type is not valid.
How to Resolve?: Please provide a valid Change Type.
Sample Fail Response: 12
<?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> <ChangePlan> <statusCode>403</statusCode> <description>FAIL</description> <errorDescription>Plan ID is not LIVE.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Plan ID is not LIVE.
How to Resolve?: This plan id is not live in system.
Sample Fail Response: 13
<?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> <ChangePlan> <statusCode>404</statusCode> <description>FAIL</description> <errorDescription>Plan ID should be of same State.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Plan ID should be of same State.
How to Resolve?: Plan id should be of same state
Sample Fail Response: 14
<?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> <ChangePlan> <statusCode>405</statusCode> <description>FAIL</description> <errorDescription>Customer Account Type not matched.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Customer Account Type not matched.
How to Resolve?: Customer Account Type is different and not matched.
Sample Fail Response: 15
<?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> <ChangePlan> <statusCode>457</statusCode> <description>FAIL</description> <errorDescription>Invalid Source.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Invalid Source.
How to Resolve?: Please provide a valid Source. Given value is invalid for Source.
Sample Fail Response: 16
<?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> <ChangePlan> <statusCode>589</statusCode> <description>FAIL</description> <errorDescription>Tribal customer plan could not be changed from tribal to non tribal.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Tribal customer plan could not be changed from tribal to non tribal.
How to Resolve?: Tribal customer plan could not be changed from tribal to non tribal.
Sample Fail Response: 17
<?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> <ChangePlan> <statusCode>590</statusCode> <description>FAIL</description> <errorDescription>Tribal customer plan could not be changed from non tribal to tribal.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Tribal customer plan could not be changed from non tribal to tribal.
How to Resolve?: Tribal customer plan could not be changed from non tribal to tribal.
Sample Fail Response: 18
<?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> <ChangePlan> <statusCode>662</statusCode> <description>FAIL</description> <errorDescription>Keep original expiry should be Y OR N.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Keep original expiry should be Y OR N.
How to Resolve?: Provide correct Keep original expiry. Keep original expiry should be Y or N.
Sample Fail Response: 19
<?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> <ChangePlan> <statusCode>663</statusCode> <description>FAIL</description> <errorDescription>Prorated plan price should be Y OR N.</errorDescription> </ChangePlan> </VcareOssApi>
Error Description: Prorated plan price should be Y OR N.
How to Resolve?: Provide correct Prorated plan price. Prorated plan price should be Y or N.
All the status codes are listed under the status code sections. Please click here to go to the status code.