PUT api/DelegateConfig/add-position-to-config-level/{userTeamPositionId}/{level}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
userTeamPositionId
No documentation available.

Define this parameter in the request URI.

level
No documentation available.

Define this parameter in the request URI.

viewModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MaxPositionTypes": 1,
  "DelegateCofigLevels": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Level": 1,
        "DelegateConfigId": 1,
        "DelegateConfigUserTeamPositionId": 2,
        "SelectedUserTeamPositionIds": {
          "$id": "4",
          "$values": [
            1,
            2,
            3
          ]
        },
        "ApplicationStatusDesc": "sample string 3",
        "SelectedUsers": {
          "$id": "5",
          "$values": [
            {
              "$id": "6",
              "IsChecked": true,
              "FullName": "sample string 2",
              "UserPosition": "sample string 3",
              "UserTeam": "sample string 4",
              "Level": 5,
              "Entity": {
                "$id": "7",
                "PK": 1
              },
              "Validation": {
                "$id": "8",
                "SuccessOutput": {
                  "$id": "9"
                },
                "Success": true,
                "ErrorMessages": null,
                "WarningMessages": {
                  "$id": "10",
                  "$values": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ]
                },
                "InfoMessages": {
                  "$id": "11",
                  "$values": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ]
                },
                "DatabaseErrorMessage": "sample string 3",
                "SuccessMessage": "sample string 4",
                "RelatedKeyId": "sample string 5"
              },
              "PageAccess": {
                "$id": "12",
                "PageCode": "sample string 1",
                "StepAccesses": {
                  "$id": "13",
                  "$values": [
                    {
                      "$id": "14",
                      "StageCode": "sample string 1",
                      "StepCode": "sample string 2"
                    },
                    {
                      "$ref": "14"
                    },
                    {
                      "$ref": "14"
                    }
                  ]
                },
                "Positions": {
                  "$id": "15",
                  "$values": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ]
                }
              },
              "UserRole": 0
            },
            {
              "$ref": "6"
            },
            {
              "$ref": "6"
            }
          ]
        },
        "DelegateUsers": {
          "$id": "16",
          "$values": [
            {
              "$id": "17",
              "UserTeamPositionId": 1,
              "UserId": 2,
              "Name": "sample string 3",
              "TeamPositionId": 4,
              "TeamId": 5,
              "Team": "sample string 6",
              "PositionId": 7,
              "Position": "sample string 8",
              "ManagerFlag": true,
              "Email": "sample string 10",
              "PositionManagerFlag": true,
              "TeamLeaderFlag": true,
              "IsDelegate": true,
              "PositionSystemCode": "sample string 14",
              "PracticeLeadFlag": true,
              "PK": true
            },
            {
              "$ref": "17"
            },
            {
              "$ref": "17"
            }
          ]
        }
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "ApplicationTypes": {
    "$id": "18",
    "$values": [
      {
        "$id": "19",
        "PK": 1,
        "ActiveFlagNullable": true
      },
      {
        "$ref": "19"
      },
      {
        "$ref": "19"
      }
    ]
  },
  "ShrItemOnlyTypes": {
    "$id": "20",
    "$values": [
      {
        "$ref": "19"
      },
      {
        "$ref": "19"
      },
      {
        "$ref": "19"
      }
    ]
  },
  "DelegateUsers": {
    "$id": "21",
    "$values": [
      {
        "$ref": "17"
      },
      {
        "$ref": "17"
      },
      {
        "$ref": "17"
      }
    ]
  },
  "SelectedUsers": {
    "$id": "22",
    "$values": [
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      }
    ]
  },
  "ReturnToIndex": true,
  "Entity": {
    "$id": "23",
    "PK": 1
  },
  "Validation": {
    "$ref": "8"
  },
  "PageAccess": {
    "$ref": "12"
  },
  "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 'DelegateConfigViewModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "MaxPositionTypes": 1,
  "DelegateCofigLevels": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Level": 1,
        "DelegateConfigId": 1,
        "DelegateConfigUserTeamPositionId": 2,
        "SelectedUserTeamPositionIds": {
          "$id": "4",
          "$values": [
            1,
            2,
            3
          ]
        },
        "ApplicationStatusDesc": "sample string 3",
        "SelectedUsers": {
          "$id": "5",
          "$values": [
            {
              "$id": "6",
              "IsChecked": true,
              "FullName": "sample string 2",
              "UserPosition": "sample string 3",
              "UserTeam": "sample string 4",
              "Level": 5,
              "Entity": {
                "$id": "7",
                "PK": 1
              },
              "Validation": {
                "$id": "8",
                "SuccessOutput": {
                  "$id": "9"
                },
                "Success": true,
                "ErrorMessages": null,
                "WarningMessages": {
                  "$id": "10",
                  "$values": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ]
                },
                "InfoMessages": {
                  "$id": "11",
                  "$values": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ]
                },
                "DatabaseErrorMessage": "sample string 3",
                "SuccessMessage": "sample string 4",
                "RelatedKeyId": "sample string 5"
              },
              "PageAccess": {
                "$id": "12",
                "PageCode": "sample string 1",
                "StepAccesses": {
                  "$id": "13",
                  "$values": [
                    {
                      "$id": "14",
                      "StageCode": "sample string 1",
                      "StepCode": "sample string 2"
                    },
                    {
                      "$ref": "14"
                    },
                    {
                      "$ref": "14"
                    }
                  ]
                },
                "Positions": {
                  "$id": "15",
                  "$values": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ]
                }
              },
              "UserRole": 0
            },
            {
              "$ref": "6"
            },
            {
              "$ref": "6"
            }
          ]
        },
        "DelegateUsers": {
          "$id": "16",
          "$values": [
            {
              "$id": "17",
              "UserTeamPositionId": 1,
              "UserId": 2,
              "Name": "sample string 3",
              "TeamPositionId": 4,
              "TeamId": 5,
              "Team": "sample string 6",
              "PositionId": 7,
              "Position": "sample string 8",
              "ManagerFlag": true,
              "Email": "sample string 10",
              "PositionManagerFlag": true,
              "TeamLeaderFlag": true,
              "IsDelegate": true,
              "PositionSystemCode": "sample string 14",
              "PracticeLeadFlag": true,
              "PK": true
            },
            {
              "$ref": "17"
            },
            {
              "$ref": "17"
            }
          ]
        }
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "ApplicationTypes": {
    "$id": "18",
    "$values": [
      {
        "$id": "19",
        "PK": 1,
        "ActiveFlagNullable": true
      },
      {
        "$ref": "19"
      },
      {
        "$ref": "19"
      }
    ]
  },
  "ShrItemOnlyTypes": {
    "$id": "20",
    "$values": [
      {
        "$ref": "19"
      },
      {
        "$ref": "19"
      },
      {
        "$ref": "19"
      }
    ]
  },
  "DelegateUsers": {
    "$id": "21",
    "$values": [
      {
        "$ref": "17"
      },
      {
        "$ref": "17"
      },
      {
        "$ref": "17"
      }
    ]
  },
  "SelectedUsers": {
    "$id": "22",
    "$values": [
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      }
    ]
  },
  "ReturnToIndex": true,
  "Entity": {
    "$id": "23",
    "PK": 1
  },
  "Validation": {
    "$ref": "8"
  },
  "PageAccess": {
    "$ref": "12"
  },
  "UserRole": 0
}