Monday, January 22, 2018

OMS API update version 1.10 - Get contacts enhancements




An update has been made for the OMS APIversion 1.10.
It is documented in our OMS API documentation.

Retrieve landlord type contacts 
We now indicate 'landlord' contact types as part of the "category_system" response.
You can furthermore also filter specifically for landlord contact types only. 

https://omsflow.docs.apiary.io/#reference/contact/contacts-collection/view-contacts
Module 4 access is required to retrieve contacts.

New Property ID field
A new field 'property_id' is returned as part of the View Contacts response. This allows you to identify the listings this contact is linked to (if any), e.g.


 {
        "id": 142508,
        "first_name": "John",
        "last_name": "Doe",
        "title": "Mr",
        "mobile_number": "0829998888",
        "office_number": "",
        "email": "johnd@entegral.net",
        "category_system": "landlord",
        "category_user": "",
        "is_office_shared": false,
        "is_active": true,
        "birthday": "1980-01-01",
        "added": "2018-01-07",
        "property_id": "101555"
    }

The OMS API can be used to extract data from the OMS to external systems. It is included free of charge to all clients. Clients can generate their own API keys for web developers.