live_help Notes

assignment This action requires one of theses roles: Advanced tutor

settings Params

Param name Description
scale optional , nil allowed . Must be a Hash
scale[name] required . Must be String

The name. Must be unique in the scope of a given evaluation.

scale[lg] optional , nil allowed . Must be String

The language id.

scale[is_primary] optional , nil allowed . Must be one of: true, false.

Is it is primary ? Default to false.

scale[is_external] optional , nil allowed . Must be one of: true, false.

Is it is external ? Default to false.

scale[manual_subscription] optional , nil allowed . Must be one of: true, false.

Is it manual subscription ? Default to false.

scale[comment] optional , nil allowed . Must be String

The comment.

scale[introduction_md] optional , nil allowed . Must be String

The introduction md.

scale[disclaimer_md] optional , nil allowed . Must be String

The disclaimer md.

scale[guidelines_md] required . Must be String

The guidelines md.

scale[correction_number] required . Must be Fixnum

The correction number.

scale[duration] required . Must be Fixnum

The duration.

scale[evaluation_id] optional , nil allowed . Must be Fixnum

The evaluation id.

scale[flag_ids] optional , nil allowed . Must be an array of Integer

The flag ids.

scale[attachments_attributes] optional , nil allowed . Must be an Array of nested elements

The attachments attributes.

scale[attachments_attributes][id] optional , nil allowed . Must be Fixnum

The id.

scale[attachments_attributes][kind] optional , nil allowed . Must be one of: code, pdf, link, document, video.

The kind.

scale[attachments_attributes][language_id] required . Must be Fixnum

The language id.

scale[attachments_attributes][_destroy] optional , nil allowed . Must be String

The destroy.

scale[attachments_attributes][untranslatable] optional , nil allowed . Must be one of: true, false.

Is it untranslatable ? Default to false.

scale[attachments_attributes][attachable_attributes] optional , nil allowed . Must be an Array of nested elements

The attachable attributes.

scale[sections_attributes] optional , nil allowed . Must be an Array of nested elements

The sections attributes.

scale[sections_attributes][id] optional , nil allowed . Must be Fixnum

The id.

scale[sections_attributes][description] optional , nil allowed . Must be String

The description.

scale[sections_attributes][questions_attributes] optional , nil allowed . Must be an Array of nested elements

The questions attributes.

scale[sections_attributes][questions_attributes][id] optional , nil allowed . Must be Fixnum

The id.

scale[sections_attributes][questions_attributes][name] required . Must be String

The name. Must be unique in the scope of a given section.

scale[sections_attributes][questions_attributes][kind] required . Must be one of: standard, bonus.

The kind.

scale[sections_attributes][questions_attributes][rating] required . Must be one of: bool, multi, text.

The rating.

scale[sections_attributes][questions_attributes][guidelines] required . Must be String

The guidelines.

scale[sections_attributes][questions_attributes][_destroy] optional , nil allowed . Must be String

The destroy.

scale[sections_attributes][questions_attributes][questions_skills_attributes] optional , nil allowed . Must be an Array of nested elements

The questions skills attributes.

scale[sections_attributes][questions_attributes][questions_skills_attributes][id] optional , nil allowed . Must be Fixnum

The id.

scale[sections_attributes][questions_attributes][questions_skills_attributes][skill_id] required . Must be Fixnum

The skill id.

scale[sections_attributes][questions_attributes][questions_skills_attributes][percentage] required . Must be Fixnum

The percentage.

scale[sections_attributes][questions_attributes][questions_skills_attributes][_destroy] optional , nil allowed . Must be String

The destroy.

scale[sections_attributes][name] required . Must be String

The name. Must be unique in the scope of a given scalable.

scale[sections_attributes][_destroy] optional , nil allowed . Must be String

The destroy.

