Request

Response

    Create Punch Clock Record
    POST

    punch-clock-records

    Creates a new Punch Clock Record entry.

    Resource Information

    Method and URI
    POST
    https://api.aps.autodesk.com/fusion-operations/v2/punch-clock-records
    Authentication Context
    No security required
    Required OAuth Scopes
    data:read data:write
    Data Format
    JSON

    Request

    Headers

    Authorization*
    string
    JWT Access Token
    Content-Type*
    string
    Must be application/json
    * Required

    Request

    Body Structure

    The Punch Clock object to be created, conforming to the specified schema.

    Expand all
    date*
    datetime: ISO 8601
    Date time of the Punch Clock Record (e.g. 2025-06-21T14:07:17Z)
    worker*
    id
    int
    number
    int
    anyOf*
    0*
    1*
    type*
    enum:string
    Type of Punch Clock Record Possible values: IN, OUT
    combineWithShift
    boolean
    Indicates if the Punch Clock Record should be combined with the worker shift
    * Required

    Response

    HTTP Status Code Summary

    201
    Created
    Punch Clock Record successfully created.
    400
    Bad Request
    Bad request due to invalid data.
    401
    Unauthorized
    The access token is invalid. It may have either expired or may not be a three-legged access token. Please verify the token and retry the request.
    403
    Forbidden
    The request was successfully validated but lacked required permission. Please verify your token permissions and retry the request.
    429
    Too Many Requests
    Rate limit exceeded; wait some time before retrying.
    500
    Internal Server Error
    An unknown server-side error occurred. Please try again later. If the problem persists, please contact support.

    Response

    Header (429)

    Retry-After
    integer
    The number of seconds to wait before retrying the request.

    Response

    Body Structure (201)

    Expand all
    id
    int
    Unique identifier of the Punch Clock Record.
    date
    datetime: ISO 8601
    Date time of the Punch Clock Record (e.g. 2025-06-21T14:07:17Z)
    worker
    id
    int
    number
    int
    name
    string
    Max length: 255
    anyOf
    0
    1
    type
    enum:string
    Type of Punch Clock Record Possible values: IN, OUT
    combineWithShift
    boolean
    Indicates if the Punch Clock Record should be combined with the worker shift
    delay
    string
    Delay between the start/end of the shift compared with the Punch Clock Record.

    Example

    Punch Clock Record successfully created.

    Example Punch Clock Record in request with worker number

    Request

    curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/punch-clock-records' \
      -X 'POST' \
      -H 'Authorization: ' \
      -H 'Content-Type: application/json' \
      -d '{
            "date": "2024-05-01T08:00:00Z",
            "type": "IN",
            "worker": {
              "number": 385
            },
            "combineWithShift": false
          }'
    
    Show More

    Example Punch Clock Record in request with worker id

    Request

    curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/punch-clock-records' \
      -X 'POST' \
      -H 'Authorization: ' \
      -H 'Content-Type: application/json' \
      -d '{
            "date": "2024-05-01T17:30:00Z",
            "type": "OUT",
            "worker": {
              "id": 68
            },
            "combineWithShift": false
          }'
    
    Show More

    Response

    {
      "id": 382,
      "date": "2024-05-01T08:00:00Z",
      "type": "IN",
      "worker": {
        "id": 68,
        "number": 385,
        "name": "Andrew Smith"
      },
      "combineWithShift": false,
      "delay": "PT0S"
    }
    
    Show More