PUT api/v1/global_settings

Request Information

URI Parameters

None.

Body Parameters

GlobalSetting
NameDescriptionTypeAdditional information
id

globally unique identifier

Required

image_id

string

None.

color

string

None.

background_color

string

None.

manual

File

None.

client_name

string

None.

language

CodeListSystem

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "b0f01f40-f61d-4e74-8416-b25759ed6506",
  "image_id": "sample string 2",
  "color": "sample string 3",
  "background_color": "sample string 4",
  "manual": {
    "id": "2b9c51e9-7798-4b8c-a058-f144512ef70f",
    "name": "sample string 2"
  },
  "client_name": "sample string 5",
  "language": {
    "id": 1,
    "name": "sample string 2",
    "code": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<GlobalSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
  <background_color>sample string 4</background_color>
  <client_name>sample string 5</client_name>
  <color>sample string 3</color>
  <id>b0f01f40-f61d-4e74-8416-b25759ed6506</id>
  <image_id>sample string 2</image_id>
  <language>
    <code>sample string 3</code>
    <id>1</id>
    <name>sample string 2</name>
  </language>
  <manual>
    <id>2b9c51e9-7798-4b8c-a058-f144512ef70f</id>
    <name>sample string 2</name>
  </manual>
</GlobalSetting>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
messages

Collection of ResultMessage

None.

count_of_errors

integer

None.

id

Object

None.

name

string

None.

data

Object

None.

url

string

None.

text

string

None.

inner_exception

string

None.

Response Formats

application/json, text/json

Sample:
{
  "messages": [
    {
      "type": 1,
      "code": 1,
      "message": "sample string 1",
      "field": "sample string 2"
    },
    {
      "type": 1,
      "code": 1,
      "message": "sample string 1",
      "field": "sample string 2"
    }
  ],
  "count_of_errors": 1,
  "id": {},
  "name": "sample string 3",
  "data": {},
  "url": "sample string 5",
  "text": "sample string 6",
  "inner_exception": "sample string 7"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">
  <count_of_errors>1</count_of_errors>
  <data />
  <id />
  <inner_exception>sample string 7</inner_exception>
  <messages>
    <ResultMessage>
      <code>1</code>
      <field>sample string 2</field>
      <message>sample string 1</message>
      <type>1</type>
    </ResultMessage>
    <ResultMessage>
      <code>1</code>
      <field>sample string 2</field>
      <message>sample string 1</message>
      <type>1</type>
    </ResultMessage>
  </messages>
  <name>sample string 3</name>
  <text>sample string 6</text>
  <url>sample string 5</url>
</Result>