Users are individuals who have access to some part of Sage Intacct. Most users are employees, but users might also be outside the company, such as accountants, attorneys, bankers, vendors, customers, or auditors.
Returns a collection with a key, ID, and link for each user. This operation is mostly for use in testing; use the query service to find users that meet certain criteria and specify the properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "Admin",
- "href": "/objects/company-config/user/1"
}, - {
- "key": "2",
- "id": "Jane Doe",
- "href": "/objects/company-config/user/2"
}, - {
- "key": "4",
- "id": "Larry Smith",
- "href": "/objects/company-config/user/4"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new user.
User to create
id required | string User login ID Example: "john.doe" | ||||||||||||||||||||||||||||||||||||||||||||||||||
accountEmail required | |||||||||||||||||||||||||||||||||||||||||||||||||||
required | object User contact information | ||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
userName | string User name Example: "John Doe" | ||||||||||||||||||||||||||||||||||||||||||||||||||
adminPrivileges | string Default: "off" User admin privileges. Setting to
Example: "off" | ||||||||||||||||||||||||||||||||||||||||||||||||||
userType | string Default: "business" Enum: "business" "constructionManager" "crm" "dashboard" "employee" "paymentApprover" "platform" "projectManager" "viewOnly" "warehouse" Example: "employee" | ||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" User status. Example: "active" | ||||||||||||||||||||||||||||||||||||||||||||||||||
object Web Services / API properties | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object Password properties | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object SSO settings | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object Entity level restrictions | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
trustedDevices | string Default: "companyDefault" Allow trusted devices. The user can specify whether to use the company setting or have it enforced. Example: "always" | ||||||||||||||||||||||||||||||||||||||||||||||||||
isChatterDisabled | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||
hideOtherDepartmentTransactions | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Locations that the user is allowed to view and work with. Leave empty to allow the user to work with all locations. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Departments that the user is allowed to view and work with. Leave empty to allow the user to work with all departments. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects List of territories that the user is assigned to. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects List of roles assigned to the user. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Created
Bad Request
{- "id": "Admin",
- "userName": "Admin",
- "userType": "business",
- "status": "active",
- "adminPrivileges": "off",
- "contact": {
- "id": "Smith",
- "lastName": "Smith",
- "firstName": "Alex",
- "mailingAddress": {
- "addressLine1": "300 Park Avenue",
- "city": "San Jose",
- "state": "California",
- "postCode": "95110",
- "country": "United States"
}
}, - "disableChatter": true,
- "permissionAssignments": [
- {
- "permission": {
- "key": "404"
}, - "accessRights": [
- "list",
- "delete"
]
}, - {
- "permission": {
- "key": "253"
}, - "accessRights": [
- "list"
]
}
]
}
{- "ia::result": {
- "key": "1",
- "id": "Admin",
- "href": "/objects/company-config/user/1"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified user.
key required | string System-assigned key for the user. Example: 65 |
OK
Bad Request
{- "ia::result": {
- "key": "65",
- "id": "Admin",
- "userName": "Admin",
- "href": "/objects/company-config/user/65",
- "isChatterDisabled": false,
- "hideOtherDepartmentTransactions": false,
- "trustedDevices": "never",
- "adminPrivileges": "off",
- "userType": "business",
- "status": "active",
- "contact": {
- "mailingAddress": {
- "addressLine1": "744 Edgewater Blvd",
- "addressLine2": "Apt 104",
- "addressLine3": "Western industrial area",
- "city": "San Jose",
- "state": "CA",
- "postCode": "95110",
- "country": "United States"
}, - "id": "contact01650967341",
- "lastName": "John",
- "firstName": "E.",
- "middleName": "Doe",
- "prefix": "Mr",
- "printAs": "John E. Doe",
- "phone1": "6692248123",
- "phone2": "1222455566",
- "mobile": "1222455566",
- "pager": "12566",
- "fax": "1222455566",
- "companyName": "Sage Inc",
- "key": "3446",
- "href": "/objects/company-config/contact/3446"
}, - "webServices": {
- "isEnabled": true,
- "isRestricted": false
}, - "password": {
- "neverExpires": true,
- "requiresReset": false,
- "disablePassword": false
}, - "sso": {
- "isSSOEnabled": true,
- "federatedSSOId": "john.doe"
}, - "entityAccess": {
- "allowUnrestrictedAccess": true,
- "allowTopLevelAccess": false
}, - "audit": {
- "createdDateTime": "2022-04-26T10:17:12Z",
- "modifiedDateTime": "2022-04-26T11:05:26Z",
- "createdBy": "110",
- "modifiedBy": "109"
}, - "disableChatter": true,
- "locations": [
- {
- "id": "87",
- "name": "London",
- "href": "/objects/company-config/location/87"
}, - {
- "id": "92",
- "name": "Paris",
- "href": "/objects/company-config/location/92"
}
], - "roles": [
- {
- "key": "2",
- "id": "::SYS::Multi Entity Shared-ROLE-FOR - Admin",
- "href": "/objects/company-config/role/2"
}, - {
- "key": "23",
- "id": "::SYS::Multi Entity Shared-ROLE-FOR - User",
- "href": "/objects/company-config/role/23"
}
], - "departments": [
- {
- "id": "55",
- "name": "Sales",
- "href": "/objects/company-config/department/55"
}, - {
- "id": "65",
- "name": "Accounting",
- "href": "/objects/company-config/department/65"
}
], - "territories": [
- {
- "id": "22",
- "name": "South",
- "href": "/objects/accounts-receivable/territory/22"
}, - {
- "id": "32",
- "name": "West",
- "href": "/objects/accounts-receivable/territory/32"
}
], - "permissionAssignments": [
- {
- "permission": {
- "id": "404",
- "key": "404",
- "href": "/objects/company-config/permission/404"
}, - "accessRights": [
- "list",
- "delete"
]
}, - {
- "permission": {
- "id": "253",
- "key": "253",
- "href": "/objects/company-config/permission/253"
}, - "accessRights": [
- "list",
- "delete"
]
}
], - "entity": {
- "key": "54",
- "id": "313131",
- "name": "Central Region",
- "herf": "/objects/company-config/entity/54"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing user by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the user. Example: 65 |
userName | string User name Example: "John Doe" | ||||||||||||||||||||||||||||||||||||||||||||||||||
accountEmail | |||||||||||||||||||||||||||||||||||||||||||||||||||
adminPrivileges | string Default: "off" User admin privileges. Setting to
Example: "off" | ||||||||||||||||||||||||||||||||||||||||||||||||||
userType | string Default: "business" Enum: "business" "constructionManager" "crm" "dashboard" "employee" "paymentApprover" "platform" "projectManager" "viewOnly" "warehouse" Example: "employee" | ||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" User status. Example: "active" | ||||||||||||||||||||||||||||||||||||||||||||||||||
object Web Services / API properties | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object Password properties | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object SSO settings | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object Entity level restrictions | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object User contact information | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
trustedDevices | string Default: "companyDefault" Allow trusted devices. The user can specify whether to use the company setting or have it enforced. Example: "always" | ||||||||||||||||||||||||||||||||||||||||||||||||||
isChatterDisabled | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||
hideOtherDepartmentTransactions | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Locations that the user is allowed to view and work with. Leave empty to allow the user to work with all locations. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Departments that the user is allowed to view and work with. Leave empty to allow the user to work with all departments. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects List of territories that the user is assigned to. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects List of roles assigned to the user. | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
{- "userName": "Admin",
- "status": "inactive",
- "permissionAssignments": [
- {
- "permission": {
- "key": "404"
}, - "accessRights": [
- "list"
]
}
]
}
{- "ia::result": {
- "key": "65",
- "id": "Admin",
- "href": "/objects/company-config/user/65"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a user.
key required | string System-assigned key for the user. Example: 65 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "company-config/user" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "company-config/user",
- "filters": [
- {
- "$eq": {
- "contact.id": "2374"
}
}
], - "fields": [
- "key",
- "id",
- "userName",
- "status",
- "href"
]
}
{- "ia::result": [
- {
- "key": "53",
- "id": "wmikawber",
- "userName": "Wilkins Micawber",
- "status": "active",
- "href": "/objects/company-config/user/53"
}
], - "ia::meta": {
- "totalCount": 1,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}