Discussions

Ask a Question

How to perform a Get/put on contract with composite key

I'm able to do a get on the trans using query parameters
https://{{URL}}/api/Trans?BT_ID=1399950&product_code=LASTAR2013/STAR&ST_ID=1399950&Date_Entered=2013-01-28

Setting program option to 'Register by default' through REST

How do you update program options (event function) to 'Register by default' after already posting via REST? I would assume some type of PUT action, but what object/property do we need to look at.

Hashing a password and comparing it to current pw

Is there a way to create a new password and store the hashed value in a table so that it can be compared to the current password? A client originally initialized passwords to be the same as the username years ago. With the upcoming iMIS enhancement to enforce username <> password, we are looking to see how many people might still have the original password.

ANSWERED

Updating a multi-instance user defined table (GET and PUT request REST API) created through Panel Editor not iMIS Desktop

I have a client who's REST API calls where working in iMIS Version 20.2.46. Now they have upgraded to iMIS 2017 SP M and the previous API calls are just not working anymore.
i.e. GET request from multi-instance user defined table
https://{url}/Asi.Scheduler_iMIS/api/StudentGrades/20303,2 used to work
Now only https://{url}/Asi.Scheduler_iMIS/api/StudentGrades?ContactKey=2015287&Ordinal=2 returns this one unique record.

ANSWERED

Forcing Rest to use GenericEntityObject when SQL table name matches object name

If I request /api/Name I will receive a paged result that is a list of type "GenericEntityData". If I request /api/Party I will receive a list of type "PartyData". I can view the same data two different ways because the business object name does not match the SQL table name. In the case of a table like "CertificationProgram" though the object name matches the SQL name. If I request /api/CertificationProgram I will get back a "CertificationProgramData" object. How can I make the request in a way that it forces it to return a "GenericEntityData" object for the CertificationProgram table?

ANSWERED

Creating addresses for events

How do you create an address for an event using C#?

ANSWERED

In which table is stored event function´s notes.

I´ve realized that adding notes for an order line, such as "CERTEXAM" using REST API , it is stored in Order_Line table but NOT for events and functions.

Putting Event Functions via REST

Hey Jeremy,

Is the $type value still required?

There was some chatter about the $type value being optional in the later versions of the API, I assumed 20.3+. It still seems to be required in 20.3.34.2516, is that still the case? Or is it required in some of the endpoints and optional in others? Thanks.

Managing User Roles via REST

I'm curious about the best way to handle user roles in the REST API, as I've had some interesting issues trying to manage that via the User endpoint.

Contact us
Copyright © Advanced Solutions International, All rights reserved.