############################################################# **Data for filtering (StorageQuery object)** ############################################################# .. свій унікальний стореджквері **JSON:** Receive all Sent Documents ("statuses": 2,3) +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. code:: json { "archive": false, "statuses": [ 2, 3 ], "type": [ { "type": 0, "title": "all", "description": "all" }, { "type": 0, "title": "all", "description": "all" } ], "exchangeStatus": [], "extraParams": [], "tags": [], "loadComments": true, "loadTags": true, "loadStatuses": true, "direction": { "type": "EQ", "sender": [ "9864066822430" ], "receiver": [] }, "family": 12 } Receive all incoming documents ("statuses": 4,5) from the specified sender/-s (sender:gln) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. code:: json { "archive": false, "statuses": [ 4, 5 ], "type": [ { "type": 0, "title": "all", "description": "all" }, { "type": 0, "title": "all", "description": "all" } ], "exchangeStatus": [], "extraParams": [], "tags": [], "loadComments": true, "loadTags": true, "loadStatuses": true, "direction": { "type": "EQ", "sender": [ "9864067620417" ], "receiver": [ "9864066822430" ] }, "family": 12 } Get all Archival documents. As incoming and sent documents become archived, all statuses are indicated, recipient / sender = own GLN +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. code:: json { "archive": true, "statuses": [ 2, 3, 4, 5, 6 ], "type": [ { "type": 0, "title": "all", "description": "all" }, { "type": 0, "title": "all", "description": "all" } ], "exchangeStatus": [], "extraParams": [], "tags": [], "loadComments": true, "loadTags": true, "loadStatuses": true, "direction": { "type": "OR", "sender": [ "9864066822430" ], "receiver": [ "9864066822430" ] }, "family": 12 } .. _Table_2: Table 2 - Parameters description of object **StorageQuery** .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/StorageQuery.csv :widths: 1, 7, 12, 41 :header-rows: 1 :stub-columns: 0 Table 3 - Parameters description of object **ExtraQueryParameters** .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/ExtraQueryParameters.csv :widths: 1, 7, 12, 41 :header-rows: 1 :stub-columns: 0 Table 4 - Parameters description of object **Direction** .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/Direction.csv :widths: 1, 7, 12, 41 :header-rows: 1 :stub-columns: 0 Table 5 - Parameters description of object **Limitation** .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/Limitation.csv :widths: 1, 7, 12, 41 :header-rows: 1 :stub-columns: 0 Table 6 - Parameters description of object **DateTimeRange** .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/DateTimeRange.csv :widths: 1, 7, 12, 41 :header-rows: 1 :stub-columns: 0 Table 7 - Parameters description of object **XDocType** .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/XDocType.csv :widths: 1, 7, 12, 41 :header-rows: 1 :stub-columns: 0 .. _fieldName: Table 8 - **fieldName** parameters description (object ExtraQueryParameters_) .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/extra_fields.csv :widths: 1, 2, 7, 12, 41 :header-rows: 1 :stub-columns: 0 .. _param-desc: Table 9 - **DocType** parameters description (object XDocType_) .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/xdoctype_p.csv :widths: 1, 19, 41 :header-rows: 1 :stub-columns: 0 .. _subtype_description: Table 10 - Description of COMDOC subtypes .. csv-table:: :file: ../../../integration_2_0/APIv2/Methods/EveryBody/for_csv/sub_doc_type_id.csv :widths: 1, 7, 41 :header-rows: 1 :stub-columns: 0