...
Code Block | ||
---|---|---|
| ||
Integer getContingent(String username, String passwordtoken) |
Request Parameters
Parameter | Type | Description |
---|---|---|
username | String | An empty string |
passwordtoken | String | Your product token |
Response
...
Code Block | ||
---|---|---|
| ||
String extractToXML(String username, String passwordtoken, String language, String model, byte[] inputdata, String inputdatatype) |
...
Parameter | Type | Description |
---|---|---|
username | String | An empty string |
Passwordtoken | String | Your product token |
language | String | Preferred Target Language |
model | String | |
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'. |
...
Code Block | ||
---|---|---|
| ||
OutputDoc[] categorize(InputDoc[] inputDocs, String domain, String username, String passwordtoken) |
Request Parameters
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 |
passwordtoken | String | Your product token |
Response
...
Code Block | ||
---|---|---|
| ||
String mergeToXML(String username, String passwordtoken, String language, String model, InputDoc[] inputDocs) |
...
Parameter | Type | Description | ||
---|---|---|---|---|
username | String | An empty string | ||
passwordtoken | String | Your product token | ||
language | String | Preferred Target Language | ||
model | String |
| ||
inputDocs | inputDoc[] | An array of documents in the form of InputDocs
|
...