POST api/SystemManagement/UpdatePermission

Request Information

URI Parameters

None.

Body Parameters

Permission
NameDescriptionTypeAdditional information
o_type

string

String length: inclusive between 0 and 15

o_name

string

String length: inclusive between 0 and 30

o_description

string

Required

String length: inclusive between 0 and 40

o_addinfo

string

String length: inclusive between 0 and 60

level1

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level2

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level3

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level4

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level5

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

disp_type

string

String length: inclusive between 0 and 15

level6

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level7

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level8

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level9

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level10

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level11

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level12

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level13

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level14

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level15

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level16

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level17

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level18

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level19

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Request Formats

application/json, text/json

Sample:
{
  "o_type": "sample string 1",
  "o_name": "sample string 2",
  "o_description": "sample string 3",
  "o_addinfo": "sample string 4",
  "level1": "sample string 5",
  "level2": "sample string 6",
  "level3": "sample string 7",
  "level4": "sample string 8",
  "level5": "sample string 9",
  "disp_type": "sample string 10",
  "level6": "sample string 11",
  "level7": "sample string 12",
  "level8": "sample string 13",
  "level9": "sample string 14",
  "level10": "sample string 15",
  "level11": "sample string 16",
  "level12": "sample string 17",
  "level13": "sample string 18",
  "level14": "sample string 19",
  "level15": "sample string 20",
  "level16": "sample string 21",
  "level17": "sample string 22",
  "level18": "sample string 23",
  "level19": "sample string 24"
}

application/xml, text/xml

Sample:
<Permission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <disp_type>sample string 10</disp_type>
  <level1>sample string 5</level1>
  <level10>sample string 15</level10>
  <level11>sample string 16</level11>
  <level12>sample string 17</level12>
  <level13>sample string 18</level13>
  <level14>sample string 19</level14>
  <level15>sample string 20</level15>
  <level16>sample string 21</level16>
  <level17>sample string 22</level17>
  <level18>sample string 23</level18>
  <level19>sample string 24</level19>
  <level2>sample string 6</level2>
  <level3>sample string 7</level3>
  <level4>sample string 8</level4>
  <level5>sample string 9</level5>
  <level6>sample string 11</level6>
  <level7>sample string 12</level7>
  <level8>sample string 13</level8>
  <level9>sample string 14</level9>
  <o_addinfo>sample string 4</o_addinfo>
  <o_description>sample string 3</o_description>
  <o_name>sample string 2</o_name>
  <o_type>sample string 1</o_type>
</Permission>

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 'Permission'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Permission
NameDescriptionTypeAdditional information
o_type

string

String length: inclusive between 0 and 15

o_name

string

String length: inclusive between 0 and 30

o_description

string

Required

String length: inclusive between 0 and 40

o_addinfo

string

String length: inclusive between 0 and 60

level1

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level2

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level3

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level4

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level5

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

disp_type

string

String length: inclusive between 0 and 15

level6

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level7

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level8

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level9

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level10

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level11

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level12

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level13

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level14

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level15

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level16

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level17

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level18

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

level19

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
{
  "o_type": "sample string 1",
  "o_name": "sample string 2",
  "o_description": "sample string 3",
  "o_addinfo": "sample string 4",
  "level1": "sample string 5",
  "level2": "sample string 6",
  "level3": "sample string 7",
  "level4": "sample string 8",
  "level5": "sample string 9",
  "disp_type": "sample string 10",
  "level6": "sample string 11",
  "level7": "sample string 12",
  "level8": "sample string 13",
  "level9": "sample string 14",
  "level10": "sample string 15",
  "level11": "sample string 16",
  "level12": "sample string 17",
  "level13": "sample string 18",
  "level14": "sample string 19",
  "level15": "sample string 20",
  "level16": "sample string 21",
  "level17": "sample string 22",
  "level18": "sample string 23",
  "level19": "sample string 24"
}

application/xml, text/xml

Sample:
<Permission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <disp_type>sample string 10</disp_type>
  <level1>sample string 5</level1>
  <level10>sample string 15</level10>
  <level11>sample string 16</level11>
  <level12>sample string 17</level12>
  <level13>sample string 18</level13>
  <level14>sample string 19</level14>
  <level15>sample string 20</level15>
  <level16>sample string 21</level16>
  <level17>sample string 22</level17>
  <level18>sample string 23</level18>
  <level19>sample string 24</level19>
  <level2>sample string 6</level2>
  <level3>sample string 7</level3>
  <level4>sample string 8</level4>
  <level5>sample string 9</level5>
  <level6>sample string 11</level6>
  <level7>sample string 12</level7>
  <level8>sample string 13</level8>
  <level9>sample string 14</level9>
  <o_addinfo>sample string 4</o_addinfo>
  <o_description>sample string 3</o_description>
  <o_name>sample string 2</o_name>
  <o_type>sample string 1</o_type>
</Permission>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.