POST api/UserRights/MultiplePOST

Request Information

URI Parameters

None.

Body Parameters

Collection of UserRight
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

IsAdminRight

boolean

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "IsAdminRight": true,
    "LastChanged": "2025-08-14T03:23:35.9185011+00:00",
    "LastChange_AuthorId": 1
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "IsAdminRight": true,
    "LastChanged": "2025-08-14T03:23:35.9185011+00:00",
    "LastChange_AuthorId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserRight xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <UserRight>
    <Id>1</Id>
    <IsAdminRight>true</IsAdminRight>
    <LastChange_AuthorId>1</LastChange_AuthorId>
    <LastChanged>2025-08-14T03:23:35.9185011+00:00</LastChanged>
    <Name>sample string 2</Name>
  </UserRight>
  <UserRight>
    <Id>1</Id>
    <IsAdminRight>true</IsAdminRight>
    <LastChange_AuthorId>1</LastChange_AuthorId>
    <LastChanged>2025-08-14T03:23:35.9185011+00:00</LastChanged>
    <Name>sample string 2</Name>
  </UserRight>
</ArrayOfUserRight>

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 'List`1'.

Response Information

Resource Description

UserRight
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

IsAdminRight

boolean

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "IsAdminRight": true,
  "LastChanged": "2025-08-14T03:23:35.9185011+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<UserRight xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <Id>1</Id>
  <IsAdminRight>true</IsAdminRight>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:23:35.9185011+00:00</LastChanged>
  <Name>sample string 2</Name>
</UserRight>