Upload Template Media Files
https://api.itniotech.com/wa/template/uploadResource
Parameters | Description | Required | Type |
---|---|---|---|
appId | Application id | Yes | String |
file | file(Type of file supported: application/pdf, image/jpeg, image/jpg, image/png and video/mp4) | Yes | File |
Request URL:
https://api.itniotech.com/wa/template/uploadResource
Request Method:
post
Request Headers:
Content-Type: multipart/form-data;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
form-data:
"appId": "nZfKuutE",
"file": file, //Select a specific file, type file
Parameters | Description | Type |
---|---|---|
status | Status code, 0 is successful, other failures refer to the interface response code | String |
reason | Reason explanation | String |
data | Header_handle required by media class templates | String |
Feedback
Was this page helpful?