Hi everyone,
I’m working on an integration that needs to programmatically create an event in Altru (when a program opens for registration) and then create an event registrant against that new event. Staff will not create the event first in the UI.
I’ve outlined this test and would appreciate confirmation that the approach is correct, plus any details that help me complete it:
- In Altru, open the screen staff use to add an event. From the developer resources on the Altru landing page, or from the form’s metadata, note the add-event form id. AppFx lists data forms. I need the Add form for the event record (not a view or edit form).
- Call AppFxWebService.asmx, method DataFormSave, with that form id. Send a name, start date, end date, and one registration price. Do not send itinerary content.
- Read the response. A successful call should return a new record id. I can then open Events in Altru and confirm that event exists.
- Call “Create an event registrant” (or the equivalent) with that returned event id and a test constituent. A pass should show the person on that event.
Questions:
- Has anyone successfully created events this way with DataFormSave? What is the correct add-event form ID (or form name) you use?
- Are there any required fields beyond name, start date, end date, and a registration price that typically cause the save to fail if omitted?
- Any tips on the exact payload structure (especially for the registration price) or common errors with this approach?
- Once you have the returned event record id, what’s the cleanest way you’ve used to create a registrant against it (SKY API “Create an event registrant”, another DataFormSave, or something else)?
Thanks in advance for any form IDs, payload examples, or confirmation that this flow works!