MGCBallastPublishResponseContract
Response for a publish: the publish run it created, the run's outcome, and how many lines and execution exceptions it recorded. The run itself, with its lines and exceptions, is readable through the BallastPublishRuns, BallastPublishRunLines and BallastExecutionExceptions data entities.
Methods
parmSuccess
Gets or sets whether the operation completed. False means Message and ErrorCode say why.
- Visibility:
public - Returns:
boolean
| Name | Type | Optional | Description |
|---|---|---|---|
_success | boolean | Yes |
parmMessage
Gets or sets the outcome in words, including any validation messages the operation raised.
- Visibility:
public - Returns:
str
| Name | Type | Optional | Description |
|---|---|---|---|
_message | str | Yes |
parmErrorCode
Gets or sets a machine-readable failure class: ValidationFailed, NotFound, LicenseNotValid, PublishNotComplete or Failed. Empty on success.
- Visibility:
public - Returns:
str
| Name | Type | Optional | Description |
|---|---|---|---|
_errorCode | str | Yes |
parmRequestId
Gets or sets the caller's request identifier; echoed on the response.
- Visibility:
public - Returns:
Guid
| Name | Type | Optional | Description |
|---|---|---|---|
_requestId | Guid | Yes |
parmCorrelationId
Gets or sets the identifier that ties this call to others in the same test or integration run.
- Visibility:
public - Returns:
Guid
| Name | Type | Optional | Description |
|---|---|---|---|
_correlationId | Guid | Yes |
parmPublishRunRecId
Gets or sets the publish run the call created; zero if none was created.
- Visibility:
public - Returns:
RefRecId
| Name | Type | Optional | Description |
|---|---|---|---|
_publishRunRecId | RefRecId | Yes |
parmOutcome
Gets or sets the publish run outcome.
- Visibility:
public - Returns:
MGCBallastPublishRunOutcome
| Name | Type | Optional | Description |
|---|---|---|---|
_outcome | MGCBallastPublishRunOutcome | Yes |
parmLineCount
Gets or sets the number of run lines recorded.
- Visibility:
public - Returns:
int
| Name | Type | Optional | Description |
|---|---|---|---|
_lineCount | int | Yes |
parmFailedLineCount
Gets or sets the number of run lines that failed.
- Visibility:
public - Returns:
int
| Name | Type | Optional | Description |
|---|---|---|---|
_failedLineCount | int | Yes |
parmExceptionCount
Gets or sets the number of execution exceptions recorded.
- Visibility:
public - Returns:
int
| Name | Type | Optional | Description |
|---|---|---|---|
_exceptionCount | int | Yes |
parmBatchJobId
Gets or sets the batch job a schedulePublish call created; zero for publishNow.
- Visibility:
public - Returns:
RefRecId
| Name | Type | Optional | Description |
|---|---|---|---|
_batchJobId | RefRecId | Yes |
parmScheduledDateTime
Gets or sets the batch job's scheduled start date/time (UTC), as the batch framework stored it.
- Visibility:
public - Returns:
utcdatetime
| Name | Type | Optional | Description |
|---|---|---|---|
_scheduledDateTime | utcdatetime | Yes |