POST quote/share/{quote}
Shares a quote.
Request Information
URI
https://xait-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": [
"50297bd8-74e0-46a2-a5ba-0b9911901fa9",
"1e32d410-5449-4c3e-a96b-0526bb743528"
],
"Role": "efa67123-2697-4cc6-886a-930ec7398c86",
"Message": "sample string 2",
"TermsAndConditions": "c3f2a230-5ea9-4555-92c6-732a1c7d6c72",
"UseWebDocument": true,
"WebDocument": "03a02edb-5745-43d1-8cff-93edf06d67ff"
}
text/html
Sample:
{"EmailAddresses":["sample string 1","sample string 2"],"Documents":["50297bd8-74e0-46a2-a5ba-0b9911901fa9","1e32d410-5449-4c3e-a96b-0526bb743528"],"Role":"efa67123-2697-4cc6-886a-930ec7398c86","Message":"sample string 2","TermsAndConditions":"c3f2a230-5ea9-4555-92c6-732a1c7d6c72","UseWebDocument":true,"WebDocument":"03a02edb-5745-43d1-8cff-93edf06d67ff"}
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>50297bd8-74e0-46a2-a5ba-0b9911901fa9</d2p1:guid>
<d2p1:guid>1e32d410-5449-4c3e-a96b-0526bb743528</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>efa67123-2697-4cc6-886a-930ec7398c86</Role>
<TermsAndConditions>c3f2a230-5ea9-4555-92c6-732a1c7d6c72</TermsAndConditions>
<UseWebDocument>true</UseWebDocument>
<WebDocument>03a02edb-5745-43d1-8cff-93edf06d67ff</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>