Open topic with navigation

# Creating or Modifying a Definition

You can create new definitions within the realm, or modify existing definitions, using the FTL server web API. The procedures for creating or modifying definitions are very similar, although their web requests use slightly different URIs.

This task occurs within the super-task Configuring the Realm Definition Using the Web API.
Before you beginYou have already created and locked a deployment workspace for editing.

Procedure
1. Compose the JSON object representing the new definition.
2. Compose and send the web request.
   To create a new definition, use the `POST` method:

       POST <object_type><defn_json>

   To update an existing definition, use the `PUT` method:

       PUT <object_type>/<defn_nam><defn_json>

3. Verify the response.
   1. Ensure that the request succeeds, by checking the HTTP response code.
   2. Check for validation warnings.

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 FTL® - Enterprise Edition

Copyright © 2009-2024. Cloud Software Group, Inc. All Rights Reserved.