OnTime REST API
OnTime REST API / REST Endpoints Resource Group / api/contact/post (Post)
In This Topic
    Postapi/contact/post
    In This Topic

    Resource Path: /sites/{company-id}/api/contact/post

    Uri: https://secure.ontime360.com/sites/{company-id}/api/contact/post

    Description
    Creates a new Contact record, or updates an existing Contact record.
    Request

    The request body is of type Contact.

    A comprehensive Contact object containing the new customer contact information.

    Overview

    Contact
    Represents a comprehensive Contact record within the OnTime API.
    ID : string
    The unique identifier of this Contact.
    CustomerID : string
    The unique identifier of the Customer associated with this Contact.
    Name : string
    The name assigned to this Contact.
    Email : string
    The email address assigned to this Contact.
    Phone : string
    The phone number assigned to this Contact.
    201 Response

    The response body is of type object.

    Returns the created or updated Contact object.
    Fault Responses
    FaultDescription
    Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information.
    Authorization key is invalid or no longer exists.
    Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information.
    See Also