Create Product User

<< Click to Display Table of Contents >>

Navigation:  Journalytix API >

Create Product User

The Create Product User API is used to automatically add Products to new/existing Jigsaw Users. The Jigsaw Products are assigned to the companies by a Jigsaw Trading Administrator, so they can distribute to their customers.

 

If a user does not exist, this API creates a new user and then add Products to this new created user. This user will then become an employee/trader under the company.

 

The parameters to send to register a customer are as follows:

Company ID - Company Username of admin user for the company in the Journalytix system

Company Password - password of the admin user for the company on the Journalytix system

API Code - API code for the company

First Name - First name of the customer

Last Name - Last Name of the customer

Email Address - Email Address of the customer

Start Date - Start Date for which you want product to start subscription from.

End Date - End Date for which you want product to expire

User Name - User name to be created in Journalytix

Password - Password to be created in Journalytix

Products - List of Product id

 

Validation Rules

- All above fields are required

- Company Username and Password should match

- API code should match with respective Company

- Start Date and End Date should be in Date Format - YYYY-MM-DD

- Products should be comma separated list of product id/number

- Email should be in valid format

 

Request Parameter

Request Type - POST

- companyName

- companyPassword

- companyAPICode

- FirstName

- LastName

- Email

- Username

- Password

- startDate

- endDate

- Products

 

Request - Success Response

- "00" => "Products Added to the User."

 

Request - Error Response/Codes

- "01" => "Invalid username or password."

- "02" => "API Code not valid."

- "03" => "IP Mismatch."

- "04" => "Product X not allowed for assignment."

- "05" => "Unable to Renew Employee Products."

- "06" => "User already have active product subscription."

- "07" => "Company does not exist in member table."

- "08" => "Number of registered employees exceeded. License allows X where Y is number of registered."

- "09" => "Company license expired."

- "10" => "User exists, please use Invite API first."

 

Emails

- If a User does not exist in member site, he/she will receive an Email along with credentials and products added to their id.

- If a User already exists in member site, he/she will receive an email consisting of which products are added to their user id.

 

You can test your API credentials on this page: