User Query Service

Add Sub User

Purpose
Adds Sub-Users under you so that they can use various SSLStore plugin investments.

URL

  • LIVE URL:
https://api.thesslstore.com/rest/user/add
  • SANDBOX URL:
https://sandbox-wbapi.thesslstore.com/rest/user/add

HTTP VERB
POST

PARAMETERS
JSON :
Content-type: application/json; charset=utf-8;

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content"
}

XML:
Content-type: application/xml; charset=utf-8;

<NewSubUserRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
</NewSubUserRequest>

PARAMETERS
JSON :

{
	"AuthResponse":{
		"isError":true,
		"Message":["String content"],
		"Timestamp":"String content",
		"ReplayToken":"String content",
		"InvokingPartnerCode":"String content"
	},
	"PartnerCode":"String content",
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content",
	"isEnabled":true
}

XML:

<SubUserResponse>
<AuthResponse>
<isError>true</isError>
<Message>
<string>String content</string>
<string>String content</string>
</Message>
<Timestamp>String content</Timestamp>
<ReplayToken>String content</ReplayToken>
<InvokingPartnerCode>String content</InvokingPartnerCode>
</AuthResponse>
<PartnerCode>String content</PartnerCode>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
<isEnabled>true</isEnabled>
</SubUserResponse>

Fields Explanation

NAME FROM Type Description
AuthRequest.AuthToken Request String This is an alpha-numeric token code provided to you by thesslstore.com. It is required in all requests.
*Required for this request
AuthRequest.PartnerCode Request String This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.
*Required for this request
AuthRequest.ReplayToken Request String This is an alpha-numeric code provided by you in order request and thesslstore.com sent back in request.
AuthRequest.UserAgent Request String Browser’s user agent value provided by you for specific order.
NewSubUserRequest.AuthenticationToken Request String This is alpha-numeric code which is sent by you to thesslstore.com in your request.
*Required for this request
NewSubUserRequest.CustomPartnerCode Request String This is alpha-numeric code of the sub user you would like to add
*Required for this request
NewSubUserRequest.PartnerEmail Request String This is sub user email which you would like to add.
*Required for this request
AuthResponse.InvokingPartnerCode Response String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response String Return true if any error occurred during Order processing.
AuthResponse.ReplayToken Response String The value of the ReplayToken which provide by you in Order request.
AuthResponse.Timestamp Response String A date timestamp used in a variety of contexts. Note that the XML format is: YYYY-DD-MMTHH:MM:SS:000Z (for example, 2001-01-01T24:00:00:000Z is for Jan 1, 2001 at midnight).
SubUserResponse.AuthenticationToken Response String This is alpha-numeric code which has been sent by user at the time of request.
SubUserResponse.CustomPartnerCode Response String This is alpha-numeric code of sub user which has been sent by user at the time of request.
SubUserResponse.isEnabled Response String This is the status of the subuser which is enabled or not.
SubUserResponse.PartnerCode Response String This is alpha-numeric code of the sub user which has been added to the system.
SubUserResponse.PartnerEmail Response String This is the email of partner which has been added to the system.

Activate Sub User

Purpose
Activates the Sub User.

URL

  • LIVE URL:
https://api.thesslstore.com/rest/user/activate
  • SANDBOX URL:
https://sandbox-wbapi.thesslstore.com/rest/user/activate

HTTP VERB
POST

PARAMETERS
JSON :

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"PartnerCode":"String content",
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content",
	"isEnabled":true
}

XML:

<SubUserRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<PartnerCode>String content</PartnerCode>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
<isEnabled>true</isEnabled>
</SubUserRequest>

PARAMETERS
JSON :

{
	"AuthResponse":{
		"isError":true,
		"Message":["String content"],
		"Timestamp":"String content",
		"ReplayToken":"String content",
		"InvokingPartnerCode":"String content"
	},
	"PartnerCode":"String content",
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content",
	"isEnabled":true
}

XML:

<SubUserResponse>
<AuthResponse>
<isError>true</isError>
<Message>
<string>String content</string>
<string>String content</string>
</Message>
<Timestamp>String content</Timestamp>
<ReplayToken>String content</ReplayToken>
<InvokingPartnerCode>String content</InvokingPartnerCode>
</AuthResponse>
<PartnerCode>String content</PartnerCode>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
<isEnabled>true</isEnabled>
</SubUserResponse>

Fields Explanation

