POST Api/ActionPlanDAdminAPI/AssignDadminsToActionPlanDetails?APMasterId={APMasterId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
APMasterId

integer

Required

Body Parameters

Collection of ActionPlanDAdminDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ActionPlanId

integer

Required

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

UserId

integer

Required

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

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

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ActionPlanId": 2,
    "UserId": 3,
    "CreatedBy": 4,
    "CreatedOn": "2025-05-25T18:44:11.1888363+04:00",
    "UpdatedBy": 1,
    "UpdatedOn": "2025-05-25T18:44:11.1888363+04:00",
    "IsActive": true,
    "IsDeleted": true
  },
  {
    "Id": 1,
    "ActionPlanId": 2,
    "UserId": 3,
    "CreatedBy": 4,
    "CreatedOn": "2025-05-25T18:44:11.1888363+04:00",
    "UpdatedBy": 1,
    "UpdatedOn": "2025-05-25T18:44:11.1888363+04:00",
    "IsActive": true,
    "IsDeleted": true
  }
]

text/html, multipart/form-data

Sample:
[{"Id":1,"ActionPlanId":2,"UserId":3,"CreatedBy":4,"CreatedOn":"2025-05-25T18:44:11.1888363+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:44:11.1888363+04:00","IsActive":true,"IsDeleted":true},{"Id":1,"ActionPlanId":2,"UserId":3,"CreatedBy":4,"CreatedOn":"2025-05-25T18:44:11.1888363+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:44:11.1888363+04:00","IsActive":true,"IsDeleted":true}]

application/xml, text/xml

Sample:
<ArrayOfActionPlanDAdminDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <ActionPlanDAdminDTO>
    <ActionPlanId>2</ActionPlanId>
    <CreatedBy>4</CreatedBy>
    <CreatedOn>2025-05-25T18:44:11.1888363+04:00</CreatedOn>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <UpdatedBy>1</UpdatedBy>
    <UpdatedOn>2025-05-25T18:44:11.1888363+04:00</UpdatedOn>
    <UserId>3</UserId>
  </ActionPlanDAdminDTO>
  <ActionPlanDAdminDTO>
    <ActionPlanId>2</ActionPlanId>
    <CreatedBy>4</CreatedBy>
    <CreatedOn>2025-05-25T18:44:11.1888363+04:00</CreatedOn>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <UpdatedBy>1</UpdatedBy>
    <UpdatedOn>2025-05-25T18:44:11.1888363+04:00</UpdatedOn>
    <UserId>3</UserId>
  </ActionPlanDAdminDTO>
</ArrayOfActionPlanDAdminDTO>

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 'IEnumerable`1'.

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>