POST api/Parking/AddMenuByUserRole

Request Information

URI Parameters

None.

Body Parameters

tbl_user_privilege
NameDescriptionTypeAdditional information
privilege_id

integer

None.

role_id

integer

None.

module_id

integer

None.

view_status

integer

None.

read_write_status

integer

None.

created_date

date

None.

created_by

string

None.

updated_date

date

None.

updated_by

string

None.

active_status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "privilege_id": 1,
  "role_id": 2,
  "module_id": 3,
  "view_status": 4,
  "read_write_status": 5,
  "created_date": "2026-05-28T16:47:13.7181284+08:00",
  "created_by": "sample string 7",
  "updated_date": "2026-05-28T16:47:13.7181284+08:00",
  "updated_by": "sample string 8",
  "active_status": 1
}

application/xml, text/xml

Sample:
<tbl_user_privilege xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceDBAccess">
  <active_status>1</active_status>
  <created_by>sample string 7</created_by>
  <created_date>2026-05-28T16:47:13.7181284+08:00</created_date>
  <module_id>3</module_id>
  <privilege_id>1</privilege_id>
  <read_write_status>5</read_write_status>
  <role_id>2</role_id>
  <updated_by>sample string 8</updated_by>
  <updated_date>2026-05-28T16:47:13.7181284+08:00</updated_date>
  <view_status>4</view_status>
</tbl_user_privilege>

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.