DS Loại Tài Liệu

1.1 Mục đích sử dụng :

Dùng để lấy danh sách loại tài liệu

1.1. URI :

NameDescription

URI

{{gateway}}/v1/api/docType/getAll

Content-Type

application/json

Method

GET

1.2. Request :

1.2.1 Request Headers :

NameRequiredDescriptionRemarks

X-API-Key

Y

API Key AWS

Authorization

Y

[xFile cấp cho đối tác]

1.2.3 Request Sample :

Request URI:

{{gateway}}/v1/api/objectType/getAll

1.3. Response :

1.3.1 Response Body - JSON:

NameTypeDescriptionRemarks

status

Long

Trạng thái kết quả api trả về

0 : Thành công

1 : Thất bại

data

Object

Kết quả api trả về

thông tin của đối tượng

1.3.2 Response Sample:

Response Success data
{
    "status": 0,
    "data": [
        {
            "storeConfigId": 2,
            "authStat": "A",
            "makerDate": "2023-07-03T20:31:32.449+00:00",
            "description": "TL01",
            "tenantCode": "DEMO",
            "props": {},
            "modNo": 0,
            "docTypeName": "TL01",
            "recordStatus": "O",
            "jsonSchema": {},
            "docTypeCode": "DT-001",
            "id": -3,
            "aggId": "ba55d334-914f-4efa-9c10-c6b769091f5f",
            "ftsValue": "'-001':2 'demo':3 'dt':1 'tl01':4",
            "makerId": "system"
        }
    ]
}

Last updated