POST Api/ActionPlanItemsAPI/Update

Request Information

URI Parameters

None.

Body Parameters

ActionPlanItemsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

DueDate

date

Data type: DateTime

StatusId

string

None.

ColorState

string

None.

APDetailsId

integer

Matching regular expression pattern: ^[0-9]*$

ActionText

string

Matching regular expression pattern: ^[a-zA-Z ,-_']*$

String length: inclusive between 0 and 255

ActionItemComments

Collection of ActionItemCommentsDTO

None.

ActionItemMembers

Collection of ActionItemMembersDTO

None.

CreatedBy

integer

Matching regular expression pattern: ^[0-9]*$

CreatedOn

date

Required

Data type: DateTime

UpdatedBy

integer

Matching regular expression pattern: ^[0-9]*$

UpdatedOn

date

Data type: DateTime

IsActive

boolean

Range: inclusive between false and true

IsDeleted

boolean

Range: inclusive between false and true

ShowToProjectHead

boolean

None.

RoleId

globally unique identifier

None.

APGeneralFeedbackId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DueDate": "2025-05-25T18:46:55.8302214+04:00",
  "StatusId": "sample string 2",
  "ColorState": "sample string 3",
  "APDetailsId": 1,
  "ActionText": "sample string 4",
  "ActionItemComments": [
    {
      "Id": 1,
      "ActionItemId": 2,
      "Comment": "sample string 3",
      "Name": "sample string 4",
      "SubName": "sample string 5",
      "CreatedBy": 6,
      "CreatedOn": "2025-05-25T18:46:55.8302214+04:00",
      "UpdatedBy": 1,
      "UpdatedOn": "2025-05-25T18:46:55.8302214+04:00",
      "IsActive": true,
      "IsDeleted": true,
      "IsViewed": true,
      "ShowToDepartmentAdmin": true,
      "ShowToProjectHead": true,
      "RoleId": "8ac4cfa0-18b1-412a-84e8-eb1e9026ff01"
    },
    {
      "Id": 1,
      "ActionItemId": 2,
      "Comment": "sample string 3",
      "Name": "sample string 4",
      "SubName": "sample string 5",
      "CreatedBy": 6,
      "CreatedOn": "2025-05-25T18:46:55.8302214+04:00",
      "UpdatedBy": 1,
      "UpdatedOn": "2025-05-25T18:46:55.8302214+04:00",
      "IsActive": true,
      "IsDeleted": true,
      "IsViewed": true,
      "ShowToDepartmentAdmin": true,
      "ShowToProjectHead": true,
      "RoleId": "8ac4cfa0-18b1-412a-84e8-eb1e9026ff01"
    }
  ],
  "ActionItemMembers": [
    {
      "Id": 1,
      "ActionItemId": 2,
      "UserId": 3,
      "Name": "sample string 4",
      "SubName": "sample string 5"
    },
    {
      "Id": 1,
      "ActionItemId": 2,
      "UserId": 3,
      "Name": "sample string 4",
      "SubName": "sample string 5"
    }
  ],
  "CreatedBy": 5,
  "CreatedOn": "2025-05-25T18:46:55.8302214+04:00",
  "UpdatedBy": 1,
  "UpdatedOn": "2025-05-25T18:46:55.8302214+04:00",
  "IsActive": true,
  "IsDeleted": true,
  "ShowToProjectHead": true,
  "RoleId": "93225c99-8b91-4fa8-8eed-fcfbb2d67775",
  "APGeneralFeedbackId": 1
}

text/html, multipart/form-data

