Download Certificate as Zip

Purpose

You can download the certificate by passing in required parameters. The format of the download is generally a zip file containing multiple certificates. The contents of the zip file are BASE64 encoded.

LIVE URL:

https://api.thesslstore.com/rest/order/downloadaszip

SANDBOX URL:

https://sandbox-wbapi.thesslstore.com/rest/order/downloadaszip

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",
		"IPAddress":"String content",
		"IsUsedForTokenSystem":true,
		"Token":"String content"
	},
	"CustomOrderID":"String content",
	"TheSSLStoreOrderID":"String content",
	"ResendEmailType":"String content",
	"ResendEmail":"String content",
	"RefundReason":"String content",
	"RefundRequestID":"String content",
	"ApproverMethod":"String content",
	"DomainNames":"String content",
	"SerialNumber":"String content"
}

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

<OrderRequest>
  <AuthRequest>
    <PartnerCode>String content</PartnerCode>
    <AuthToken>String content</AuthToken>
    <ReplayToken>String content</ReplayToken>
    <UserAgent>String content</UserAgent>
    <IPAddress>String content</IPAddress>
    <IsUsedForTokenSystem>true</IsUsedForTokenSystem>
  </AuthRequest>
  <CustomOrderID>String content</CustomOrderID>
  <TheSSLStoreOrderID>String content</TheSSLStoreOrderID>
  <ResendEmailType>String content</ResendEmailType>
  <ResendEmail>String content</ResendEmail>
  <RefundReason>String content</RefundReason>
  <RefundRequestID>String content</RefundRequestID>
  <ApproverMethod>String content</ApproverMethod>
 <DomainNames>String content</DomainNames>
 <SerialNumber>String content</SerialNumber>
</OrderRequest>

RESPONSE
JSON:

{
	"AuthResponse":{
		"isError":true,
		"Message":["String content"],
		"Timestamp":"String content",
		"ReplayToken":"String content",
		"InvokingPartnerCode":"String content"
	},
	"PartnerOrderID":"String content",
	"CertificateStartDate":"String content",
	"CertificateEndDate":"String content",
	"CertificateStatus":"String content",
	"ValidationStatus":"String content",
	"Zip":"String content"
}

XML:

<DownloadCertificateZipResponse>
  <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>
  <PartnerOrderID>String content</PartnerOrderID>
  <CertificateStartDate>String content</CertificateStartDate>
  <CertificateEndDate>String content</CertificateEndDate>
  <CertificateStatus>String content</CertificateStatus>
  <ValidationStatus>String content</ValidationStatus>
  <Zip>String content</Zip>
</DownloadCertificateZipResponse>

Fields Explanation

• R – Required
• O – Optional
• I – Ignore (not applicable)

NAME FROM Field Req. Type Description
AuthRequest.AuthToken Request R String This is an alpha-numeric token code provided to you by thesslstore.com. It is required in all requests.

Optional if Token is specified.

AuthRequest.PartnerCode Request R String This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.

Optional if Token is specified.

AuthRequest.ReplayToken Request O String This is an alpha-numeric-code provided by you in order request and thesslstore.com sent back in request.
AuthRequest.UserAgent Request O String User Agent to identify the request coming from.
AuthRequest.IsUsedForTokenSystem Request R Boolean There are only two possible values true or false. Mostly this field used for AutoInstallSSL Plugin.
AuthRequest.Token Request R* String This is an alpha-numeric code.

* This is Required only if you have set IsUsedForTokenSystem is true.

OrderRequest.CustomOrderID Request R* String A Number provide by you in request which is sent in response.

*Ignore if TheSSLStoreOrderID is passed or set IsUsedForTokenSystem is true.

OrderRequest.RefundReason Request I String RefundReason is that At time of cancelation Certificate we pass the reason about Cancel Certificate.
OrderRequest.RefundRequestID Request I String This RefundRequestID about RefundRequest.
OrderRequest.ResendEmailType Request I String This ResendEmail is Resend an Invite email that was previously extended.
Supported values: InviteEmail, ApproverEmail, PickUpEmail, FulfillmentEmail, PhoneAuthEmail.
Required for Symantec certs.
OrderRequest.TheSSLStoreOrderID Request R* String A Tracking Number for Orders that can be set by a TheSSLStore.com

*Ignore if you have set IsUsedForTokenSystem is true or passed CustomOrderID.

AuthResponse.InvokingPartnerCode Response N/A String This is an alpha-numeric code provided to you by thesslstore.com.
AuthResponse.isError Response N/A Boolean Return true if any error occurred during Order processing.
AuthResponse.Message Response N/A String This is the status message of response.
AuthResponse.ReplayToken Response N/A String The value of the ReplayToken which provide by you in Order request.
AuthResponse.Timestamp Response N/A 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).
DownloadCertificateZipResponse.Zip Response N/A String This is Content regarding download certificate Zip File
DownloadCertificateZipResponse.CertificateEndDate Response N/A String This is specify Date that Certificate will Expire
DownloadCertificateZipResponse.CertificateStartDate Response N/A String This Date is specify Certificate Active this StartDate
DownloadCertificateZipResponse.CertificateStatus Response N/A String Indicates the status of the end entity certificate ordered.
DownloadCertificateZipResponse.PartnerOrderID Response N/A String PartnerOrderID is you supply at the time of Certificate Generate
DownloadCertificateZipResponse.ValidationStatus Response N/A String DownloadCertificate validation Status like Awaiting , Issued, Revoked, and NO STATUS And Valid