ZWeb.API.Flat.ContactsController (Portico/Z v0.1.0)
API endpoint for CRUD functions on ZSchemas.Flat.Contact
data through Z.Flat
Link to this section Summary
Functions
POST /api/flat/contacts
Link to this section Functions
Link to this function
create(conn, map)
POST /api/flat/contacts
Create/update flat contacts.
Expects a contacts
key, containing a JSON array where each
element is a structure corresponding to
ZSchemas.Flat.Contact
.
Will update in the case that a portico_contact_id
is sent,
matching an existing Contact. Otherwise, will create a new
contact.