POST api/MetaSearch/document-search-download-csv

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
request
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SearchType": "sample string 1",
  "HeritageItemId": 1,
  "ApplicationId": 1,
  "DocumentName": "sample string 2",
  "ItemDescription": "sample string 3",
  "CreatedDateFrom": "2024-11-29T01:46:01.1227577+11:00",
  "CreatedDateTo": "2024-11-29T01:46:01.1227577+11:00",
  "WorkflowTypeLovId": 1,
  "WorkflowTypes": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Id": 1,
        "CodeDesc": "sample string 2",
        "AlternativeDesc": "sample string 3",
        "SystemCode": "sample string 4",
        "SequenceNo": 1
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "WorkflowStageLovId": 1,
  "WorkflowStepLovId": 1,
  "CopyrightHolder": "sample string 4",
  "Author": "sample string 5",
  "SearchDocumentContent": "sample string 6",
  "DownloadDetails": "sample string 7",
  "PrintDetails": "sample string 8",
  "Title": "sample string 9",
  "SitecoreContents": {
    "$id": "4",
    "$values": [
      {
        "$id": "5",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "a13448f5-3b21-4a8c-99e8-286a6e39a77f",
        "ItemTypeLovId": 4,
        "ItemType": "sample string 5",
        "ItemCode": "sample string 6",
        "Content": "sample string 7",
        "StageLovId": 1,
        "Stage": "sample string 8",
        "StepConfigId": 1,
        "Step": "sample string 9",
        "FieldName": "sample string 10",
        "ContentData": "QEBA",
        "PK": "sample string 7"
      },
      {
        "$ref": "5"
      },
      {
        "$ref": "5"
      }
    ]
  },
  "Request": {
    "$id": "6",
    "Filters": {
      "$id": "7",
      "$values": [
        {
          "$id": "8",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "9"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "10",
            "$values": [
              {
                "$ref": "8"
              },
              {
                "$ref": "8"
              },
              {
                "$ref": "8"
              }
            ]
          }
        },
        {
          "$ref": "8"
        },
        {
          "$ref": "8"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "11",
      "Field": "sample string 1",
      "Dir": "sample string 2",
      "SecondaryField": "sample string 3",
      "SecondaryDir": "sample string 4",
      "ThirdField": "sample string 5",
      "ThirdDir": "sample string 6"
    },
    "PreviousPageSize": 3
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DocumentImageMetadataIndexViewModel'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "ApplicationId": 1,
    "HeritageItemId": 1,
    "DocumentName": "sample string 1",
    "CreatedUser": "sample string 2",
    "WorkflowType": "sample string 3",
    "WorkflowStage": "sample string 4",
    "WorkflowStep": "sample string 5",
    "Created": "2024-11-29T01:46:01.1383885+11:00"
  },
  {
    "$ref": "2"
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDocumentDataDtoCSV xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DocumentDataDtoCSV>
    <ApplicationId>1</ApplicationId>
    <HeritageItemId>1</HeritageItemId>
    <DocumentName>sample string 1</DocumentName>
    <CreatedUser>sample string 2</CreatedUser>
    <WorkflowType>sample string 3</WorkflowType>
    <WorkflowStage>sample string 4</WorkflowStage>
    <WorkflowStep>sample string 5</WorkflowStep>
    <Created>2024-11-29T01:46:01.1383885+11:00</Created>
  </DocumentDataDtoCSV>
  <DocumentDataDtoCSV>
    <ApplicationId>1</ApplicationId>
    <HeritageItemId>1</HeritageItemId>
    <DocumentName>sample string 1</DocumentName>
    <CreatedUser>sample string 2</CreatedUser>
    <WorkflowType>sample string 3</WorkflowType>
    <WorkflowStage>sample string 4</WorkflowStage>
    <WorkflowStep>sample string 5</WorkflowStep>
    <Created>2024-11-29T01:46:01.1383885+11:00</Created>
  </DocumentDataDtoCSV>
  <DocumentDataDtoCSV>
    <ApplicationId>1</ApplicationId>
    <HeritageItemId>1</HeritageItemId>
    <DocumentName>sample string 1</DocumentName>
    <CreatedUser>sample string 2</CreatedUser>
    <WorkflowType>sample string 3</WorkflowType>
    <WorkflowStage>sample string 4</WorkflowStage>
    <WorkflowStep>sample string 5</WorkflowStep>
    <Created>2024-11-29T01:46:01.1383885+11:00</Created>
  </DocumentDataDtoCSV>
</ArrayOfDocumentDataDtoCSV>