POST api/ActionsProposta

Request Information

URI Parameters

None.

Body Parameters

ActionsProposta
NameDescriptionTypeAdditional information
IDProposta

integer

None.

IDUser

integer

None.

Action

1 - Like 2 - Unlike

integer

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IDProposta": 1,
  "IDUser": 2,
  "Action": 3,
  "ID": 4
}

application/xml, text/xml

Sample:
<ActionsProposta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
  <ID>4</ID>
  <Action>3</Action>
  <IDProposta>1</IDProposta>
  <IDUser>2</IDUser>
</ActionsProposta>

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

Response Information

Resource Description

ActionsProposta
NameDescriptionTypeAdditional information
IDProposta

integer

None.

IDUser

integer

None.

Action

1 - Like 2 - Unlike

integer

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IDProposta": 1,
  "IDUser": 2,
  "Action": 3,
  "ID": 4
}

application/xml, text/xml

Sample:
<ActionsProposta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
  <ID>4</ID>
  <Action>3</Action>
  <IDProposta>1</IDProposta>
  <IDUser>2</IDUser>
</ActionsProposta>