POST api/Exemption/save

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:
{
  "AssessmentExemptions": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "ExemptionId": 1,
        "ExemptionType": "sample string 2",
        "Description": "sample string 3",
        "SubmissionRequirements": "sample string 4",
        "ItemId": 1,
        "StandardFlag": true,
        "ReportableFlag": true,
        "IsChecked": true,
        "ApplicationAssessmentExemptionsId": 1
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "SaveAddAnother": true,
  "ReportableFlagNullable": true,
  "ExemptionRequest": {
    "$id": "4",
    "Filters": {
      "$id": "5",
      "$values": [
        {
          "$id": "6",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "7"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "8",
            "$values": [
              {
                "$ref": "6"
              },
              {
                "$ref": "6"
              },
              {
                "$ref": "6"
              }
            ]
          }
        },
        {
          "$ref": "6"
        },
        {
          "$ref": "6"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "9",
      "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
  },
  "Entity": {
    "$id": "10",
    "PK": 1,
    "ActiveFlagNullable": true,
    "ReportableFlagNullable": true
  },
  "Validation": {
    "$id": "11",
    "SuccessOutput": {
      "$id": "12"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "13",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "14",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "15",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "16",
      "$values": [
        {
          "$id": "17",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "17"
        },
        {
          "$ref": "17"
        }
      ]
    },
    "Positions": {
      "$id": "18",
      "$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 'ExemptionViewModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "AssessmentExemptions": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "ExemptionId": 1,
        "ExemptionType": "sample string 2",
        "Description": "sample string 3",
        "SubmissionRequirements": "sample string 4",
        "ItemId": 1,
        "StandardFlag": true,
        "ReportableFlag": true,
        "IsChecked": true,
        "ApplicationAssessmentExemptionsId": 1
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "SaveAddAnother": true,
  "ReportableFlagNullable": true,
  "ExemptionRequest": {
    "$id": "4",
    "Filters": {
      "$id": "5",
      "$values": [
        {
          "$id": "6",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "7"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "8",
            "$values": [
              {
                "$ref": "6"
              },
              {
                "$ref": "6"
              },
              {
                "$ref": "6"
              }
            ]
          }
        },
        {
          "$ref": "6"
        },
        {
          "$ref": "6"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "9",
      "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
  },
  "Entity": {
    "$id": "10",
    "PK": 1,
    "ActiveFlagNullable": true,
    "ReportableFlagNullable": true
  },
  "Validation": {
    "$id": "11",
    "SuccessOutput": {
      "$id": "12"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "13",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "14",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "15",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "16",
      "$values": [
        {
          "$id": "17",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "17"
        },
        {
          "$ref": "17"
        }
      ]
    },
    "Positions": {
      "$id": "18",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  },
  "UserRole": 0
}