POST api/usruser2role/delete

Request Information

URI Parameters

None.

Body Parameters

UsrUser2Role
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

UserId

integer

Required

RoleId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "0c976d58-d0d4-4767-9b02-97c43b6171fb",
  "UserId": 3,
  "RoleId": 4
}

application/xml, text/xml

Sample:
<UsrUser2Role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models">
  <Id>1</Id>
  <RoleId>4</RoleId>
  <RowGuid>0c976d58-d0d4-4767-9b02-97c43b6171fb</RowGuid>
  <UserId>3</UserId>
</UsrUser2Role>

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

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>