Picture

GetFile

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
fileId
String
Optional
Id ของไฟล์

Example Request

curl --location --request POST 'https://api.veniocrm.com/dev/DocOne/GetFile' \
--header 'Ocp-Apim-Subscription-Key;' \
--header 'Authorization: Bearer' \
--header 'Content-Type: application/json' \
--data-raw '{
    "apiKey": "8rsssddxfwwzz",
    "fileId": "123"
}'

Response

Name
Type
Description
isSuccess
Boolean
สถานะ true = สำเร็จ, false = ไม่สำเร็จ
stream
String
ไฟล์

Example Response

"isSuccess": true,
"stream" : "string"
© Copyright 2021 Gofive Co., Ltd. All right reserved.