POST api/mbr/update-mbrrole-columns/{roleId}/{mbrType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| roleId | integer |
Required |
|
| mbrType | string |
Required |
Body Parameters
Collection of RoleColumnMapping| Name | Description | Type | Additional information |
|---|---|---|---|
| ColumnId | integer |
None. |
|
| ColumnName | string |
None. |
|
| FieldName | string |
None. |
|
| Unit | string |
None. |
|
| RoleId | integer |
None. |
|
| IsMapped | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ColumnId": 1,
"ColumnName": "sample string 2",
"FieldName": "sample string 3",
"Unit": "sample string 4",
"RoleId": 5,
"IsMapped": true
},
{
"ColumnId": 1,
"ColumnName": "sample string 2",
"FieldName": "sample string 3",
"Unit": "sample string 4",
"RoleId": 5,
"IsMapped": true
}
]
application/xml, text/xml
Sample:
<ArrayOfRoleColumnMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Waterlink.Core.Dtos.Common.Response">
<RoleColumnMapping>
<ColumnId>1</ColumnId>
<ColumnName>sample string 2</ColumnName>
<FieldName>sample string 3</FieldName>
<IsMapped>true</IsMapped>
<RoleId>5</RoleId>
<Unit>sample string 4</Unit>
</RoleColumnMapping>
<RoleColumnMapping>
<ColumnId>1</ColumnId>
<ColumnName>sample string 2</ColumnName>
<FieldName>sample string 3</FieldName>
<IsMapped>true</IsMapped>
<RoleId>5</RoleId>
<Unit>sample string 4</Unit>
</RoleColumnMapping>
</ArrayOfRoleColumnMapping>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |