POST api/setting/preference

Request Information

URI Parameters

None.

Body Parameters

PreferenceSettingModel
NameDescriptionTypeAdditional information
id

integer

None.

page_name

string

None.

node_preference_type

NodePreferenceType

None.

created_date

date

None.

updated_date

date

None.

document_view_type

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "page_name": "sample string 2",
  "node_preference_type": 0,
  "created_date": "2026-05-01T21:09:01.5505468+00:00",
  "updated_date": "2026-05-01T21:09:01.5505468+00:00",
  "document_view_type": true
}

text/html

Sample:
{"id":1,"page_name":"sample string 2","node_preference_type":0,"created_date":"2026-05-01T21:09:01.5505468+00:00","updated_date":"2026-05-01T21:09:01.5505468+00:00","document_view_type":true}

application/xml, text/xml

Sample:
<PreferenceSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">
  <created_date>2026-05-01T21:09:01.5505468+00:00</created_date>
  <document_view_type>true</document_view_type>
  <id>1</id>
  <node_preference_type>Show_All</node_preference_type>
  <page_name>sample string 2</page_name>
  <updated_date>2026-05-01T21:09:01.5505468+00:00</updated_date>
</PreferenceSettingModel>

multipart/form-data

Sample:
<PreferenceSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"><created_date>2026-05-01T21:09:01.5505468+00:00</created_date><document_view_type>true</document_view_type><id>1</id><node_preference_type>Show_All</node_preference_type><page_name>sample string 2</page_name><updated_date>2026-05-01T21:09:01.5505468+00:00</updated_date></PreferenceSettingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml, multipart/form-data

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>