POST api/LtAnimationSites/PostSeveralLtAnimationSites

Request Information

URI Parameters

None.

Body Parameters

SeveralSiteAnimation
NameDescriptionTypeAdditional information
AnimationId

integer

None.

SitesToPost

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AnimationId": 1,
  "SitesToPost": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<SeveralSiteAnimation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <AnimationId>1</AnimationId>
  <SitesToPost xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SitesToPost>
</SeveralSiteAnimation>

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

Response Information

Resource Description

LtAnimationSites
NameDescriptionTypeAdditional information
AnimationId

integer

None.

SiteId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AnimationId": 1,
  "SiteId": 2,
  "LastChanged": "2025-08-14T03:20:07.0157691+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtAnimationSites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <AnimationId>1</AnimationId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:20:07.0157691+00:00</LastChanged>
  <SiteId>2</SiteId>
</LtAnimationSites>