All URIs are relative to https://localhost/
Method | HTTP request | Description |
---|---|---|
bulkDocuments | POST /api/Documents/Bulk | |
copyDocuments | POST /api/Documents/Copy | |
createDocument | POST /api/Documents | |
deleteDocument | DELETE /api/Documents/{id} | |
getDocument | GET /api/Documents/{id} | |
getFilteredDocuments | POST /api/Documents/Filter/{scrollId} | |
getSampleDocuments | POST /api/Documents/Sample | |
moveDocuments | POST /api/Documents/Move | |
updateDocument | PUT /api/Documents/{id} |
BulkResults bulkDocuments(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var opts = {
'settings': new SlambySdk.DocumentBulkSettings() // DocumentBulkSettings |
};
apiInstance.bulkDocuments(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
settings | DocumentBulkSettings | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
Process copyDocuments(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var opts = {
'copySettings': new SlambySdk.DocumentCopySettings() // DocumentCopySettings |
};
apiInstance.copyDocuments(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
copySettings | DocumentCopySettings | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
createDocument(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var opts = {
'document': null // Object |
};
apiInstance.createDocument(opts).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
document | Object | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
deleteDocument(id)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var id = "id_example"; // String |
apiInstance.deleteDocument(id).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Object getDocument(id)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var id = "id_example"; // String |
apiInstance.getDocument(id).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String |
Object
No authorization required
- Content-Type: Not defined
- Accept: Not defined
PaginatedListObject getFilteredDocuments(scrollId, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var scrollId = "scrollId_example"; // String |
var opts = {
'filterSettings': new SlambySdk.DocumentFilterSettings() // DocumentFilterSettings |
};
apiInstance.getFilteredDocuments(scrollId, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
scrollId | String | ||
filterSettings | DocumentFilterSettings | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
PaginatedListObject getSampleDocuments(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var opts = {
'sampleSettings': new SlambySdk.DocumentSampleSettings() // DocumentSampleSettings |
};
apiInstance.getSampleDocuments(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
sampleSettings | DocumentSampleSettings | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
Process moveDocuments(opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var opts = {
'moveSettings': new SlambySdk.DocumentMoveSettings() // DocumentMoveSettings |
};
apiInstance.moveDocuments(opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
moveSettings | DocumentMoveSettings | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
Object updateDocument(id, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.DocumentApi();
var id = "id_example"; // String |
var opts = {
'document': null // Object |
};
apiInstance.updateDocument(id, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
document | Object | [optional] |
Object
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined