File Upload

Get Order Files

GET https://api.zortout.com/api.aspx

Get list of files in order.

Query Parameters

NameTypeDescription

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

Headers

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

FileContent (Array)TypeDescription/Example

id

Int

File ID

fileName

String

File Name

type

String

File Type

Get Order File Detail

GET https://api.zortout.com/api.aspx

Get file detail and binary data of order.

Query Parameters

NameTypeDescription

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

Headers

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

ParameterTypeDescription/Example

id

Int

File ID

content

String

Base64 Encode Data

fileName

String

File Name

type

String

File Type

Add File to Order

POST https://api.zortout.com/api.aspx

Add file to order.

Query Parameters

NameTypeDescription

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

Headers

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

Request Body

NameTypeDescription

file*

File

File Binary Data

ParameterTypeDescription/Example

resCode

String

Response Code 200- Success

resDesc

String

Response Description

Get Purchase Order Files

GET https://api.zortout.com/api.aspx

Get list of files in purchase order.

Query Parameters

NameTypeDescription

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

Headers

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

FileContent (Array)TypeDescription/Example

id

Int

File ID

fileName

String

File Name

type

String

File Type

Get Purchase Order File Detail

GET https://api.zortout.com/api.aspx

Get file detail and binary data of purchase order.

Query Parameters

NameTypeDescription

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

Headers

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

ParameterTypeDescription/Example

id

Int

File ID

content

String

Base64 Encode Data

fileName

String

File Name

type

String

File Type

Add File to Purchase Order

POST https://api.zortout.com/api.aspx

Add file to purchase order.

Query Parameters

NameTypeDescription

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

Headers

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

Request Body

NameTypeDescription

file*

File

File Binary Data

ParameterTypeDescription/Example

resCode

String

Response Code 200- Success

resDesc

String

Response Description

Last updated