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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

globally unique identifier

Required

Body Parameters

SetUserOrderSettingsDTO
NameDescriptionTypeAdditional information
CanCreateWordDoc

UsageSetting

None.

CanExceedOrderLimit

UsageSetting

None.

CanCreateInternRemarks

UsageSetting

None.

CanChooseCredit

UsageSetting

None.

ShowCat1

LinkedSetting

None.

ShowCat2

LinkedSetting

None.

ShowCat3

LinkedSetting

None.

ShowCat4

LinkedSetting

None.

ReadServices

LinkedSetting

None.

ReadContracts

LinkedSetting

None.

Request Formats

application/json, text/json

Sample:
{
  "CanCreateWordDoc": {
    "SettingUsage": 0,
    "SettingSpecified": true
  },
  "CanExceedOrderLimit": {
    "SettingUsage": 0,
    "SettingSpecified": true
  },
  "CanCreateInternRemarks": {
    "SettingUsage": 0,
    "SettingSpecified": true
  },
  "CanChooseCredit": {
    "SettingUsage": 0,
    "SettingSpecified": true
  },
  "ShowCat1": {
    "AssignedIDs": [
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      },
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ShowCat2": {
    "AssignedIDs": [
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      },
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ShowCat3": {
    "AssignedIDs": [
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      },
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ShowCat4": {
    "AssignedIDs": [
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      },
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ReadServices": {
    "AssignedIDs": [
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      },
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      }
    ],
    "ViewAll": true,
    "SettingSpecified": true
  },
  "ReadContracts": {
    "AssignedIDs": [
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      },
      {
        "Id": "ebd30c19-7fab-4d55-a1c5-c0ea57abdd34"
      }
    ],
    "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.