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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

SetOORequestUserSettingsDTO
NameDescriptionTypeAdditional information
ReadServices

EnumDropdownLinkedSettingOfServiceReadScopeAndInternOrgDTO

None.

UseCodifList_Creation

SetUsageLinkedSetting

None.

UseCodifList_Reading

EnumDropdownLinkedSettingOfAllOrSubsetDropdownAndInternOrgDTO

None.

UseMapLocation

UsageSetting

None.

UseFreeLocationField

UsageSetting

None.

LocationIsMandatory

UsageSetting

None.

Request Formats

application/json, text/json

Sample:
{
  "ReadServices": {
    "EnumValue": "None",
    "AssignedIDs": [
      {
        "Id": "6248c616-c82e-4831-92a0-ad7c6c68b9e4"
      },
      {
        "Id": "6248c616-c82e-4831-92a0-ad7c6c68b9e4"
      }
    ],
    "AssignedObjects": [
      {
        "ChildLocations": [],
        "Installations": [
          {
            "OrganisationId": "9c823cbb-3ff0-4557-97a8-7bbabd4074ae",
            "Id": "726ee21f-a644-4feb-bfc4-5f3f79fe25ca",
            "Description": "sample string 3",
            "CrmId": 4,
            "IsArchived": true
          },
          {
            "OrganisationId": "9c823cbb-3ff0-4557-97a8-7bbabd4074ae",
            "Id": "726ee21f-a644-4feb-bfc4-5f3f79fe25ca",
            "Description": "sample string 3",
            "CrmId": 4,
            "IsArchived": true
          }
        ],
        "WOVisibility": 1,
        "IsPatrimonium": true,
        "ParentLocationID": "3c462911-4ad4-40ff-8e76-a4e95fffd48c",
        "IsDepartment": true,
        "City": "sample string 3",
        "StreetName": "sample string 4",
        "HouseNumber": "sample string 5",
        "Zip": "sample string 6",
        "Country": "sample string 7",
        "latitude": 1.1,
        "longitude": 1.1,
        "X": 1.1,
        "Y": 1.1,
        "Id": "d72e5475-3549-47f3-92a0-31b396fd98f7",
        "Description": "sample string 9",
        "CrmId": 10,
        "IsArchived": true
      },
      {
        "ChildLocations": [],
        "Installations": [
          {
            "OrganisationId": "9c823cbb-3ff0-4557-97a8-7bbabd4074ae",
            "Id": "726ee21f-a644-4feb-bfc4-5f3f79fe25ca",
            "Description": "sample string 3",
            "CrmId": 4,
            "IsArchived": true
          },
          {
            "OrganisationId": "9c823cbb-3ff0-4557-97a8-7bbabd4074ae",
            "Id": "726ee21f-a644-4feb-bfc4-5f3f79fe25ca",
            "Description": "sample string 3",
            "CrmId": 4,
            "IsArchived": true
          }
        ],
        "WOVisibility": 1,
        "IsPatrimonium": true,
        "ParentLocationID": "3c462911-4ad4-40ff-8e76-a4e95fffd48c",
        "IsDepartment": true,
        "City": "sample string 3",
        "StreetName": "sample string 4",
        "HouseNumber": "sample string 5",
        "Zip": "sample string 6",
        "Country": "sample string 7",
        "latitude": 1.1,
        "longitude": 1.1,
        "X": 1.1,
        "Y": 1.1,
        "Id": "d72e5475-3549-47f3-92a0-31b396fd98f7",
        "Description": "sample string 9",
        "CrmId": 10,
        "IsArchived": true
      }
    ],
    "PropToSave": 1,
    "SettingSpecified": true
  },
  "UseCodifList_Creation": {
    "AssignedIDs": [
      {
        "Id": "6248c616-c82e-4831-92a0-ad7c6c68b9e4"
      },
      {
        "Id": "6248c616-c82e-4831-92a0-ad7c6c68b9e4"
      }
    ],
    "ViewAll": true,
    "SettingUsage": 0,
    "SettingSpecified": true
  },
  "UseCodifList_Reading": {
    "EnumValue": "Selection",
    "AssignedIDs": [
      {
        "Id": "6248c616-c82e-4831-92a0-ad7c6c68b9e4"
      },
      {
        "Id": "6248c616-c82e-4831-92a0-ad7c6c68b9e4"
      }
    ],
    "AssignedObjects": [
      {
        "ChildLocations": [],
        "Installations": [
          {
            "OrganisationId": "9c823cbb-3ff0-4557-97a8-7bbabd4074ae",
            "Id": "726ee21f-a644-4feb-bfc4-5f3f79fe25ca",
            "Description": "sample string 3",
            "CrmId": 4,
            "IsArchived": true
          },
          {
            "OrganisationId": "9c823cbb-3ff0-4557-97a8-7bbabd4074ae",
            "Id": "726ee21f-a644-4feb-bfc4-5f3f79fe25ca",
            "Description": "sample string 3",
            "CrmId": 4,
            "IsArchived": true
          }
        ],
        "WOVisibility": 1,
        "IsPatrimonium": true,
        "ParentLocationID": "3c462911-4ad4-40ff-8e76-a4e95fffd48c",
        "IsDepartment": true,
        "City": "sample string 3",
        "StreetName": "sample string 4",
        "HouseNumber": "sample string 5",
        "Zip": "sample string 6",
        "Country": "sample string 7",
        "latitude": 1.1,
        "longitude": 1.1,
        "X": 1.1,
        "Y": 1.1,
        "Id": "d72e5475-3549-47f3-92a0-31b396fd98f7",
        "Description": "sample string 9",
        "CrmId": 10,
        "IsArchived": true
      },
      {
        "ChildLocations": [],
        "Installations": [
          {
            "OrganisationId": "9c823cbb-3ff0-4557-97a8-7bbabd4074ae",
            "Id": "726ee21f-a644-4feb-bfc4-5f3f79fe25ca",
            "Description": "sample string 3",
            "CrmId": 4,
            "IsArchived": true
          },
          {
            "OrganisationId": "9c823cbb-3ff0-4557-97a8-7bbabd4074ae",
            "Id": "726ee21f-a644-4feb-bfc4-5f3f79fe25ca",
            "Description": "sample string 3",
            "CrmId": 4,
            "IsArchived": true
          }
        ],
        "WOVisibility": 1,
        "IsPatrimonium": true,
        "ParentLocationID": "3c462911-4ad4-40ff-8e76-a4e95fffd48c",
        "IsDepartment": true,
        "City": "sample string 3",
        "StreetName": "sample string 4",
        "HouseNumber": "sample string 5",
        "Zip": "sample string 6",
        "Country": "sample string 7",
        "latitude": 1.1,
        "longitude": 1.1,
        "X": 1.1,
        "Y": 1.1,
        "Id": "d72e5475-3549-47f3-92a0-31b396fd98f7",
        "Description": "sample string 9",
        "CrmId": 10,
        "IsArchived": true
      }
    ],
    "PropToSave": 1,
    "SettingSpecified": true
  },
  "UseMapLocation": {
    "SettingUsage": 0,
    "SettingSpecified": true
  },
  "UseFreeLocationField": {
    "SettingUsage": 0,
    "SettingSpecified": true
  },
  "LocationIsMandatory": {
    "SettingUsage": 0,
    "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.