Create Document
Resource URL
https://oms.sokochan.com/api/1.0/fileupload
Parameter(s)
| Name | Description | Type | Length | |
|---|---|---|---|---|
| mo_code Required | Sokochan order code | string | 50 | |
| base64_document Required | Document file | string | ||
curl -X POST -H "Authorization: Basic ZnJlZDpmcmVk="\ -H "Content-Type: application/json"\ -d '{
"mo_code":"1610-006-00004",
"base64_document":"RW5jb2RlIHRvIEJhc2U2NCBmb3JtYXQ="
}' "https://oms.sokochan.com/api/1.0/fileupload
{
"code": 200,
"mo_code": "111016-00004", "file_id": "250",
"updated": "2016-10-18 15:02:51"
}