The Contacts DataTable holds the records for every account in Orange Logic. Account types reflect the variety of roles involved in asset management. For example, your Orange Logic instance might have accounts for clients (your organization’s customers) or sources (anyone who provides assets to your organization) in addition to staff (your organization’s users).
DataTable API calls allow you to update the information in accounts, such as account details, and move users in or out of Groups.
Tip
In general, you’ll specify an account type when you work with contacts. When you don’t know what type the account is, you can use the
Contacts.All
query to identify an account based on any of the following pieces of information:
- RecordID
- CoreField.Identifier
- CoreField.LoginID
- CoreField.Email1
Here are some examples of how you could use the
Contacts.All
query:
- List an account’s details:
/Contacts.All:Read?CoreField.Email1={email address}
- Update an account’s first name:
/Contacts.All:Update?CoreField.Identifier={identifier}&CoreField.First_Name:={name}
- Delete an account:
/Contacts.All:Delete?CoreField.Identifier={identifier}
Note
By default, updating accounts via API doesn’t trigger email notifications. To send emails, add
&AllowNotifications=1
to your call.