Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

CreateUpdateRelationByID

Creates or updates a relation in Microbizz.

If a relation with the given relation id already exists, then the relation will be overwritten.

If the relation provided have a relation id of 0, a new relation will be formed.

Input

relationcprelationshipThe relation to create/update

Output

relationcprelationshipThe relation object as it is in Microbizz after the update

GetRelationsByLastChange

Get a collection of relations changed since a given date and time.

Input

changedatedateReturn all relations changed on or after the provided date.
changetimetimeIf this is provided only return relations changed after the provided date and time.

Output

relationscollection[ cprelationship ]A collection of the relevant relations, or an empty collection if no relations were found.

GetRelationsByPersonID

Get a collection of relations that describe how a given person is related to various companies.

Input

personidnumberThe Microbizz ID of a person

Output

relationscollection[ cprelationship ]The relations between the person and various companies

GetRelationsByCustomerID

Get a collection of relations that describe how a given company is related to various persons.

Input

customeridnumberThe Microbizz ID of a company

Output

relationscollection[ cprelationship ]The relations between the company and various persons
  • No labels