Guest User

Untitled

a guest
Apr 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. [
  2. {
  3. "Action": "Edit",
  4. "Type": "Replicon.TimeSheet.Domain.Timesheet",
  5. "Identity": "125",
  6. "Operations": [
  7. {
  8. "__operation": "SetUdfValues",
  9. "Test Sheet UDF": "w00t 1"
  10. },
  11. {
  12. "__operation": "CollectionClear",
  13. "Collection": "TimeRows"
  14. },
  15. {
  16. "__operation": "CollectionAdd",
  17. "Collection": "TimeRows",
  18. "Operations": [
  19. {
  20. "__operation": "SetProperties",
  21. "Activity": {
  22. "__type": "Replicon.Domain.Activity",
  23. "Identity": "5"
  24. }
  25. },
  26. {
  27. "__operation": "SetUdfValues",
  28. "Test Row UDF": "w00t 2"
  29. },
  30. {
  31. "__operation": "CollectionAdd",
  32. "Collection": "Cells",
  33. "Operations": [
  34. {
  35. "__operation": "SetProperties",
  36. "CalculationModeObject": {
  37. "__type": "Replicon.TimeSheet.Domain.CalculationModeObject",
  38. "Identity": "CalculateInOutTime"
  39. }
  40. },
  41. {
  42. "__operation": "SetProperties",
  43. "EntryDate": {
  44. "__type": "Date",
  45. "Year": 2010,
  46. "Month": 7,
  47. "Day": 20
  48. },
  49. "Duration": {
  50. "__type": "Timespan",
  51. "Hours": 8
  52. },
  53. "Comments": "Remote API cell 1"
  54. },
  55. {
  56. "__operation": "SetUdfValues",
  57. "Test Cell UDF": "w00t 3"
  58. }
  59. ]
  60. },
  61. {
  62. "__operation": "CollectionAdd",
  63. "Collection": "Cells",
  64. "Operations": [
  65. {
  66. "__operation": "SetProperties",
  67. "CalculationModeObject": {
  68. "__type": "Replicon.TimeSheet.Domain.CalculationModeObject",
  69. "Identity": "CalculateInOutTime"
  70. }
  71. },
  72. {
  73. "__operation": "SetProperties",
  74. "EntryDate": {
  75. "__type": "Date",
  76. "Year": 2010,
  77. "Month": 7,
  78. "Day": 21
  79. },
  80. "Duration": {
  81. "__type": "Timespan",
  82. "Hours": 6
  83. },
  84. "Comments": "Remote API cell 2"
  85. },
  86. {
  87. "__operation": "SetUdfValues",
  88. "Test Cell UDF": "w00t 3"
  89. }
  90. ]
  91. }
  92. ]
  93. }
  94. ]
  95. }
  96. ]
Add Comment
Please, Sign In to add comment