Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Admin Locations → Create

AI-generated

Summary

Create a new admin location in the Calagopus system using a POST request to the /api/admin/locations endpoint.

Inputs

  • Query Parameters JSON — Optional query parameters to send as a JSON object with the request.
  • Body Mode (required) — Specifies the format of the request body; options are 'JSON', 'Raw Text', or 'None'. Defaults to 'JSON'.
  • Body JSON — The request body sent as a JSON object when 'Body Mode' is set to 'JSON'. Defaults to an empty object.
  • Raw Body — The request body sent as raw plain text when 'Body Mode' is set to 'Raw Text'.
  • Additional Options — Optional settings to control HTTP behavior, including ignoring HTTP status errors, returning the full HTTP response, and setting a request timeout in milliseconds.

Output shape

a single JSON object representing the created admin location or the full HTTP response depending on 'Return Full Response' option.

If 'Return Full Response' is enabled, the output includes status code, headers, and body. Errors can be returned in the output if 'Ignore HTTP Status Errors' is enabled, otherwise they will cause the workflow to fail. Request timeout can be customized.

Links

Discussion