POST api/companyevents/reply

Request Information

URI Parameters

None.

Body Parameters

CompanyEventReply
NameDescriptionTypeAdditional information
event_id

integer

None.

attendance_status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "event_id": 1,
  "attendance_status": true
}

application/xml, text/xml

Sample:
<CompanyEventReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <attendance_status>true</attendance_status>
  <event_id>1</event_id>
</CompanyEventReply>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.