PUT api/Peoples/{id}/SecuritySettings

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of PeopleSecurityResponseModel
NameDescriptionTypeAdditional information
PeopleID

integer

None.

TypeID

integer

None.

strType

string

None.

isOn

byte

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PeopleID": 1,
    "TypeID": 2,
    "strType": "sample string 3",
    "isOn": 64
  },
  {
    "PeopleID": 1,
    "TypeID": 2,
    "strType": "sample string 3",
    "isOn": 64
  }
]

application/xml, text/xml

Sample:
<ArrayOfPeopleSecurityResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.People">
  <PeopleSecurityResponseModel>
    <PeopleID>1</PeopleID>
    <TypeID>2</TypeID>
    <isOn>64</isOn>
    <strType>sample string 3</strType>
  </PeopleSecurityResponseModel>
  <PeopleSecurityResponseModel>
    <PeopleID>1</PeopleID>
    <TypeID>2</TypeID>
    <isOn>64</isOn>
    <strType>sample string 3</strType>
  </PeopleSecurityResponseModel>
</ArrayOfPeopleSecurityResponseModel>

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 'List`1'.

Response Information

Resource Description

None.