Regional Contacts

Contacts belonging to a region can be created and read directly through the /regions endpoint once you know the id of the region.

Get Regional Contacts

GET /regions/{id}?include=contacts

{
        "customId": "SE-1",
        "name": "South Eastern",
        "company": "ABC Security",
        "firstName": "",
        "lastName": "",
        "primaryPhone": "",
        "email": "support@sectesttest.com",
        "address": 7,
        "parentRegion": 4,
        "status": "ACTIVE",
        "taxLocation": null,
        "id": 5,
        "logo": "https://somedomain.staffr.net/rest/v1/media/regions/5/logo_invoice",
        "contacts": [
            {
                "company": "",
                "firstName": "Superhuman",
                "lastName": "Supername",
                "jobTitle": "",
                "primaryPhone": "",
                "secondaryPhone": "",
                "fax": "",
                "email": "",
                "address": 1896,
                "account": 4,
                "status": "ACTIVE",
                "id": 1896
            }
        ]
    }

Create a Regional Contact

POST /regions/{id}/contacts

Payload:

{
       "firstName" : "Superhuman",
       "lastName" : "Supername"
       etc.
}
Was this article helpful?
0 out of 0 found this helpful

Articles in this section