List invitations
GET/dwsu/:dwServiceUnitId/invitation
Lists the invitations in the specified service unit.
Request
Path Parameters
The ID of the service unit.
Query Parameters
The list of invitation statuses. Supported statuses include INACTIVE, ACCEPTED, and EXPIRED. If specified, only the invitations in any of the listed statuses will be returned. If not specified, the invitations in the INACTIVE and EXPIRED will be returned.
Possible values: >= 1
Default value: 10
The number of items returned per page.
Possible values: >= 1
Default value: 1
The sequence number of the current page.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The response code.
data
object
The paginated list of invitations.
The sequence number of current page.
The number of items returned per page.
records
object[]
The records in the current page.
The creation time of the invitation.
The ID of the account that is used to send the invitation.
The email address.
The expiration time of the invitation.
The invitation ID.
Possible values: [PENDING
, ACCEPTED
, EXPIRED
]
The status of the invitation.
The number of pages in total.
The response message.
{
"code": 0,
"data": {
"pageNumber": 0,
"pageSize": 0,
"records": [
{
"createTime": "2023-05-16T14:20:11.01+09:00",
"creatorAccountId": "62023101198877",
"email": "[email protected]",
"expireTime": "2023-05-18T14:20:11.01+09:00",
"id": "867c0ba0-5a53-475b-8194-1f565f6ec197",
"status": "PENDING"
}
],
"total": 0
},
"msg": "string"
}