Edit a Student
/students/{id}
/students/{id}?timestamp={TimeStamp}&accesskey={AccessKey}&tag={Token}
The following parameters should be included in the request URL of the HTTPS PUT call to edit a student.
Parameter | Required? | Data Type | Description |
---|---|---|---|
id | Yes | INTEGER | the unique ID that identifies the student in the LinkIt! database. |
TimeStamp | Yes | DATETIME | the GMT time at which the call is generated. EXAMPLE: 5/1/2013+5:10:5+PM |
AccessKey | Yes | STRING (128) | a unique key associated with the API user. EXAMPLE: 123456789-987654321 |
Tag | Yes | STRING (128) | token generated for authorization and authentication. |
The following parameters may be included in the request header of the HTTPS PUT call to edit a student.
Parameter | Required | Data Type | Description |
---|---|---|---|
FirstName | No | STRING (100) | the first name of the student. EXAMPLES: TIM, AMY, JOHN |
MiddleName | No | STRING (100) | the first name of the student. EXAMPLES: JONES, MILLER, SMITH |
LastName | No | STRING (100) | the first name of the student. EXAMPLES: JONES, MILLER, SMITH |
LocalCode | No | STRING (20) | the local code used by the district or the Student Information System to identify each student. EXAMPLES: 10023, 100323243, 00011344 |
StateCode | No | STRING (20) | the code used by the state to identify each student. May or may not be the same as the local code. EXAMPLE: NY123456, 00112233 |
Gender | No | STRING (100) | the gender of the student, MALE, FEMALE and UNKnOWN. |
Race | No | STRING (50) | the race of the student EXAMPLES: ASIAN, HISPANIC |
DateOfBirth | No | DATETIME | the date and time when the student was born. EXAMPLE: 9/30/2002 12:00:00 AM |
Grade | No | STRING (20) | the current grade of the student.EXAMPLE: K, 1, 2, ...12 |
SISID | No | INTEGER | a unique ID that identifies the student in the district's Student Information System. EXAMPLES: 1123 |
AdminSchoolID | No | INTEGER | the LinkIt! ID of the main school that the student is enrolled in. (Note: A student can still be assigned to multiple classes that take place in different schools.) |
Status | No | STRING (50) | the status of the student, ACTIVE or INACTIVE ("A" or "I" are also acceptable parameters). |
The following fields are included in the response following an HTTPS PUT call to edit a student.
Field Name | Data Type | Description | Example |
---|---|---|---|
Result | STRING (10) | indicates whether the student is edited successfully. | SUCCESS ERROR |
Data | JSON/XML | returns properties of the edited student if result is SUCCESS.
Check out the Student page to learn more about the various properties that define a student. | See below for detailed examples. |
Error | STRING (100) | provides explanation if result is ERROR."Null" is returned if result is SUCCESS. | Click here for a list of error messages. |
Example 1
Example 2
Navigation and Reference