NAME FROM Type Description
AuthRequest.AuthToken Request String This is an alpha-numeric token code provided to you by thesslstore.com. It is required in all requests.
*Required for this request
AuthRequest.PartnerCode Request String This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.
*Required for this request
AuthRequest.ReplayToken Request String This is an alpha-numeric code provided by you in order request and thesslstore.com sent back in request.
AuthRequest.UserAgent Request String Browser’s user agent value provided by you for specific order.
SubUserRequest.AuthenticationToken Request String This is an alpha-numeric token code provided by you to thesslstore.com. It is required in all requests.
*Required for this request
SubUserRequest.CustomPartnerCode Request String A Number provide by you in request which is sent in response.
*Required for this request
SubUserRequest.isEnabled Request Boolean This is status of subuser is this user enable or not
SubUserRequest.PartnerCode Request String This is an alpha-numeric code of subuser provided to you by thesslstore.com. It is required in all requests.
*Required for this request
SubUserRequest.PartnerEmail Request String This is the Email of Sub User.
AuthResponse.InvokingPartnerCode Response String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response Boolean Return true if any error occurred during Order processing.
AuthResponse.ReplayToken Response String The value of the ReplayToken which provide by you in Order request.
AuthResponse.Timestamp Response String A date timestamp used in a variety of contexts. Note that the XML format is: YYYY-DD-MMTHH:MM:SS:000Z (for example, 2001-01-01T24:00:00:000Z is for Jan 1, 2001 at midnight).
SubUserResponse.AuthenticationToken Response String This is an alpha-numeric token code provided to you by thesslstore.com in the response to your request.
SubUserResponse.CustomPartnerCode Response String A Number provide by you in request which is sent in response.
SubUserResponse.isEnabled Response Boolean This is status of subuser is this user enable or not
SubUserResponse.PartnerCode Response String This is an alpha-numeric code of subuser provided to you by thesslstore.com In response to your request.
SubUserResponse.PartnerEmail Response String This is the Email of Sub User.

Deactivate Sub User

Purpose
Deactivates Sub-Users. Once deactivated, your resellers won’t be able to place orders.

URL

  • LIVE URL:
https://api.thesslstore.com/rest/user/deactivate
  • SANDBOX URL:
https://sandbox-wbapi.thesslstore.com/rest/user/deactivate

HTTP VERB
POST

PARAMETERS
JSON :

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"PartnerCode":"String content",
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content",
	"isEnabled":true
}

XML:

<SubUserRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<PartnerCode>String content</PartnerCode>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
<isEnabled>true</isEnabled>
</SubUserRequest>

PARAMETERS
JSON :

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"PartnerCode":"String content",
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content",
	"isEnabled":true
}

XML:

<SubUserResponse>
<AuthResponse>
<isError>true</isError>
<Message>
<string>String content</string>
<string>String content</string>
</Message>
<Timestamp>String content</Timestamp>
<ReplayToken>String content</ReplayToken>
<InvokingPartnerCode>String content</InvokingPartnerCode>
</AuthResponse>
<PartnerCode>String content</PartnerCode>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
<isEnabled>true</isEnabled>
</SubUserResponse>

Fields Explanation

NAME FROM Type Description
AuthRequest.AuthToken Request String This is an alpha-numeric token code provided to you by
thesslstore.com. It is required in all requests.
*Required for this request
AuthRequest.PartnerCode Request String This is an alpha-numeric code provided to you by
thesslstore.com. It is required in all requests.
*Required for this request
AuthRequest.ReplayToken Request String This is an alpha-numeric code provided by you in order
request and thesslstore.com sent back in request.
AuthRequest.UserAgent Request String Browser’s user agent value provided by you for specific order.
SubUserRequest.AuthenticationToken Request String This is an alpha-numeric token code provided by you to
thesslstore.com. It is required in all requests.
*Required for this request
SubUserRequest.CustomPartnerCode Request String A Number provide by you in request which is sent inresponse.
*Required for this request
SubUserRequest.isEnabled Request String This is status of subuser is this user enable or not
*Required for this request
SubUserRequest.PartnerCode Request String This is an alpha-numeric code of subuser provided to
you by thesslstore.com. It is required in all requests.
*Required for this request
SubUserRequest.PartnerEmail Request String This is the Email of Sub User.
AuthResponse.InvokingPartnerCode Response String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response String Return true if any error occurred during Order processing.
AuthResponse.ReplayToken Response String The value of the ReplayToken which provide by you in Order request.
AuthResponse.Timestamp Response String A date timestamp used in a variety of contexts. Note that the XML format is:
YYYY-DD-MMTHH:MM:SS:000Z (for example, 2001-01-01T24:00:00:000Z
is for Jan 1, 2001 at midnight).
SubUserResponse.AuthenticationToken Response String This is an alpha-numeric token code provided to you by thesslstore.com
in the response to your request.
SubUserResponse.CustomPartnerCode Response String A Number provide by you in request which is sent in response.
SubUserResponse.isEnabled Response String This is status of subuser is this user enable or not
SubUserResponse.PartnerCode Response String This is an alpha-numeric code of subuser provided to you by
thesslstore.com In response to your request.
SubUserResponse.PartnerEmail Response String This is the Email of Sub User.

