Upload document file
Headers
-
TARGET-ORGANIZATION-ID
integer(int32) ID of organization, for which the operation must be performed
-
WEAL-TOKEN
string Required API token (can be retrieved from account settings)
Query parameters
-
Values are
CONTEXT_ROOT
,DEFAULT
,EXACT
,EXTENSION
, orPATH
. -
httpServletMapping.pattern
string -
requestHeaders.ETag
string -
requestHeaders.acceptLanguage[0].weight
number(double) -
requestHeaders.acceptPatch[0].qualityValue
number(double) -
requestHeaders.accept[0].qualityValue
number(double) -
requestHeaders.accessControlAllowHeaders
array[string] -
requestHeaders.accessControlAllowMethods
array[string] Values are
GET
,HEAD
,POST
,PUT
,PATCH
,DELETE
,OPTIONS
, orTRACE
. -
requestHeaders.accessControlExposeHeaders
array[string] -
requestHeaders.accessControlMaxAge
integer(int64) -
requestHeaders.accessControlRequestHeaders
array[string] -
Values are
GET
,HEAD
,POST
,PUT
,PATCH
,DELETE
,OPTIONS
, orTRACE
. -
requestHeaders.allow
array[string] Values are
GET
,HEAD
,POST
,PUT
,PATCH
,DELETE
,OPTIONS
, orTRACE
. -
requestHeaders.cacheControl
string -
requestHeaders.connection
array[string] -
requestHeaders.contentDisposition.creationDate
string(date-time) -
requestHeaders.contentDisposition.modificationDate
string(date-time) -
requestHeaders.contentDisposition.readDate
string(date-time) -
requestHeaders.contentDisposition.size
integer(int64) -
requestHeaders.contentLanguage.unicodeLocaleAttributes
array[string] -
requestHeaders.contentLanguage.unicodeLocaleKeys
array[string] -
requestHeaders.contentLength
integer(int64) -
requestHeaders.contentType.qualityValue
number(double) -
requestHeaders.date
integer(int64) -
requestHeaders.expires
integer(int64) -
requestHeaders.host.address.address
string(byte) -
requestHeaders.host.hostName
string -
requestHeaders.host.port
integer(int32) -
requestHeaders.host.unresolved
boolean -
requestHeaders.ifMatch
array[string] -
requestHeaders.ifModifiedSince
integer(int64) -
requestHeaders.ifNoneMatch
array[string] -
requestHeaders.ifUnmodifiedSince
integer(int64) -
requestHeaders.lastModified
integer(int64) -
requestHeaders.location.absolute
boolean -
requestHeaders.location.host
string -
requestHeaders.location.opaque
boolean -
requestHeaders.location.path
string -
requestHeaders.location.port
integer(int32) -
requestHeaders.origin
string -
requestHeaders.pragma
string -
requestHeaders.upgrade
string -
requestHeaders.vary
array[string] -
requestMethod
string Values are
GET
,HEAD
,POST
,PUT
,PATCH
,DELETE
,OPTIONS
, orTRACE
. -
trailerFieldsReady
boolean
POST
/api-v1/document/upload
curl \
--request POST 'http://wyzio.app/api-v1/document/upload' \
--header "TARGET-ORGANIZATION-ID: 42" \
--header "WEAL-TOKEN: string"
Response examples (200)
42