academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Buildings → Create building

AI-generated

Summary

Create an academyFIVE building by sending the required building type and attributes, plus any country, site, or approved-site relationships. The API response is returned as JSON for each input item.

Inputs

  • data.type (required) — Building type.
  • data.attributes (required) — Building details: name, active, and status are required. Optional fields are description, company, addressAddition, contactPerson, street, street2, postalCode, city, phone, fax, email, website, and usage.
  • data.relationships (required) — Relationship data. Countries and sites can each include a type and ID. approvedSites can include multiple site type and ID pairs; the description says this replaces the full set.

Output shape

JSON response item(s), paired with the corresponding input item.

If Continue On Fail is enabled, an item that errors returns a JSON object with an error field.

Links

Discussion