POST quote/share/{quote}
Shares a quote.
Request Information
URI
https://eurotherm-web-api.xaitcpq.net/quote/share/{quote}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| quote |
Quote Identifier. |
globally unique identifier |
Required |
Body Parameters
The share.
ShareQuote| Name | Description | Type | Additional information |
|---|---|---|---|
| EmailAddresses | Collection of string |
None. |
|
| Documents | Collection of globally unique identifier |
None. |
|
| Role | globally unique identifier |
None. |
|
| Message | string |
None. |
|
| TermsAndConditions | globally unique identifier |
None. |
|
| UseWebDocument | boolean |
None. |
|
| WebDocument | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmailAddresses": [
"sample string 1",
"sample string 2"
],
"Documents": [
"5a7e33c1-0f93-42b0-a92d-80bac0540757",
"d2eb87f4-3bb8-493d-b63d-2fb562f35a54"
],
"Role": "a5ccc475-d301-4909-ba92-dc61372efd6e",
"Message": "sample string 2",
"TermsAndConditions": "7287fdf9-8230-491f-aba9-d07eeeb9678c",
"UseWebDocument": true,
"WebDocument": "462fcc4d-7e92-4fc5-b68a-d38b41a1dea0"
}
text/html
Sample:
{"EmailAddresses":["sample string 1","sample string 2"],"Documents":["5a7e33c1-0f93-42b0-a92d-80bac0540757","d2eb87f4-3bb8-493d-b63d-2fb562f35a54"],"Role":"a5ccc475-d301-4909-ba92-dc61372efd6e","Message":"sample string 2","TermsAndConditions":"7287fdf9-8230-491f-aba9-d07eeeb9678c","UseWebDocument":true,"WebDocument":"462fcc4d-7e92-4fc5-b68a-d38b41a1dea0"}
application/xml, text/xml
Sample:
<ShareQuote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
<Documents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>5a7e33c1-0f93-42b0-a92d-80bac0540757</d2p1:guid>
<d2p1:guid>d2eb87f4-3bb8-493d-b63d-2fb562f35a54</d2p1:guid>
</Documents>
<EmailAddresses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</EmailAddresses>
<Message>sample string 2</Message>
<Role>a5ccc475-d301-4909-ba92-dc61372efd6e</Role>
<TermsAndConditions>7287fdf9-8230-491f-aba9-d07eeeb9678c</TermsAndConditions>
<UseWebDocument>true</UseWebDocument>
<WebDocument>462fcc4d-7e92-4fc5-b68a-d38b41a1dea0</WebDocument>
</ShareQuote>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
True if it succeeds, false if it fails.
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>