Picture

GetFileInfoList

Picture

Request Header

Name
Type
Required
Description
Ocp-Apim-Subscription-Key
String
Required

Authorization
String
Required
OAuth token obtained after the user has provided consent and the authorized partner calls the /authorization/Connect/Token endpoint to retrieve this token
Content-Type
String
Required
Content type of request payload
Value:
- application/json

Request Body

Name
Type
Required
Description
apiKey
String
Required
คีย์ของ API
searchString
String
Optional
ข้อความค้นหา
productCode
String
Optional
รหัสสินค้า
dateCycle
String
Optional
เวลารอบ
dateIssue
String
Optional

Example Request

curl --location --request POST 'https://api.veniocrm.com/dev/DocOne/GetFileInfoList' \
--header 'Ocp-Apim-Subscription-Key;' \
--header 'Authorization: Bearer' \
--header 'Content-Type: application/json' \
--data-raw '{
    "apiKey": "string",
    "searchString": "string",
    "productCode": "string",
    "dateCycle": "string",
    "dateIssue": "string"
}'

Response

Name
Type
Description
isSuccess
Boolean
สถานะ true = สำเร็จ, false = ไม่สำเร็จ
message
String
ข้อความกรณีไม่สำเร็จ
fileList
List<DocOneFileModel>
รายการของ DocOne ไฟล์
Name
Type
Description
fileId
Integer
รหัสเอกสาร
dateIssue
DateTime

accountName
String
ชื่อบัญชี
fileName
String
ชื่อไฟล์
productCode
String
รหัสสินค้า
dateCycle
DateTime
รอบวันที่

Example Response

"isSuccess": true,
"Message" : "string"
"fileList": [
        {
            "fileId": 123456,
            "dateIssue": "2016-01-01 08:00:00",
            "accountName": "ชื่อผู้ซื้อ/บริษัท",
            "fileName": "fileName.xml",
            "productCode": "P0001",
            "dateCycle": "2020-12-14 00:00:00"
        }
]
© Copyright 2021 Gofive Co., Ltd. All right reserved.