Skip to content

Instantly share code, notes, and snippets.

@bcatcho
Created October 11, 2012 04:49
Show Gist options
  • Save bcatcho/3870245 to your computer and use it in GitHub Desktop.
Save bcatcho/3870245 to your computer and use it in GitHub Desktop.
Example request/response for tscclass create student api call
Request:
{
"CourseCode":"70456",
"DisplayName":"Jax",
"PinCode": "12345"
}
Response:
{
"AccessToken":
{
"access_token":"100db2fe-2ce4-4bc4-82eb-388f01c1ad2c",
"expires_in":"3600",
"refresh_token":"42FDDC90-0C0B-4E6E-B90D-E088A54DD500",
"token_type":"Bearer"
},
"User":
{
"DisplayName":"Jax",
"PinCode":"12345",
"Role":1,
"RoleId":1,
"UserId":"c0132460-61d3-41d8-95b9-95dba2acc5b5"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment