-
-
Save prashanthviva/99b4bdfa61261a0cf0244ddda7e32b5e to your computer and use it in GitHub Desktop.
consumable objective and consumable lessons part of it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"assignment": { | |
"id" : "assignment uuid", | |
"campaignId" : "campaign uuid", | |
"campaignVersion" : "camapaign version uuid", | |
"userId" : "user uuid", | |
"enterpriseId" : "enterprise uuid", | |
"assignedBy" : "assigner uuid", | |
"startDate" : "2016-06-06T00:00:00Z", | |
"endDate" : "2016-06-10T00:00:00", | |
"completedAt" : "", | |
"unassignedAt" : "", | |
"createdAt" : "2016-06-06T00:00:00Z", | |
"updatedAt" : "2016-06-06T00:00:00Z" | |
}, | |
"consumableObjective": { | |
"consumableId": "consumableId_obj", | |
"assignmentId": "assignment uuid", // refers to the assignment above | |
"objectiveId": "objective Id", | |
"assignmentOrderIndex": 1, | |
"startDate": "2016-06-06T00:00:00Z", // should never be empty | |
"targetDate": "2016-06-10T00:00:00Z", // should never be empty | |
"completedAt": "", | |
"createdAt": "2016-06-06T00:00:00Z", | |
"updatedAt": "2016-06-06T00:00:00Z" | |
}, | |
"consumableLessons": [ | |
{ | |
"consumableId" => "consumableId_lesson_1", | |
"assignmentId" => "assignment uuid", // referes to the assignment above | |
"lessonId" => "some lesson Id", | |
"objectiveConsumableId" => "consumableId_obj", // refers to the consumableObjective above | |
"assignmentOrderIndex" => 1, | |
"startDate" => "", // will always be empty (in this iteration) | |
"targetDate" => "", // will always be empty (in this iteration) | |
"completedAt" => "", | |
"createdAt" => "2016-06-06T00:00:00Z", | |
"updatedAt" => "2016-06-06T00:00:00Z" | |
}, | |
{ | |
"consumableId" => "consumableId_lesson_2", | |
"assignmentId" => "assignment uuid", // referes to the assignment above | |
"lessonId" => "some lesson Id", | |
"objectiveConsumableId" => "consumableId_obj", // refers to the consumableObjective above | |
"assignmentOrderIndex" => 1, | |
"startDate" => "", // will always be empty (in this iteration) | |
"targetDate" => "", // will always be empty (in this iteration) | |
"completedAt" => "", | |
"createdAt" => "2016-06-06T00:00:00Z", | |
"updatedAt" => "2016-06-06T00:00:00Z" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment