Get a membership.
get
/learn.rest/v1/memberships/{membershipId}
Request
Path Parameters
-
membershipId: number
Unique identifier of membership.
Security
-
auth: basic
Type:
basic
Description:Basic Authentication
Response
Supported Media Types
- application/json
200 Response
Membership fetched.
Root Schema : MembershipResponse
Type:
Show Source
object
-
createdDate(optional):
string
Example:
2016-02-23T07:21:00-05:00
-
id(optional):
number(int32)
Example:
1345
-
learnCenter(optional):
array learnCenter
-
learnCenterId(optional):
number(int32)
Example:
178784
-
links(optional):
object MembershipLink
-
status(optional):
string
Example:
approved
-
statusChangedByUser(optional):
array statusChangedByUser
-
statusChangedByUserId(optional):
string
Example:
135131
-
statusChangedDate(optional):
string
Example:
2016-02-23T07:21:00-05:00
-
user(optional):
array user
-
userId(optional):
number
Example:
112900
-
validFromDate(optional):
string(datetime)
Example:
2016-02-23T07:21:00-05:00
-
validUntilDate(optional):
string(datetime)
Example:
2016-02-23T07:21:00-05:00
Nested Schema : learnCenter
Type:
Show Source
array
-
Array of:
object LearnCenterLink
Object containing Learn Center Links.
Nested Schema : MembershipLink
Type:
Show Source
object
-
href(optional):
string
Example:
{url}/learn.rest/v1/memberships/456
-
rel(optional):
string
Example:
canonical
Nested Schema : LearnCenterLink
Type:
object
Object containing Learn Center Links.
Show Source
-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenters/178409
-
rel(optional):
string
Example:
canonical
Nested Schema : UserLink
Type:
Show Source
object
-
href(optional):
string
Example:
{url}/learn.rest/v1/users/456
-
rel(optional):
string
Example:
canonical
401 Response
Authentication refused for provided credentials or the token is invalid.
Headers
404 Response
Resource not found.
500 Response
Internal server error.