POST /v1/students/{id}/measurements

Update or Create Student Measurements

Path parameters

  • id string Required

    Student ID

application/json

Body Required

Request for updating Student Measurements

  • height object

    One of:
  • neck object

    One of:
  • girth object

    One of:
  • chest object

    One of:
  • braSize object

    One of:
  • waist object

    One of:
  • hips object

    One of:
  • inseam object

    One of:
  • shoeSize object

    One of:
  • tshirtSize object

    One of:

Responses

  • 200 application/json

    successful operation

    Hide response attributes Show response attributes object
    • companyId string Required

      Company ID

    • studentId string Required

      Student ID

    • height object

      One of:
    • neck object

      One of:
    • girth object

      One of:
    • chest object

      One of:
    • braSize object

      One of:
    • waist object

      One of:
    • hips object

      One of:
    • inseam object

      One of:
    • shoeSize object

      One of:
    • tshirtSize object

      One of:
  • 403 application/json

    Not authorized

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

  • 422 application/json

    Validation error

    Hide response attributes Show response attributes object
    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

POST /v1/students/{id}/measurements
curl \
 --request POST 'https://api.classmanager.io/v1/students/stu_123123123123/measurements' \
 --header "Content-Type: application/json" \
 --data '{"height":{"unit":"mm","value":"string"},"neck":{"unit":"mm","value":"string"},"girth":{"unit":"mm","value":"string"},"chest":{"unit":"mm","value":"string"},"braSize":{"unit":"mm","value":"string"},"waist":{"unit":"mm","value":"string"},"hips":{"unit":"mm","value":"string"},"inseam":{"unit":"mm","value":"string"},"shoeSize":{"unit":"mm","value":"string"},"tshirtSize":{"unit":"mm","value":"string"}}'
Request examples
{
  "height": {
    "unit": "mm",
    "value": "string"
  },
  "neck": {
    "unit": "mm",
    "value": "string"
  },
  "girth": {
    "unit": "mm",
    "value": "string"
  },
  "chest": {
    "unit": "mm",
    "value": "string"
  },
  "braSize": {
    "unit": "mm",
    "value": "string"
  },
  "waist": {
    "unit": "mm",
    "value": "string"
  },
  "hips": {
    "unit": "mm",
    "value": "string"
  },
  "inseam": {
    "unit": "mm",
    "value": "string"
  },
  "shoeSize": {
    "unit": "mm",
    "value": "string"
  },
  "tshirtSize": {
    "unit": "mm",
    "value": "string"
  }
}
Response examples (200)
{
  "companyId": "co_xxxxxxxxxxxxxxxxxxxxxxxxxx",
  "studentId": "stu_xxxxxxxxxxxxxxxxxxxxxxxxxx",
  "height": {
    "unit": "mm",
    "value": "string"
  },
  "neck": {
    "unit": "mm",
    "value": "string"
  },
  "girth": {
    "unit": "mm",
    "value": "string"
  },
  "chest": {
    "unit": "mm",
    "value": "string"
  },
  "braSize": {
    "unit": "mm",
    "value": "string"
  },
  "waist": {
    "unit": "mm",
    "value": "string"
  },
  "hips": {
    "unit": "mm",
    "value": "string"
  },
  "inseam": {
    "unit": "mm",
    "value": "string"
  },
  "shoeSize": {
    "unit": "mm",
    "value": "string"
  },
  "tshirtSize": {
    "unit": "mm",
    "value": "string"
  }
}
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}
Response examples (422)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}