POST api/Role/SaveRole

Request Information

URI Parameters

None.

Body Parameters

Role
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

None.

Title

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

LastModifiedBy

integer

None.

LastModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

ColumnName

string

None.

SortDirection

string

None.

IsSuccess

boolean

None.

Message

string

None.

Value

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Description": "sample string 2",
  "Title": "sample string 3",
  "CreatedBy": 4,
  "CreatedDate": "2026-02-22T13:06:07.682977+02:00",
  "LastModifiedBy": 6,
  "LastModifiedDate": "2026-02-22T13:06:07.682977+02:00",
  "DeletedBy": 1,
  "DeletedDate": "2026-02-22T13:06:07.682977+02:00",
  "ColumnName": "sample string 8",
  "SortDirection": "sample string 9",
  "IsSuccess": true,
  "Message": "sample string 11",
  "Value": {}
}

application/xml, text/xml

Sample:
<Role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 11</Message>
  <Value />
  <ColumnName>sample string 8</ColumnName>
  <CreatedBy>4</CreatedBy>
  <CreatedDate>2026-02-22T13:06:07.682977+02:00</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2026-02-22T13:06:07.682977+02:00</DeletedDate>
  <Description>sample string 2</Description>
  <Id>1</Id>
  <LastModifiedBy>6</LastModifiedBy>
  <LastModifiedDate>2026-02-22T13:06:07.682977+02:00</LastModifiedDate>
  <SortDirection>sample string 9</SortDirection>
  <Title>sample string 3</Title>
</Role>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.