{
"_id": "64c70f5730ae176dbf0267fc",
"name": "Jhon doe",
"email": "jhon@example.com",
"language": "en",
"firstLogin": false,
"lastLogin": "2023-10-04T02:42:34+00:00",
"passwordExpired": false,
"status": "active",
"teamId": [
"64c863d1d7e8d0458d004fcd"
],
"roleId": "64c70f5730ae176dbf0267f8",
"role": {
"_id": "660cd75cdbd3401dc874c7b9",
"name": "owner",
"isAdmin": true,
"isDefault": true,
"permissionList": [
"6156d6475320c9679e337eba"
],
"permissionDetails": [
{
"permissionName": "view/checkincheckout",
"interval": null,
"checkinRadius": null,
"checkoutRadius": null
}
],
"permissions": [
{
"name": "view/dashboard",
"module": "dashboard",
"menu": "dashboard",
"displayName": "View dashboard",
"access": true,
"meta": {}
}
],
"organizationId": "660cd75cdbd3401dc874c7b8",
"passwordPolicyId": null,
"updatedTime": "2024-04-03T04:13:16.516000Z",
"createdTime": "2024-04-03T04:13:16.516000Z"
},
"hubId": [
"64c863d1d7e8d0458d004fcd"
],
"organizationId": "64c70f5730ae176dbf0267f6",
"organization": {
"_id": "660cd75cdbd3401dc874c7b8",
"user": {
"name": "Paketid",
"country": "IDN",
"phoneNumber": "+62 091291821",
"numberOfUsers": "1-50",
"industry": "Distribution",
"position": "Owner/Director",
"email": "jhon@example.com",
"companyName": "Paketid",
"hub": {
"name": "Jakarta",
"displayName": "Jakarta",
"address": "9, Jalan Medan Merdeka Utara, Jakarta Pusat 10110, Indonesia",
"lat": "-6.1716049",
"lng": "106.8264828"
},
"flows": [
"63a561c0fd378bcce9877d31"
]
},
"productId": "prod-X123ab",
"productName": "Enterprise",
"status": "verified",
"verifiedTime": "2024-04-03T04:14:55+00:00",
"curPeriodEndTime": null,
"curPeriodStartTime": null,
"eligible": true,
"configuration": {
"filesAccessPermission": "private",
"filesServerProvider": "milesto"
},
"updatedTime": "2024-04-03T04:14:56+00:00",
"createdTime": "2024-04-03T04:13:16+00:00",
"customerId": {
"idr": "cus_Pr3KtKHneZyXyP",
"usd": null
},
"country": {
"code": "IDN",
"phoneCode": "+62",
"name": "Indonesia",
"alpha2Code": "ID",
"enableLanguage": true,
"language": "id",
"languageName": "Indonesian"
}
},
"updatedTime": "2023-10-04T02:42:34+00:00",
"createdTime": "2023-07-31T01:33:11+00:00"
}Objects
User object
Indicates the current status of the user account within an organization. Accepted values are:
`active` : The account is currently active and the user can perform actions based on their role.
`inactive` : The user has registered a new organization but has not completed email verification.
`pending` : The user has been invited to this organization but has not yet accepted the invitation.
`disabled` : The account has been deactivated by the organization and cannot be used.
`reject` : The user has either accepted an invitation from another organization or created a new organization, causing all other pending invitations to be automatically rejected.
Returned only by the v4 reads with include=extendedData: the record of your organization's user extension data type, holding the custom fields added under Extended data. Left out when your organization has no user extension. null when this user has no extension record. For users and vehicles, when the extension is kept per hub, it is an array with one record per hub, or the record of the hub named in hubId.
Example:
{
"_id": "6abcadd9143a6b09ec0bf632",
"dataTypeId": "6abcadb6a138a6318d023ec5",
"dataId": "user:65c1f68ea735b522d370ea25",
"entityId": "65c1f68ea735b522d370ea25",
"licenseNumber": "SIM-B1-3201"
}