meta data for this page
  •  

This is an old revision of the document!


Contacts

Allow your clients to interact with the ITFlow portal by creating contacts.

You can record the following information about a client contact:

  • Name
  • Title
  • Mark as “important”
  • Mark as a technical / billing contact
  • Department
  • Phone / Extension / Mobile
  • Location
  • Email
  • Notes
  • Portal Auth method (local/SSO)

API

/api/v1/contacts

Read - Retrieve contact information (/read.php)

  • Default / No params - Returns all contacts
  • contact_id - Specific contact ID from the ITFlow database
  • contact_email - Specific contact via e-mail

Invoke-RestMethod -Uri “http://127.0.0.1/itflow/api/v1/contacts/read.php?api_key=XetQjoZiti5Opg7y&contact_id=8” | ConvertTo-Json

{

  "success":  "True",
  "count":  1,
  "data":  [
               {
                   "0":  "8",
                   "contact_id":  "8",
                   "1":  "Sample Contact",
                   "contact_name":  "Sample Contact",
                   "2":  "Accounting Person",
                   "contact_title":  "Accounting Person",
                   "3":  "a@itflow.org",
                   "contact_email":  "a@itflow.org",

[…]