POST Api/ActionPlanItemsAPI/Create
Request Information
URI Parameters
None.
Body Parameters
ActionPlanItemsDTOName | Description | Type | Additional 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:41:22.7858109+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:41:22.7858109+04:00", "UpdatedBy": 1, "UpdatedOn": "2025-05-25T18:41:22.7858109+04:00", "IsActive": true, "IsDeleted": true, "IsViewed": true, "ShowToDepartmentAdmin": true, "ShowToProjectHead": true, "RoleId": "44c561da-af62-42e4-bf78-227cb81cfc15" }, { "Id": 1, "ActionItemId": 2, "Comment": "sample string 3", "Name": "sample string 4", "SubName": "sample string 5", "CreatedBy": 6, "CreatedOn": "2025-05-25T18:41:22.7858109+04:00", "UpdatedBy": 1, "UpdatedOn": "2025-05-25T18:41:22.7858109+04:00", "IsActive": true, "IsDeleted": true, "IsViewed": true, "ShowToDepartmentAdmin": true, "ShowToProjectHead": true, "RoleId": "44c561da-af62-42e4-bf78-227cb81cfc15" } ], "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:41:22.7858109+04:00", "UpdatedBy": 1, "UpdatedOn": "2025-05-25T18:41:22.7858109+04:00", "IsActive": true, "IsDeleted": true, "ShowToProjectHead": true, "RoleId": "a0690ef9-c02b-4ab3-b925-d2c2e210f794", "APGeneralFeedbackId": 1 }
text/html, multipart/form-data
Sample:
{"Id":1,"DueDate":"2025-05-25T18:41:22.7858109+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:41:22.7858109+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:41:22.7858109+04:00","IsActive":true,"IsDeleted":true,"IsViewed":true,"ShowToDepartmentAdmin":true,"ShowToProjectHead":true,"RoleId":"44c561da-af62-42e4-bf78-227cb81cfc15"},{"Id":1,"ActionItemId":2,"Comment":"sample string 3","Name":"sample string 4","SubName":"sample string 5","CreatedBy":6,"CreatedOn":"2025-05-25T18:41:22.7858109+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:41:22.7858109+04:00","IsActive":true,"IsDeleted":true,"IsViewed":true,"ShowToDepartmentAdmin":true,"ShowToProjectHead":true,"RoleId":"44c561da-af62-42e4-bf78-227cb81cfc15"}],"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:41:22.7858109+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:41:22.7858109+04:00","IsActive":true,"IsDeleted":true,"ShowToProjectHead":true,"RoleId":"a0690ef9-c02b-4ab3-b925-d2c2e210f794","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:41:22.7858109+04:00</CreatedOn> <Id>1</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <IsViewed>true</IsViewed> <Name>sample string 4</Name> <RoleId>44c561da-af62-42e4-bf78-227cb81cfc15</RoleId> <ShowToDepartmentAdmin>true</ShowToDepartmentAdmin> <ShowToProjectHead>true</ShowToProjectHead> <SubName>sample string 5</SubName> <UpdatedBy>1</UpdatedBy> <UpdatedOn>2025-05-25T18:41:22.7858109+04:00</UpdatedOn> </ActionItemCommentsDTO> <ActionItemCommentsDTO> <ActionItemId>2</ActionItemId> <Comment>sample string 3</Comment> <CreatedBy>6</CreatedBy> <CreatedOn>2025-05-25T18:41:22.7858109+04:00</CreatedOn> <Id>1</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <IsViewed>true</IsViewed> <Name>sample string 4</Name> <RoleId>44c561da-af62-42e4-bf78-227cb81cfc15</RoleId> <ShowToDepartmentAdmin>true</ShowToDepartmentAdmin> <ShowToProjectHead>true</ShowToProjectHead> <SubName>sample string 5</SubName> <UpdatedBy>1</UpdatedBy> <UpdatedOn>2025-05-25T18:41:22.7858109+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:41:22.7858109+04:00</CreatedOn> <DueDate>2025-05-25T18:41:22.7858109+04:00</DueDate> <Id>1</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <RoleId>a0690ef9-c02b-4ab3-b925-d2c2e210f794</RoleId> <ShowToProjectHead>true</ShowToProjectHead> <StatusId>sample string 2</StatusId> <UpdatedBy>1</UpdatedBy> <UpdatedOn>2025-05-25T18:41:22.7858109+04:00</UpdatedOn> </ActionPlanItemsDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse 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>