Query Order

Purpose
At any time, you can query your orders by specific parameters. Our query syntax also supports ODATA format query so you can even query based on some parameters. For help regarding OData syntax, please see http://www.odata.org/documentation/odata-version-2-0/uri-conventions#FilterSystemQueryOption. You can include filters on every field that is available in the “Response” section of the Field Explanation section. For example, you can find a certificate for a domain name or orders from a specific country and so on.

LIVE URL:

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

SANDBOX URL:

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

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",
	},
	"StartDate":"\/Date(928164000000-0400)\/",
	"EndDate":"\/Date(928164000000-0400)\/",
	"SubUserID":"String content",
	"ProductCode":"String content"
}

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

<OrderQueryRequest>
<AuthRequest>
<PartnerCode>String content</PartnerCode>
<AuthToken>String content</AuthToken>
<ReplayToken>String content</ReplayToken>
<UserAgent>String content</UserAgent>
<IPAddress>String content</IPAddress>
</AuthRequest>
<StartDate>1999-05-31T11:20:00</StartDate>
<EndDate>1999-05-31T11:20:00</EndDate>
<SubUserID>String content</SubUserID>
<ProductCode>String content</ProductCode>
</OrderQueryRequest>

PARAMETERS JSON :

{
	"AuthResponse":{
		"isError":true,
		"Message":["String content"],
		"Timestamp":"String content",
		"ReplayToken":"String content",
		"InvokingPartnerCode":"String content"
	},
	"PartnerOrderID":"String content",
	"CustomOrderID":"String content",
	"TheSSLStoreOrderID":"String content",
	"VendorOrderID":"String content",
	"RefundRequestID":"String content",
	"isRefundApproved":true,
	"TinyOrderLink":"String content",
	"OrderStatus":{
		"isTinyOrder":true,
		"isTinyOrderClaimed":true,
		"MajorStatus":"String content",
		"MinorStatus":"String content"
	},
	"OrderAmount":"String content",
	"CertificateStartDate":"String content",
	"CertificateEndDate":"String content",
	"CommonName":"String content",
	"DNSNames":"String content",
	"State":"String content",
	"Country":"String content",
	"Locality":"String content",
	"Organization":"String content",
	"OrganizationalUnit":"String content",
	"WebServerType":"String content",
	"ReissueSuccessCode":"String content"
}

XML:

<OrderResponse>
<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>
<CustomOrderID>String content</CustomOrderID>
<TheSSLStoreOrderID>String content</TheSSLStoreOrderID>
<VendorOrderID>String content</VendorOrderID>
<RefundRequestID>String content</RefundRequestID>
<isRefundApproved>true</isRefundApproved>
<TinyOrderLink>String content</TinyOrderLink>
<OrderStatus>
<isTinyOrder>true</isTinyOrder>
<isTinyOrderClaimed>true</isTinyOrderClaimed>
<MajorStatus>String content</MajorStatus>
<MinorStatus>String content</MinorStatus>
</OrderStatus>
<OrderAmount>String content</OrderAmount>
<CertificateStartDate>String content</CertificateStartDate>
<CertificateEndDate>String content</CertificateEndDate>
<CommonName>String content</CommonName>
<DNSNames>String content</DNSNames>
<State>String content</State>
<Country>String content</Country>
<Locality>String content</Locality>
<Organization>String content</Organization>
<OrganizationalUnit>String content</OrganizationalUnit>
<WebServerType>String content</WebServerType>
<ReissueSuccessCode>String content</ReissueSuccessCode>
</OrderResponse>

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.
AuthRequest.PartnerCode Request R String This is an alpha-numeric code provided to you by thesslstore.com. It is required in all requests.
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.
OrderQueryRequest.StartDate Request O String This is the start date specify the order date. For json format you need to pass date in following format “/Date(no. of milliseconds from the time stamp(01 Jan 1970 00:00:00 GMT) )/”
For eg.
StartDate = “/Date(1389744000000)/”
//15 Jan 2014 00:00:00 GMT
OrderQueryRequest.EndDate Request O String This is the End date that specify the order till date. For json format you need to pass date in following format “/Date(no. of milliseconds from the time stamp(01 Jan 1970 00:00:00 GMT) )/”
For eg.
EndDate = “/Date(1389744000000)/”
//15 Jan 2014 00:00:00 GMT
OrderQueryRequest.ProductCode Request O String This Product Code that you pass in query.
OrderQueryRequest.SubUserID Request O String SubuserID we pass In query which we to get Data perticular Subuser’s ID.
OrderResponse.CertificateEndDate Response N/A String This is the date the end entity certificate will expire on.
OrderResponse.CertificateStartDate Response N/A String This is the date the end entity certificate or seal will be valid from.
OrderResponse.CommonName Response N/A String This field is part of the subject DN of the end entity certificate and distinguishes the certificate. For an SSL certificate this will most likely be the fully qualified domain name the certificate will be used to secure.
OrderResponse.Country Response N/A String The value of the Country in the ParseCSRResponse
OrderResponse.CustomOrderID Response N/A String A Number provide by you in request which is sent in response.
OrderResponse.DNSNames Response N/A String Additional Domains Name.
OrderResponse.isRefundApproved Response N/A Boolean Return true if Refund request approved from thesslstore.com
OrderResponse.Locality Response N/A String The value of the Locality in the ParseOrderResponse.
OrderResponse.OrderAmount Response N/A String Total Order Amount.
OrderResponse.Organization Response N/A String The Organizational name from the CSR.
OrderResponse.OrganizationalUnit Response N/A String The OrganizationalUnit name from the CSR. Up to three comma-separated values may be contained in this parameter.
OrderResponse.PartnerOrderID Response N/A String A Tracking Number for Orders that can be set by a partner. Typically this would be a partner’s internal order number. When calling one of the initiate order operations this field is optional. If not supplied by the client, a random unique PartnerOrderID is generated by GeoTrust. Certain subsequent operations, such as GetOrderByPartnerOrderID, require this value.
OrderResponse.RefundRequestID Response N/A String A Tracking Number for Orders that can be set by a TheSSLStore.com in case of you refund request of order.
OrderResponse.ReissueSuccessCode Response N/A String The value of the Reissue Success Code in the ParseRefund Request Order Response.
OrderResponse.State Response N/A String The value of the State in the ParseCSRResponse.
OrderResponse.TheSSLStoreOrderID Response N/A String A Tracking Number for Orders that can be set by a TheSSLStore.com.
OrderResponse.TinyOrderLink Response N/A String A url for process invite order.
OrderResponse.VendorOrderID Response N/A String A Tracking Number for Orders that can be set by a Vendor.
OrderResponse.WebServerType Response N/A String The value of the WebServerType in the ParseOrderResponse.
OrderStatus.isTinyOrder Response N/A Boolean Return true in case of Inviteorder method.
OrderStatus.isTinyOrderClaimed Response N/A Boolean Return true if you processed the TinyOrderLink.
OrderStatus.MajorStatus Response N/A String PENDING – Order is in process. ACTIVE– Order has been completed. CANCELLED – Order has been completed and cancelled. INITIAL : Enrollment link is not claimed yet. EXPIRED – Order has been expired.
OrderStatus.MinorStatus Response N/A String OrderStatusMinor provides specific status information unique to the workflow of the specific product.