GET /student/restfulsimplifiedrelatedstudentkeyvalue/id

Retrieve a related student key value.

The underlying data model where the item is retrieved from is defined in devilry.apps.core.models.relateduser.RelatedStudentKeyValue. The Simplified API that the server forwards this request to is devilry.apps.student.simplified.simplifiedrelatedstudentkeyvalue.SimplifiedRelatedStudentKeyValue.read().

Request

Example

GET /student/restfulsimplifiedrelatedstudentkeyvalue/id

Required request parameters encoded in the URL

id

The unique identifier of a related student key value. You will typically get this id in response from a search.

Response

On success

Example

200 OK

{
    relatedstudent: 15,
    relatedstudent__period: 15,
    id: 15,
    application: "My example value",
    key: "My example value",
    value: "myvalue"
}

Success response details

As long as the related student key value is deleted without an error, the response is HTTP 200 with the requested data in the body. The result always contains the following fields:

relatedstudent
Actual location of the field:
devilry.apps.core.models.relateduser.RelatedStudent
About the field:
Autogenerated identifier.
Type
Integer
relatedstudent__period
Actual location of the field:
devilry.apps.core.models.Period
About the field:
Autogenerated identifier.
Type
Integer
id
Actual location of the field:
devilry.apps.core.models.relateduser.RelatedStudentKeyValue
About the field:
Autogenerated identifier.
Type
Integer
application
Actual location of the field:
devilry.apps.core.models.relateduser.RelatedStudentKeyValue
About the field:
Application identifier. Max 300 chars.
Type
String
key
Actual location of the field:
devilry.apps.core.models.relateduser.RelatedStudentKeyValue
About the field:
Key. Max 300 chars.
Type
String
value
Actual location of the field:
devilry.apps.core.models.relateduser.RelatedStudentKeyValue
About the field:
Value.
Type
String

On error

On errors, we respond with one of the HTTP Error status codes.