POST api/LtAnimationCategories/PostSeveralLtAnimationCategories

Request Information

URI Parameters

None.

Body Parameters

SeveralCategoriesAnimation
NameDescriptionTypeAdditional information
AnimationId

integer

None.

CategoriesToPost

Collection of integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

LtAnimationCategories
NameDescriptionTypeAdditional information
AnimationId

integer

None.

CategoryId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AnimationId": 1,
  "CategoryId": 2,
  "LastChanged": "2025-08-14T03:23:36.731721+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

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