...
Code Block |
---|
{ "id": "ekstep.learning.content.dialcode.reserve", "ver": "3.0", "ts": "YYYY-MM-DDThh:mm:ssZ+/-nn.nn", "params": { "did": "", // device UUID from which API is called "key": "", // API key (dynamic) "msgid": "" // unique request message id, UUID }, "request": { "contentdialcode": { "count": 10, "publisher": "NCERTPUBLISHER", } } } |
...
- If the content does not have any reserved dialcode, dialcode will be generated using autogenerated batch code, else existing dialcode's batchcode will be used.
- Content should belong to same channel.
- Content should be of Type Textbook, Collection, LessonPlan, Course
- If the content already have list of reserved dialcodes, the new dialcodes should be appended.
Release Dialcode API:
POST - content/v3/dialcode/release
...
Code Block |
---|
{ "id": "ekstep.learning.content.dialcode.release", "ver": "3.0", "ts": "YYYY-MM-DDThh:mm:ssZ+/-nn.nn", "params": { "did": "", // device UUID from which API is called "key": "", // API key (dynamic) "msgid": "" // unique request message id, UUID }, "request": { "contentdialcode": { "count": 5 } } } |
Validation Logic:
...