ARITO API Integration Documentation
  • Introduce
  • List API
    • Authentication
    • Import Customer
    • Export Customer
    • Import Goods
    • Export Goods
    • Import Invoice
Powered by GitBook
On this page
  1. List API

Export Goods

Last updated 1 year ago

Used to retrieve a list of customers based on specified conditions

Authorization

Type

Bearer Token

Token

{{access_token}}

Body

{
    "memvars": {
        "ma_vt": "API-VT0001",
        "modifyDateFrom": null,
        "pageIndex": 1
    }
}

Parameter description

Name
(*)
Type
Description

ma_vt

string

Material identification code required

modifyDateFrom

string

Customer created on date

pageIndex

string

When the API returns data, it will provide paginated results, with a pageIndex parameter to specify the desired page to retrieve

{
    "code": 200,
    "msg": "Success",
    "value": null,
    "data": {
        "data": [
            {
                "ma_vt": "API-VT0001",
                "ten_vt": "T-shirt 2",
                "dvt": "CAI",
                "ma_lvt": "61",
                "nh_vt1": "NTXT",
                "datetime2": "2023-12-11T15:08:48.45"
            }
        ],
        "pageInfo": [
            {
                "pagecount": 50,
                "page": 1,
                "t_record": 1,
                "t_page": 1,
                "group": ""
            }
        ]
    }
}

Descripsion result

Name
Descripsion

code

When successfully executed, the status code is 200. For other codes, such as 401, 452, it indicates a failed operation, accompanied by a descriptive message explaining the result

msg

Description of API execution results

data.data

JSON array containing customers found based on the conditions specified in the request

data.pageInfo.pagecount

The maximum result per page that can be returned

data.pageInfo.page

The current page number

data.pageInfo.t_record

The total number of results across all pages

data.pageInfo.t_page

The total number of pages containing results

Method

Link

{{host}}/Item/Export