PUT api/Condition

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:
{
  "ApplicationId": 1,
  "ConditionRequest": {
    "$id": "2",
    "Filters": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "5"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "6",
            "$values": [
              {
                "$ref": "4"
              },
              {
                "$ref": "4"
              },
              {
                "$ref": "4"
              }
            ]
          }
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "7",
      "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
  },
  "ConditionTypes": {
    "$id": "8",
    "$values": [
      {
        "$id": "9",
        "Id": 1,
        "CodeDesc": "sample string 2",
        "AlternativeDesc": "sample string 3",
        "SystemCode": "sample string 4",
        "SequenceNo": 1
      },
      {
        "$ref": "9"
      },
      {
        "$ref": "9"
      }
    ]
  },
  "ReportingTimeframes": {
    "$id": "10",
    "$values": [
      {
        "$ref": "9"
      },
      {
        "$ref": "9"
      },
      {
        "$ref": "9"
      }
    ]
  },
  "ConditionDisplayStepConfig": {
    "$id": "11",
    "IsCurrent": true,
    "IsOpen": true,
    "IsBeingSaved": true,
    "IsUnlocked": true,
    "IsCompleted": true,
    "CanUserAccess": true,
    "CanUserSave": true,
    "TeamPositions": {
      "$id": "12",
      "$values": [
        {
          "$id": "13",
          "TeamPositionId": 1,
          "TeamId": 1,
          "PositionId": 1
        },
        {
          "$ref": "13"
        },
        {
          "$ref": "13"
        }
      ]
    },
    "RowId": 8,
    "WorkflowId": 9,
    "StepConfigId": 10,
    "TeamId": 1,
    "PositionId": 1,
    "TeamPositionId": 1,
    "Stage": "sample string 11",
    "StageCode": "sample string 12",
    "StageSequence": 13,
    "Step": "sample string 14",
    "StepCode": "sample string 15",
    "StepSequence": 16,
    "WorkflowStepSequence": 17,
    "ApplicationType": "sample string 18",
    "PortalType": "sample string 19",
    "Team": "sample string 20",
    "Position": "sample string 21",
    "LinkedStepConfigId": 1,
    "CurrentWorkflowFlag": true,
    "SeniorTeamLeaderAllocatedFlag": true,
    "IsPrepareStep": true,
    "IsReviewStep": true,
    "LockStepToTeamFlag": true,
    "LinkedWorkflowStepSequence": 1,
    "PK": true
  },
  "Entity": {
    "$id": "14",
    "PK": 1
  },
  "Validation": {
    "$id": "15",
    "SuccessOutput": {
      "$id": "16"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "17",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "18",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "19",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "20",
      "$values": [
        {
          "$id": "21",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "21"
        },
        {
          "$ref": "21"
        }
      ]
    },
    "Positions": {
      "$id": "22",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  },
  "UserRole": 0
}

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Validation": {
    "$id": "2",
    "SuccessOutput": {
      "$id": "3"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "4",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "5",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "6",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "7",
      "$values": [
        {
          "$id": "8",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "8"
        },
        {
          "$ref": "8"
        }
      ]
    },
    "Positions": {
      "$id": "9",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  },
  "UserRole": 0
}