GET centers/{centerId}/teachers
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated user who is either StaffMember
- Authenticated user belongs to center which matches identifier given in "centerId" uri parameter.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| centerId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PearsonEnglish.LearningServices.Data.Models.StaffMemberModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| UserName | string |
None. |
|
| SsdsId | string |
None. |
|
| RoleCode | string |
None. |
|
| PhotoUris | Dictionary of Nse.ServiceBus.DataContracts.ImageResolution [key] and string [value] |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "6f6cce6c-76c0-4ff5-bcc7-2162f00a7357",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"UserName": "sample string 4",
"SsdsId": "sample string 5",
"RoleCode": "sample string 8",
"PhotoUris": {
"Small": "https://assets-qa.wallstreetenglish.com/userphoto/sample string 6_small",
"Medium": "https://assets-qa.wallstreetenglish.com/userphoto/sample string 6_medium",
"Big": "https://assets-qa.wallstreetenglish.com/userphoto/sample string 6_big"
}
},
{
"Id": "6f6cce6c-76c0-4ff5-bcc7-2162f00a7357",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"UserName": "sample string 4",
"SsdsId": "sample string 5",
"RoleCode": "sample string 8",
"PhotoUris": {
"Small": "https://assets-qa.wallstreetenglish.com/userphoto/sample string 6_small",
"Medium": "https://assets-qa.wallstreetenglish.com/userphoto/sample string 6_medium",
"Big": "https://assets-qa.wallstreetenglish.com/userphoto/sample string 6_big"
}
}
]