...
- Dialcode will be generated using content Id as batchCode.
- Content should belong to same channel.
- Content should be of Type Textbook.
- Publisher should be validated.
- Total number of reserved dialcodes request should not be more than 250.
- The existing reservedDialcode value should be subtracted from the count value - for generating new dialcode and appending to the reservedDialcode list.
- If the content already have list of reserved dialcodes, the new dialcodes should be appended.
- If the requested dialcode count is less or equal to the already reserved dialcode list, it should throw client exception with list of already reserved dialcodes list.
Release Dialcode API:
PATCH - content/v3/dialcode/release/{content_id}
...