Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
Integer getContingent(String username, String token)

Request Parameters

Parameter

Type

Description

username

String

An empty string

token

String

Your product token

Response

If your request is successful, the API returns an Integer that describes the remaining contingent.

...

Code Block
languagejava
String getXMLDomainsFor(String language)

Request Parameters

Parameter

Type

Description

language

String

The preferred Target Language in which the long-values of the domains should be returned.

Response

If your request is successful, the API returns a XML object with the most recent domain values:

...

Code Block
languagejava
String extractToXML(String username, String token, String language, String model, byte[] inputdata, String inputdatatype)

Request Parameters

Parameter

Type

Description

username

String

An empty string

token

String

Your product token

language

String

Preferred Target Language

model

String

Extraction Model

inputdata

byte[]

Document to be semantically extracted and transformed. Depending on the programming language in use (for instance Ruby and JavaScript) the byte array needs to be converted to a String and base64 encoded before submitting.

inputdatatype

String

Filetype of the document (document postfix), e.g. 'docx' or the whole filename, e.g. 'document.pdf'.

Note

If the filename entered in parameter “inputdatatype” does not contain a postfix, the extraction will fail

...

If your request is successful, the API returns a XML object as String, following the respective XML schema based on the chosen Extraction Model. More information on the returned XML can be found in the JoinVision XML 3.0 Schema Description.

Error Handling

Returns a SOAPException for any kind of extraction problems, containing a detailed error description.

...

The required input consists of an array of InputDocs, whereas an inputDoc contains the name of the file (in order to determine the file type) and the file itself as byte array.

Parameter

Type

Description

inputDocs

inputDoc[]

An array of documents in the form of InputDocs

domain

String

For classifications in the HR-domain, the domain value is always “hr”

username

String

An empty string

token

String

Your product token

Response

If your request is successful, the API returns an array of OutputDocuments, which contains the binary document as byte array (always “pdf”), the amount of pages, whether or not the document has been OCR converted, the document's original filename, the document's plaintext, and the detected document's category.

...

The required input consists of an array of InputDocs, whereas an inputDoc contains the name of the file (in order to determine the file type) and the file itself as byte array.

Parameter

Type

Description

username

String

An empty string

token

String

Your product token

language

String

Preferred Target Language

model

String

Extraction Model

Note

Merging currently only supports model “cvlizer_3_0”

inputDocs

inputDoc[]

An array of documents in the form of InputDocs

Note

One of the files is required to be a CV

Response

If your request is successful, the API returns a XML object as String, following the respective XML schema based on the chosen Extraction Model. More information on the returned XML can be found in the JoinVision XML 3.0 Schema Description.

Error Handling

Returns a SOAPException for any kind of extraction problems containing a detailed error description.