POST Api/ActionItemMembersAPI/Create

Request Information

URI Parameters

None.

Body Parameters

ActionItemMembersDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ActionItemId

integer

Required

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

UserId

integer

Required

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

Name

string

None.

SubName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ActionItemId": 2,
  "UserId": 3,
  "Name": "sample string 4",
  "SubName": "sample string 5"
}

text/html, multipart/form-data

Sample:
{"Id":1,"ActionItemId":2,"UserId":3,"Name":"sample string 4","SubName":"sample string 5"}

application/xml, text/xml

Sample:
<ActionItemMembersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <ActionItemId>2</ActionItemId>
  <Id>1</Id>
  <Name>sample string 4</Name>
  <SubName>sample string 5</SubName>
  <UserId>3</UserId>
</ActionItemMembersDTO>

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

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>