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

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

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

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

    The request body is of type UserMiscCompensation.

    A comprehensive UserMiscCompensation object containing the new compensation information.

    Overview

    UserMiscCompensation
    Represents a comprehensive UserMiscCompensation record within the OnTime API.
    User : string
    The unique Guid identifier referencing the User record assigned to this UserMiscCompensation.
    ID : string
    The unique identifier for this UserMiscCompensation record.
    OrderID : string
    The unique Guid identifier referencing the Order record assigned to this UserMiscCompensation.
    Role : string
    The role of the User assigned to the Order for this UserMiscCompensation. Available Values: [None, Dispatcher, Driver]
    Description : string
    The description containing any notable details or conditions regarding this UserMiscCompensation.
    Value : number
    The value being given to the User relative to this UserMiscCompensation.
    Type : string
    The type of compensation being applied to this UserMiscCompensation. Available Values: [None, Money, Time]
    201 Response

    The response body is of type object.

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