Download OpenAPI specification:Download
The Document Storage API provides the ability to centrally store, find, and download documents that are required for application and business needs.
Provides the ability to search for categories.
The response from this endpoint may be a partial list of results. If this is the case, then the below response headers will be populated. These headers can be supplied with a subsequent request to return the next set of search result(s).
Note that it is possible to retrieve an empty result set but still have continuation headers.
| $filter | string Example: $filter=field1 eq 1234 A structured search expression in standard OData syntax. |
| $top | number Example: $top=1 Number of search results to retrieve. Default value is 100 with the ability to specify up to 500. Any number greater than 500 will still only return 500 records. |
| nextPartitionKey | string Specifies a continuation token value, to be populated from the |
| nextRowKey | string Specifies a continuation token value, to be populated from the |
| nextTableName | string Specifies a continuation token value, to be populated from the |
[- {
- "CreateDate": "2014-06-23T21:00:22.007Z",
- "CreateUser": "KHAR",
- "Description": "This category contains contract documents.",
- "Environment": "ENV01",
- "ETag": "W/\\\"datetime'2016-01-20T17%3A08%3A50.8723773Z'\\\"",
- "IsConfidential": true,
- "ModifiedDate": "2014-06-23T21:00:22.007Z",
- "ModifiedUser": "KHAR",
- "Name": "Contracts",
- "PartitionKey": "env01",
- "RowKey": "contracts",
- "Timestamp": "2016-01-20T17:08:50.872Z"
}
]Creates a new category
| Description | string Description of the category. |
| IsConfidential | boolean Whether documents added to the category should be set to confidential. Default: |
| Name required | string Name of the category. |
{- "Description": "This category contains contract documents.",
- "IsConfidential": false,
- "Name": "Contracts"
}{- "CreateDate": "2014-06-23T21:00:22.007Z",
- "CreateUser": "KHAR",
- "Description": "This category contains contract documents.",
- "Environment": "ENV01",
- "ETag": "W/\\\"datetime'2016-01-20T17%3A08%3A50.8723773Z'\\\"",
- "IsConfidential": true,
- "ModifiedDate": "2014-06-23T21:00:22.007Z",
- "ModifiedUser": "KHAR",
- "Name": "Contracts",
- "PartitionKey": "env01",
- "RowKey": "contracts",
- "Timestamp": "2016-01-20T17:08:50.872Z"
}Retrieves a category.
| name required | string Name of the category to retrieve |
{- "CreateDate": "2014-06-23T21:00:22.007Z",
- "CreateUser": "KHAR",
- "Description": "This category contains contract documents.",
- "Environment": "ENV01",
- "ETag": "W/\\\"datetime'2016-01-20T17%3A08%3A50.8723773Z'\\\"",
- "IsConfidential": true,
- "ModifiedDate": "2014-06-23T21:00:22.007Z",
- "ModifiedUser": "KHAR",
- "Name": "Contracts",
- "PartitionKey": "env01",
- "RowKey": "contracts",
- "Timestamp": "2016-01-20T17:08:50.872Z"
}Updates certain properties of a category.
| name required | string Name of the category to update |
| Description | string Description of the category. |
| IsConfidential | boolean Whether documents added to the category should be set to confidential. |
{- "Description": "New Contracts",
- "IsConfidential": false
}Provides the ability to search for documents within a category.
The response from this endpoint may be a partial list of results. If this is the case, then the below response headers will be populated. These headers can be supplied with a subsequent request to return the next set of search result(s).
Note that it is possible to retrieve an empty result set but still have continuation headers.
| name required | string Name of the category in which to search for documents |
| $filter | string Example: $filter=field1 eq 1234 A structured search expression in standard OData syntax. |
| $top | number Example: $top=1 Number of search results to retrieve. Default value is 100 with the ability to specify up to 500. Any number greater than 500 will still only return 500 records. |
| nextPartitionKey | string Specifies a continuation token value, to be populated from the |
| nextRowKey | string Specifies a continuation token value, to be populated from the |
| nextTableName | string Specifies a continuation token value, to be populated from the |
[- {
- "Application": "MyWebApp",
- "Category": "Contracts",
- "ContentType": "application/pdf",
- "CreateDate": "2014-06-23T21:00:22.007Z",
- "CreateUser": "KHAR",
- "Environment": "ENV01",
- "ETag": "W/\\\"datetime'2016-01-20T17%3A08%3A50.8723773Z'\\\"",
- "Extension": ".pdf",
- "ExternalID": "2014071122382544-261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "IsConfidential": true,
- "Key": "261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "ModifiedDate": "2014-06-23T21:00:22.007Z",
- "ModifiedUser": "KHAR",
- "Name": "contract001.pdf",
- "Notes": "This contract is expired.",
- "PartitionKey": "env01-contracts",
- "RowKey": "2014071122382544-261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "SizeKB": 351.21,
- "Timestamp": "2016-01-20T17:08:50.872Z"
}
]Uploads a document
| Application required | string The website, program, application, etc. that is uploading the document. Note that this value will be saved in lower case. |
| Category | string The category to which this document should be associated. Default value: |
| File required | binary The file to upload. The following properties must be specified:
|
| ForceConfidential | boolean Makes the document confidential, regardless of the |
| Name | string Name of the file. If this value is not supplied, the |
| Notes | string Any additional information to associate with the document. |
{- "Application": "MyWebApp",
- "Category": "Contracts",
- "ContentType": "application/pdf",
- "CreateDate": "2014-06-23T21:00:22.007Z",
- "CreateUser": "KHAR",
- "Environment": "ENV01",
- "ETag": "W/\\\"datetime'2016-01-20T17%3A08%3A50.8723773Z'\\\"",
- "Extension": ".pdf",
- "ExternalID": "2014071122382544-261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "IsConfidential": true,
- "Key": "261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "ModifiedDate": "2014-06-23T21:00:22.007Z",
- "ModifiedUser": "KHAR",
- "Name": "contract001.pdf",
- "Notes": "This contract is expired.",
- "PartitionKey": "env01-contracts",
- "RowKey": "2014071122382544-261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "SizeKB": 351.21,
- "Timestamp": "2016-01-20T17:08:50.872Z"
}Overwrites an existing document.
| externalId required | string The ExternalID of the document to overwrite |
| Application | string The website, program, application, etc. that is uploading the document. Note that this value will be saved in lower case. |
| File required | binary The file to upload. The following properties must be specified:
|
| Name | string Name of the file. If this value is not supplied, the |
{- "Application": "MyWebApp",
- "Category": "Contracts",
- "ContentType": "application/pdf",
- "CreateDate": "2014-06-23T21:00:22.007Z",
- "CreateUser": "KHAR",
- "Environment": "ENV01",
- "ETag": "W/\\\"datetime'2016-01-20T17%3A08%3A50.8723773Z'\\\"",
- "Extension": ".pdf",
- "ExternalID": "2014071122382544-261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "IsConfidential": true,
- "Key": "261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "ModifiedDate": "2014-06-23T21:00:22.007Z",
- "ModifiedUser": "KHAR",
- "Name": "contract001.pdf",
- "Notes": "This contract is expired.",
- "PartitionKey": "env01-contracts",
- "RowKey": "2014071122382544-261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "SizeKB": 351.21,
- "Timestamp": "2016-01-20T17:08:50.872Z"
}Retrieves the properties of the document (not the document file contents).
| externalId required | string The ExternalID of the document for which to get the properties |
{- "Application": "MyWebApp",
- "Category": "Contracts",
- "ContentType": "application/pdf",
- "CreateDate": "2014-06-23T21:00:22.007Z",
- "CreateUser": "KHAR",
- "Environment": "ENV01",
- "ETag": "W/\\\"datetime'2016-01-20T17%3A08%3A50.8723773Z'\\\"",
- "Extension": ".pdf",
- "ExternalID": "2014071122382544-261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "IsConfidential": true,
- "Key": "261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "ModifiedDate": "2014-06-23T21:00:22.007Z",
- "ModifiedUser": "KHAR",
- "Name": "contract001.pdf",
- "Notes": "This contract is expired.",
- "PartitionKey": "env01-contracts",
- "RowKey": "2014071122382544-261722ce-1ffd-45ce-bc95-e3b65c66f767",
- "SizeKB": 351.21,
- "Timestamp": "2016-01-20T17:08:50.872Z"
}Updates certain properties of a document.
| externalId required | string The ExternalID of the document for which to update the properties |
| IsConfidential | boolean Whether the document is considered to be confidential. |
| Name | string Name of the document. |
| Notes | string Notes associated with the document. |
{- "IsConfidential": true,
- "Name": "contract002.pdf",
- "Notes": "This is the updated contract."
}