POST api/Role

Request Information

URI Parameters

None.

Body Parameters

Role
NameDescriptionTypeAdditional information
ID

integer

None.

IdentityRole

integer

None.

TemplateID

integer

None.

Sort

integer

None.

CreateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "IdentityRole": 1,
  "TemplateID": 1,
  "Sort": 1,
  "CreateTime": "2026-09-16T17:35:57.7135711+08:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}