Skip to main content

MGCBallastVersionService.getVersionValue

Reads one stored value of a version.

  • HTTP method: POST
  • Route: /api/services/MGCBallastServiceGroup/MGCBallastVersionService/getVersionValue
  • Service class: MGCBallastVersionService

Parameters​

NameTypeOptionalDescription
_requestMGCBallastValueRequestContractNoBundle, LegalEntityId (per-company bundles), VersionRecId, TableName, RowKey (list tables) and FieldName.

Returns​

MGCBallastValueResponseContract

The value as stored.

Security​

  • Requires privilege MGCBallastIntegrationServiceView

Data contracts​

The data contracts this operation takes and returns, with their members. A member whose type is another data contract links to that contract below.

MGCBallastValueRequestContract​

Request to read or set one stored value of a Ballast parameter version: a field of one row of one value table. Rows are addressed by the same key compareVersionToLive reports, so a difference it returns can be read back or corrected directly.

MemberTypeListDescription
RequestIdGuidNoGets or sets the caller's request identifier; echoed on the response.
CorrelationIdGuidNoGets or sets the identifier that ties this call to others in the same test or integration run.
BundleMGCBallastBundleNoGets or sets the bundle: System or Cust.
LegalEntityIdDataAreaIdNoGets or sets the company for a Cust version. Blank uses the caller's current company.
VersionRecIdRefRecIdNoGets or sets the version whose stored value is read or set.
TableNamestrNoGets or sets the table: the live table name as compareVersionToLive reports it (for example CustParameters), or the value table name.
RowKeystrNoGets or sets the row: its unique key values joined by |, exactly as compareVersionToLive reports RowKey. Empty for single-row tables.
FieldNamestrNoGets or sets the field to read or set.
ValuestrNoGets or sets the value to store (updateVersionValue). Text in the field's own terms: an enum by its name (Yes) or number, a date as yyyy-mm-dd, a date-time as yyyy-mm-ddThh:mm:ss, a real with a dot.

MGCBallastValueResponseContract​

Response for a stored-value read or write: the value as stored, and for a write the value it replaced. Values are text: enums by name, dates as yyyy-mm-dd.

MemberTypeListDescription
SuccessbooleanNoGets or sets whether the operation completed. False means Message and ErrorCode say why.
MessagestrNoGets or sets the outcome in words, including any validation messages the operation raised.
ErrorCodestrNoGets or sets a machine-readable failure class: ValidationFailed, NotFound or Failed. Empty on success.
RequestIdGuidNoGets or sets the caller's request identifier; echoed on the response.
CorrelationIdGuidNoGets or sets the identifier that ties this call to others in the same test or integration run.
BundleMGCBallastBundleNoGets or sets the bundle: System or Cust.
LegalEntityIdDataAreaIdNoGets or sets the company for a Cust version. Blank uses the caller's current company.
VersionRecIdRefRecIdNoGets or sets the version whose stored value is read or set.
TableNamestrNoGets or sets the table: the live table name as compareVersionToLive reports it (for example CustParameters), or the value table name.
RowKeystrNoGets or sets the row: its unique key values joined by |, exactly as compareVersionToLive reports RowKey. Empty for single-row tables.
FieldNamestrNoGets or sets the field to read or set.
ValuestrNoGets or sets the value as stored after the operation.
PreviousValuestrNoGets or sets the value an update replaced; empty for a read.