PUT api/DataEntityUsers/{dataEntityId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dataEntityId | integer |
Required |
Body Parameters
Collection of DataEntityUser| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DataEntityId | integer |
None. |
|
| RoleId | integer |
None. |
|
| UserId | string |
None. |
|
| Role | Role |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"DataEntityId": 2,
"RoleId": 3,
"UserId": "sample string 4",
"Role": {
"Id": 1,
"RoleId": "sample string 2",
"Name": "sample string 3"
}
},
{
"Id": 1,
"DataEntityId": 2,
"RoleId": 3,
"UserId": "sample string 4",
"Role": {
"Id": 1,
"RoleId": "sample string 2",
"Name": "sample string 3"
}
}
]
application/xml, text/xml
Sample:
<ArrayOfDataEntityUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataEntities.Author.WebAPI.Models">
<DataEntityUser>
<DataEntityId>2</DataEntityId>
<Id>1</Id>
<Role>
<Id>1</Id>
<Name>sample string 3</Name>
<RoleId>sample string 2</RoleId>
</Role>
<RoleId>3</RoleId>
<UserId>sample string 4</UserId>
</DataEntityUser>
<DataEntityUser>
<DataEntityId>2</DataEntityId>
<Id>1</Id>
<Role>
<Id>1</Id>
<Name>sample string 3</Name>
<RoleId>sample string 2</RoleId>
</Role>
<RoleId>3</RoleId>
<UserId>sample string 4</UserId>
</DataEntityUser>
</ArrayOfDataEntityUser>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.