File Upload
Last updated
Last updated
GET
https://open-api.zortout.com/v4/Order/GetOrderFiles
Get list of files in order.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
FileContent (Array) | Type | Description/Example |
---|---|---|
GET
https://open-api.zortout.com/v4/Order/GetOrderFileDetail
Get file detail and binary data of order.
POST
https://open-api.zortout.com/v4/Order/AddOrderFile
Add file to order.
GET
https://open-api.zortout.com/v4/PurchaseOrder/GetPurchaseOrderFiles
Get list of files in purchase order.
GET
https://open-api.zortout.com/v4/PurchaseOrder/GetPurchaseOrderFileDetail
Get file detail and binary data of purchase order.
POST
https://open-api.zortout.com/v4/PurchaseOrder/AddPurchaseOrderFile
Add file to purchase order.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
FileContent (Array) | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
id
Int
Order ID
*Must have either id or number
number
String
Order Number Require if id = 0 or null
*Must have either id or number
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
File ID
fileName
String
File Name
type
String
File Type
id
Int
Order ID
*Must have either id or number
number
String
Order Number Require if id = 0 or null
*Must have either id or number
fileid*
Int
File ID
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
File ID
content
String
Base64 Encode Data
fileName
String
File Name
type
String
File Type
id
Int
Order ID
*Must have either id or number
number
String
Order Number Require if id = 0 or null
*Must have either id or number
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
file*
File
File Binary Data
resCode
String
Response Code 200- Success
resDesc
String
Response Description
id
Int
Purchase Order ID
*Must have either id or number
number
String
Purchase Order Number Require if id = 0 or null
*Must have either id or number
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
File ID
fileName
String
File Name
type
String
File Type
id
Int
Purchase Order ID
*Must have either id or number
number
String
Purchase Order Number Require if id = 0 or null
*Must have either id or number
fileid*
Int
File ID
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
File ID
content
String
Base64 Encode Data
fileName
String
File Name
type
String
File Type
id
Int
Purchase Order ID
*Must have either id or number
number
String
Purchase Order Number Require if id = 0 or null
*Must have either id or number
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
file*
File
File Binary Data
resCode
String
Response Code 200- Success
resDesc
String
Response Description