POST api/Report/UserRole
Request Information
URI Parameters
None.
Body Parameters
ReportingUserRoleViewModelName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
IsActiveOrUserStatusId | string |
None. |
|
RoleId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "IsActiveOrUserStatusId": "sample string 2", "RoleId": "5fde5d56-eba8-4853-8d4b-e60eed76faaa" }
application/xml, text/xml
Sample:
<ReportingUserRoleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Report.ViewModels"> <IsActiveOrUserStatusId>sample string 2</IsActiveOrUserStatusId> <RoleId>5fde5d56-eba8-4853-8d4b-e60eed76faaa</RoleId> <UserName>sample string 1</UserName> </ReportingUserRoleViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="UserName" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsActiveOrUserStatusId" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RoleId" 5fde5d56-eba8-4853-8d4b-e60eed76faaa --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.