Query Sub Users

Purpose
You can query sub-users based on several parameters. Again this supports OData Filtering mechanism, refer http://www.odata.org/developers/protocols/uri-conventions#FilterSystemQueryOption for more details. You can query on any fields included in the “RESPONSE”.
URL

  • LIVE URL:
https://api.thesslstore.com/rest/user/query
  • SANDBOX URL:
https://sandbox-wbapi.thesslstore.com/rest/user/query

HTTP VERB
POST

PARAMETERS
JSON :

{
	"AuthRequest":{
		"PartnerCode":"String content",
		"AuthToken":"String content",
		"ReplayToken":"String content",
		"UserAgent":"String content"
	},
	"SubUserID":"String content"
}

XML:

<SubUserQueryRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
</AuthRequest>
<SubUserID>String content</SubUserID>
</SubUserQueryRequest>

PARAMETERS
JSON :

{
	"AuthResponse":{
		"isError":true,
		"Message":["String content"],
		"Timestamp":"String content",
		"ReplayToken":"String content",
		"InvokingPartnerCode":"String content"
	},
	"PartnerCode":"String content",
	"CustomPartnerCode":"String content",
	"AuthenticationToken":"String content",
	"PartnerEmail":"String content",
	"isEnabled":true
}

XML:

<SubUserResponse>
<AuthResponse>
<isError>true</isError>
<Message>
<string>String content</string>
<string>String content</string>
</Message>
<Timestamp>String content</Timestamp>
<ReplayToken>String content</ReplayToken>
<InvokingPartnerCode>String content</InvokingPartnerCode>
</AuthResponse>
<PartnerCode>String content</PartnerCode>
<CustomPartnerCode>String content</CustomPartnerCode>
<AuthenticationToken>String content</AuthenticationToken>
<PartnerEmail>String content</PartnerEmail>
<isEnabled>true</isEnabled>
</SubUserResponse>

Fields Explanation

NAME FROM Type Description
OrderQueryRequest.StartDate Request String This is the start date of your query order request
OrderQueryRequest.EndDate Request String This is the end date of your query order request
OrderQueryRequest.SubUserID Request String This is Sub user Id given by thesslstore.com
OrderQueryRequest.ProductCode Request String This is alpha-numeric code of user given by thesslstore.com
AuthRequest.PartnerCode Request String This is an alpha-numeric code provided to you by
thesslstore.com. It is required in all requests.

*Required for this request
AuthRequest.AuthToken Request String This is an alpha-numeric token code provided to you by
thesslstore.com. It is required in all requests.

*Required for this request
AuthRequest.ReplayToken Request String This is an alpha-numeric code provided by you in order
request and thesslstore.com sent back in request.
AuthRequest.UserAgent Request String Browser’s user agent value provided by you for specific order.
AuthResponse.InvokingPartnerCode Response String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response String Return true if any error occurred during Order processing.
AuthResponse.ReplayToken Response String The value of the ReplayToken which provide by you in Order request.
AuthResponse.Timestamp Response String A date timestamp used in a variety of contexts. Note that the
XML format is: YYYY-DD-MMTHH:MM:SS:000Z
(for example, 2001-01-01T24:00:00:000Z is for Jan 1, 2001 at midnight).
SubUserResponse.AuthenticationToken Response String This is an alpha-numeric token code provided to you by thesslstore.com
in the response to your request.
SubUserResponse.CustomPartnerCode Response String A Number provide by you in request which is sent in response.
SubUserResponse.isEnabled Response Boolean This is status of subuser is this user enable or not
SubUserResponse.PartnerCode Response String This is an alpha-numeric code of subuser provided to you by
thesslstore.com In response to your request.
SubUserResponse.PartnerEmail Response String This is the Email of Sub User.