POST api/ItemStakeholder

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:
{
  "Stakeholder": {
    "$id": "2",
    "Address": "sample string 1",
    "Country": "sample string 2",
    "StakeholderId": 1,
    "ItemStakeholderId": 1,
    "Title": "sample string 3",
    "Name": "sample string 4",
    "Organisation": "sample string 5",
    "StakeHolderTypeLovId": 1,
    "HasEditAccess": true,
    "Comment": "sample string 7",
    "StakeholderType": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "CodeLovId": 1,
          "CodeType": "sample string 2",
          "Description": "sample string 3",
          "AlternativeDesc": "sample string 4",
          "ShortDesc": "sample string 5",
          "ActiveFlag": true,
          "SequenceNo": 1,
          "SystemCode": "sample string 7",
          "IsStreetAddressFlag": true
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "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"
    },
    "PageAccess": {
      "$id": "9",
      "PageCode": "sample string 1",
      "StepAccesses": {
        "$id": "10",
        "$values": [
          {
            "$id": "11",
            "StageCode": "sample string 1",
            "StepCode": "sample string 2"
          },
          {
            "$ref": "11"
          },
          {
            "$ref": "11"
          }
        ]
      },
      "Positions": {
        "$id": "12",
        "$values": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      }
    },
    "UserRole": 0
  },
  "Comments": "sample string 1",
  "ScreenType": "sample string 2",
  "Entity": {
    "$id": "13",
    "PK": 1
  },
  "Validation": {
    "$ref": "5"
  },
  "PageAccess": {
    "$ref": "9"
  },
  "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 'ItemStakeholderViewModel'.

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
}