Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syndeia Cloud also comes with an example Java project (Eclipse and IntelliJ) that named CloudApiDemo that demonstrates how to use the REST API. This example project is available for download in the following ways.

  1. Available with the Syndeia Cloud download. Check with your admin.
  2. Available with the tutorials in all three Syndeia clients - MagicDraw plugin, Rhapsody plugin, and Syndeia Standalone.

Follow the instructions below to get started.

CloudApiDemo

This project is a Java example, that shows how to call various endpoints exposed by the Syndeia Cloud API.

...

// A method in the CloudService class

public Either&lt;ErrorResponseEither<ErrorResponse, SeqResponse&lt;Domain>>SeqResponse<Domain>> getAllDomainObjects() {
    return coreCloudService.getAll(cloudServiceUrlHelper.getXyzApiEndpointUrl(), typeOfSeqResponseOfDomain);
}

Who do I talk to?