NBSIM Open API Docs
  1. Integrated Card Interfaces
NBSIM Open API Docs
  • User Guide
  • Interface Description
    • API Integration Support
  • Integrated Card Interfaces
    • Mapping of Integrated Card IDs
      POST
    • Retrieval of Cumulative Usage for Integrated Cards
      POST
  1. Integrated Card Interfaces

Retrieval of Cumulative Usage for Integrated Cards

POST
https://api.nbsim.com/plat/cmp/openApi/integratedCard/queryUsageBatch
Functional description: Query the total data consumption for all associated profiles within the integrated cards.

Request

Body Params application/json

Example
{
    "appId": "1767844700000001",
    "_flowNo": "46c46a232cc94cc2a8044d43f776f880",
    "_bizTime": 1765519079000,
    "csidList": "998699240300003350",
    "startDate": 20251201,
    "endDate": 20251212
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.nbsim.com/plat/cmp/openApi/integratedCard/queryUsageBatch' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appId": "1767844700000001",
    "_flowNo": "46c46a232cc94cc2a8044d43f776f880",
    "_bizTime": 1765519079000,
    "csidList": "998699240300003350",
    "startDate": 20251201,
    "endDate": 20251212
}'

Responses

🟢200成功
application/json
Body

Example
{
    "code": 0,
    "data": [
        {
            "csid": "9986992403000000030",
            "simTotalUsage": "28.03"
        },
        {
            "csid": "9986992403000000031",
            "simTotalUsage": "133.00"
        }
    ],
    "msg": "Success",
    "success": true
}
Modified at 2026-01-08 16:06:45
Previous
Mapping of Integrated Card IDs
Built with