EntryTimesheetTimeOffEntry Examples

Add Time Off Entry UDF Values

Set UDFs on a Time Off Entry.

[
  {
    "Action": "Edit",
    "Type": "Replicon.Suite.Domain.EntryTimesheet",
    "Identity": "1",
    "Operations": [
      {
        "__operation": "CollectionAdd",
        "Collection": "TimeOffEntries",
        "Operations": [
          {
            "__operation": "SetUdfValues",
            "TimeoffUDF1": 10
          },
          {
            "__operation": "SetProperties",
            "EntryDate": {
              "__type": "Date",
              "Year": 2011,
              "Month": 5,
              "Day": 12
            },
            "TimeOffCode": {
              "Identity": "5"
            }
          }
        ]
      }
    ]
  }
]