Data types

Date and time

In requests is expected and in response is returned as a ISO 8601 format. Sample: 6/15/2009 1:45:30 PM is converted as

2009-06-15T13:45:30.0900000

GUID

GUID or Globally unique identifier is widely used in Profit365 as a unique identifier (primary key) of records. GUID is a 128-bit value and is displayed as a 32 hexadecimal digits in groups separateds by hyphens. Sample:

CF7B6417-5310-4BC2-A160-45DCC6B82449

URL params

GUID or Globally unique identifier is widely used in Profit365 as a unique identifier (primary key) of records. GUID is a 128-bit value and is displayed as a 32 hexadecimal digits in groups separateds by hyphens. Sample:

DateTime range

Use DateTime range in URL in following format:

  • get Partners edited at date: equals: /CRM/partners?editedAt=2017-04-12
  • get Partners edited at date and later : /CRM/partners?editedAt=[2017-04-12;]
  • get Partners edited before date: /CRM/partners?editedAt=[;2017-04-12]
  • get Partners edited in range of dates: /CRM/partners?editedAt=[2017-04-12;2017-04-15]

String range

Use String range in URL in following format:

  • get Partners with name equal to: /CRM/partners?fullName=Some%20Company
  • get Partners with name starting with: /CRM/partners?fullName=Some*
  • get Partners with name ending with: /CRM/partners?fullName=*company
  • get Partners with name like: /CRM/partners?fullName=*comp*