In this section, you’ll learn Airtel IoT Developer Portal Dashboard.
This section provide static details of Customer which will be used for accessing APIs.
This section provide Customer API usages details. This can show details based on different timestamps:
The OAuth 2.0 authorization code grant will be used by customer to gain access to protected resources, such as APIs. This set of APIs shall allow user to generate Access Token and refresh Access Token to perform any action on CMP via the API gateway.
To get a token by using the client Id & Client Secret, send a POST request to the /developer/generate/authtoken
curl -X POST "https://openapi.airtel.in/iot/api/developer/generate/authtoken"
-H "accept: application/json"
-H "apikey: XXXXXXXXXXXXXXXXXXXXXX"
-H "iv-user: XXXXXXXXXXXXXXXXXXXXXX"
-H "Content-Type: application/x-www-form-urlencoded"
-d "client_id=XXXXXXXXXXXXXXXXXXXXXX&client_secret=XXXXXXXXXXXXXXXXXXXXXX"
{
"data": {
"refresh_token": "XXXXXXXXXXXXXXXXXXXXXX",
"token_type": "bearer",
"access_token": "XXXXXXXXXXXXXXXXXXXXXX",
"expires_in": 1800
}
}
You can generate same request response from Airtel IoT Developer Portal. To do so :
This API shall allow user to fetch the details of SIMs on that Customer Account. It can fetch the details of one or more SIMs at a time.
curl -X GET "https://openapi.airtel.in/iot/api/customer/details/basket/0/sims
?pageNo=1&pageSize=1&simStatus=INITIAL"
-H "accept: application/json"
-H "Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXX"
-H "apikey: XXXXXXXXXXXXXXXXXXXXXX"
-H "customer-id: XXXX"
-H "iv-user: XXXXXXXXXXXXXXXXXXXXXX"
{
"data":
{
"sims": [
{
"simId": "5165173",
"mobileNo": "51967694502",
"simNo": "9999000000000000000",
"imsi": "30811010404043400",
"lsi": " ",
"status": "INITIAL",
"isPaired": "0",
"isPrepaidSim": "0",
"circleName": "DELHI",
"planCode": "M2M_PLN_0324",
"planName": "VTS 49 special plan(without voice with sms)",
"description": "VTS 49 special plan(without voice with sms)",
"dataType": "2G",
"dataUnits": "250",
"planType": "0"
}
],
"total": "10000"
}
}
You can generate same request response from Airtel IoT Developer Portal. To do so :
This API shall allow user to fetch the details of Plans that are associated with the Customer Account. It returns the Plan code, plan name, plan description and whether it is a test plan or actual plan as defined on the account.
curl -X GET "https://openapi.airtel.in/iot/api/customer/details/plans"
-H "accept: application/json"
-H "Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXX"
-H "apikey: XXXXXXXXXXXXXXXXXXXXXX"
-H "customer-id: XXXX"
-H "iv-user: XXXXXXXXXXXXXXXXXXXXXX"
{
"data": [
{
"planCode": "M2M_PLN_0001",
"planName": "M2M-2G-1GB PLAN",
"planDescription": "M2M-2G-1GB PLAN",
"testPlan": false
},
{
"planCode": "M2M_PLN_0003",
"planName": "M2M 3G - 100 MB PLAN",
"planDescription": "M2M 3G - 100 MB PLAN",
"testPlan": true
}
]
}
You can generate same request response from Airtel IoT Developer Portal. To do so :
This API shall allow user to change the state of SIM from Available (Initial to Activate) to Active with Plan that is associated with the Billable account. It requires inputs as mobile number and plan code.
curl -X POST "https://openapi.airtel.in/iot/api/om/job/sim/activate"
-H "accept: application/json"
-H "Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXX"
-H "apikey: XXXXXXXXXXXXXXXXXXXXXXXXX"
-H "customer-id: XXXX"
-H "iv-user: XXXXXXXXXXXXXXXXXXXXXXXXX"
-H "Content-Type: application/json"
-d "{ \"simDOList\": [ { \"mobileNO\": \"51967694502\",
\"planDO\": { \"planCode\": \"M2M_PLN_0001\" } } ]}"
{
"data": {
"jobId": 795405,
"jobType": "ACTIVATE_SIM",
"orderCount": 0,
"successCount": 0,
"failureCount": 0,
"inProgressCount": 0,
"rejectedCount": 0,
"orderInitiateDate": "25-04-2019 03:35:40 PM",
"statusMessage": "Your request is in progress"
}
}
You can generate same request response from Airtel IoT Developer Portal. To do so :
NOTE
The JobId in the response is important to track the status of activation order. The details of JobId can be fetched from Fetch Jobs API. There shall be Order ID(s) within a JobId to view status of specific Order(s) in a JobId.
This set of APIs shall allow user to generate Access Token and refresh Access Token to perform any action on CMP via the API gateway.
This API shall allow user to generate Access Token to be used while doing any operations on the portal via APIs.
apikey required | string apikey |
iv-user required | string Developer Account User ID |
client_id required | string Unique ID to Authorize Customer (shared during On-Boarding process) |
client_secret required | string Developer Account Secret Key (shared during On-Boarding process) that shall be used to generate Token |
{- "property1": { },
- "property2": { }
}
This API shall allow user to refresh Access Token to be used while doing any operations on the portal via APIs.
apikey required | string apikey |
iv-user required | string Developer Account User ID |
client_id required | string Unique ID to Authorize Customer (shared during On-Boarding process) |
client_secret required | string Developer Account Secret Key (shared during On-Boarding process) that shall be used to generate Token |
refresh_token required | string Token used to refresh access_token |
{- "property1": { },
- "property2": { }
}
This set of APIs fetch various details about a Billable Customer Account including Customer Profile, Plan details, User details and so on.
This API shall allow user to fetch the overall profile of Customer as created at the time of On-Boarding.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "aadhaarNo": "string",
- "accountCategory": "string",
- "accountType": "string",
- "activeSIMs": 0,
- "address": "string",
- "alternatePhoneNumber": "string",
- "apn": "string",
- "attribute1": "string",
- "attribute2": "string",
- "availableSIMs": 0,
- "billCycle": "string",
- "billCycleCutOff": "string",
- "billMedia": "string",
- "billType": "string",
- "billingAddress": "string",
- "billingCycle": "string",
- "caAccountNo": "string",
- "circleId": "string",
- "cmpType": "string",
- "companyCode": "string",
- "coordinatorEmailId": "string",
- "coordinatorMobile": "string",
- "coordinatorName": "string",
- "createdBy": "string",
- "createdOn": "string",
- "creditLimit": "string",
- "crm": "string",
- "custClass": "string",
- "custRank": "string",
- "customerAccountNumber": "string",
- "customerAddressVO": [
- {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "addressType": "string",
- "billingAddress": "string",
- "city": "string",
- "country": "string",
- "pincode": "string",
- "state": "string"
}
], - "customerBillableId": "string",
- "customerCircleId": "string",
- "customerContactsVO": [
- {
- "emailAddress": "string",
- "isPrimary": "string",
- "mobileNo": "string",
- "type": "string"
}
], - "customerId": 0,
- "customerName": "string",
- "customerPreferencesVO": {
- "additionalCustEmailId": "string",
- "additionalCustMobileNo": "string",
- "additionalCustName": "string",
- "additionalCustomerEmailId": "string",
- "additionalCustomerMobileNo": "string",
- "additionalCustomerName": "string",
- "alternatePhoneNumber": "string",
- "attribute1": "string",
- "attribute2": "string",
- "attribute3": "string",
- "attribute4": "string",
- "attribute5": "string",
- "createdBy": "string",
- "createdOn": "string",
- "defaultAddress": "string",
- "defaultEmail": "string",
- "lastUpdatedBy": "string",
- "lastUpdatedOn": "string",
- "notifyActivationSim": true,
- "notifyBasketCreated": true,
- "notifyByEmail": true,
- "notifyBySMS": true,
- "notifyBySms": true,
- "notifyFreshOrder": true,
- "notifyLOC": true,
- "notifyLoc": true,
- "notifyPlanChange": true,
- "notifyPlanChanged": true,
- "notifySimActivation": true,
- "prepaidCustomer": true,
- "primaryPhoneNumber": "string",
- "primaryPhoneNumberSetDefault": true
}, - "customerType": "string",
- "emailAddress": "string",
- "groupAccount": "string",
- "groupAccountServ": "string",
- "gstNo": "string",
- "inActiveSIMs": 0,
- "inProgressSIMs": 0,
- "kycAgreementTime": "string",
- "kycIPAddress": "string",
- "kycagreed": true,
- "lastUpdatedBy": "string",
- "lastUpdatedOn": "string",
- "liveCustomer": true,
- "localAddress": "string",
- "m2mSolution": "string",
- "maxBasketSize": 0,
- "panNo": "string",
- "parentAccountNumber": "string",
- "permanentAddress": "string",
- "preferredLanguage": "string",
- "primaryLSI": "string",
- "primaryPhoneNumber": "string",
- "primaryPhoneSetDefault": true,
- "primaryServiceNo": "string",
- "productType": "string",
- "safeCustodySIMs": 0,
- "secondaryLSI": "string",
- "secondaryServiceNo": "string",
- "status": "string",
- "tanNo": "string",
- "tdsPercentage": "string",
- "testModeSIMs": 0,
- "tinNo": "string",
- "totalBasketCount": 0,
- "totalCustomer": 0,
- "totalNoOfSim": 0,
- "totalSIMs": 0,
- "uinNo": "string",
- "userAcceptingKYC": "string"
}
This API shall allow user to fetch the SIM Inventory statistics of a Customer Account at any given time. It returns the summary of SIM inventory as itâs shown on CMP portal.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "totalActiveSims": "string",
- "totalAvailableSims": "string",
- "totalBaskets": "string",
- "totalInActiveSims": "string",
- "totalInProgressSims": "string",
- "totalSafeCustodySims": "string",
- "totalSims": "string",
- "totalSuspendedSims": "string",
- "totalTempDisconnectedSims": "string",
- "totalTestModeSims": "string",
- "userStats": [
- {
- "firstName": "string",
- "lastName": "string",
- "totalUserBaskets": "string",
- "totalUserSims": "string",
- "userId": "string"
}
]
}
This API shall allow user to fetch the details of Plans that are associated with the Customer Account. It returns the Plan code, plan name and plan description as defined on the account.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
[- {
- "planCode": "string",
- "planDescription": "string",
- "planName": "string",
- "testPlan": true
}
]
This set of APIs fetch various details about Sim details, Basket details and so on in the account.
This API call is used to get the records for downloading files from Download History page that are processed for Download on the portal. It returns the Download Type, Requested and Completion date, status of download, and file name.
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "downloadHistories": [
- {
- "basketName": "string",
- "completionDate": "string",
- "creationDate": "string",
- "downloadFileId": 0,
- "downloadType": "string",
- "extension": "string",
- "fileName": "string",
- "progress": 0,
- "status": "string"
}
], - "total": "string"
}
This API call is used to download the file which is available or ready to download after processing from Download History Page.
downloadFileId required | integer <int64> downloadFileId |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
This API call returns the SIM inventory file in excel format for that Billable account.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "basketName": "string",
- "completionDate": "string",
- "creationDate": "string",
- "downloadFileId": 0,
- "downloadType": "string",
- "extension": "string",
- "fileName": "string",
- "progress": 0,
- "status": "string"
}
This API shall allow user to fetch the details of Baskets that are created on that Customer Account. It can fetch the details of a particular basket at any given point. It returns the SIM details in that basket with different states (Active, Available, Safe Custody, Test Mode, Suspended) along with Basket description and user details to whom that basket is assigned.
basketId | integer <int64> Basket ID |
basketName | string Basket Name |
detailedView | boolean Default: true ${detailedView.notes} |
myBaskets | boolean Default: false My Baskets(Basket Onwer) |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "baskets": [
- {
- "activeSims": "string",
- "availableSims": "string",
- "basketId": "string",
- "basketName": "string",
- "basketPermission": "string",
- "creationDate": "string",
- "customerId": "string",
- "emailId": "string",
- "firstName": "string",
- "inActiveSims": "string",
- "inProgressSims": "string",
- "lastName": "string",
- "managedBy": "string",
- "mobileNo": "string",
- "parentBasketId": "string",
- "remarks": "string",
- "safeCustodySims": "string",
- "suspendedSims": "string",
- "testModeSims": "string",
- "totalSims": "string"
}
], - "totalActiveSims": "string",
- "totalAvailableSims": "string",
- "totalBaskets": "string",
- "totalInActiveSims": "string",
- "totalInProgressSims": "string",
- "totalSafeCustodySims": "string",
- "totalSims": "string",
- "totalSuspendedSims": "string",
- "totalTestModeSims": "string"
}
This API shall allow user to fetch the details of SIMs in a particular Basket on that Customer Account. It can fetch the details of one or more SIMs at a time from a particular basket including SIM details, Plan details, SIM status, and other required details of SIMs in basket as it is shown on the CMP portal.
basketId required | integer <int64> Default: 0 Basket ID |
filterValue | string Value on which Sims to be filtered |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
simFilterType | string Enum: "MSISDN" "SIM_NO" "IMSI" Filter Type on which Sims to be filtered. The allowed types are MSISDN / SIM |
simStatus | string Enum: "INITIAL" "ACTIVE" "SAFE_CUSTODY" "ACTIVATED_ON_TEST_MODE" "IN_PROGRESS" "SUSPENDED" "TEMP_DISCONNECT" "ACTIVE_AND_SAFE_CUSTODY" "ACTIVE_AND_TEMP_DISCONNECT" Status of SIM(s) being fetched from a basket |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "sims": [
- {
- "activationDate": "string",
- "basketId": "string",
- "circleName": "string",
- "dataType": "string",
- "dataUnits": "string",
- "description": "string",
- "imsi": "string",
- "inProgressJob": "string",
- "inProgressJobOrder": "string",
- "isPaired": "string",
- "isPrepaidSim": "string",
- "lsi": "string",
- "mobileNo": "string",
- "onboardingDate": "string",
- "parentBasketId": "string",
- "planCode": "string",
- "planName": "string",
- "planType": "string",
- "safeCustodyDate": "string",
- "simApnVO": [
- {
- "attachedApnIp": "string",
- "attachedApnIpType": "string",
- "attachedApnName": "string",
- "attchedApnType": "string"
}
], - "simId": "string",
- "simInfo1": "string",
- "simInfo2": "string",
- "simInfo3": "string",
- "simNo": "string",
- "simTrailEndTime": "string",
- "simTrailStartTime": "string",
- "status": "string"
}
], - "total": "string"
}
This API shall allow user to change the Bill Plan on a particular SIM from test plan to the commercial plan associated with that Billable account. It requires inputs as mobile number and target plan code.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
changePlanOrder
required | Array of objects (SimDOWithPlan) List of SIM |
{- "simDOList": [
- {
- "mobileNO": "string",
- "planDO": {
- "planCode": "string"
}
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API shall allow user to change the Bill Plan on a particular SIM from one Plan to the other Plan associated with that Billable account. It requires inputs as mobile number and target plan code.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
changePlanOrder
required | Array of objects (SimDOWithPlan) List of SIM |
{- "simDOList": [
- {
- "mobileNO": "string",
- "planDO": {
- "planCode": "string"
}
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API shall allow user to change the state of SIM from Available (Ready to Activate) to Active with Plan that is associated with the Billable account. It requires inputs as mobile number and plan code.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
generateOrder
required | Array of objects (SimDOWithPlan) List of SIM |
{- "simDOList": [
- {
- "mobileNO": "string",
- "planDO": {
- "planCode": "string"
}
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
In case the user wishes to replace SIM card associated with a Mobile number, in case of any issue with the SIM, this API shall allow user to change the SIM on that Billable account. It requires inputs as source SIM and target SIM number.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
swapSim
existingSIMNo | string |
newSIMNo | string |
{- "existingSIMNo": "string",
- "newSIMNo": "string"
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
In case the user wishes to voluntarily suspend the SIM card for sometime, there is an option to put the SIM in safe custody. This API shall allow user to put the SIM in safe custody on that Billable account. It requires inputs as mobile number.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
generateOrder
required | Array of objects (SimDO) List of SIM |
{- "simDOList": [
- {
- "mobileNO": "string"
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
In case the user wishes to change the number state from Suspended to Active state, this API shall allow user to do the same on that Billable account. It requires inputs as mobile number.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
generateOrder
required | Array of objects (SimDO) List of SIM |
{- "simDOList": [
- {
- "mobileNO": "string"
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API is used to initiate disconnection of M2M SIMs. Initially, SIMs will go into temporary disconnection for 5 days and then SIMs will be permanently disconnected on completion of 5 days.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
generateOrder
reason required | string Enum: "NUMBER_NOT_REQUIRED" "PRICING_CONCERN" "NETWORK_COVERAGE_ISSUE" "BILLING_OR_COLLECTION_ISSUE" "CONTRACT_EXPIRED" Disconnection Reason. |
required | Array of objects (SimDO) List of SIM |
{- "reason": "NUMBER_NOT_REQUIRED",
- "simDOList": [
- {
- "mobileNO": "string"
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API is used to resume SIMs from temporary disconnection within 5 days of initiation of disconnection.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
generateOrder
required | Array of objects (SimDO) List of SIM |
{- "simDOList": [
- {
- "mobileNO": "string"
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API call is used to download the Bulk template for performing Bulk Operations on the account. It returns the file in excel format for that Billable account.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
basketDO
action | string Enum: "ALL" "ACTIVATE_ORDER" "CHANGE_ORDER" "ACTIVATE_TEST_ORDER" |
basketId required | integer <int64> Basket ID |
{- "action": "ALL",
- "basketId": 0
}
{- "basketName": "string",
- "completionDate": "string",
- "creationDate": "string",
- "downloadFileId": 0,
- "downloadType": "string",
- "extension": "string",
- "fileName": "string",
- "progress": 0,
- "status": "string"
}
This API call is used to upload the Bulk Operations template for performing Bulk Operations on the account. It returns the Job ID along with Order counts in success, failure or rejected status and number status.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
action | any action |
basketId | any basketId |
file required | string <binary> File to upload. |
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API will allow user to fetch Job details for any operations being performed in that Billable account.
For all orders initiated on CMP, single or Bulk, there is a Job ID that gets generated for all orders. One Job ID may have one or multiple Order IDs. This API will allow user to fetch Job details in that Billable account.
displayRejectedRecords | boolean Default: true Show Rejected Jobs |
endDate | string End Date in a date range to fetch Job IDs. Format DD/MM/YYY |
jobId | integer <int64> Job ID, in case a particular Job ID to be fetched |
jobType | Array of strings Items Enum: "ACTIVATE_SIM" "CHANGE_PLAN" "SAFE_CUSTODY" "OUT_OF_SAFE_CUSTODY" "SWAP_SIM" "DOWNLOAD_SIM" "BASKET_DETAIL" "BULK_DISCONNECTION" "ACTIVATE_SIM_FOR_BASKET" "BULK_UPLOAD" "BASKET_OPERATION" "ACTIVATE_TEST_SIM" "ACCOUNT_BULK_UPLOAD" "BULK_TEMP_DISCONNECTION" "BULK_SMS_WHITELISTING" "BULK_GROUP_CHANGE" Job Type as defined in CMP |
mobileNo | string Mobile Number, in case Job IDs for a particular mobile number needs to be fetched |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
startDate | string Start Date in a date range to fetch Job IDs. Format DD/MM/YYY |
status | string Enum: "SUCCESS" "FAILURE" "IN_PROGRESS" "REJECTED" Status of Job IDs |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "jobs": [
- {
- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
], - "total": "string"
}
To fetch Order IDs in single Job ID, this API will allow user to fetch single or multiple Order IDs in a Job in that Billable account.
jobId required | integer <int64> Job ID, in case order in a particular Job ID to be fetched |
mobileNo | string Mobile Number, in case Order IDs for a particular mobile number needs to be fetched |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
status | string Enum: "SUCCESS" "FAILURE" "IN_PROGRESS" "REJECTED" Status of Order ID |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "orders": [
- {
- "mobileNo": "string",
- "orderCompletionTime": "string",
- "orderId": 0,
- "orderInitiateDate": "string",
- "orderStatus": "string",
- "orderType": "string",
- "remarks": "string",
- "simNo": "string"
}
], - "total": "string"
}
To data usage on a specific SIM, this API will allow user to get total data allocation, available data, used data, device information & session information for the SIM.
Once the SIM is active on the network and inserted in a device to use data, this API will allow user to fetch device related parameters including IMEI, previous IMEI, device make / model, device type, etc.
mobileNo required | string Mobile No. |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "deviceAttributes": [
- {
- "attrName": "string",
- "attrValue": "string"
}
], - "deviceFrequencies": [
- {
- "band": "string",
- "technology": "string"
}
], - "deviceIMEI": "string",
- "deviceIMEIChanged": true,
- "deviceModelNumber": "string",
- "deviceName": "string",
- "deviceType": "string",
- "operatingSystemName": "string",
- "operatingSystemProvider": "string",
- "operatingSystemVersion": "string",
- "otaSupport": "string",
- "previousDeviceIMEI": "string"
}
To fetch real-time data usage on a specific SIM, this API will allow user to get total data allocation, available data and used data for the SIM.
mobileNo required | string Mobile No. |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "basketName": "string",
- "dataSegregation": {
- "activePlanQuota": {
- "allocatedQuota": "string",
- "availableQuota": "string",
- "quotaUnit": "string"
}, - "rolloverQuota": {
- "allocatedQuota": "string",
- "availableQuota": "string",
- "quotaUnit": "string"
}
}, - "dataUsageFound": true,
- "dataUsageUnits": "string",
- "error": "string",
- "mobileNo": "string",
- "planCode": "string",
- "planName": "string",
- "prepaid": true,
- "remainingDataUsage": "string",
- "simNo": "string",
- "totalDataUsage": "string",
- "usedDataUsage": "string"
}
Fetch Device Diagnose Radius Attributes.
endDate | string End DateTime For AAA Radius. Format DD/MM/YYYY |
mobileNo required | string Mobile No. |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 20 Page Size in pagination for AAA session details. Default Page Size is 20 and Maximum is 100. |
startDate | string Start DateTime For AAA Radius. Format DD/MM/YYYY |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "data": [
- {
- "3GPPIMEISV": "string",
- "3GPPIMSI": "string",
- "3GPPIMSIMCCMNC": "string",
- "3GPPRATType": "string",
- "3GPPSessionStopIndicator": 0,
- "acctInputPackets": "string",
- "acctOutputPackets": "string",
- "acctSessionId": "string",
- "acctStatusType": "string",
- "acctTerminateCause": "string",
- "calledStationId": "string",
- "callingStationId": "string",
- "framedIPAddress": "string",
- "sessionStartTimestamp": "string",
- "sessionStopTimestamp": "string",
- "totalActiveSession": "string"
}
], - "resCode": "string",
- "resStatus": "string",
- "totalCount": 0
}
This API call is used to initiate download of Bulk data usage file from a specific Basket. It returns the file name along with creation and completion date for that basket. Since, the number of SIMs in a basket is restricted to 5000, hence the maximum number of SIMs in this Bulk data usage file will be 5000.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
basketDO
basketId required | integer <int64> Basket ID |
{- "basketId": 0
}
{- "basketName": "string",
- "completionDate": "string",
- "creationDate": "string",
- "downloadFileId": 0,
- "downloadType": "string",
- "extension": "string",
- "fileName": "string",
- "progress": 0,
- "status": "string"
}
Fetch SMS Whitelisted Number by msisdn, simNo,basketName,pageNo,pagesize
basketId | integer <int32> Basket ID |
msisdn | string msisdn |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
simNo | string SIM Number |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "smsWTDetailsVO": [
- {
- "basketName": "string",
- "msisdn": "string",
- "remainingOrderCount": "string",
- "simNo": "string",
- "whitelistNumber1": "string",
- "whitelistNumber2": "string",
- "whitelistNumber3": "string",
- "whitelistNumber4": "string",
- "whitelistType1": "string",
- "whitelistType2": "string",
- "whitelistType3": "string",
- "whitelistType4": "string"
}
], - "total": 0
}
SMS batch whitelisting on Airtel IoT portal. Minimum 1 and Maximum 100 MSISDN can be whitelisted at once
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
requestDO
Array of objects (SmsWhitelistNoDO) |
{- "simWTDoList": [
- {
- "msisdn": "string",
- "whitelistNumber1": "string",
- "whitelistNumber2": "string",
- "whitelistNumber3": "string",
- "whitelistNumber4": "string",
- "whitelistNumberType1": "INCOMING",
- "whitelistNumberType2": "INCOMING",
- "whitelistNumberType3": "OUTGOING",
- "whitelistNumberType4": "OUTGOING"
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API will fetch all numbers for Voice Whitelist on CMP portal with existing whitelisted records
msisdn | string msisdn |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
simNo | string SIM Number |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "total": 0,
- "whitelistDetails": [
- {
- "basketName": "string",
- "msisdn": "string",
- "remainingOrderCount": 0,
- "simNo": "string",
- "voiceWhitelisted": "string",
- "whitelistNumber1": "string",
- "whitelistNumber2": "string",
- "whitelistNumber3": "string",
- "whitelistNumber4": "string",
- "whitelistType1": "string",
- "whitelistType2": "string",
- "whitelistType3": "string",
- "whitelistType4": "string"
}
]
}
FetchSIMKYCDetails API
activationDate | string Activation date range on which SIMs will be filtered. Format DD/MM/YYYY - DD/MM/YYYY |
basketId | integer <int32> Default: 0 basketId |
complianceDate | string Compliance Date range on which SIMs will be filtered. Format DD/MM/YYYY - DD/MM/YYYY |
msisdn | string Mobile No. |
pageNo | integer <int32> Default: 1 pageNo |
pageSize | integer <int32> Default: 25 pageSize |
simNo | string Sim No |
status | string Enum: "COMPLIANT" "NON_COMPLIANT" "PENDING" Filter Type on which SIMs will be filtered. The allowed type are Compliant / Non-Compliant /Pending |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "simKycList": [
- {
- "activationDate": "string",
- "complianceDate": "string",
- "kycCompletionDate": "string",
- "mobileNo": "string",
- "simNo": "string",
- "simStatus": "string",
- "status": "string"
}
], - "totalRecords": 0
}
UpdateSIMKycDetails API
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
requestDo
attribute1 | string |
attribute2 | string |
attribute3 | string |
attribute4 | string |
attribute5 | string |
custodianAddress required | string custodian address. |
custodianName required | string custodian name. |
deviceImei required | string device imei. |
deviceModel required | string device model. |
deviceType required | string Enum: "VEHICLE_TRACKING" "SMART_METER" "ASSET_TRACKING" "POS_MACHINE" "HOME_AUTOMATION" "INDUSTRIAL_AUTOMATION" "SURVEILLANCE" "PERSONAL_TRACKER" "TRAFFIC_MANAGEMENT" "OTHERS" type of device. |
deviceTypeOthers | string Device Type(Others) |
mobileNo required | string mobilerNumber for which kyc needs to be done. |
registrationNo required | string registration number. |
{- "attribute1": "string",
- "attribute2": "string",
- "attribute3": "string",
- "attribute4": "string",
- "attribute5": "string",
- "custodianAddress": "string",
- "custodianName": "string",
- "deviceImei": "string",
- "deviceModel": "string",
- "deviceType": "VEHICLE_TRACKING",
- "deviceTypeOthers": "string",
- "mobileNo": "string",
- "registrationNo": "string"
}
{- "message": "string"
}
This API will fetch the available SMS Quota balance.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "expiryDate": "dd/MM/yyyy",
- "outgoingSMSBalance": 0,
- "rolloverSMSQuota": 0,
- "totalBalance": 0
}
This API will be used to fetch Plan Subscribe / Un-Subscribe history.
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
purchaseEndDate | string Purchase Date / Transaction Date to fetch billing history. Format DD/MM/YYYY |
purchaseStartDate | string Purchase Date / Transaction Date to fetch billing history. Format DD/MM/YYYY |
subscriptionEvent | string Enum: "Purchase" "Auto_Renew" "Unsubscribe" Type of event which user want to filter. |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "customerPlanVOs": [
- {
- "active": true,
- "allowedOutgoingSMSCount": 0,
- "billingPeriod": "string",
- "daysValidity": 0,
- "description": "string",
- "effectiveRatePerSMS": "string",
- "expiryDate": "string",
- "messageExpiryDays": 0,
- "monthlyRental": 0,
- "outgoingSMSBalance": 0,
- "planCode": "string",
- "planName": "string",
- "purchaseDateWithoutTime": "string",
- "purchasedDate": "string",
- "subscriptionEvent": "string"
}
], - "totalRecords": 0
}
This API will be used to fetch the list of Template Name and Template ID created on Messaging Centre on CMP. These templates details will be used to send SMS using 'Send SMS' or 'Send Batch SMS' feature.
fetchOnlyActiveTemplates | boolean Pass true to fetch only Active Templates on which SMS can be sent. |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
templateName | string Template Name to Search |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "smsTemplates": [
- {
- "createdBy": "string",
- "createdOn": "string",
- "lastUpdatedBy": "string",
- "lastUpdatedOn": "string",
- "status": "string",
- "templateId": 0,
- "templateName": "string",
- "templateTxt": "string",
- "totalRecords": 0,
- "version": 0
}
], - "totalRecords": 0
}
This API is used to initiate request for sending SMS on M2M SIMs. A single job can be used to send SMS to a maximum of 100 MSISDNs. This is an asynchronous API which will take input in specified JSON format mentioning MSISDN(s) and Template ID. In return it will provide a Job ID by which status of Job created by request can be tracked using 'Fetch SMS Jobs' and 'Fetch SMS Job Orders' APIs.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
smsBatchDO
Array of objects (SimDO) |
{- "simsDO": [
- {
- "mobileNO": "string"
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API is used to initiate request for sending either Text or Binary SMS on M2M SIMs. A single job can be used to send SMS to a maximum of 10 MSISDNs. This is an asynchronous API which will take input in specified JSON format mentioning MSISDN(s) and Custom Message. In return it will provide a Job ID by which status of Job created by request can be tracked using 'Fetch SMS Jobs' and 'Fetch SMS Job Orders' APIs. Use API for below mentioned scenarios
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
customSMSBatchDO
Array of objects (CustomMessageDO) |
{- "customMessageDOS": [
- {
- "binarySMS": true,
- "customMessage": "string",
- "mobileNO": "string"
}
]
}
{- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
This API call is used to download the Batch template for performing 'Send Batch SMS' Operations on the account. It returns the file in excel format.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
downloadTemplateDO
basketId | integer <int32> |
smsData | string Enum: "Y" "N" |
{- "basketId": 0,
- "smsData": "Y"
}
{- "basketName": "string",
- "completionDate": "string",
- "creationDate": "string",
- "downloadFileId": 0,
- "downloadType": "string",
- "extension": "string",
- "fileName": "string",
- "progress": 0,
- "status": "string"
}
This API is used to initiate request for sending SMS on M2M SIMs in Batch. This is an asynchronous API which will take input in excel file mentioning MSISDN(s) and Template Name. In return it will provide a Job ID by which status of Job created by request can be tracked using 'Fetch SMS Jobs' and 'Fetch SMS Job Orders' APIs. Batch SMS template can be used to send SMS to up to 5,000 numbers in a single job.
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
basketId | any basketId |
file required | string <binary> File to upload. |
{- "createdBy": "string",
- "customerId": 0,
- "errorFileName": "string",
- "failureOrders": 0,
- "jobCreationTime": "2019-08-24T14:15:22Z",
- "jobId": 0,
- "jobStatus": "string",
- "jobType": "string",
- "rejectedOrders": 0,
- "successOrders": 0,
- "totalOrders": 0,
- "uploadFileName": "string"
}
This API is used to fetch history of both Incoming as well as Outgoing Messages received on Messaging Centre. API also provide a list of filters by which data specific to a MSISDN, Message Type, Sent Date etc. can be fetched.
endDate | string End Date in a date range to fetch Job IDs. Format DD/MM/YYY |
messageType | string Enum: "Incoming" "Outgoing" Message types. Available types are - incoming/outgoing. |
msisdn | string Mobile Number, in case Job IDs for a particular mobile number needs to be fetched |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
startDate | string Start Date in a date range to fetch Job IDs. Format DD/MM/YYY |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "messageDetails": [
- {
- "message": "string",
- "messageDate": "string",
- "messageFailureCode": "string",
- "messageJobId": 0,
- "messageOrderId": 0,
- "messageStatus": "string",
- "messageStatusRemarks": "string",
- "messageText": "string",
- "messageType": "string",
- "msisdn": "string",
- "sentBy": "string",
- "shortCode": "string",
- "status": "string",
- "templateName": "string"
}
], - "total": 0
}
This API is used to fetch Jobs created while sending SMS either by 'Send SMS' or 'Send Batch SMS' feature. Using Job IDs mentioned in response of API, customer can fetch the details of SMS sent in that particular Job.
endDate | string End Date in a date range to fetch Job IDs. Format DD/MM/YYY |
jobId | integer <int64> Job ID, in case a particular Job ID to be fetched |
jobType | string Enum: "Sync" "Send_SMS" "Batch_SMS" jobType |
msisdn | string msisdn |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
startDate | string Start Date in a date range to fetch Job IDs. Format DD/MM/YYY |
status | string Enum: "In_Progress" "Success" "Failed" "Error" Status of SMS |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "jobs": [
- {
- "errorFileName": "string",
- "errorItemsCount": 0,
- "failureCount": 0,
- "inProgressCount": 0,
- "jobId": 0,
- "jobType": "string",
- "orderCompletionTime": "string",
- "orderCount": 0,
- "orderInitiateDate": "string",
- "rejectedCount": 0,
- "requestedOrderItems": 0,
- "statusCode": "string",
- "statusMessage": "string",
- "successCount": 0,
- "uploadFileName": "string"
}
], - "total": "string"
}
This API is used to fetch line item details of each SMS sent to MSISDN either by 'Send SMS' or 'Send Batch SMS' feature in a Job. Job ID used in this API can be fetched from Fetch SMS Jobs.
jobId required | integer <int32> jobId |
msisdn | string msisdn |
pageNo | integer <int32> Default: 1 Page Number in case of pagination. Default Page No. is 1. |
pageSize | integer <int32> Default: 25 Page Size in pagination. Default Page Size is 25 and Maximum is 100. |
status | string Enum: "In_Progress" "Success" "Failed" "Error" Status of SMS |
Authorization required | string Default: Bearer XXXXXXXXXXXXXX Authorization Header (Value must be like Bearer |
apikey required | string Developer API Key |
customer-id required | integer <int64> Unique ID to identify Customer (shared during On-Boarding process) |
iv-user required | string Developer Account User ID |
{- "orderVOs": [
- {
- "mobileNo": "string",
- "orderCompletionTime": "string",
- "orderId": 0,
- "orderInitiateDate": "string",
- "orderStatus": "string",
- "orderType": "string",
- "remarks": "string",
- "simNo": "string"
}
], - "total": 0
}