Sample:
{"Id":1,"DueDate":"2025-05-25T18:46:55.8302214+04:00","StatusId":"sample string 2","ColorState":"sample string 3","APDetailsId":1,"ActionText":"sample string 4","ActionItemComments":[{"Id":1,"ActionItemId":2,"Comment":"sample string 3","Name":"sample string 4","SubName":"sample string 5","CreatedBy":6,"CreatedOn":"2025-05-25T18:46:55.8302214+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:46:55.8302214+04:00","IsActive":true,"IsDeleted":true,"IsViewed":true,"ShowToDepartmentAdmin":true,"ShowToProjectHead":true,"RoleId":"8ac4cfa0-18b1-412a-84e8-eb1e9026ff01"},{"Id":1,"ActionItemId":2,"Comment":"sample string 3","Name":"sample string 4","SubName":"sample string 5","CreatedBy":6,"CreatedOn":"2025-05-25T18:46:55.8302214+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:46:55.8302214+04:00","IsActive":true,"IsDeleted":true,"IsViewed":true,"ShowToDepartmentAdmin":true,"ShowToProjectHead":true,"RoleId":"8ac4cfa0-18b1-412a-84e8-eb1e9026ff01"}],"ActionItemMembers":[{"Id":1,"ActionItemId":2,"UserId":3,"Name":"sample string 4","SubName":"sample string 5"},{"Id":1,"ActionItemId":2,"UserId":3,"Name":"sample string 4","SubName":"sample string 5"}],"CreatedBy":5,"CreatedOn":"2025-05-25T18:46:55.8302214+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:46:55.8302214+04:00","IsActive":true,"IsDeleted":true,"ShowToProjectHead":true,"RoleId":"93225c99-8b91-4fa8-8eed-fcfbb2d67775","APGeneralFeedbackId":1}

application/xml, text/xml

Sample:
<ActionPlanItemsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <APDetailsId>1</APDetailsId>
  <APGeneralFeedbackId>1</APGeneralFeedbackId>
  <ActionItemComments>
    <ActionItemCommentsDTO>
      <ActionItemId>2</ActionItemId>
      <Comment>sample string 3</Comment>
      <CreatedBy>6</CreatedBy>
      <CreatedOn>2025-05-25T18:46:55.8302214+04:00</CreatedOn>
      <Id>1</Id>
      <IsActive>true</IsActive>
      <IsDeleted>true</IsDeleted>
      <IsViewed>true</IsViewed>
      <Name>sample string 4</Name>
      <RoleId>8ac4cfa0-18b1-412a-84e8-eb1e9026ff01</RoleId>
      <ShowToDepartmentAdmin>true</ShowToDepartmentAdmin>
      <ShowToProjectHead>true</ShowToProjectHead>
      <SubName>sample string 5</SubName>
      <UpdatedBy>1</UpdatedBy>
      <UpdatedOn>2025-05-25T18:46:55.8302214+04:00</UpdatedOn>
    </ActionItemCommentsDTO>
    <ActionItemCommentsDTO>
      <ActionItemId>2</ActionItemId>
      <Comment>sample string 3</Comment>
      <CreatedBy>6</CreatedBy>
      <CreatedOn>2025-05-25T18:46:55.8302214+04:00</CreatedOn>
      <Id>1</Id>
      <IsActive>true</IsActive>
      <IsDeleted>true</IsDeleted>
      <IsViewed>true</IsViewed>
      <Name>sample string 4</Name>
      <RoleId>8ac4cfa0-18b1-412a-84e8-eb1e9026ff01</RoleId>
      <ShowToDepartmentAdmin>true</ShowToDepartmentAdmin>
      <ShowToProjectHead>true</ShowToProjectHead>
      <SubName>sample string 5</SubName>
      <UpdatedBy>1</UpdatedBy>
      <UpdatedOn>2025-05-25T18:46:55.8302214+04:00</UpdatedOn>
    </ActionItemCommentsDTO>
  </ActionItemComments>
  <ActionItemMembers>
    <ActionItemMembersDTO>
      <ActionItemId>2</ActionItemId>
      <Id>1</Id>
      <Name>sample string 4</Name>
      <SubName>sample string 5</SubName>
      <UserId>3</UserId>
    </ActionItemMembersDTO>
    <ActionItemMembersDTO>
      <ActionItemId>2</ActionItemId>
      <Id>1</Id>
      <Name>sample string 4</Name>
      <SubName>sample string 5</SubName>
      <UserId>3</UserId>
    </ActionItemMembersDTO>
  </ActionItemMembers>
  <ActionText>sample string 4</ActionText>
  <ColorState>sample string 3</ColorState>
  <CreatedBy>5</CreatedBy>
  <CreatedOn>2025-05-25T18:46:55.8302214+04:00</CreatedOn>
  <DueDate>2025-05-25T18:46:55.8302214+04:00</DueDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <RoleId>93225c99-8b91-4fa8-8eed-fcfbb2d67775</RoleId>
  <ShowToProjectHead>true</ShowToProjectHead>
  <StatusId>sample string 2</StatusId>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedOn>2025-05-25T18:46:55.8302214+04:00</UpdatedOn>
</ActionPlanItemsDTO>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html, multipart/form-data

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>