Querying the Reconciliation Discrepancy List
Function
Query the reconciliation discrepancy list based on the reconciliation batch number returned by the data check API.
URI
GET /koodrive/ose/v1/reconciliation/diff/getList
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| batchNo | Yes | String | Definition: Reconciliation batch No. Constraints: Use the reconciliation batch number returned by the data check API. Range: N/A Default Value: N/A |
| pageSize | No | String | Definition: Number of records on each page. Constraints: N/A Range: 1–1000 Default Value: 100 |
| pageCursor | No | String | Definition: Start pagination cursor. Constraints: If this parameter is null, the query starts from the first page. Range: N/A Default Value: N/A |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| Authorization | Yes | String | Definition: Access token. Token authentication is used to call KooDrive APIs. A token indicates the permission. When an API is called, the token is added to the request header to obtain the operation permission. For details about how to obtain an access token, see the corresponding developer guide. The format is Bearer+{access_token}. Constraints: N/A Range: N/A Default Value: N/A |
| x-traceid | No | String | Definition: Service trace ID, which contains 58 bits. Constraints: N/A Range: The value contains 58 bits. Default Value: N/A |
| X-Date | Yes | String | Definition: Date, which is used for app authentication. Constraints: The format is yyyyMMDD'T'HHmmss'Z', for example, 20251103T070140Z. Range: The value must be within 15 minutes from the current time and cannot be later than the current time. Default Value: N/A |
| X-User-Id | Yes | String | Definition: User ID on KooDrive, which is used for app authentication. Constraints: N/A Range: N/A Default Value: N/A |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| diffList | Array of DiffBill objects | Discrepancy bill list. |
| total | Integer | Total number. |
| nextPageCursor | String | Next query cursor. |
| Parameter | Type | Description |
|---|---|---|
| carrierOrderId | String | Carrier order ID. |
| kdOrderId | String | Order ID on KooDrive. |
| carrierUserId | String | Carrier user ID. |
| carrierOrderTime | String | Order placement time on the carrier side. |
| kdUserId | String | KooDrive user ID. |
| userStatus | String | KooDrive user status. |
| diffType | String | Difference type. 1: No subscription record on the carrier side. 2. No subscription record on the Huawei side. 3. Rights are inconsistent 4. The split amount is inconsistent |
| diffReason | String | Discrepancy reason. |
| skuCode | String | SKU code. |
| skuPrice | Double | SKU unit price. |
| billingCycle | String | Settlement bill cycle. |
| carrierSale | String | Carrier revenue. |
| carrierSaleToKd | String | Revenue sharing between the carrier and Huawei. |
| thisMouthBilling | String | Huawei bill amount generated this month. |
| nextMouthBilling | String | Huawei bill amount generated in the next month. |
| channel | String | Channel value. |
| carrierActiveTime | String | Effective time on the carrier side. |
| carrierEndTime | String | End time on the carrier side. |
| carrierPackageId | String | Package ID recorded by the carrier. |
| kdActiveTime | String | Effective time on KooDrive. |
| kdEndTime | String | End time on KooDrive. |
| kdOrderTime | String | Subscription time on KooDrive. |
| kdPackageId | String | Package ID recorded on KooDrive. |
| kdSaleTotal | Double | Revenue of the order on KooDrive (if the revenue sharing mode is used, the revenue is the amount to be shared). |
Example Requests
Request for querying the reconciliation discrepancy list.
/koodrive/ose/v1/reconciliation/diff/getList batchNo=20251021_1801572310432403201&pageSize=100
Example Responses
Status code: 200
Response to the request for querying the reconciliation discrepancy list.
{
"diffList": [
{
"carrierOrderId": "123124444435355",
"kdOrderId": "133556565222323",
"carrierUserId": "4565523231",
"carrierOrderTime": "2025-10-27T11:47:46.977Z",
"kdUserId": "111114152",
"userStatus": "1",
"diffType": "1",
"diffReason": "activeTime is different",
"skuCode": "1p500g",
"skuPrice": 0.00012,
"billingCycle": "2025-08",
"carrierSale": "10",
"carrierSaleToKd": "0.5",
"thisMouthBilling": "3",
"nextMouthBilling": "7",
"channel": "0",
"carrierActiveTime": "2025-10-27T11:47:46.977Z",
"carrierEndTime": "2025-10-27T11:47:46.977Z",
"carrierPackageId": "1235666",
"kdActiveTime": "2025-10-27T11:47:46.977Z",
"kdEndTime": "2025-10-27T11:47:46.977Z",
"kdOrderTime": "2025-10-27T11:47:46.977Z",
"kdPackageId": "1235666",
"kdSaleTotal": 0
}
],
"total": 0,
"nextPageCursor": "121333"
"code":0,
"msg": "success"
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Response to the request for querying the reconciliation discrepancy list. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot