Tags and tag types (deprecated)

Searching across a library or folder based on tag values

The API provides the ability to search for documents with given values for multiple tag types, either on a per folder basis, or across a whole library.

Issue the following:

POST /api/libraries/{libraryid}/search/systemtags

or

POST /api/folders/{folderid}/search/systemtags

[
    {TagTypeValue1},
    {TagTypeValue2},
    {TagTypeValue3}
]

There is a newer version of this endpoint. The version below will return an error code if a document contains a Status tag.

The body of the post is an array of Tag Type Value objects where:

  • TagTypeId: This is the unique identifier of the tag type that you are searching on.
  • Value: This is the value for the tag type that you are searching for.

The response is an object that contains a count of the documents that match the search criteria, and the documents themselves.

{
    "TotalCount": 1,
    "Embedded": {
        "Documents": [
            {
                "DocumentId": 3,
                "DocumentName": "9SF invoice 9.txt",
                "DocumentAutoName": "Account Manager: Larry McDonald  |  Order Date: 2/8/2017",
                "LibraryId": 4,
                "LibraryName": "Accounts Payable",
                "FolderId": 9,
                "FolderName": "Invoices",
                "StatusInformation": [
                    {
                        "TagValueId": 25,
                        "TagTypeValueId": 15,
                        "TagTypeValue": {
                            "TagTypeValueId": 15,
                            "TagValueString": "",
                            "TagTypeId": 8,
                            "TagType": {
                                "TagTypeId": 8,
                                "TagTypeName": "&&_AirBase_Content_Status",
                                "Statistics": [],
                                "UserId": null,
                                "Values": [],
                                "Libraries": [],
                                "Flavor": 0,
                                "DataType": 0,
                                "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                            },
                            "TagValueNumeric": null,
                            "TagValueDate": null
                        },
                        "DocumentId": 3,
                        "Document": {
                            "DocumentId": 3,
                            "DocumentName": "9SF invoice 9.txt",
                            "DocumentAutoName": "Account Manager: Larry McDonald  |  Order Date: 2/8/2017",
                            "DateStored": "2017-07-17T16:13:49.287",
                            "DateModified": "2017-07-17T16:13:49.287",
                            "UserId": 13,
                            "Files": [
                                {
                                    "FileId": 3,
                                    "MimeType": "text/plain",
                                    "OriginalFileName": "9SF invoice 9.txt",
                                    "FileSize": 6,
                                    "FileName": "000000000000003.txt",
                                    "DateStored": "2017-07-17T16:13:49.29",
                                    "Parition": 0,
                                    "DocumentId": 3,
                                    "VolumeId": 1,
                                    "Volume": null,
                                    "EncryptionKeyId": 0,
                                    "IV": "",
                                    "EncryptionAlgorithm": 0,
                                    "UserId": 13,
                                    "Hash": "hRNsecv5/ja7nQXQY5xwwmXBjTc="
                                }
                            ],
                            "Tags": [
                                {
                                    "TagValueId": 18,
                                    "TagTypeValueId": 12,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 12,
                                        "TagValueString": "Invoices",
                                        "TagTypeId": 2,
                                        "TagType": {
                                            "TagTypeId": 2,
                                            "TagTypeName": "My Tags",
                                            "Statistics": [],
                                            "UserId": 13,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": null
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 19,
                                    "TagTypeValueId": 13,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 13,
                                        "TagValueString": "Larry McDonald",
                                        "TagTypeId": 12,
                                        "TagType": {
                                            "TagTypeId": 12,
                                            "TagTypeName": "Account Manager",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 20,
                                    "TagTypeValueId": 14,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 14,
                                        "TagValueString": null,
                                        "TagTypeId": 13,
                                        "TagType": {
                                            "TagTypeId": 13,
                                            "TagTypeName": "Order Date",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 2,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": "2017-02-08T00:00:00"
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 22,
                                    "TagTypeValueId": 16,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 16,
                                        "TagValueString": "ToDo status 2",
                                        "TagTypeId": 9,
                                        "TagType": {
                                            "TagTypeId": 9,
                                            "TagTypeName": "&&_AirBase_ToDo_Status",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 24,
                                    "TagTypeValueId": 18,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 18,
                                        "TagValueString": null,
                                        "TagTypeId": 11,
                                        "TagType": {
                                            "TagTypeId": 11,
                                            "TagTypeName": "&&_AirBase_Assigned_Date",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 2,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": "2017-07-17T00:00:00"
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 26,
                                    "TagTypeValueId": 19,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 19,
                                        "TagValueString": null,
                                        "TagTypeId": 10,
                                        "TagType": {
                                            "TagTypeId": 10,
                                            "TagTypeName": "&&_AirBase_Assigned_UserId",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 1,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": 12,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                }
                            ],
                            "FolderId": 9,
                            "Folder": {
                                "FolderId": 9,
                                "FolderName": "Invoices",
                                "ParentFolderId": null,
                                "ParentFolder": null,
                                "UserId": 13,
                                "DateCreated": "2017-07-17T16:11:41.393",
                                "DateModified": "2017-07-17T16:13:59.857",
                                "Documents": [],
                                "LibraryId": 4,
                                "Library": null,
                                "ACLs": [],
                                "IsDeleted": false,
                                "FolderPath": "",
                                "TransferredFrom": null,
                                "TagTypes": []
                            },
                            "LibraryId": 4,
                            "Library": {
                                "LibraryId": 4,
                                "LibraryName": "Accounts Payable",
                                "DateCreated": "2017-07-17T16:10:34.783",
                                "CreatedByUserId": 13,
                                "UserId": null,
                                "Folders": [],
                                "ACLs": [],
                                "TagTypes": []
                            },
                            "ACLs": [],
                            "IsDeleted": false,
                            "IsLocked": false,
                            "LockedByUserId": null,
                            "LockedDate": null
                        }
                    },
                    {
                        "TagValueId": 22,
                        "TagTypeValueId": 16,
                        "TagTypeValue": {
                            "TagTypeValueId": 16,
                            "TagValueString": "ToDo status 2",
                            "TagTypeId": 9,
                            "TagType": {
                                "TagTypeId": 9,
                                "TagTypeName": "&&_AirBase_ToDo_Status",
                                "Statistics": [],
                                "UserId": null,
                                "Values": [],
                                "Libraries": [],
                                "Flavor": 0,
                                "DataType": 0,
                                "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                            },
                            "TagValueNumeric": null,
                            "TagValueDate": null
                        },
                        "DocumentId": 3,
                        "Document": {
                            "DocumentId": 3,
                            "DocumentName": "9SF invoice 9.txt",
                            "DocumentAutoName": "Account Manager: Larry McDonald  |  Order Date: 2/8/2017",
                            "DateStored": "2017-07-17T16:13:49.287",
                            "DateModified": "2017-07-17T16:13:49.287",
                            "UserId": 13,
                            "Files": [
                                {
                                    "FileId": 3,
                                    "MimeType": "text/plain",
                                    "OriginalFileName": "9SF invoice 9.txt",
                                    "FileSize": 6,
                                    "FileName": "000000000000003.txt",
                                    "DateStored": "2017-07-17T16:13:49.29",
                                    "Parition": 0,
                                    "DocumentId": 3,
                                    "VolumeId": 1,
                                    "Volume": null,
                                    "EncryptionKeyId": 0,
                                    "IV": "",
                                    "EncryptionAlgorithm": 0,
                                    "UserId": 13,
                                    "Hash": "hRNsecv5/ja7nQXQY5xwwmXBjTc="
                                }
                            ],
                            "Tags": [
                                {
                                    "TagValueId": 18,
                                    "TagTypeValueId": 12,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 12,
                                        "TagValueString": "Invoices",
                                        "TagTypeId": 2,
                                        "TagType": {
                                            "TagTypeId": 2,
                                            "TagTypeName": "My Tags",
                                            "Statistics": [],
                                            "UserId": 13,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": null
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 19,
                                    "TagTypeValueId": 13,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 13,
                                        "TagValueString": "Larry McDonald",
                                        "TagTypeId": 12,
                                        "TagType": {
                                            "TagTypeId": 12,
                                            "TagTypeName": "Account Manager",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 20,
                                    "TagTypeValueId": 14,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 14,
                                        "TagValueString": null,
                                        "TagTypeId": 13,
                                        "TagType": {
                                            "TagTypeId": 13,
                                            "TagTypeName": "Order Date",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 2,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": "2017-02-08T00:00:00"
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 25,
                                    "TagTypeValueId": 15,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 15,
                                        "TagValueString": "",
                                        "TagTypeId": 8,
                                        "TagType": {
                                            "TagTypeId": 8,
                                            "TagTypeName": "&&_AirBase_Content_Status",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 24,
                                    "TagTypeValueId": 18,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 18,
                                        "TagValueString": null,
                                        "TagTypeId": 11,
                                        "TagType": {
                                            "TagTypeId": 11,
                                            "TagTypeName": "&&_AirBase_Assigned_Date",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 2,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": "2017-07-17T00:00:00"
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 26,
                                    "TagTypeValueId": 19,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 19,
                                        "TagValueString": null,
                                        "TagTypeId": 10,
                                        "TagType": {
                                            "TagTypeId": 10,
                                            "TagTypeName": "&&_AirBase_Assigned_UserId",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 1,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": 12,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                }
                            ],
                            "FolderId": 9,
                            "Folder": {
                                "FolderId": 9,
                                "FolderName": "Invoices",
                                "ParentFolderId": null,
                                "ParentFolder": null,
                                "UserId": 13,
                                "DateCreated": "2017-07-17T16:11:41.393",
                                "DateModified": "2017-07-17T16:13:59.857",
                                "Documents": [],
                                "LibraryId": 4,
                                "Library": null,
                                "ACLs": [],
                                "IsDeleted": false,
                                "FolderPath": "",
                                "TransferredFrom": null,
                                "TagTypes": []
                            },
                            "LibraryId": 4,
                            "Library": {
                                "LibraryId": 4,
                                "LibraryName": "Accounts Payable",
                                "DateCreated": "2017-07-17T16:10:34.783",
                                "CreatedByUserId": 13,
                                "UserId": null,
                                "Folders": [],
                                "ACLs": [],
                                "TagTypes": []
                            },
                            "ACLs": [],
                            "IsDeleted": false,
                            "IsLocked": false,
                            "LockedByUserId": null,
                            "LockedDate": null
                        }
                    },
                    {
                        "TagValueId": 24,
                        "TagTypeValueId": 18,
                        "TagTypeValue": {
                            "TagTypeValueId": 18,
                            "TagValueString": null,
                            "TagTypeId": 11,
                            "TagType": {
                                "TagTypeId": 11,
                                "TagTypeName": "&&_AirBase_Assigned_Date",
                                "Statistics": [],
                                "UserId": null,
                                "Values": [],
                                "Libraries": [],
                                "Flavor": 0,
                                "DataType": 2,
                                "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                            },
                            "TagValueNumeric": null,
                            "TagValueDate": "2017-07-17T00:00:00"
                        },
                        "DocumentId": 3,
                        "Document": {
                            "DocumentId": 3,
                            "DocumentName": "9SF invoice 9.txt",
                            "DocumentAutoName": "Account Manager: Larry McDonald  |  Order Date: 2/8/2017",
                            "DateStored": "2017-07-17T16:13:49.287",
                            "DateModified": "2017-07-17T16:13:49.287",
                            "UserId": 13,
                            "Files": [
                                {
                                    "FileId": 3,
                                    "MimeType": "text/plain",
                                    "OriginalFileName": "9SF invoice 9.txt",
                                    "FileSize": 6,
                                    "FileName": "000000000000003.txt",
                                    "DateStored": "2017-07-17T16:13:49.29",
                                    "Parition": 0,
                                    "DocumentId": 3,
                                    "VolumeId": 1,
                                    "Volume": null,
                                    "EncryptionKeyId": 0,
                                    "IV": "",
                                    "EncryptionAlgorithm": 0,
                                    "UserId": 13,
                                    "Hash": "hRNsecv5/ja7nQXQY5xwwmXBjTc="
                                }
                            ],
                            "Tags": [
                                {
                                    "TagValueId": 18,
                                    "TagTypeValueId": 12,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 12,
                                        "TagValueString": "Invoices",
                                        "TagTypeId": 2,
                                        "TagType": {
                                            "TagTypeId": 2,
                                            "TagTypeName": "My Tags",
                                            "Statistics": [],
                                            "UserId": 13,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": null
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 19,
                                    "TagTypeValueId": 13,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 13,
                                        "TagValueString": "Larry McDonald",
                                        "TagTypeId": 12,
                                        "TagType": {
                                            "TagTypeId": 12,
                                            "TagTypeName": "Account Manager",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 20,
                                    "TagTypeValueId": 14,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 14,
                                        "TagValueString": null,
                                        "TagTypeId": 13,
                                        "TagType": {
                                            "TagTypeId": 13,
                                            "TagTypeName": "Order Date",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 2,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": "2017-02-08T00:00:00"
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 25,
                                    "TagTypeValueId": 15,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 15,
                                        "TagValueString": "",
                                        "TagTypeId": 8,
                                        "TagType": {
                                            "TagTypeId": 8,
                                            "TagTypeName": "&&_AirBase_Content_Status",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 22,
                                    "TagTypeValueId": 16,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 16,
                                        "TagValueString": "ToDo status 2",
                                        "TagTypeId": 9,
                                        "TagType": {
                                            "TagTypeId": 9,
                                            "TagTypeName": "&&_AirBase_ToDo_Status",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 26,
                                    "TagTypeValueId": 19,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 19,
                                        "TagValueString": null,
                                        "TagTypeId": 10,
                                        "TagType": {
                                            "TagTypeId": 10,
                                            "TagTypeName": "&&_AirBase_Assigned_UserId",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 1,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": 12,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                }
                            ],
                            "FolderId": 9,
                            "Folder": {
                                "FolderId": 9,
                                "FolderName": "Invoices",
                                "ParentFolderId": null,
                                "ParentFolder": null,
                                "UserId": 13,
                                "DateCreated": "2017-07-17T16:11:41.393",
                                "DateModified": "2017-07-17T16:13:59.857",
                                "Documents": [],
                                "LibraryId": 4,
                                "Library": null,
                                "ACLs": [],
                                "IsDeleted": false,
                                "FolderPath": "",
                                "TransferredFrom": null,
                                "TagTypes": []
                            },
                            "LibraryId": 4,
                            "Library": {
                                "LibraryId": 4,
                                "LibraryName": "Accounts Payable",
                                "DateCreated": "2017-07-17T16:10:34.783",
                                "CreatedByUserId": 13,
                                "UserId": null,
                                "Folders": [],
                                "ACLs": [],
                                "TagTypes": []
                            },
                            "ACLs": [],
                            "IsDeleted": false,
                            "IsLocked": false,
                            "LockedByUserId": null,
                            "LockedDate": null
                        }
                    },
                    {
                        "TagValueId": 26,
                        "TagTypeValueId": 19,
                        "TagTypeValue": {
                            "TagTypeValueId": 19,
                            "TagValueString": null,
                            "TagTypeId": 10,
                            "TagType": {
                                "TagTypeId": 10,
                                "TagTypeName": "&&_AirBase_Assigned_UserId",
                                "Statistics": [],
                                "UserId": null,
                                "Values": [],
                                "Libraries": [],
                                "Flavor": 0,
                                "DataType": 1,
                                "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                            },
                            "TagValueNumeric": 12,
                            "TagValueDate": null
                        },
                        "DocumentId": 3,
                        "Document": {
                            "DocumentId": 3,
                            "DocumentName": "9SF invoice 9.txt",
                            "DocumentAutoName": "Account Manager: Larry McDonald  |  Order Date: 2/8/2017",
                            "DateStored": "2017-07-17T16:13:49.287",
                            "DateModified": "2017-07-17T16:13:49.287",
                            "UserId": 13,
                            "Files": [
                                {
                                    "FileId": 3,
                                    "MimeType": "text/plain",
                                    "OriginalFileName": "9SF invoice 9.txt",
                                    "FileSize": 6,
                                    "FileName": "000000000000003.txt",
                                    "DateStored": "2017-07-17T16:13:49.29",
                                    "Parition": 0,
                                    "DocumentId": 3,
                                    "VolumeId": 1,
                                    "Volume": null,
                                    "EncryptionKeyId": 0,
                                    "IV": "",
                                    "EncryptionAlgorithm": 0,
                                    "UserId": 13,
                                    "Hash": "hRNsecv5/ja7nQXQY5xwwmXBjTc="
                                }
                            ],
                            "Tags": [
                                {
                                    "TagValueId": 18,
                                    "TagTypeValueId": 12,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 12,
                                        "TagValueString": "Invoices",
                                        "TagTypeId": 2,
                                        "TagType": {
                                            "TagTypeId": 2,
                                            "TagTypeName": "My Tags",
                                            "Statistics": [],
                                            "UserId": 13,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": null
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 19,
                                    "TagTypeValueId": 13,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 13,
                                        "TagValueString": "Larry McDonald",
                                        "TagTypeId": 12,
                                        "TagType": {
                                            "TagTypeId": 12,
                                            "TagTypeName": "Account Manager",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 20,
                                    "TagTypeValueId": 14,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 14,
                                        "TagValueString": null,
                                        "TagTypeId": 13,
                                        "TagType": {
                                            "TagTypeId": 13,
                                            "TagTypeName": "Order Date",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 2,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": "2017-02-08T00:00:00"
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 25,
                                    "TagTypeValueId": 15,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 15,
                                        "TagValueString": "",
                                        "TagTypeId": 8,
                                        "TagType": {
                                            "TagTypeId": 8,
                                            "TagTypeName": "&&_AirBase_Content_Status",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 22,
                                    "TagTypeValueId": 16,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 16,
                                        "TagValueString": "ToDo status 2",
                                        "TagTypeId": 9,
                                        "TagType": {
                                            "TagTypeId": 9,
                                            "TagTypeName": "&&_AirBase_ToDo_Status",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 0,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": null
                                    },
                                    "DocumentId": 3
                                },
                                {
                                    "TagValueId": 24,
                                    "TagTypeValueId": 18,
                                    "TagTypeValue": {
                                        "TagTypeValueId": 18,
                                        "TagValueString": null,
                                        "TagTypeId": 11,
                                        "TagType": {
                                            "TagTypeId": 11,
                                            "TagTypeName": "&&_AirBase_Assigned_Date",
                                            "Statistics": [],
                                            "UserId": null,
                                            "Values": [],
                                            "Libraries": [],
                                            "Flavor": 0,
                                            "DataType": 2,
                                            "TagTypeConstraints": "{\"DefaultValue\":null,\"DataSetValues\":null}"
                                        },
                                        "TagValueNumeric": null,
                                        "TagValueDate": "2017-07-17T00:00:00"
                                    },
                                    "DocumentId": 3
                                }
                            ],
                            "FolderId": 9,
                            "Folder": {
                                "FolderId": 9,
                                "FolderName": "Invoices",
                                "ParentFolderId": null,
                                "ParentFolder": null,
                                "UserId": 13,
                                "DateCreated": "2017-07-17T16:11:41.393",
                                "DateModified": "2017-07-17T16:13:59.857",
                                "Documents": [],
                                "LibraryId": 4,
                                "Library": null,
                                "ACLs": [],
                                "IsDeleted": false,
                                "FolderPath": "",
                                "TransferredFrom": null,
                                "TagTypes": []
                            },
                            "LibraryId": 4,
                            "Library": {
                                "LibraryId": 4,
                                "LibraryName": "Accounts Payable",
                                "DateCreated": "2017-07-17T16:10:34.783",
                                "CreatedByUserId": 13,
                                "UserId": null,
                                "Folders": [],
                                "ACLs": [],
                                "TagTypes": []
                            },
                            "ACLs": [],
                            "IsDeleted": false,
                            "IsLocked": false,
                            "LockedByUserId": null,
                            "LockedDate": null
                        }
                    }
                ],
                "Links": {
                    "FolderIconUri": "https://app.sharebase.com/sharebaseapi/icons/1"
                }
            }
        ]
    }
}