comments powered by <span class='logo-disqus'>Disqus</span>
POST /v2/scales
{
  "scale": {
    "comment": "Dolores facere letterpress. Facilis pork belly church-key rem enim ut twee.",
    "correction_number": "3",
    "disclaimer_md": "Narwhal harum et voluptatum dolor similique minus biodiesel. Mlkshk architecto sapiente harum ipsum. Ut selvage paleo. Quia franzen listicle occupy.",
    "duration": "2",
    "evaluation_id": "4",
    "guidelines_md": "Ut kickstarter aut wolf harum vel cornhole stumptown. Next level semiotics ab squid sit ethical lumbersexual. Venmo aspernatur retro letterpress quae ea pickled provident. Small batch ugh quia flexitarian.",
    "introduction_md": "Amet sed sint perferendis sriracha. Thundercats consequuntur salvia. Jean shorts church-key ut enim est selvage aut. Alias cray paleo quia ea nulla five dollar toast in. Vitae eos vegan aut inventore at dolorem quo.",
    "is_external": "false",
    "is_primary": "true",
    "lg": "3",
    "manual_subscription": "false",
    "name": "Tennessee ducks",
    "sections_attributes": [
      {
        "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
        "name": "Maine sheep",
        "questions_attributes": [
          {
            "guidelines": "Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr&b small batch tilde kale chips wolf. Kombucha tousled quinoa.",
            "kind": "standard",
            "name": "South Dakota banshees",
            "questions_skills_attributes": [
              {
                "percentage": "25",
                "skill_id": "6"
              },
              {
                "percentage": "25",
                "skill_id": "1"
              }
            ],
            "rating": "bool"
          }
        ]
      },
      {
        "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
        "name": "Maine sheep",
        "questions_attributes": [
          {
            "guidelines": "Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr&b small batch tilde kale chips wolf. Kombucha tousled quinoa.",
            "kind": "standard",
            "name": "South Dakota banshees",
            "questions_skills_attributes": [
              {
                "percentage": "25",
                "skill_id": "6"
              },
              {
                "percentage": "25",
                "skill_id": "1"
              }
            ],
            "rating": "bool"
          }
        ]
      },
      {
        "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
        "name": "Maine sheep",
        "questions_attributes": [
          {
            "guidelines": "Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr&b small batch tilde kale chips wolf. Kombucha tousled quinoa.",
            "kind": "standard",
            "name": "South Dakota banshees",
            "questions_skills_attributes": [
              {
                "percentage": "25",
                "skill_id": "6"
              },
              {
                "percentage": "25",
                "skill_id": "1"
              }
            ],
            "rating": "bool"
          }
        ]
      },
      {
        "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
        "name": "Maine sheep",
        "questions_attributes": [
          {
            "guidelines": "Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr&b small batch tilde kale chips wolf. Kombucha tousled quinoa.",
            "kind": "standard",
            "name": "South Dakota banshees",
            "questions_skills_attributes": [
              {
                "percentage": "25",
                "skill_id": "6"
              },
              {
                "percentage": "25",
                "skill_id": "1"
              }
            ],
            "rating": "bool"
          }
        ]
      }
    ]
  }
}
201
{
  "id": 3,
  "evaluation_id": 4,
  "name": "Tennessee ducks",
  "is_primary": true,
  "comment": "Dolores facere letterpress. Facilis pork belly church-key rem enim ut twee.",
  "introduction_md": "Amet sed sint perferendis sriracha. Thundercats consequuntur salvia. Jean shorts church-key ut enim est selvage aut. Alias cray paleo quia ea nulla five dollar toast in. Vitae eos vegan aut inventore at dolorem quo.",
  "disclaimer_md": "Narwhal harum et voluptatum dolor similique minus biodiesel. Mlkshk architecto sapiente harum ipsum. Ut selvage paleo. Quia franzen listicle occupy.",
  "guidelines_md": "Ut kickstarter aut wolf harum vel cornhole stumptown. Next level semiotics ab squid sit ethical lumbersexual. Venmo aspernatur retro letterpress quae ea pickled provident. Small batch ugh quia flexitarian.",
  "created_at": "2017-11-22T13:44:02.886Z",
  "correction_number": 3,
  "duration": 1800,
  "manual_subscription": true,
  "languages": [
    {
      "id": 3,
      "name": "Romanian",
      "identifier": "ro",
      "created_at": "2017-11-22T13:40:59.468Z",
      "updated_at": "2017-11-22T13:41:26.139Z"
    }
  ],
  "sections": [
    {
      "id": 6,
      "name": "Maine sheep",
      "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
      "questions": [
        {
          "name": "South Dakota banshees",
          "id": 10,
          "questions_skills": [
            {
              "id": 17,
              "question_id": 10,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:02.903Z",
              "updated_at": "2017-11-22T13:44:02.903Z"
            },
            {
              "id": 18,
              "question_id": 10,
              "skill_id": 1,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:02.917Z",
              "updated_at": "2017-11-22T13:44:02.917Z"
            }
          ]
        }
      ]
    },
    {
      "id": 7,
      "name": "Maine sheep",
      "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
      "questions": [
        {
          "name": "South Dakota banshees",
          "id": 11,
          "questions_skills": [
            {
              "id": 19,
              "question_id": 11,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:02.991Z",
              "updated_at": "2017-11-22T13:44:02.991Z"
            },
            {
              "id": 20,
              "question_id": 11,
              "skill_id": 1,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.002Z",
              "updated_at": "2017-11-22T13:44:03.002Z"
            }
          ]
        }
      ]
    },
    {
      "id": 8,
      "name": "Maine sheep",
      "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
      "questions": [
        {
          "name": "South Dakota banshees",
          "id": 12,
          "questions_skills": [
            {
              "id": 21,
              "question_id": 12,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.060Z",
              "updated_at": "2017-11-22T13:44:03.060Z"
            },
            {
              "id": 22,
              "question_id": 12,
              "skill_id": 1,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.070Z",
              "updated_at": "2017-11-22T13:44:03.070Z"
            }
          ]
        }
      ]
    },
    {
      "id": 9,
      "name": "Maine sheep",
      "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
      "questions": [
        {
          "name": "South Dakota banshees",
          "id": 13,
          "questions_skills": [
            {
              "id": 23,
              "question_id": 13,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.128Z",
              "updated_at": "2017-11-22T13:44:03.128Z"
            },
            {
              "id": 24,
              "question_id": 13,
              "skill_id": 1,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.136Z",
              "updated_at": "2017-11-22T13:44:03.136Z"
            }
          ]
        }
      ]
    }
  ],
  "evaluation": {
    "id": 4,
    "kind": "scale"
  }
}
curl  -X POST -H "Authorization: Bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" -d '{"scale":{"comment":"Dolores facere letterpress. Facilis pork belly church-key rem enim ut twee.","correction_number":"3","disclaimer_md":"Narwhal harum et voluptatum dolor similique minus biodiesel. Mlkshk architecto sapiente harum ipsum. Ut selvage paleo. Quia franzen listicle occupy.","duration":"2","evaluation_id":"4","guidelines_md":"Ut kickstarter aut wolf harum vel cornhole stumptown. Next level semiotics ab squid sit ethical lumbersexual. Venmo aspernatur retro letterpress quae ea pickled provident. Small batch ugh quia flexitarian.","introduction_md":"Amet sed sint perferendis sriracha. Thundercats consequuntur salvia. Jean shorts church-key ut enim est selvage aut. Alias cray paleo quia ea nulla five dollar toast in. Vitae eos vegan aut inventore at dolorem quo.","is_external":"false","is_primary":"true","lg":"3","manual_subscription":"false","name":"Tennessee ducks","sections_attributes":[{"description":"Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.","name":"Maine sheep","questions_attributes":[{"guidelines":"Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr\u0026b small batch tilde kale chips wolf. Kombucha tousled quinoa.","kind":"standard","name":"South Dakota banshees","questions_skills_attributes":[{"percentage":"25","skill_id":"6"},{"percentage":"25","skill_id":"1"}],"rating":"bool"}]},{"description":"Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.","name":"Maine sheep","questions_attributes":[{"guidelines":"Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr\u0026b small batch tilde kale chips wolf. Kombucha tousled quinoa.","kind":"standard","name":"South Dakota banshees","questions_skills_attributes":[{"percentage":"25","skill_id":"6"},{"percentage":"25","skill_id":"1"}],"rating":"bool"}]},{"description":"Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.","name":"Maine sheep","questions_attributes":[{"guidelines":"Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr\u0026b small batch tilde kale chips wolf. Kombucha tousled quinoa.","kind":"standard","name":"South Dakota banshees","questions_skills_attributes":[{"percentage":"25","skill_id":"6"},{"percentage":"25","skill_id":"1"}],"rating":"bool"}]},{"description":"Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.","name":"Maine sheep","questions_attributes":[{"guidelines":"Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr\u0026b small batch tilde kale chips wolf. Kombucha tousled quinoa.","kind":"standard","name":"South Dakota banshees","questions_skills_attributes":[{"percentage":"25","skill_id":"6"},{"percentage":"25","skill_id":"1"}],"rating":"bool"}]}]}}' "https://api.intra.42.fr/v2/scales"

