Receiving Inventory
Base64 attachment receiving inventory document.
แนบไฟล์ รูปภาพ หรือ เอกสารที่เกี่ยวข้องในรูปแบบ base64 ในเอกสารใบรับสินค้าตามเลขที่เอกสารที่ต้องการ
post/purchases/{id}/attachment/base64
Request
- Base URLhttps://openapi.flowaccount.com/v1
- Authnone declared. Required headers: Authorization
- TypeScripthttps://skmtc.dev/flowaccount/apis/flowaccount-open-api/docs/purchases/:id/attachment/base64/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
documentId หรือ recordId ของเอกสารที่ต้องการแนบ
Headers
Authorizationstring required
Request body
Example request
{
"files": [
{
"fileName": "document.pdf",
"base64Data": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAg..."
}
]
}Response
200 response
Example response
{
"data": [
{
"attachmentName": "document.pdf",
"createdOn": "2021-01-01"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.