POST fxo/User/WebUserPermissions

Request Information

URI Parameters

None.

Body Parameters

SecUserModulePermissionsCollection
NameDescriptionTypeAdditional information
user

IdValuePair

None.

detail

Collection of SecUserModulePermissions

None.

Request Formats

application/json, text/json

Sample:
{
  "user": {
    "value": "sample string 1",
    "id": 2
  },
  "detail": [
    {
      "module": {
        "value": "sample string 1",
        "id": 2
      },
      "can_view": true,
      "can_add": true,
      "can_edit": true,
      "show_menu": true
    },
    {
      "module": {
        "value": "sample string 1",
        "id": 2
      },
      "can_view": true,
      "can_add": true,
      "can_edit": true,
      "show_menu": true
    }
  ]
}

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

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.