{
  "id": 3,
  "evaluation_id": 4,
  "name": "Tennessee ducks",
  "is_primary": true,
  "comment": "Dolores facere letterpress. Facilis pork belly church-key rem enim ut twee.",
  "introduction_md": "Amet sed sint perferendis sriracha. Thundercats consequuntur salvia. Jean shorts church-key ut enim est selvage aut. Alias cray paleo quia ea nulla five dollar toast in. Vitae eos vegan aut inventore at dolorem quo.",
  "disclaimer_md": "Narwhal harum et voluptatum dolor similique minus biodiesel. Mlkshk architecto sapiente harum ipsum. Ut selvage paleo. Quia franzen listicle occupy.",
  "guidelines_md": "Ut kickstarter aut wolf harum vel cornhole stumptown. Next level semiotics ab squid sit ethical lumbersexual. Venmo aspernatur retro letterpress quae ea pickled provident. Small batch ugh quia flexitarian.",
  "created_at": "2017-11-22T13:44:02.886Z",
  "correction_number": 3,
  "duration": 1800,
  "manual_subscription": true,
  "languages": [
    {
      "id": 3,
      "name": "Romanian",
      "identifier": "ro",
      "created_at": "2017-11-22T13:40:59.468Z",
      "updated_at": "2017-11-22T13:41:26.139Z"
    }
  ],
  "sections": [
    {
      "id": 6,
      "name": "Maine sheep",
      "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
      "questions": [
        {
          "name": "South Dakota banshees",
          "id": 10,
          "questions_skills": [
            {
              "id": 17,
              "question_id": 10,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:02.903Z",
              "updated_at": "2017-11-22T13:44:02.903Z"
            },
            {
              "id": 18,
              "question_id": 10,
              "skill_id": 1,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:02.917Z",
              "updated_at": "2017-11-22T13:44:02.917Z"
            }
          ]
        }
      ]
    },
    {
      "id": 7,
      "name": "Maine sheep",
      "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
      "questions": [
        {
          "name": "South Dakota banshees",
          "id": 11,
          "questions_skills": [
            {
              "id": 19,
              "question_id": 11,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:02.991Z",
              "updated_at": "2017-11-22T13:44:02.991Z"
            },
            {
              "id": 20,
              "question_id": 11,
              "skill_id": 1,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.002Z",
              "updated_at": "2017-11-22T13:44:03.002Z"
            }
          ]
        }
      ]
    },
    {
      "id": 8,
      "name": "Maine sheep",
      "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
      "questions": [
        {
          "name": "South Dakota banshees",
          "id": 12,
          "questions_skills": [
            {
              "id": 21,
              "question_id": 12,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.060Z",
              "updated_at": "2017-11-22T13:44:03.060Z"
            },
            {
              "id": 22,
              "question_id": 12,
              "skill_id": 1,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.070Z",
              "updated_at": "2017-11-22T13:44:03.070Z"
            }
          ]
        }
      ]
    },
    {
      "id": 9,
      "name": "Maine sheep",
      "description": "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.",
      "questions": [
        {
          "name": "South Dakota banshees",
          "id": 13,
          "questions_skills": [
            {
              "id": 23,
              "question_id": 13,
              "skill_id": 6,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.128Z",
              "updated_at": "2017-11-22T13:44:03.128Z"
            },
            {
              "id": 24,
              "question_id": 13,
              "skill_id": 1,
              "percentage": 25,
              "created_at": "2017-11-22T13:44:03.136Z",
              "updated_at": "2017-11-22T13:44:03.136Z"
            }
          ]
        }
      ]
    }
  ],
  "evaluation": {
    "id": 4,
    "kind": "scale"
  }
}
require "oauth2"
UID = "Your application uid"
SECRET = "Your application secret"
client = OAuth2::Client.new(UID, SECRET, site: "https://api.intra.42.fr")
token = client.client_credentials.get_token

