POST api/InternalUserController/SaveInternalUserDetails

Request Information

URI Parameters

None.

Body Parameters

InternalUserModel
NameDescriptionTypeAdditional information
Tr_Id

integer

None.

Tr_UserName

string

None.

Tr_UserDesignation

string

None.

RoleName

string

None.

RoleId

integer

None.

Tr_TS_LastEdited

date

None.

Tr_TS_Edited_Uid_FK

integer

None.

Tr_User_Active

string

None.

User_Projectlist

Collection of ProjectModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Tr_Id": 1,
  "Tr_UserName": "sample string 2",
  "Tr_UserDesignation": "sample string 3",
  "RoleName": "sample string 4",
  "RoleId": 5,
  "Tr_TS_LastEdited": "2025-12-07T14:59:54.1239302+05:30",
  "Tr_TS_Edited_Uid_FK": 7,
  "Tr_User_Active": "sample string 8",
  "User_Projectlist": [
    {
      "Tr_Pro_Id": 1,
      "Tr_Pro_Title": "sample string 1",
      "Tr_Pro_Description": "sample string 2",
      "Tr_Pro_Coordinater": 1,
      "Tr_Pro_Inactive": "sample string 3",
      "Tr_Pro_UserId_FK": 4,
      "Tr_Pro_TS": "2025-12-07T14:59:54.1249301+05:30",
      "Tr_Pro_TS_LastEdited": "2025-12-07T14:59:54.1249301+05:30",
      "Tr_Pro_TS_Edited_Uid_FK": 7,
      "CoordinatorName": "sample string 8",
      "CP_Id": 9,
      "CP_Inactive": "sample string 10",
      "IsSelected": 11,
      "Tr_Id": 12,
      "Tr_Inactive": "sample string 13"
    },
    {
      "Tr_Pro_Id": 1,
      "Tr_Pro_Title": "sample string 1",
      "Tr_Pro_Description": "sample string 2",
      "Tr_Pro_Coordinater": 1,
      "Tr_Pro_Inactive": "sample string 3",
      "Tr_Pro_UserId_FK": 4,
      "Tr_Pro_TS": "2025-12-07T14:59:54.1249301+05:30",
      "Tr_Pro_TS_LastEdited": "2025-12-07T14:59:54.1249301+05:30",
      "Tr_Pro_TS_Edited_Uid_FK": 7,
      "CoordinatorName": "sample string 8",
      "CP_Id": 9,
      "CP_Inactive": "sample string 10",
      "IsSelected": 11,
      "Tr_Id": 12,
      "Tr_Inactive": "sample string 13"
    }
  ]
}

application/xml, text/xml

Sample:
<InternalUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <RoleId>5</RoleId>
  <RoleName>sample string 4</RoleName>
  <Tr_Id>1</Tr_Id>
  <Tr_TS_Edited_Uid_FK>7</Tr_TS_Edited_Uid_FK>
  <Tr_TS_LastEdited>2025-12-07T14:59:54.1239302+05:30</Tr_TS_LastEdited>
  <Tr_UserDesignation>sample string 3</Tr_UserDesignation>
  <Tr_UserName>sample string 2</Tr_UserName>
  <Tr_User_Active>sample string 8</Tr_User_Active>
  <User_Projectlist>
    <ProjectModel>
      <CP_Id>9</CP_Id>
      <CP_Inactive>sample string 10</CP_Inactive>
      <CoordinatorName>sample string 8</CoordinatorName>
      <IsSelected>11</IsSelected>
      <Tr_Id>12</Tr_Id>
      <Tr_Inactive>sample string 13</Tr_Inactive>
      <Tr_Pro_Coordinater>1</Tr_Pro_Coordinater>
      <Tr_Pro_Description>sample string 2</Tr_Pro_Description>
      <Tr_Pro_Id>1</Tr_Pro_Id>
      <Tr_Pro_Inactive>sample string 3</Tr_Pro_Inactive>
      <Tr_Pro_TS>2025-12-07T14:59:54.1249301+05:30</Tr_Pro_TS>
      <Tr_Pro_TS_Edited_Uid_FK>7</Tr_Pro_TS_Edited_Uid_FK>
      <Tr_Pro_TS_LastEdited>2025-12-07T14:59:54.1249301+05:30</Tr_Pro_TS_LastEdited>
      <Tr_Pro_Title>sample string 1</Tr_Pro_Title>
      <Tr_Pro_UserId_FK>4</Tr_Pro_UserId_FK>
    </ProjectModel>
    <ProjectModel>
      <CP_Id>9</CP_Id>
      <CP_Inactive>sample string 10</CP_Inactive>
      <CoordinatorName>sample string 8</CoordinatorName>
      <IsSelected>11</IsSelected>
      <Tr_Id>12</Tr_Id>
      <Tr_Inactive>sample string 13</Tr_Inactive>
      <Tr_Pro_Coordinater>1</Tr_Pro_Coordinater>
      <Tr_Pro_Description>sample string 2</Tr_Pro_Description>
      <Tr_Pro_Id>1</Tr_Pro_Id>
      <Tr_Pro_Inactive>sample string 3</Tr_Pro_Inactive>
      <Tr_Pro_TS>2025-12-07T14:59:54.1249301+05:30</Tr_Pro_TS>
      <Tr_Pro_TS_Edited_Uid_FK>7</Tr_Pro_TS_Edited_Uid_FK>
      <Tr_Pro_TS_LastEdited>2025-12-07T14:59:54.1249301+05:30</Tr_Pro_TS_LastEdited>
      <Tr_Pro_Title>sample string 1</Tr_Pro_Title>
      <Tr_Pro_UserId_FK>4</Tr_Pro_UserId_FK>
    </ProjectModel>
  </User_Projectlist>
</InternalUserModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.