Health Service

Service Status

Purpose
Returns the current Status of our service. For example, sometimes during planned maintenance, this status will return false and you should avoid making calls to other API methods, if Current Status return false.

URL

  • LIVE URL:
  • https://api.thesslstore.com/rest/health/status
  • SANDBOX URL:
  • https://sandbox-wbapi.thesslstore.com/rest/health/status

HTTP VERB
GET

PARAMETERS
Null

Response
JSON :

{
	"isError":true,
	"Message":["String content"],
	"Timestamp":"String content",
	"ReplayToken":"String content",
	"InvokingPartnerCode":"String content"
}

XML :

<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>

Fields Explanation

NAME FROM Type Description
AuthResponse. isError Response Boolean Returns False/true according to errorstatus into the response.
AuthResponse.Message Response string The Message given into the response.
AuthResponse.Timestamp Response Date The Date and time when user gets the response.
AuthResponse.ReplayToken Response string The value of the ReplayToken which provide by you in Order request
AuthResponse.InvokingPartnerCode Response string This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.

Validate Credentials

Purpose
Validate Credentials returns whether your current PartnerCode and AuthToken is valid or not. If it’s invalid, most of the calls to the API are going to FAIL.

URL

    • LIVE URL:
https://api.thesslstore.com/rest/health/validate/
    • SANDBOX URL:
https://sandbox-wbapi.thesslstore.com/rest/health/validate/

HTTP VERB
POST

PARAMETERS
JSON :

{
	"PartnerCode":"String content",
	"AuthToken":"String content",
	"ReplayToken":"String content",
	"UserAgent":"String content"

}

XML:

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

Response
JSON :

{
	"isError":true,
	"Message":["String content"],
	"Timestamp":"String content",
	"ReplayToken":"String content",
	"InvokingPartnerCode":"String content"
}

XML:

<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>

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.
AuthResponse.isError Response string Returns False/true according to errorstatus into the response.
AuthResponse.Message Response string The Message given into the response.
AuthResponse.Timestamp Response Date The Date and time when user gets the response.
AuthResponse.ReplayToken Response string The value of the ReplayToken which provide by you in Order request
AuthResponse.InvokingPartnerCode Response string This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.