POST api/Animations

Request Information

URI Parameters

None.

Body Parameters

Animation
NameDescriptionTypeAdditional information
AnimationId

integer

None.

CompanyId

integer

None.

Title

string

None.

DateStart

date

None.

DateEnd

date

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Adress

string

None.

Link

string

None.

IsAllDay

boolean

None.

RecurenceRule

string

None.

Color

string

None.

IsDraft

boolean

None.

DisplayParticipation

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AnimationId": 1,
  "CompanyId": 2,
  "Title": "sample string 3",
  "DateStart": "2025-08-14T03:23:32.0927676+00:00",
  "DateEnd": "2025-08-14T03:23:32.0927676+00:00",
  "LastChanged": "2025-08-14T03:23:32.0927676+00:00",
  "LastChange_AuthorId": 1,
  "Adress": "sample string 7",
  "Link": "sample string 8",
  "IsAllDay": true,
  "RecurenceRule": "sample string 10",
  "Color": "sample string 11",
  "IsDraft": true,
  "DisplayParticipation": true
}

application/xml, text/xml

Sample:
<Animation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <Adress>sample string 7</Adress>
  <AnimationId>1</AnimationId>
  <Color>sample string 11</Color>
  <CompanyId>2</CompanyId>
  <DateEnd>2025-08-14T03:23:32.0927676+00:00</DateEnd>
  <DateStart>2025-08-14T03:23:32.0927676+00:00</DateStart>
  <DisplayParticipation>true</DisplayParticipation>
  <IsAllDay>true</IsAllDay>
  <IsDraft>true</IsDraft>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:23:32.0927676+00:00</LastChanged>
  <Link>sample string 8</Link>
  <RecurenceRule>sample string 10</RecurenceRule>
  <Title>sample string 3</Title>
</Animation>

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

Response Information

Resource Description

Animation
NameDescriptionTypeAdditional information
AnimationId

integer

None.

CompanyId

integer

None.

Title

string

None.

DateStart

date

None.

DateEnd

date

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Adress

string

None.

Link

string

None.

IsAllDay

boolean

None.

RecurenceRule

string

None.

Color

string

None.

IsDraft

boolean

None.

DisplayParticipation

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "AnimationId": 1,
  "CompanyId": 2,
  "Title": "sample string 3",
  "DateStart": "2025-08-14T03:23:32.0927676+00:00",
  "DateEnd": "2025-08-14T03:23:32.0927676+00:00",
  "LastChanged": "2025-08-14T03:23:32.0927676+00:00",
  "LastChange_AuthorId": 1,
  "Adress": "sample string 7",
  "Link": "sample string 8",
  "IsAllDay": true,
  "RecurenceRule": "sample string 10",
  "Color": "sample string 11",
  "IsDraft": true,
  "DisplayParticipation": true
}

application/xml, text/xml

Sample:
<Animation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <Adress>sample string 7</Adress>
  <AnimationId>1</AnimationId>
  <Color>sample string 11</Color>
  <CompanyId>2</CompanyId>
  <DateEnd>2025-08-14T03:23:32.0927676+00:00</DateEnd>
  <DateStart>2025-08-14T03:23:32.0927676+00:00</DateStart>
  <DisplayParticipation>true</DisplayParticipation>
  <IsAllDay>true</IsAllDay>
  <IsDraft>true</IsDraft>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:23:32.0927676+00:00</LastChanged>
  <Link>sample string 8</Link>
  <RecurenceRule>sample string 10</RecurenceRule>
  <Title>sample string 3</Title>
</Animation>