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

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

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

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

    The request body is of type Zone.

    A comprehensive Zone object containing the new zone information.

    Overview

    Zone
    Represents a comprehensive Zone record within the OnTime API.
    ID : string
    The unique identifier for this Zone record.
    Name : string
    The name of this Zone.
    PostalCodes : string
    The postal codes assigned to this Zone.
    201 Response

    The response body is of type object.

    Returns the created or updated Zone 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