| GET | /TestWithDataEmailRequest |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Template | query | string | No | |
| To | query | string | No | |
| From | query | string | No | |
| Subject | query | string | No | |
| OrderId | query | long | No | |
| PaymentId | query | long | No | |
| RefundId | query | long | No | |
| SubscriptionId | query | long | No | |
| ConfirmationUrl | query | string | No | |
| ConfirmationToken | query | string | No | |
| CustName | query | string | No | |
| CustId | query | long | No | |
| InquiryText | query | string | No | |
| ContactName | query | string | No | |
| ContactPhone | query | string | No | |
| ContactEmail | query | string | No | |
| DealerName | query | string | No | |
| DealerEmail | query | string | No | |
| ItemName | query | string | No | |
| ItemLink | query | string | No | |
| ItemImage | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Total | form | int | No | |
| OpCode | form | int | No | |
| ErrorText | form | string | No | |
| RequestTime | form | string | No | |
| ResponseTime | form | string | No | |
| TotalExecutionTime | form | string | No | |
| CachedResponse | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /TestWithDataEmailRequest HTTP/1.1 Host: cdnapidev.greysheet.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <TestEmailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.ResponseObjects"> <CachedResponse>false</CachedResponse> <ErrorText>String</ErrorText> <OpCode>0</OpCode> <RequestTime>String</RequestTime> <ResponseTime>String</ResponseTime> <Total>0</Total> <TotalExecutionTime>String</TotalExecutionTime> </TestEmailResponse>