object | |
Array of objects (UserProfileUnoptimized) |
{- "metadata": {
- "pagination": {
- "count": 10,
- "next": null,
- "previous": null,
- "page_size": 10,
- "num_pages": 1,
- "current_page": 1
}
}, - "data": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "user": 0,
- "email": "user@example.com",
- "department": {
- "id": 0,
- "name": "string",
- "location": {
- "id": 0,
- "name": "string",
- "headquarter": true
}
}, - "location": {
- "id": 0,
- "name": "string",
- "headquarter": true
}, - "profile_image": "string",
- "is_active": true,
- "phone": "string",
- "position": "string",
- "role": {
- "id": 0,
- "name": "string",
- "type": 0
}, - "approval_delegatee": {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "pending_approvals_count": {
- "order": 0,
- "expense": 0,
- "travel": 0,
- "bill": 0,
- "payment": 0
}, - "expected_return_date": "2019-08-24"
}
]
}
object Default: {} | |
required | Array of objects (UserProfileUnoptimized) |
[- {
- "email": "user@example.com",
- "send_invitation_email": true,
- "first_name": "",
- "last_name": "",
- "phone": "",
- "position": "",
- "role_id": 0,
- "all_locations": false,
- "locations": [ ],
- "home_department": 0,
- "home_location": 0
}
]
{- "metadata": { },
- "data": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "user": 0,
- "email": "user@example.com",
- "department": {
- "id": 0,
- "name": "string",
- "location": {
- "id": 0,
- "name": "string",
- "headquarter": true
}
}, - "location": {
- "id": 0,
- "name": "string",
- "headquarter": true
}, - "profile_image": "string",
- "is_active": true,
- "phone": "string",
- "position": "string",
- "role": {
- "id": 0,
- "name": "string",
- "type": 0
}, - "approval_delegatee": {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "pending_approvals_count": {
- "order": 0,
- "expense": 0,
- "travel": 0,
- "bill": 0,
- "payment": 0
}, - "expected_return_date": "2019-08-24"
}
]
}
object Default: {} | |
required | object (UserProfileUnoptimized) |
{- "id": 0,
- "user": 0,
- "email": "user@example.com",
- "firstName": "string",
- "lastName": "string",
- "location": 0,
- "department": 0,
- "position": "",
- "phone": "",
- "profile_image": "string",
- "is_sso_enabled": false,
- "mark_for_skip": false,
- "mark_for_delete": false
}
{- "metadata": { },
- "data": {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "user": 0,
- "email": "user@example.com",
- "department": {
- "id": 0,
- "name": "string",
- "location": {
- "id": 0,
- "name": "string",
- "headquarter": true
}
}, - "location": {
- "id": 0,
- "name": "string",
- "headquarter": true
}, - "profile_image": "string",
- "is_active": true,
- "phone": "string",
- "position": "string",
- "role": {
- "id": 0,
- "name": "string",
- "type": 0
}, - "approval_delegatee": {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "pending_approvals_count": {
- "order": 0,
- "expense": 0,
- "travel": 0,
- "bill": 0,
- "payment": 0
}, - "expected_return_date": "2019-08-24"
}
}
Get the logged in user account information
object Default: {} | |
required | object (UserProfileMe) |
{- "data": {
- "id": 2,
- "domains": {
- "active": false,
- "procurify_domains": [
- {
- "subdomain": "example.com",
- "name": "example.com"
}
]
}, - "systemaccess_cache": {
- "structured": {
- "1": {
- "flattened": [
- "nav_receive",
- "nav_approval",
- "nav_manage",
- "nav_request",
- "nav_purchase",
- "nav_report",
- "nav_setting"
], - "roles": [
- {
- "permissions": [
- {
- "id": 3,
- "description": "Navigation for Request",
- "name": "Request"
}, - {
- "id": 4,
- "description": "Navigation for Approval",
- "name": "Approval"
}, - {
- "id": 5,
- "description": "Navigation for Purchase",
- "name": "Purchase"
}, - {
- "id": 6,
- "description": "Navigation for Receive",
- "name": "Receive"
}, - {
- "id": 7,
- "description": "Navigation for Manage",
- "name": "Manage"
}, - {
- "id": 8,
- "description": "Navigation for Settings",
- "name": "Settings"
}, - {
- "id": 9,
- "description": "Navigation for Report",
- "name": "Report"
}
], - "id": 15,
- "name": "Location Manager"
}
]
}, - "2": {
- "flattened": [
- "nav_request",
- "nav_approval",
- "nav_report"
], - "roles": [
- {
- "permissions": [
- {
- "id": 3,
- "description": "Navigation for Request",
- "name": "Request"
}, - {
- "id": 4,
- "description": "Navigation for Approval",
- "name": "Approval"
}, - {
- "id": 9,
- "description": "Navigation for Report",
- "name": "Report"
}
], - "id": 25,
- "name": "Approver"
}
]
}, - "3": {
- "flattened": [
- "nav_request",
- "nav_approval",
- "nav_report"
], - "roles": [
- {
- "permissions": [
- {
- "id": 3,
- "description": "Navigation for Request",
- "name": "Request"
}, - {
- "id": 4,
- "description": "Navigation for Approval",
- "name": "Approval"
}, - {
- "id": 9,
- "description": "Navigation for Report",
- "name": "Report"
}
], - "id": 25,
- "name": "Approver"
}
]
}, - "system": {
- "flattened": [
- "superuser",
- "accounts_payable"
], - "roles": [
- {
- "permissions": [
- {
- "id": 2,
- "description": "Full Access",
- "name": "Superuser"
}
], - "id": 2,
- "name": "Superuser"
}, - {
- "permissions": [
- {
- "id": 12,
- "description": "Accounts Payable",
- "name": "Accounts Payable"
}
], - "id": 31,
- "name": "AP"
}
]
}
}, - "flattened": [
- "superuser",
- "nav_manage",
- "nav_request",
- "nav_purchase",
- "accounts_payable",
- "nav_receive",
- "nav_setting",
- "nav_approval",
- "nav_report"
]
}, - "approval_delegatee": null,
- "is_approval_delegatee": false,
- "department": {
- "branch": {
- "name": "",
- "url": "",
- "logo": null,
- "currency": {
- "name": "",
- "description": "",
- "rate": null,
- "base": false,
- "active": false
}, - "phoneOne": "",
- "fax": "",
- "email": "",
- "primary_billing_address": {
- "name": "",
- "addressLineOne": "",
- "city": "",
- "postalCode": "",
- "state_province": "",
- "country": ""
}, - "primary_shipping_address": {
- "name": "",
- "addressLineOne": "",
- "city": "",
- "postalCode": "",
- "state_province": "",
- "country": ""
}, - "language": null,
- "locationTimezone": null,
- "active": false,
- "external_id": ""
}, - "external_id": "",
- "name": "",
- "active": false
}, - "created_at": "2017-03-17T21:45:36.120222Z",
- "updated_at": "2017-03-24T00:55:40.724146Z",
- "firstName": "Frank",
- "lastName": "Borman",
- "email": "nick+redshift7@procurify.com",
- "position": "",
- "phone": "-",
- "address": "",
- "notifications": true,
- "is_active": true,
- "pending_invite": false,
- "role": 7,
- "mobile": false,
- "profile_image": "nickredshift7procurifycom_aa1fbc9b_frank-borman.jpg",
- "slack_user_id": "",
- "is_sso_enabled": false,
- "last_changed_by": null,
- "user": 2
}, - "metadata": { }
}