POST api/Users/ContractSettings?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

UserContractSettingsDTO
NameDescriptionTypeAdditional information
CanSeeDocsFolder

UsageSetting

None.

ShowTypes

LinkedEnumSetting

None.

ShowProcedures

LinkedEnumSetting

None.

ShowCat1

LinkedSetting

None.

ShowCat2

LinkedSetting

None.

ShowCat3

LinkedSetting

None.

ShowCat4

LinkedSetting

None.

Request Formats

application/json, text/json

Sample:
{
  "CanSeeDocsFolder": {
    "SettingUsage": 0,
    "SettingSpecified": true
  },
  "ShowTypes": {
    "AssignedIDs": null,
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ShowProcedures": {
    "AssignedIDs": null,
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ShowCat1": {
    "AssignedIDs": [
      {
        "Id": "c7d71334-1d77-4b04-8fac-2dc8e720ed79"
      },
      {
        "Id": "c7d71334-1d77-4b04-8fac-2dc8e720ed79"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ShowCat2": {
    "AssignedIDs": [
      {
        "Id": "c7d71334-1d77-4b04-8fac-2dc8e720ed79"
      },
      {
        "Id": "c7d71334-1d77-4b04-8fac-2dc8e720ed79"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ShowCat3": {
    "AssignedIDs": [
      {
        "Id": "c7d71334-1d77-4b04-8fac-2dc8e720ed79"
      },
      {
        "Id": "c7d71334-1d77-4b04-8fac-2dc8e720ed79"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ShowCat4": {
    "AssignedIDs": [
      {
        "Id": "c7d71334-1d77-4b04-8fac-2dc8e720ed79"
      },
      {
        "Id": "c7d71334-1d77-4b04-8fac-2dc8e720ed79"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.