OvertimeRule Examples

Query for Overtime Rules

Query for overtime rules.

[
  {
    "Action": "Query",
    "QueryType": "OvertimeRuleAll",
    "DomainType": "Replicon.TimeOff.Domain.BusinessRules.OvertimeRule",
    "Args": []
  }
]

Query Overtime Rules by Ids

Query for overtime rules by Id.

[
  {
    "Action": "Query",
    "QueryType": "OvertimeRuleById",
    "DomainType": "Replicon.TimeOff.Domain.BusinessRules.OvertimeRule",
    "Args": [
      [
        2
      ]
    ]
  }
]

Query Overtime Rules by Name

Query for the overtime rule named "California Overtime".

[
  {
    "Action": "Query",
    "QueryType": "OvertimeRuleByName",
    "DomainType": "Replicon.TimeOff.Domain.BusinessRules.OvertimeRule",
    "Args": [
      "California Overtime"
    ]
  }
]