| Name | Required? | Description |
|---|---|---|
| EnrollmentId | Yes | The ID of the enrollment. |
GET: https://api.speaking-partner.com/v1/enrollments/225
{
"Attended":false,
"EnrollmentDate":1349300483,
"EnrollmentId":225,
"Feedback":{
"CreationDate":1351641600,
"Custom":null,
"Message":"Awesome job!"
},
"Session":{
"CancellationDate":null,
"EndDate":1349474400,
"EnrollmentCount":2,
"MaxSessionEnrollments":3,
"Name":"Group Session",
"SessionId":18,
"StartDate":1349472600,
"IsSubstituted":false,
"Billable":true,
"Teacher":{
"Biography":null,
"FirstName":"Walter",
"LastName":"Bishop",
"PhotoURL":null,
"TeacherId":8
},
"Metadata":{
"ValueA":"http://example.com",
"ValueB":"USA",
"ValueC":"12345"
}
},
"Student":{
"Domain":"massive",
"Email":"examplestudent@example.com",
"FirstName":"Jim",
"LastName":"Barnes",
"Locale":"en-US",
"NativeName":null,
"PrimaryPhone":null,
"PublicName":"Jim Barnes",
"SecondaryPhone":null,
"SkypeName":null,
"Status":"Active",
"TimeZone":"Mountain Standard Time",
"Username":"jim"
}
}
| Name | Required? | Description |
|---|---|---|
| EnrollmentId | Yes | The ID of the enrollment. |
| Name | Required? | Description |
|---|---|---|
| Attended | Yes | Indicates whether the student attended the session. (Can only be changed to true) |
POST: https://api.speaking-partner.com/v1/enrollments/225
attended=true
{
"Attended":true,
"EnrollmentDate":1349300483,
"EnrollmentId":225,
"Feedback":null,
"Session":{
"CancellationDate":null,
"EndDate":1349474400,
"EnrollmentCount":2,
"MaxSessionEnrollments":3,
"Name":"Group Session",
"SessionId":18,
"StartDate":1349472600,
"IsSubstituted":false,
"Billable":true,
"Teacher":{
"Biography":null,
"FirstName":"Walter",
"LastName":"Bishop",
"PhotoURL":null,
"TeacherId":8
},
"Metadata":{
"ValueA":"http://example.com",
"ValueB":"USA",
"ValueC":"12345"
}
},
"Student":{
"Domain":"massive",
"Email":"examplestudent@example.com",
"FirstName":"Jim",
"LastName":"Barnes",
"Locale":"en-US",
"NativeName":null,
"PrimaryPhone":null,
"PublicName":"Jim Barnes",
"SecondaryPhone":null,
"SkypeName":null,
"Status":"Active",
"TimeZone":"Mountain Standard Time",
"Username":"jim"
}
}
| Name | Required? | Description |
|---|---|---|
| EnrollmentId | Yes | The ID of the enrollment. |
DELETE: https://api.speaking-partner.com/v1/enrollments/5