POST event/add

Adds a new Region

Request Information

URI Parameters

None.

Body Parameters

EventAddRequest object containing the details of the event

EventAddRequest
NameDescriptionTypeAdditional information
RecordName

string

None.

RecordId

string

None.

Description

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordName": "sample string 1",
  "RecordId": "sample string 2",
  "Description": "sample string 3",
  "IsActive": true
}

application/xml, text/xml

Sample:
<EventAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.OrganizationObjects">
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive>
  <Description>sample string 3</Description>
  <RecordId>sample string 2</RecordId>
  <RecordName>sample string 1</RecordName>
</EventAddRequest>

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

Response Information

Resource Description

EventAddResponse

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.