Discussions
Adding Structured Snippet, Meta tags, and opengraph data to iMIS
Hello,
REST API Error: ArgumentFault: Incorrect number of identity element
Hello, I am trying to perform a GET request for one of my tables and receive this error: ArgumentFault: Incorrect number of identity element
Does anyone know why BadRequest: ValidationError occurs here?
I send this JSON which is VALIDATED by JsonLint. But each time I POST the following code I receive the BAdRequest/Validation Error but no further details from iMIS Scheduler. I can GET, but cannot PUT or POST.
Membership REST Documentation
The membership REST Documentation and what's in Postman to create members are not matching up at all. I want to do the minimal to add a contact to our system, but what's in Postman and what's in Swagger (https://testapi.imis.com/swagger/?url=https://testapi.imis.com/sdkdemo/json/membership.json) is not matching up.
Creating Json Web Token
We are writing an SSO for a third party integration that does not support OAuth 2.0. We need to create a json web token in our C# iPart. Is there a recommended way to create them in iMIS? We are currently trying using the SymmetricSecurityKey class but iMIS does not seem to play well with it.
Getting bearer token from passthrough endpoint for call to external API
I am trying to find the simplest way to use an externally hosted API that will process requests that a user has insufficient rights to do using the passthrough API. I have a process working that uses the SSO to get a bearer token that the external API can then use to query the scheduler endpoint to verify a user is authenticated. I'm looking for a simpler way to allow the external API to verify that a user is authenticated and who they are. It seems like I should be able to use the passthrough API to get a bearer token that could be passed to the external API without all the overhead of using the SSO functionality, but I can't get the syntax of the call correct. Here is a call that works and return a bearer token from the API but it uses the "password" as a grant_type which I won't have. I want to make the same call, but use the requestverificationtoken for authentication. Is this possible, and can you post a raw request as an example so I can get the syntax of the call correct. Here is a call that return a bearer token from the passthrough API but it requires username and password instead of the requestverificationtoken. You can see that it has the required cookie and request verification token in the header already. It just needs the correct grant type and any other required fields in the body.
Hi, Is it possible to Insert activity using REST API? Thanks
REST API: Custom Demographics Insert/Update
Is it possible to insert/update custom demographics through the REST APIs?
"Refresh token lifetime" in the SSO doesn't seem to be honoured
I have an SSO application setup that works, but the "Refresh token lifetime" value doesn't seem to be honoured across the problem. I have the Refresh token lifetime (minutes) variable set to 1440 minutes, but the refresh value I get back following a call to /api/token is "expires_in":1199. It's always 1199 regardless of the value I set it to in the iMIS configuration. Do I need to keep resetting it? Thanks.
Communication Log - REST API, different Message Type
How do I add something to the Communication log using a Message Type other than email? The SQL table CommunicationMessageTypeRef has 4 different options, and I want to use something other than "Email" but I can't figure out which field in which call to insert the different value. Everything I try just shows Email on the output. I have no problems (now) writing to the log (3 POST calls but it's there), just can't get that value correct.