Create site
synchroteam_create_siteDestructive
WRITE: create a new site (a location of a customer). Needs a name, an address and the customer (id or myId). If myId already exists nothing is created and an error is returned. POST /site/send.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Site name. | |
| my_id | No | Your own reference for this site. | |
| address | No | Full address on one line (e.g. '6605 Fisher Avenue, Falls Church, VA 22046, United States'). | |
| customer | Yes | The customer: exactly one of id or myId. | |
| contact_name | No | ||
| contact_email | No | ||
| contact_phone | No | ||
| contact_mobile | No | ||
| addressComplement | No | Complementary address line (unit, floor...). |