Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "Action": "Edit",
- "Type": "Replicon.TimeSheet.Domain.Timesheet",
- "Identity": "125",
- "Operations": [
- {
- "__operation": "SetUdfValues",
- "Test Sheet UDF": "w00t 1"
- },
- {
- "__operation": "CollectionClear",
- "Collection": "TimeRows"
- },
- {
- "__operation": "CollectionAdd",
- "Collection": "TimeRows",
- "Operations": [
- {
- "__operation": "SetProperties",
- "Activity": {
- "__type": "Replicon.Domain.Activity",
- "Identity": "5"
- }
- },
- {
- "__operation": "SetUdfValues",
- "Test Row UDF": "w00t 2"
- },
- {
- "__operation": "CollectionAdd",
- "Collection": "Cells",
- "Operations": [
- {
- "__operation": "SetProperties",
- "CalculationModeObject": {
- "__type": "Replicon.TimeSheet.Domain.CalculationModeObject",
- "Identity": "CalculateInOutTime"
- }
- },
- {
- "__operation": "SetProperties",
- "EntryDate": {
- "__type": "Date",
- "Year": 2010,
- "Month": 7,
- "Day": 20
- },
- "Duration": {
- "__type": "Timespan",
- "Hours": 8
- },
- "Comments": "Remote API cell 1"
- },
- {
- "__operation": "SetUdfValues",
- "Test Cell UDF": "w00t 3"
- }
- ]
- },
- {
- "__operation": "CollectionAdd",
- "Collection": "Cells",
- "Operations": [
- {
- "__operation": "SetProperties",
- "CalculationModeObject": {
- "__type": "Replicon.TimeSheet.Domain.CalculationModeObject",
- "Identity": "CalculateInOutTime"
- }
- },
- {
- "__operation": "SetProperties",
- "EntryDate": {
- "__type": "Date",
- "Year": 2010,
- "Month": 7,
- "Day": 21
- },
- "Duration": {
- "__type": "Timespan",
- "Hours": 6
- },
- "Comments": "Remote API cell 2"
- },
- {
- "__operation": "SetUdfValues",
- "Test Cell UDF": "w00t 3"
- }
- ]
- }
- ]
- }
- ]
- }
- ]
Add Comment
Please, Sign In to add comment