Import grades for a user

POST /Api/Import/Grades/{userId}

Requires the following features to be enabled: Import

Path parameters

  • userId string(uuid) Required

Body

  • jsonEncrypted string Required

    Minimum length is 1.

  • Additional properties are NOT allowed

Responses

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
  • 201

    Created

  • 401

    Unauthorized

  • 403

    Forbidden

POST /Api/Import/Grades/{userId}
curl \
 -X POST https://app.lovassy.hu/Api/Import/Grades/{userId} \
 -H "X-Authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"jsonEncrypted":"string"}'
curl \
 -X POST https://app.lovassy.hu/Api/Import/Grades/{userId} \
 -H "X-Authorization: $API_KEY" \
 -H "Content-Type: text/json"
curl \
 -X POST https://app.lovassy.hu/Api/Import/Grades/{userId} \
 -H "X-Authorization: $API_KEY" \
 -H "Content-Type: application/*+json"
Request examples
{
  "jsonEncrypted": "string"
}
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}