Check Service Availability
This XML API is used to check if the specific Zip Code is added as a serviceable area in Telgoo5. If an specific Zip Code is not added a serviceable area, partner can add using Telgoo5 or contact their account manager for assistance.
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> <CHECKSERVICEAVAILABILITY> <ENROLLMENTTYPE></ENROLLMENTTYPE> <ZIPCODE></ZIPCODE> <COMPANYID></COMPANYID> <ISENROLLMENT></ISENROLLMENT> <ISWEBPARTNER></ISWEBPARTNER> <SOURCE></SOURCE> <AGENTID></AGENTID> <AGENTPASSWORD></AGENTPASSWORD> </CHECKSERVICEAVAILABILITY> </VCAREOSS> </VCAREOSSAPI>
List of all the status codes will be shared seperately. <ssndigits> this is the number of digits of the social security number which will be required to do an enrollment in the given state. If it is 4 the last 4 digits of SSN are required and if it is 9 then the complete SSN is required. <is_tribal> if it is Y then it means that the given Zip Code is on tribal lands else if it is N then it is non tribal.
List of status code, description and resolution. | ||
---|---|---|
Status Code | Description | How to Resolve? |
00 | SUCCESS | SUCCESS |
13 | Password is invalid. | Provide a valid Password. |
15 | Zip code is invalid. | Please enter valid zip code. |
16 | Vendor not found. Wrong credentials. | Please enter valid vendor credentials. |
79 | Invalid enrollment type. | Please provide valid enrollment type: LIFELINE or NONLIFELINE. |
113 | Zip Code is required. | Zip code cannot be blank. You should enter a valid Zip code. |
114 | Zip Code is not correct. | Please provide correct zip code. |
130 | Invalid Company ID. | Please provide valid company id. |
169 | Company ID is required. | Please provide company ID. |
227 | Employee ID is required. | Please provide an Employee ID. |
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. |
466 | Enrollment type should not be blank. | Enrollment type can not be blank. You should enter a valid Enrollment type. |
593 | We are not able to verify availability in your area zipcode. | Enter another ZIP code as the provided ZIP code is not available. |
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>123456789</referenceNumber> </credentials> <CheckServiceAvailability> <statusCode>00</statusCode> <description>SUCCESS</description> <errorDescription>SUCCESS</errorDescription> <ssndigits>4</ssndigits> <city>BALTIMORE</city> <state>MD</state> <is_tribal>N</is_tribal> <zipcode>21215</zipcode> <nladskip>N</nladskip> <enrollmentId>A235404</enrollmentId> </CheckServiceAvailability> </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> <CheckServiceAvailability> <statusCode>13</statusCode> <description>FAIL</description> <errorDescription>Password is invalid.</errorDescription> </CheckServiceAvailability> </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> <CheckServiceAvailability> <statusCode>15</statusCode> <description>FAIL</description> <errorDescription>Zip code is invalid.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Zip code is invalid.
How to Resolve?: Please enter valid zip code.
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> <CheckServiceAvailability> <statusCode>16</statusCode> <description>FAIL</description> <errorDescription>Vendor not found. Wrong credentials.</errorDescription> </CheckServiceAvailability> </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> <CheckServiceAvailability> <statusCode>79</statusCode> <description>FAIL</description> <errorDescription>Invalid enrollment type.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Invalid enrollment type.
How to Resolve?: Please provide valid enrollment type: LIFELINE or NONLIFELINE.
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> <CheckServiceAvailability> <statusCode>113</statusCode> <description>FAIL</description> <errorDescription>Zip Code is required.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Zip Code is required.
How to Resolve?: Zip code cannot be blank. You should enter a valid Zip code.
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> <CheckServiceAvailability> <statusCode>114</statusCode> <description>FAIL</description> <errorDescription>Zip Code is not correct.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Zip Code is not correct.
How to Resolve?: Please provide correct zip code.
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> <CheckServiceAvailability> <statusCode>130</statusCode> <description>FAIL</description> <errorDescription>Invalid Company ID.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Invalid Company ID.
How to Resolve?: Please provide valid company 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> <CheckServiceAvailability> <statusCode>169</statusCode> <description>FAIL</description> <errorDescription>Company ID is required.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Company ID is required.
How to Resolve?: Please provide company ID.
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> <CheckServiceAvailability> <statusCode>227</statusCode> <description>FAIL</description> <errorDescription>Employee ID is required.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Employee ID is required.
How to Resolve?: Please provide an Employee ID.
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> <CheckServiceAvailability> <statusCode>356</statusCode> <description>FAIL</description> <errorDescription>Agent ID cannot be blank.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Agent ID cannot be blank.
How to Resolve?: Please provide Agent ID 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> <CheckServiceAvailability> <statusCode>457</statusCode> <description>FAIL</description> <errorDescription>Invalid Source.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Invalid Source.
How to Resolve?: Please provide a valid Source. Given value is invalid for Source.
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> <CheckServiceAvailability> <statusCode>466</statusCode> <description>FAIL</description> <errorDescription>Enrollment type should not be blank.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: Enrollment type should not be blank.
How to Resolve?: Enrollment type can not be blank. You should enter a valid Enrollment type.
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> <CheckServiceAvailability> <statusCode>593</statusCode> <description>FAIL</description> <errorDescription>We are not able to verify availability in your area zipcode.</errorDescription> </CheckServiceAvailability> </VcareOssApi>
Error Description: We are not able to verify availability in your area zipcode.
How to Resolve?: Enter another ZIP code as the provided ZIP code is not available.
All the status codes are listed under the status code sections. Please click here to go to the status code.