CheckProfile method in the API

Discussions concerning general integration topics.

Moderator: Phil Barton

Post Reply
sanjay.mittal
Posts: 94
Joined: Mon Dec 28, 2009 3:43 pm

CheckProfile method in the API

Post by sanjay.mittal »

When using the API to create an order we would like to be able to change the profile that is used during the order creation so that the correct order number sequencing is used. In the SDK there is mention of a method “CheckProfile” which belongs to SessionManager which looks like it would do the trick.

Attempting to determine how to use this, starting from a SelectServer object has come to no avail.
Do you have a sample (preferably VB however any language will do) on how you change the profile in an API session.
sanjay.mittal
Posts: 94
Joined: Mon Dec 28, 2009 3:43 pm

Re: CheckProfile method in the API

Post by sanjay.mittal »

Sorry, I meant ChangeProfile method.
Phil Barton
Posts: 54
Joined: Wed Sep 24, 2008 2:37 pm
Location: Raleigh, NC
Contact:

Re: CheckProfile method in the API

Post by Phil Barton »

Yes, you should be able to use the ChangeProfile method on the SessionManager to change the profile. The argument is a string containing the path of the profile to which you are changing. This string would look something along the lines of: Default\Profile1\Profile2
Phil Barton
Software Architect
SoftPro
sanjay.mittal
Posts: 94
Joined: Mon Dec 28, 2009 3:43 pm

Re: CheckProfile method in the API

Post by sanjay.mittal »

Phil -

Do you have a sample (preferably VB however any language will do) on how you change the profile in an API session?

Thanks
Sanjay
Post Reply