Open topic with navigation

TIBCO GridServer® 7.1.0

# batch-definition

Retrieves XML contents of the Batch definition.

## Example Request

    GET http://example.com:8080/livecluster/rest/batch/batch-definition

## Example Input

Parameters

Parameter Name | Data Type | Description | Sample Value
    name
| String | Name of batch definition whose XML content needs to be retrieved |
    CalculatorServiceExample

## Example Response

    <?xml version="1.0" encoding="UTF-8"?>
    <Batch class="com.datasynapse.gridserver.batch.Batch">
    <property name="name" value="CalculatorServiceExample" />
    <property name="description" value="Batch Example that runs the Calculator Service" />
    <property name="type" value="serial" />
    <Schedule class="com.datasynapse.gridserver.batch.Schedule"><property name="type" value="Immediate" />
    </Schedule>
    <Command class="com.datasynapse.gridserver.batch.command.LogCommand"><property name="message" value="Starting Java Calculator Service Example" />
    </Command>
    <ServiceRunnerReference class="com.datasynapse.gridserver.batch.ServiceRunnerReference"><property name="name" value="JavaCalculatorRunnerExample" /></ServiceRunnerReference>
    <Command class="com.datasynapse.gridserver.batch.command.LogCommand"><property name="message" value="Done running Java Calculator Service Example" />
    </Command>
    </Batch>

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.