Tuesday, March 26, 2019

Invoke MapSSO Web Services Operation Using (PHP Toolkit 2012.2 and Later)

Invoke the mapSSO Web Services operation using (PHP Toolkit 2012.2 and Later)

NOTES:
  • This article requires existing knowledge of Web Services and PHP.
  • PHP Toolkit is already configured.
  • Generating SSO URL and Authentication Token is not included here. (Kindly refer to Answer Id: 21428)

Required Parameters:
1. Authentication Token - This is a string representing the Private Key encrypted Netsuite token.

Example:  (Kindly generate your own Authentication Token, don't copy this)
a=9FA35E0BFAB9E12B66FDAC872EBD03BBE5F47614EA778FE5FA4A9706BB5F1E0458B0027EE28468B96F6A1312F8DB1B798B3FE0EBA455B16C2C8CCF52CD419B74ABD98D502D6349E3BDE58223F1E4985660CAB9A2C6771F82DE33B6530DF068EA8CEFC1616FBB50BD2265C37111C176AE8772363AC2BA8D9FC08EF433602C36A5

2. User Email - The email address of the user being mapped.
3. Pasword - The password of the user being mapped
4. NetSuite Account - The account number of the user being mapped to
5. Partner ID - The application partner ID provided during SSO Setup. This, most of the time, is the same as the NetSuite Account.

Sample Code:




Put the mapSSO.php in your PHP Directory, on this example it's under /PHPToolkit_2013_1/samples (See below).


After running the mapSSO.php the result will be like this (see below).

No comments:

Post a Comment