Advertisement
Guest User

Untitled

a guest
May 27th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. cy
  2. .request({
  3. method: 'POST',
  4. url: 'uchebnik-stable.opk.su/exam//rest/secure/spec',
  5. body: {
  6. basic_info: {
  7. author: null,
  8. description: 'название спецификации',
  9. name: 'название спецификации',
  10. folder_id: 747,
  11. studying_level_id: 1,
  12. subjects: [{
  13. subject_id: 57,
  14. education_level_id: 2
  15. }]
  16. },
  17. id: null,
  18. read_access_level: 'for_teachers',
  19. test_groups: [{
  20. id: null,
  21. name: 'Блок без названия',
  22. position: 0,
  23. weight: 100,
  24. questions_per_variant_count: 1,
  25. controllable_items: [{
  26. id: 30556,
  27. code: null,
  28. name: null,
  29. }],
  30. tasks: [{
  31. meta: {
  32. name: 'Ввод строки',
  33. studying_level_id: null,
  34. subjects: [],
  35. author: null,
  36. folder_id: null,
  37. },
  38. weight: 100
  39. }]
  40. }],
  41. test_parameters: {
  42. allow_variants_generation_to_everyone: true,
  43. tasks_distributions_preset: [],
  44. test_auto_creation: false,
  45. test_duration: 30,
  46. test_groups_count: 1,
  47. test_variants_count: 1,
  48. testing_options: {},
  49. testing_order: 'seriatim'
  50. }
  51. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement