POST api/RoleGroup/CRUD

Add/Update Role Group

Request Information

URI Parameters

None.

Body Parameters

String Array of Role Groups(Mandatory)

Collection of role_group_dc
NameDescriptionTypeAdditional information
RoleGroupId

integer

None.

RoleGroupName

string

None.

RoleGroupDesc

string

None.

IsActive

boolean

None.

CreatedBy

integer

None.

LastModifiedBy

integer

None.

LastUpdatedDateTime

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "RoleGroupId": 1,
    "RoleGroupName": "sample string 1",
    "RoleGroupDesc": "sample string 2",
    "IsActive": true,
    "CreatedBy": 1,
    "LastModifiedBy": 1,
    "LastUpdatedDateTime": "2025-07-18T16:07:53.4680347+00:00",
    "IsDeleted": true
  },
  {
    "RoleGroupId": 1,
    "RoleGroupName": "sample string 1",
    "RoleGroupDesc": "sample string 2",
    "IsActive": true,
    "CreatedBy": 1,
    "LastModifiedBy": 1,
    "LastUpdatedDateTime": "2025-07-18T16:07:53.4680347+00:00",
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfrole_group_dc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers">
  <role_group_dc>
    <CreatedBy>1</CreatedBy>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <LastModifiedBy>1</LastModifiedBy>
    <LastUpdatedDateTime>2025-07-18T16:07:53.4680347+00:00</LastUpdatedDateTime>
    <RoleGroupDesc>sample string 2</RoleGroupDesc>
    <RoleGroupId>1</RoleGroupId>
    <RoleGroupName>sample string 1</RoleGroupName>
  </role_group_dc>
  <role_group_dc>
    <CreatedBy>1</CreatedBy>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <LastModifiedBy>1</LastModifiedBy>
    <LastUpdatedDateTime>2025-07-18T16:07:53.4680347+00:00</LastUpdatedDateTime>
    <RoleGroupDesc>sample string 2</RoleGroupDesc>
    <RoleGroupId>1</RoleGroupId>
    <RoleGroupName>sample string 1</RoleGroupName>
  </role_group_dc>
</ArrayOfrole_group_dc>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>