POST api/ReactionTypes/PostReactionType

Request Information

URI Parameters

None.

Body Parameters

ReactionType
NameDescriptionTypeAdditional information
ReactionTypeId

integer

None.

Name

string

None.

Description

string

None.

ReactionDesignId

integer

None.

CompanyId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ReactionTypeId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "ReactionDesignId": 4,
  "CompanyId": 5,
  "LastChanged": "2025-08-14T03:13:06.1537729+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<ReactionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CompanyId>5</CompanyId>
  <Description>sample string 3</Description>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:13:06.1537729+00:00</LastChanged>
  <Name>sample string 2</Name>
  <ReactionDesignId>4</ReactionDesignId>
  <ReactionTypeId>1</ReactionTypeId>
</ReactionType>

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

Response Information

Resource Description

ReactionType
NameDescriptionTypeAdditional information
ReactionTypeId

integer

None.

Name

string

None.

Description

string

None.

ReactionDesignId

integer

None.

CompanyId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ReactionTypeId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "ReactionDesignId": 4,
  "CompanyId": 5,
  "LastChanged": "2025-08-14T03:13:06.1537729+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<ReactionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CompanyId>5</CompanyId>
  <Description>sample string 3</Description>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:13:06.1537729+00:00</LastChanged>
  <Name>sample string 2</Name>
  <ReactionDesignId>4</ReactionDesignId>
  <ReactionTypeId>1</ReactionTypeId>
</ReactionType>