params = {scale: {comment: "Dolores facere letterpress. Facilis pork belly church-key rem enim ut twee.", correction_number: "3", disclaimer_md: "Narwhal harum et voluptatum dolor similique minus biodiesel. Mlkshk architecto sapiente harum ipsum. Ut selvage paleo. Quia franzen listicle occupy.", duration: "2", evaluation_id: "4", guidelines_md: "Ut kickstarter aut wolf harum vel cornhole stumptown. Next level semiotics ab squid sit ethical lumbersexual. Venmo aspernatur retro letterpress quae ea pickled provident. Small batch ugh quia flexitarian.", introduction_md: "Amet sed sint perferendis sriracha. Thundercats consequuntur salvia. Jean shorts church-key ut enim est selvage aut. Alias cray paleo quia ea nulla five dollar toast in. Vitae eos vegan aut inventore at dolorem quo.", is_external: "false", is_primary: "true", lg: "3", manual_subscription: "false", name: "Tennessee ducks", sections_attributes: [{description: "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.", name: "Maine sheep", questions_attributes: [{guidelines: "Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr&b small batch tilde kale chips wolf. Kombucha tousled quinoa.", kind: "standard", name: "South Dakota banshees", questions_skills_attributes: [{percentage: "25", skill_id: "6"}, {percentage: "25", skill_id: "1"}], rating: "bool"}]}, {description: "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.", name: "Maine sheep", questions_attributes: [{guidelines: "Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr&b small batch tilde kale chips wolf. Kombucha tousled quinoa.", kind: "standard", name: "South Dakota banshees", questions_skills_attributes: [{percentage: "25", skill_id: "6"}, {percentage: "25", skill_id: "1"}], rating: "bool"}]}, {description: "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.", name: "Maine sheep", questions_attributes: [{guidelines: "Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr&b small batch tilde kale chips wolf. Kombucha tousled quinoa.", kind: "standard", name: "South Dakota banshees", questions_skills_attributes: [{percentage: "25", skill_id: "6"}, {percentage: "25", skill_id: "1"}], rating: "bool"}]}, {description: "Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.", name: "Maine sheep", questions_attributes: [{guidelines: "Single-origin coffee chia bushwick sriracha drinking. Drinking raw denim sartorial austin echo shabby chic tilde pinterest. Raw denim retro taxidermy pbr&b small batch tilde kale chips wolf. Kombucha tousled quinoa.", kind: "standard", name: "South Dakota banshees", questions_skills_attributes: [{percentage: "25", skill_id: "6"}, {percentage: "25", skill_id: "1"}], rating: "bool"}]}]}}
response = token.post("/v2/scales", params: params)
response.status
# => 201
response.parsed
# => {"id"=>3, "evaluation_id"=>4, "name"=>"Tennessee ducks", "is_primary"=>true, "comment"=>"Dolores facere letterpress. Facilis pork belly church-key rem enim ut twee.", "introduction_md"=>"Amet sed sint perferendis sriracha. Thundercats consequuntur salvia. Jean shorts church-key ut enim est selvage aut. Alias cray paleo quia ea nulla five dollar toast in. Vitae eos vegan aut inventore at dolorem quo.", "disclaimer_md"=>"Narwhal harum et voluptatum dolor similique minus biodiesel. Mlkshk architecto sapiente harum ipsum. Ut selvage paleo. Quia franzen listicle occupy.", "guidelines_md"=>"Ut kickstarter aut wolf harum vel cornhole stumptown. Next level semiotics ab squid sit ethical lumbersexual. Venmo aspernatur retro letterpress quae ea pickled provident. Small batch ugh quia flexitarian.", "created_at"=>"2017-11-22T13:44:02.886Z", "correction_number"=>3, "duration"=>1800, "manual_subscription"=>true, "languages"=>[{"id"=>3, "name"=>"Romanian", "identifier"=>"ro", "created_at"=>"2017-11-22T13:40:59.468Z", "updated_at"=>"2017-11-22T13:41:26.139Z"}], "sections"=>[{"id"=>6, "name"=>"Maine sheep", "description"=>"Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.", "questions"=>[{"name"=>"South Dakota banshees", "id"=>10, "questions_skills"=>[{"id"=>17, "question_id"=>10, "skill_id"=>6, "percentage"=>25, "created_at"=>"2017-11-22T13:44:02.903Z", "updated_at"=>"2017-11-22T13:44:02.903Z"}, {"id"=>18, "question_id"=>10, "skill_id"=>1, "percentage"=>25, "created_at"=>"2017-11-22T13:44:02.917Z", "updated_at"=>"2017-11-22T13:44:02.917Z"}]}]}, {"id"=>7, "name"=>"Maine sheep", "description"=>"Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.", "questions"=>[{"name"=>"South Dakota banshees", "id"=>11, "questions_skills"=>[{"id"=>19, "question_id"=>11, "skill_id"=>6, "percentage"=>25, "created_at"=>"2017-11-22T13:44:02.991Z", "updated_at"=>"2017-11-22T13:44:02.991Z"}, {"id"=>20, "question_id"=>11, "skill_id"=>1, "percentage"=>25, "created_at"=>"2017-11-22T13:44:03.002Z", "updated_at"=>"2017-11-22T13:44:03.002Z"}]}]}, {"id"=>8, "name"=>"Maine sheep", "description"=>"Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.", "questions"=>[{"name"=>"South Dakota banshees", "id"=>12, "questions_skills"=>[{"id"=>21, "question_id"=>12, "skill_id"=>6, "percentage"=>25, "created_at"=>"2017-11-22T13:44:03.060Z", "updated_at"=>"2017-11-22T13:44:03.060Z"}, {"id"=>22, "question_id"=>12, "skill_id"=>1, "percentage"=>25, "created_at"=>"2017-11-22T13:44:03.070Z", "updated_at"=>"2017-11-22T13:44:03.070Z"}]}]}, {"id"=>9, "name"=>"Maine sheep", "description"=>"Ab quidem shoreditch id fixie paleo raw denim celiac. Chartreuse vinyl pitchfork vero fixie ipsam. Dreamcatcher ut aut voluptatem mustache. Ea officia selvage qui carry. 8-bit expedita aesthetic leggings slow-carb you probably haven't heard of them xoxo.", "questions"=>[{"name"=>"South Dakota banshees", "id"=>13, "questions_skills"=>[{"id"=>23, "question_id"=>13, "skill_id"=>6, "percentage"=>25, "created_at"=>"2017-11-22T13:44:03.128Z", "updated_at"=>"2017-11-22T13:44:03.128Z"}, {"id"=>24, "question_id"=>13, "skill_id"=>1, "percentage"=>25, "created_at"=>"2017-11-22T13:44:03.136Z", "updated_at"=>"2017-11-22T13:44:03.136Z"}]}]}], "evaluation"=>{"id"=>4, "kind"=>"scale"}}