POST api/EventTypesData/AddEditEventType

Request Information

URI Parameters

None.

Body Parameters

EventTypeModel
NameDescriptionTypeAdditional information
EventTypeId

integer

None.

Id

integer

None.

EventTypeName

string

None.

EventTypeIcon

string

None.

EventTypeIsActive

boolean

None.

EventTypeOrderBy

integer

None.

CompanyBranch

integer

None.

CreatedBy

string

None.

CreatedOn

date

None.

LastModifiedBy

string

None.

LastModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "EventTypeId": 1,
  "Id": 2,
  "EventTypeName": "sample string 3",
  "EventTypeIcon": "sample string 4",
  "EventTypeIsActive": true,
  "EventTypeOrderBy": 1,
  "CompanyBranch": 6,
  "CreatedBy": "sample string 7",
  "CreatedOn": "2021-04-16T13:41:26.0740858+05:30",
  "LastModifiedBy": "sample string 8",
  "LastModifiedOn": "2021-04-16T13:41:26.0740858+05:30"
}

application/xml, text/xml

Sample:
<EventTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FaME_APPLICATION.Models.APPICATION">
  <CompanyBranch>6</CompanyBranch>
  <CreatedBy>sample string 7</CreatedBy>
  <CreatedOn>2021-04-16T13:41:26.0740858+05:30</CreatedOn>
  <EventTypeIcon>sample string 4</EventTypeIcon>
  <EventTypeId>1</EventTypeId>
  <EventTypeIsActive>true</EventTypeIsActive>
  <EventTypeName>sample string 3</EventTypeName>
  <EventTypeOrderBy>1</EventTypeOrderBy>
  <Id>2</Id>
  <LastModifiedBy>sample string 8</LastModifiedBy>
  <LastModifiedOn>2021-04-16T13:41:26.0740858+05:30</LastModifiedOn>
</EventTypeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.