POST api/ydsets/GetGlobParamValues

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api-version

The requested API version

string

Default value is 1.0

Body Parameters

aPars
NameDescriptionTypeAdditional information
IDCust

ID Company, required(mostly)

integer

None.

IDObject

IDAction which performing operation(Only if call is related to the action)

integer

None.

entityIdent

Type of IDObject

enTablesLink

None.

qRowsOffset

FROM which recordNO take rows

integer

None.

qRowsCount

Requested NO rows

integer

None.

mType

Requested message type(json_utf8 is default)

enRType

None.

Params

Values for action to store

Collection of EParams

None.

Cols

Requested server side sublist of columns

Collection of EParams

None.

qWhere

Requested server side filtering by columns and condition

Collection of EParams

None.

qOrder

Requested server side ordering by columns and condition

Collection of EParams

None.

Caller_IDObject

optional: identify from which editor/action is call made(if known)

integer

None.

Caller_ParName

optional: identify from which editor Parameter(s)(delimited by ";") in IDObject is call made(if known)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDCust": 1,
  "IDObject": 1,
  "entityIdent": 0,
  "qRowsOffset": 1,
  "qRowsCount": 1,
  "mType": 0,
  "Params": [
    {
      "ParName": "sample string 1",
      "ValName": "sample string 2",
      "Val": {},
      "Cond": "sample string 4",
      "DType": 0
    },
    {
      "ParName": "sample string 1",
      "ValName": "sample string 2",
      "Val": {},
      "Cond": "sample string 4",
      "DType": 0
    }
  ],
  "Cols": [
    {
      "ParName": "sample string 1",
      "ValName": "sample string 2",
      "Val": {},
      "Cond": "sample string 4",
      "DType": 0
    },
    {
      "ParName": "sample string 1",
      "ValName": "sample string 2",
      "Val": {},
      "Cond": "sample string 4",
      "DType": 0
    }
  ],
  "qWhere": [
    {
      "ParName": "sample string 1",
      "ValName": "sample string 2",
      "Val": {},
      "Cond": "sample string 4",
      "DType": 0
    },
    {
      "ParName": "sample string 1",
      "ValName": "sample string 2",
      "Val": {},
      "Cond": "sample string 4",
      "DType": 0
    }
  ],
  "qOrder": [
    {
      "ParName": "sample string 1",
      "ValName": "sample string 2",
      "Val": {},
      "Cond": "sample string 4",
      "DType": 0
    },
    {
      "ParName": "sample string 1",
      "ValName": "sample string 2",
      "Val": {},
      "Cond": "sample string 4",
      "DType": 0
    }
  ],
  "Caller_IDObject": 1,
  "Caller_ParName": "sample string 1"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of DParams
NameDescriptionTypeAdditional information
ParName

string

None.

ValName

string

None.

Val

Object

None.

Cond

string

None.

DstCol

string

None.

ParEdit

boolean

None.

EditType

enEditType

None.

ParCaption

string

None.

IDSrcObject

integer

None.

SpecParams

DSpecParams

None.

ExtConfig

Collection of DField

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DataType": 0,
    "ParName": "sample string 1",
    "ValName": "sample string 2",
    "Val": {},
    "Cond": "sample string 4",
    "DstCol": "sample string 5",
    "ParEdit": true,
    "EditType": 0,
    "ParCaption": "sample string 7",
    "IDSrcObject": 1,
    "SpecParams": {
      "IDAction": 1,
      "MapParCol": [
        {
          "SrcName": "sample string 1",
          "DstName": "sample string 2",
          "Hidden": true
        },
        {
          "SrcName": "sample string 1",
          "DstName": "sample string 2",
          "Hidden": true
        }
      ]
    },
    "ExtConfig": [
      {
        "SysName": "sample string 1",
        "Val": {}
      },
      {
        "SysName": "sample string 1",
        "Val": {}
      }
    ]
  },
  {
    "DataType": 0,
    "ParName": "sample string 1",
    "ValName": "sample string 2",
    "Val": {},
    "Cond": "sample string 4",
    "DstCol": "sample string 5",
    "ParEdit": true,
    "EditType": 0,
    "ParCaption": "sample string 7",
    "IDSrcObject": 1,
    "SpecParams": {
      "IDAction": 1,
      "MapParCol": [
        {
          "SrcName": "sample string 1",
          "DstName": "sample string 2",
          "Hidden": true
        },
        {
          "SrcName": "sample string 1",
          "DstName": "sample string 2",
          "Hidden": true
        }
      ]
    },
    "ExtConfig": [
      {
        "SysName": "sample string 1",
        "Val": {}
      },
      {
        "SysName": "sample string 1",
        "Val": {}
      }
    ]
  }
]