POST share/design
Initiates a request from an anonymous user to share a design via email.
Request Information
URI Parameters
None.
Body Parameters
The share request information.
ShareDesignRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OriginName |
The required name of the individual who initated the share request. |
string |
Required |
| OriginEmail |
The required email of the individual who initated the share request. |
string |
Required |
| DestinationName |
The required name of the recipient. |
string |
Required |
| DestinationEmail |
The required email of the recipient. |
string |
Required |
| Message |
The optional message to send with the email. |
string |
None. |
| DesignCode |
The required design code that is being shared. |
string |
Required |
| ColorCode |
The required color code that is being shared. |
string |
Required |
| Url |
The required URL to the page containing the design. |
string |
Required |
Request Formats
application/json, text/json, text/html
{
"originName": "sample string 1",
"originEmail": "sample string 2",
"destinationName": "sample string 3",
"destinationEmail": "sample string 4",
"message": "sample string 5",
"designCode": "sample string 6",
"colorCode": "sample string 7",
"url": "sample string 8"
}
application/xml, text/xml
<ShareDesignRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tricycle.Studio.Api.Catalog.Models"> <ColorCode>sample string 7</ColorCode> <DesignCode>sample string 6</DesignCode> <DestinationEmail>sample string 4</DestinationEmail> <DestinationName>sample string 3</DestinationName> <Message>sample string 5</Message> <OriginEmail>sample string 2</OriginEmail> <OriginName>sample string 1</OriginName> <Url>sample string 8</Url> </ShareDesignRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
An HTTP status code indicating success or failure. Information will be returned along with failure when validation fails.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample not available.