cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Create application key and access its value Via REST call from .net application

SOLVED
VijayBhimraoCha
Regular Member

Create application key and access its value Via REST call from .net application

Hello,

   The requirement is to create ApplicationKey and get its value from .net application.

Don't want to add too much API level dependency on the .net application.

So the REST call to create and access ApplicationKey could be an option.

Is this possible and any related code/example?

Thx.

Vijay

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Create application key and access its value Via REST call from .net application

Could manage to do that using OOTB EntityServices CreateApplicationKey and using REST API.

Thx for help Carles.

View solution in original post

4 REPLIES 4

Re: Create application key and access its value Via REST call from .net application

Here https://www.dropbox.com/s/0s14wnwxw2g52gb/ThingShapes_wupAppKeysTS.xml?dl=0 you can find the ThingShape I use to create AppKeys dinamically and to query for it's value. You can find the end points to create and query values.

Where userAppKey_wupAppKeysTS property it's a appKey for a user with Query and create AppKeys.

Re: Create application key and access its value Via REST call from .net application

Thx Carles for quick reply. The usecase is to call it through REST API from .net application with no compile and run time dependency on thingworx code. Not sure if this is true in above approach, unless missing something here.

Re: Create application key and access its value Via REST call from .net application

The sample code it's on Server Side TW Javascript, but using REST API from it, you can replicate the same calls from .net for sure.

Re: Create application key and access its value Via REST call from .net application

Could manage to do that using OOTB EntityServices CreateApplicationKey and using REST API.

Thx for help Carles.

View solution in original post

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.