File Upload
Last updated
Last updated
GET
https://api.zortout.com/api.aspx
Get list of files in order.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
FileContent (Array) | Type | Description/Example |
---|---|---|
GET
https://api.zortout.com/api.aspx
Get file detail and binary data of order.
POST
https://api.zortout.com/api.aspx
Add file to order.
GET
https://api.zortout.com/api.aspx
Get list of files in purchase order.
GET
https://api.zortout.com/api.aspx
Get file detail and binary data of purchase order.
POST
https://api.zortout.com/api.aspx
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 |
---|---|---|
method*
String
"GETORDERFILES"
number
String
Order Number Require if id = 0 or null
*Must have either id or number
id
Int
Order ID
*Must have either id or number
version*
String
3
format
String
json (Default), xml
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
File ID
fileName
String
File Name
type
String
File Type
method*
String
“GETORDERFILEDETAIL”
fileid*
Int
File ID
number
String
Order Number Require if id = 0 or null
*Must have either id or number
id
Int
Order ID
*Must have either id or number
version*
String
3
format
String
json (Default), xml
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
method*
String
"ADDORDERFILE"
number
String
Order Number Require if id = 0 or null
*Must have either id or number
id
Int
Order ID
*Must have either id or number
version*
String
3
format
String
json (Default), xml
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
method*
String
"GETPURCHASEORDERFILES"
number
String
Purchase Order Number Require if id = 0 or null
*Must have either id or number
id
Int
Purchase Order ID
*Must have either id or number
version*
String
3
format
String
json (Default), xml
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
File ID
fileName
String
File Name
type
String
File Type
method*
String
“GETPURCHASEORDERFILEDETAIL”
format
String
json (Default), xml
version*
String
3
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
method*
String
"ADDPURCHASEORDERFILE"
number
String
Purchase Order Number Require if id = 0 or null
*Must have either id or number
id
Int
Purchase Order ID
*Must have either id or number
version*
String
3
format
String
json (Default), xml
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