My Products
Help

DateTimeCondition & Operators

29-05-2024 10:51
  • 0 Replies
  • 0 kudos
  • 584 Views

In this article, you can find guidelines on utilizing Visma.Net API Endpoints using DateTime parameters, as well as their associated condition and operators. For more information regarding the endpoints, query parameters and other endpoints for all areas, Please read the documentation found here: Swagger - Visma.Net Integrations Documentation



lastModifiedDateTimeCondition=Operator

Supported comparative operators for LastModifiedDateTime Conditions on filtering 

> - Greater than

< - Less than

<= - Less than or equal to

>= - Greater than or equal to

 

Explanation:

 

?lastModifiedDateTime=2024-05-25

&lastModifiedDateTimeCondition=>-

Retrieve records after and on the given DateTime

?lastModifiedDateTime=2024-05-25

&lastModifiedDateTimeCondition=<-

Retrieve records before and on the given DateTime

?lastModifiedDateTime=2024-05-25

&lastModifiedDateTimeCondition=>=

Retrieve records after and on the given DateTime

?lastModifiedDateTime=2024-05-25

&lastModifiedDateTimeCondition=<=

Retrieve records before and on the given DateTime




Usage example:

This query will return customers updated on 2024-05-25 or later.

GET https://integration.visma.net/API/controller/api/v1/Customer

?lastModifiedDateTime=2024-05-25

&lastModifiedDateTimeCondition=>=

( Lines are separated for readability)

 


The operators are used the same for:
createdDateTimeCondition=Operator

dunningLetterDateTimeCondition=Operator

Contributors