Adding Inventory

This is use case for adding, assigning and activating the ESN/SIM inventory

To get the below mentioned parameters which are required in AddandActivate XML API for inventory you need to call GetModel XML API to get the list of the models and model id, if the model/model id you are adding is not availaible in the list then you need to add it using InventoryModel XML API

List of the carriers is returned in GetCompanyCarrier XML API

Companyname/Id is returned in GetCompany XML API

ZipCode will be the zip on which the MDN needs to be activated

PLANID list of plan id is returned in GetPlanList XML API

<CARRIER>TMB</CARRIER> <MODELID>1</MODELID> <COMPANYNAME>VCare</COMPANYNAME>

All the other information which is required in the AddAndActivate XML API are to be supplied by the user

<ESN>890112365478965412</ESN> <CARRIER>TMB</CARRIER> <MODELID>12</MODELID> <UICCID></UICCID> <COMPANYNAME>VCare</COMPANYNAME> <ACTFEE>1.00</ACTFEE> <NOTES>Test Activation</NOTES> <SPRICE>10.00</SPRICE> <WPRICE>5.00</WPRICE> <BOX>546654</BOX> <MSL_PUK1>123456</MSL_PUK1> <PUK2>632145</PUK2> <PO>PO545482</PO> <VENDOR>Vcare</VENDOR> <SIMCARD>Y</SIMCARD> <SKU>PO545482SK</SKU> <TRACKINGNUMBER></TRACKINGNUMBER> <ZIPCODE>21215</ZIPCODE> <PLANID>1315</PLANID> <TIN></TIN> <AGENTYPE>Retailer</AGENTYPE> <AGENVALUE>TestRetailer</AGENVALUE> <AREACODE></AREACODE> <AGENTID>Zeeshan Ahmed</AGENTID> <AGENTPASSWORD></AGENTPASSWORD> <SOURCE>API</SOURCE>

As soon as you submit the request to VCare, VCare sends the request to carrier for the activation and returns the response to you. IF the respnse is success than you are also returned with the MDN. In case of failure we send the exact response from the carrier