UpdateInventory
This API can be used to update an existing ESN/SIM details in Telgoo5. This action can only be performed when a ESN/SIM is not assigned to a subscriber and in FREE status. Status of a ESN/SIM can be obtained using another api.
Sample Request XML
<?xml version="1.0" encoding="utf-8"?> <VCAREOSSAPI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.oss.vcarecorporation.com/oss"> <CREDENTIALS> <VENDORID></VENDORID> <USERNAME></USERNAME> <PASSWORD></PASSWORD> <PIN></PIN> <REFERENCENUMBER></REFERENCENUMBER> </CREDENTIALS> <VCAREOSS> <UPDATEINVENTORY> <ESN></ESN> <CARRIER></CARRIER> <MODELID></MODELID> <MSL></MSL> <PO></PO> <VENDOR></VENDOR> <BOX></BOX> <WPRICE></WPRICE> <SPRICE></SPRICE> <NOTES></NOTES> <BYOD></BYOD> <MSID></MSID> <MDN></MDN> <UICCID></UICCID> <PLANTYPEID></PLANTYPEID> <AGENTID></AGENTID> <AGENTPASSWORD></AGENTPASSWORD> <SOURCE></SOURCE> </UPDATEINVENTORY> </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. |
194 | ESN should not be blank. | Please provide ESN. ESN cannot be left blank. |
356 | Agent ID cannot be blank. | Please provide Agent ID as it cannot be blank. |
367 | MDN should be 10 digits. | Please provide a valid MDN and it should be 10 digits. |
376 | Model ID is not valid. | Please provide a valid Model ID. |
457 | Invalid Source. | Please provide a valid Source. Given value is invalid for Source. |
486 | UICCID must be greater than 8 and less than 25 characters. | Provide correct UICCID which must be greater than 8 and less than 25 characters. |
587 | BYOD should be Y OR N. | Provide correct BYOD. BYOD should be Y or N. |
605 | Plan Type ID Inactive. | Please provide an active Plan Type ID. Given Plan Type ID is inactive. |
606 | Plan Type ID not found. | Please provide a valid Plan Type. Given Plan Type is not available. |
653 | MSID should be greater than 10. | MSID must be less than or equal to 10. |
668 | Please provide at least one field to update ESN. | Please provide at least one field to update ESN. |
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>11111111</referenceNumber> </credentials> <UpdateInventory> <statusCode>00</statusCode> <description>SUCCESS</description> <errorDescription>SUCCESS</errorDescription> </UpdateInventory> </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> <UpdateInventory> <statusCode>01</statusCode> <description>FAIL</description> <errorDescription>Error Received from Carrier.</errorDescription> </UpdateInventory> </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> <UpdateInventory> <statusCode>13</statusCode> <description>FAIL</description> <errorDescription>Password is invalid.</errorDescription> </UpdateInventory> </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> <UpdateInventory> <statusCode>16</statusCode> <description>FAIL</description> <errorDescription>Vendor not found. Wrong credentials.</errorDescription> </UpdateInventory> </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> <UpdateInventory> <statusCode>194</statusCode> <description>FAIL</description> <errorDescription>ESN should not be blank.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: ESN should not be blank.
How to Resolve?: Please provide ESN. ESN cannot be left blank.
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> <UpdateInventory> <statusCode>356</statusCode> <description>FAIL</description> <errorDescription>Agent ID cannot be blank.</errorDescription> </UpdateInventory> </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> <UpdateInventory> <statusCode>367</statusCode> <description>FAIL</description> <errorDescription>MDN should be 10 digits.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: MDN should be 10 digits.
How to Resolve?: Please provide a valid MDN and it should be 10 digits.
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> <UpdateInventory> <statusCode>376</statusCode> <description>FAIL</description> <errorDescription>Model ID is not valid.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: Model ID is not valid.
How to Resolve?: Please provide a valid Model 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> <UpdateInventory> <statusCode>457</statusCode> <description>FAIL</description> <errorDescription>Invalid Source.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: Invalid Source.
How to Resolve?: Please provide a valid Source. Given value is invalid for Source.
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> <UpdateInventory> <statusCode>486</statusCode> <description>FAIL</description> <errorDescription>UICCID must be greater than 8 and less than 25 characters.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: UICCID must be greater than 8 and less than 25 characters.
How to Resolve?: Provide correct UICCID which must be greater than 8 and less than 25 characters.
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> <UpdateInventory> <statusCode>587</statusCode> <description>FAIL</description> <errorDescription>BYOD should be Y OR N.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: BYOD should be Y OR N.
How to Resolve?: Provide correct BYOD. BYOD should be Y or N.
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> <UpdateInventory> <statusCode>605</statusCode> <description>FAIL</description> <errorDescription>Plan Type ID Inactive.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: Plan Type ID Inactive.
How to Resolve?: Please provide an active Plan Type ID. Given Plan Type ID is inactive.
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> <UpdateInventory> <statusCode>606</statusCode> <description>FAIL</description> <errorDescription>Plan Type ID not found.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: Plan Type ID not found.
How to Resolve?: Please provide a valid Plan Type. Given Plan Type is not available.
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> <UpdateInventory> <statusCode>653</statusCode> <description>FAIL</description> <errorDescription>MSID should be greater than 10.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: MSID should be greater than 10.
How to Resolve?: MSID must be less than or equal to 10.
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> <UpdateInventory> <statusCode>668</statusCode> <description>FAIL</description> <errorDescription>Please provide at least one field to update ESN.</errorDescription> </UpdateInventory> </VcareOssApi>
Error Description: Please provide at least one field to update ESN.
How to Resolve?: Please provide at least one field to update ESN.
All the status codes are listed under the status code sections. Please click here to go to the status code.