Get status of Orders
Description
This API operation allows you to get a status of order on VietnamCredit. Based on the results, you may decide to download the information.
Url request: api.vietnamcredit.com.vn/api/Orders/getOrderStatus
Method: GET
Request Parameters
The following are common parameters used with list order for customer.
Name | Description | Required |
---|---|---|
orderIds
|
List Id of the order, example: [1,2,3,4] Type: List of integers |
Yes |
Response
The following are common elements that are returned.
Name | Description |
---|---|
Success
|
True: success False: fail |
Message
|
Notification returned |
Data
|
Container for item information, including Id, Name, Status, ReportTypeId and CustomerDueDate.
Status field:
ReportTypeId field: |
Example Requests and Responses
Example Request
api.vietnamcredit.com.vn/api/Orders/getOrderStatus?orderIds=1&orderIds=2
Example Responses
{ "message": null, "success": true, "data": [ { "id": 734, "name": "ASIA PAINT VIETNAM COMPANY LIMITED - CONG TY TNHH SON A CHAU VIET NAM", "status": 1, "reportTypeId": 4, "customerDueDate": "2010-11-26T00:00:00" }, { "id": 3754, "name": "THONG NHAT ELECTROMECHANICAL LIMITED COMPANY", "status": 3, "reportTypeId": null, "customerDueDate": "2010-11-26T00:00:00" } ] }