MGCBallastVersionService.getVersionValue
Reads one stored value of a version.
- HTTP method:
POST - Route:
/api/services/MGCBallastServiceGroup/MGCBallastVersionService/getVersionValue - Service class:
MGCBallastVersionService
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCBallastValueRequestContract | No | Bundle, 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.
| Member | Type | List | Description |
|---|---|---|---|
RequestId | Guid | No | Gets or sets the caller's request identifier; echoed on the response. |
CorrelationId | Guid | No | Gets or sets the identifier that ties this call to others in the same test or integration run. |
Bundle | MGCBallastBundle | No | Gets or sets the bundle: System or Cust. |
LegalEntityId | DataAreaId | No | Gets or sets the company for a Cust version. Blank uses the caller's current company. |
VersionRecId | RefRecId | No | Gets or sets the version whose stored value is read or set. |
TableName | str | No | Gets or sets the table: the live table name as compareVersionToLive reports it (for example CustParameters), or the value table name. |
RowKey | str | No | Gets or sets the row: its unique key values joined by |, exactly as compareVersionToLive reports RowKey. Empty for single-row tables. |
FieldName | str | No | Gets or sets the field to read or set. |
Value | str | No | Gets 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.
| Member | Type | List | Description |
|---|---|---|---|
Success | boolean | No | Gets or sets whether the operation completed. False means Message and ErrorCode say why. |
Message | str | No | Gets or sets the outcome in words, including any validation messages the operation raised. |
ErrorCode | str | No | Gets or sets a machine-readable failure class: ValidationFailed, NotFound or Failed. Empty on success. |
RequestId | Guid | No | Gets or sets the caller's request identifier; echoed on the response. |
CorrelationId | Guid | No | Gets or sets the identifier that ties this call to others in the same test or integration run. |
Bundle | MGCBallastBundle | No | Gets or sets the bundle: System or Cust. |
LegalEntityId | DataAreaId | No | Gets or sets the company for a Cust version. Blank uses the caller's current company. |
VersionRecId | RefRecId | No | Gets or sets the version whose stored value is read or set. |
TableName | str | No | Gets or sets the table: the live table name as compareVersionToLive reports it (for example CustParameters), or the value table name. |
RowKey | str | No | Gets or sets the row: its unique key values joined by |, exactly as compareVersionToLive reports RowKey. Empty for single-row tables. |
FieldName | str | No | Gets or sets the field to read or set. |
Value | str | No | Gets or sets the value as stored after the operation. |
PreviousValue | str | No | Gets or sets the value an update replaced; empty for a read. |