POST api/EventTypes/CRUD

Add/Update/Delete EventTypes

Request Information

URI Parameters

None.

Body Parameters

String Array of EventTypes Names And Information(Mandatory)

Collection of EventTypeInfo
NameDescriptionTypeAdditional information
EventTypeId

integer

None.

EventTypeName

string

None.

CalendarOrder

integer

None.

IsActive

boolean

None.

Deleted

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EventTypeId": 1,
    "EventTypeName": "sample string 2",
    "CalendarOrder": 1,
    "IsActive": true,
    "Deleted": 1
  },
  {
    "EventTypeId": 1,
    "EventTypeName": "sample string 2",
    "CalendarOrder": 1,
    "IsActive": true,
    "Deleted": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfEventTypeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1">
  <EventTypeInfo>
    <CalendarOrder>1</CalendarOrder>
    <Deleted>1</Deleted>
    <EventTypeId>1</EventTypeId>
    <EventTypeName>sample string 2</EventTypeName>
    <IsActive>true</IsActive>
  </EventTypeInfo>
  <EventTypeInfo>
    <CalendarOrder>1</CalendarOrder>
    <Deleted>1</Deleted>
    <EventTypeId>1</EventTypeId>
    <EventTypeName>sample string 2</EventTypeName>
    <IsActive>true</IsActive>
  </EventTypeInfo>
</ArrayOfEventTypeInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>