POST api/UpdateUserPageRight?UserID={UserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserID

string

Required

Body Parameters

Collection of UserType
NameDescriptionTypeAdditional information
UserTypeID

integer

None.

UserTypeName

string

None.

Access

boolean

None.

Color

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "UserTypeID": 1,
    "UserTypeName": "sample string 2",
    "Access": true,
    "Color": "sample string 4"
  },
  {
    "UserTypeID": 1,
    "UserTypeName": "sample string 2",
    "Access": true,
    "Color": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainService.Models">
  <UserType>
    <Access>true</Access>
    <Color>sample string 4</Color>
    <UserTypeID>1</UserTypeID>
    <UserTypeName>sample string 2</UserTypeName>
  </UserType>
  <UserType>
    <Access>true</Access>
    <Color>sample string 4</Color>
    <UserTypeID>1</UserTypeID>
    <UserTypeName>sample string 2</UserTypeName>
  </UserType>
</ArrayOfUserType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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