POST api/Item/check-for-approval

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
viewModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "IsApprovalWorkflowRequired": true,
  "DoesSectionStagingRecordExist": true,
  "DoesTableStagingRecordExist": true,
  "UserRole": 0,
  "SectionCode": "sample string 4",
  "ChangedFields": {
    "$id": "2",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "ItemId": 5,
  "IsGazettal": true,
  "GazettalFields": {
    "$id": "3",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "IsAdministrative": true,
  "AdministrativeFields": {
    "$id": "4",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "IsHeritageCouncil": true,
  "HeritageCouncilFields": {
    "$id": "5",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "AllFieldsRequiringApproval": {
    "$id": "6",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "StagingItemListingId": 1,
  "StagingItemManagementId": 1,
  "StagingItemReferenceId": 1,
  "StagingItemDataSourceId": 1,
  "StagingItemThemeId": 1,
  "StagingItemAddressId": 1,
  "StagingItemTitleId": 1,
  "ListingTypeLovId": 1,
  "IsSpellingGrammarChangesAdmin": true,
  "IsSpellingGrammarChangesHeritage": true,
  "IsSHR": true,
  "IsS170": true,
  "IsLEP": true,
  "IsAuthorisedWorkflow": true,
  "HistoricalSignificanceDisplayName": "sample string 15",
  "HistoricalAssosiationSignificanceDisplayName": "sample string 16",
  "AestheticDisplayName": "sample string 17",
  "SocialCulturalDisplayName": "sample string 18",
  "ResearchPotentialDisplayName": "sample string 19",
  "RarityDisplayName": "sample string 20",
  "RepresentativeDisplayName": "sample string 21",
  "SitecoreContents": {
    "$id": "7",
    "$values": [
      {
        "$id": "8",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "430bd319-ce93-429c-9e76-1aa81ab49813",
        "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": "8"
      },
      {
        "$ref": "8"
      }
    ]
  }
}

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 'ItemApprovalWorkflowViewModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "IsApprovalWorkflowRequired": true,
  "DoesSectionStagingRecordExist": true,
  "DoesTableStagingRecordExist": true,
  "UserRole": 0,
  "SectionCode": "sample string 4",
  "ChangedFields": {
    "$id": "2",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "ItemId": 5,
  "IsGazettal": true,
  "GazettalFields": {
    "$id": "3",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "IsAdministrative": true,
  "AdministrativeFields": {
    "$id": "4",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "IsHeritageCouncil": true,
  "HeritageCouncilFields": {
    "$id": "5",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "AllFieldsRequiringApproval": {
    "$id": "6",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "StagingItemListingId": 1,
  "StagingItemManagementId": 1,
  "StagingItemReferenceId": 1,
  "StagingItemDataSourceId": 1,
  "StagingItemThemeId": 1,
  "StagingItemAddressId": 1,
  "StagingItemTitleId": 1,
  "ListingTypeLovId": 1,
  "IsSpellingGrammarChangesAdmin": true,
  "IsSpellingGrammarChangesHeritage": true,
  "IsSHR": true,
  "IsS170": true,
  "IsLEP": true,
  "IsAuthorisedWorkflow": true,
  "HistoricalSignificanceDisplayName": "sample string 15",
  "HistoricalAssosiationSignificanceDisplayName": "sample string 16",
  "AestheticDisplayName": "sample string 17",
  "SocialCulturalDisplayName": "sample string 18",
  "ResearchPotentialDisplayName": "sample string 19",
  "RarityDisplayName": "sample string 20",
  "RepresentativeDisplayName": "sample string 21",
  "SitecoreContents": {
    "$id": "7",
    "$values": [
      {
        "$id": "8",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "fc6fd557-98f7-4fe6-a62f-ba7fcfa31f0a",
        "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": "8"
      },
      {
        "$ref": "8"
      }
    ]
  }
}