Jump to content

Documentation incorrect?


Recommended Posts

I'm looking at the details for assets and when I use a getEntityRecord for the class Asset, or AssetComputer etc. I get returned slightly different data than is documented.

The documentation (here) lists:

usedById xs:string optional The userid of the user who uses the asset.
usedByName xs:string optional The name of the user of the asset.
usedByType xs:string optional The user type of the asset. (0 = coworker, 1= contact)

But getEntityRecord only returns 'h_used_by' and 'h_used_by_name'. Where h_used_by is the urn format.

 

Link to comment
Share on other sites

@swcbc

When accessing an entity directly the input and output is directly mapped to the Database Column names, when you access a flowcode like addAssetComputer the inputs are defined by out application team in an effort to try and make a friendly interface this is why the flowcode inputs may not necessarily match up with what you are expecting when you access an entity directly.

Kind Regards

Trevor Killick

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...