GetPlansList
This XML API returns the list of the available plans for the changeplan on customer'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>Vcarecorporation</VENDORID> <USERNAME>Vcarecorporation</USERNAME> <PASSWORD>Vcarecorporation</PASSWORD> <PIN>Vcarecorporation</PIN> <REFERENCENUMBER>11111</REFERENCENUMBER> </CREDENTIALS> <VCAREOSS> <GETPLANSLIST> <STATE>OK</STATE> <ACCOUNTTYPE>GA</ACCOUNTTYPE> <ISTRIBAL></ISTRIBAL> <SERVICETYPE></SERVICETYPE> <AGENTID>Zeeshan Ahmed</AGENTID> <AGENTPASSWORD></AGENTPASSWORD> <SOURCE>API</SOURCE> </GETPLANSLIST> </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. |
118 | State is required. | State cannot be blank. You should enter a valid State. |
119 | Invalid Format! Only characters are allowed in State. | Please provide a valid Format in State. |
356 | Agent ID cannot be blank. | Please provide Agent ID as it cannot be blank. |
404 | Plan ID should be of same State. | Plan id should be of same state |
457 | Invalid Source. | Please provide a valid Source. Given value is invalid for Source. |
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> <GetPlansList> <statusCode>00</statusCode> <description>SUCCESS</description> <errorDescription>SUCCESS</errorDescription> <plans> <planid></planid> <planamount></planamount> <bill_to_customer></bill_to_customer> <planname></planname> <plan_description></plan_description> <service_allowed></service_allowed> <plan_code></plan_code> <carrier_list> <carrier></carrier> </carrier_list> <planIStribal></planIStribal> <wcct_additional_amt></wcct_additional_amt> <plan_type></plan_type> <service_type></service_type> <talk></talk> <text></text> <data></data> <service_name></service_name> <service_amt></service_amt> <service_allow></service_allow> <activation_fee></activation_fee> <is_unlimited_plan>Y</is_unlimited_plan> <data_unlimited>Y</data_unlimited> <text_unlimited>N</text_unlimited> <minute_unlimited>N</minute_unlimited> </plans> <plans> <planid></planid> <planamount></planamount> <bill_to_customer></bill_to_customer> <planname></planname> <plan_description></plan_description> <service_allowed></service_allowed> <plan_code></plan_code> <carrier_list> <carrier></carrier> </carrier_list> <planIStribal></planIStribal> <wcct_additional_amt></wcct_additional_amt> <plan_type></plan_type> <service_type></service_type> <talk></talk> <text></text> <data></data> <service_name></service_name> <service_amt></service_amt> <service_allow></service_allow> <activation_fee></activation_fee> <is_unlimited_plan>Y</is_unlimited_plan> <data_unlimited>Y</data_unlimited> <text_unlimited>N</text_unlimited> <minute_unlimited>N</minute_unlimited> </plans> </GetPlansList> </VcareOssApi>
SUCCESS
List of all the status codes will be shared seperately.
</plantype>GA meanes lifeline plan and NL means nonlifeline /prepaid plan
<planIStribal>Y means the plan is for tribal customers N means it is for non tribal customers.
<wcct_additional_amt>This is not applicable for you. It can be ignored
<service_type> This is the NLAD service type of the plan
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> <GetPlansList> <statusCode>13</statusCode> <description>FAIL</description> <errorDescription>Password is invalid.</errorDescription> </GetPlansList> </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> <GetPlansList> <statusCode>16</statusCode> <description>FAIL</description> <errorDescription>Vendor not found. Wrong credentials.</errorDescription> </GetPlansList> </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> <GetPlansList> <statusCode>118</statusCode> <description>FAIL</description> <errorDescription>State is required.</errorDescription> </GetPlansList> </VcareOssApi>
Error Description: State is required.
How to Resolve?: State cannot be blank. You should enter a valid State.
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> <GetPlansList> <statusCode>119</statusCode> <description>FAIL</description> <errorDescription>Invalid Format! Only characters are allowed in State.</errorDescription> </GetPlansList> </VcareOssApi>
Error Description: Invalid Format! Only characters are allowed in State.
How to Resolve?: Please provide a valid Format in State.
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> <GetPlansList> <statusCode>356</statusCode> <description>FAIL</description> <errorDescription>Agent ID cannot be blank.</errorDescription> </GetPlansList> </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> <GetPlansList> <statusCode>404</statusCode> <description>FAIL</description> <errorDescription>Plan ID should be of same State.</errorDescription> </GetPlansList> </VcareOssApi>
Error Description: Plan ID should be of same State.
How to Resolve?: Plan id should be of same state
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> <GetPlansList> <statusCode>457</statusCode> <description>FAIL</description> <errorDescription>Invalid Source.</errorDescription> </GetPlansList> </VcareOssApi>
Error Description: Invalid Source.
How to Resolve?: Please provide a valid Source. Given value is invalid for Source.