POST api/MetaSearch/document-search-results

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-09T02:15:05.6303274+11:00",
  "CreatedDateTo": "2024-11-09T02:15:05.6303274+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": "da6fe80f-6370-436b-b372-fc0ae9809b48",
        "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:
{
  "TResults": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "ApplicationId": 1,
        "ItemId": 2,
        "DocumentName": "sample string 3",
        "CreatedUser": "sample string 4",
        "WorkflowType": "sample string 5",
        "WorkflowStage": "sample string 6",
        "WorkflowStep": "sample string 7",
        "CreatedDate": "2024-11-09T02:15:05.645952+11:00",
        "UniqueId": "sample string 8",
        "ApplicationTypeCode": "sample string 9"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "FullResults": {
    "$id": "4",
    "$values": [
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "Validation": {
    "$id": "5",
    "SuccessOutput": {
      "$id": "6"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "7",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "8",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "Results": {
    "$id": "9",
    "$values": [
      {
        "$id": "10"
      },
      {
        "$id": "11"
      },
      {
        "$id": "12"
      }
    ]
  },
  "Page": 1,
  "PageSize": 1,
  "PageCount": 1,
  "Sort": {
    "$id": "13",
    "Field": "sample string 1",
    "Dir": "sample string 2",
    "SecondaryField": "sample string 3",
    "SecondaryDir": "sample string 4",
    "ThirdField": "sample string 5",
    "ThirdDir": "sample string 6"
  },
  "Total": 2,
  "IsExternal": true,
  "UserRole": 0,
  "Area": "sample string 4",
  "MaxLayerSeachResultsExceededWarningMessage": "sample string 5",
  "maxHeritageLayerSearchValue": 1,
  "MaxResultsExceeded": true
}