POST api/Project

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:
{
  "Teams": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Id": "sample string 1",
        "Text": "sample string 2",
        "OtherText": "sample string 3",
        "OtherData": {
          "$id": "4"
        }
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "SitecoreContents": {
    "$id": "5",
    "$values": [
      {
        "$id": "6",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "056d344f-e145-4eb9-92ec-dbabbf04464b",
        "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": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "Program": "sample string 1",
  "TotalCost": 2,
  "HeritageItemsRequest": {
    "$id": "7",
    "Filters": {
      "$id": "8",
      "$values": [
        {
          "$id": "9",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "10"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "11",
            "$values": [
              {
                "$ref": "9"
              },
              {
                "$ref": "9"
              },
              {
                "$ref": "9"
              }
            ]
          }
        },
        {
          "$ref": "9"
        },
        {
          "$ref": "9"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "12",
      "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
  },
  "StakeholdersRequest": {
    "$ref": "7"
  },
  "CommunicationHistoryRequest": {
    "$ref": "7"
  },
  "ApplicationRequest": {
    "$ref": "7"
  },
  "NotesRequest": {
    "$ref": "7"
  },
  "SavedApplicationIds": {
    "$id": "13",
    "$values": [
      1,
      2,
      3
    ]
  },
  "Entity": {
    "$id": "14",
    "PK": 1,
    "StartDateNullable": "2024-12-01T21:37:25.1657729+11:00"
  },
  "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 'ProjectViewModel'.

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
}