PUT api/ProjectTicket/UpdateProject/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ProjectModel
NameDescriptionTypeAdditional information
Tr_Pro_Id

integer

None.

Tr_Pro_Title

string

None.

Tr_Pro_Description

string

None.

Tr_Pro_Coordinater

integer

None.

Tr_Pro_Inactive

string

None.

Tr_Pro_UserId_FK

integer

None.

Tr_Pro_TS

date

None.

Tr_Pro_TS_LastEdited

date

None.

Tr_Pro_TS_Edited_Uid_FK

integer

None.

CoordinatorName

string

None.

CP_Id

integer

None.

CP_Inactive

string

None.

IsSelected

integer

None.

Tr_Id

integer

None.

Tr_Inactive

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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:52.2360904+05:30",
  "Tr_Pro_TS_LastEdited": "2025-12-07T14:59:52.2360904+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:
<ProjectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <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:52.2360904+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:52.2360904+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>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.