POST api/UpdateUserEmailRight?UserID={UserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserID

string

Required

Body Parameters

Collection of EmailType
NameDescriptionTypeAdditional information
EmailTypeID

integer

None.

EmailTypeName

string

None.

Access

boolean

None.

Color

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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>