Get a membership.
get
/learn.rest/v1/memberships/{membershipId}
Request
Path Parameters
-
membershipId: number
Unique identifier of membership.
Security
-
auth: basic
Type:
basicDescription: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 MembershipLinkItem
Link to a Membership item.
-
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 : MembershipLinkItem
Type:
objectLink to a Membership item.
Show Source
-
href(optional):
string
Example:
{url}/learn.rest/v1/memberships/456 -
rel(optional):
string
Example:
canonical
Example:
{
"rel":"canonical",
"href":"{url}/learn.rest/v1/memberships/456"
}Nested Schema : statusChangedByUser
Type:
Show Source
array-
Array of:
object UserLinkItem
Object of the User Link Item.
Nested Schema : user
Type:
Show Source
array-
Array of:
object UserLinkItem
Object of the User Link Item.
Nested Schema : LearnCenterLinkItem
Type:
Show Source
object-
href(optional):
string
Example:
{url}/learn.rest/v1/learncenters/123456 -
rel(optional):
string
Example:
canonical
Example:
{
"rel":"canonical",
"href":"{url}/learn.rest/v1/learncenters/123456"
}Nested Schema : UserLinkItem
Type:
objectObject of the User Link Item.
Show Source
-
href(optional):
string
Example:
{url}/learn.rest/v1/users/456 -
rel(optional):
string
Example:
canonical
Example:
{
"rel":"canonical",
"href":"{url}/learn.rest/v1/users/456"
}401 Response
Authentication refused for provided credentials or the token is invalid.
Headers
404 Response
Resource not found.
500 Response
Internal server error.