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": [
"3a3cd133-1af9-4ea4-8c01-ba21f70b3d9f",
"9a47845b-4606-4113-bea2-a5eedeb0045b"
],
"Role": "a7064dcb-d7cb-4e56-b80a-713cd6a4ec7a",
"Message": "sample string 2",
"TermsAndConditions": "88bdbe90-f4a7-44a9-b5b5-41377880c612",
"UseWebDocument": true,
"WebDocument": "5ed5dde6-2b3f-4051-b5d5-71791bb5bae4"
}
text/html
Sample:
{"EmailAddresses":["sample string 1","sample string 2"],"Documents":["3a3cd133-1af9-4ea4-8c01-ba21f70b3d9f","9a47845b-4606-4113-bea2-a5eedeb0045b"],"Role":"a7064dcb-d7cb-4e56-b80a-713cd6a4ec7a","Message":"sample string 2","TermsAndConditions":"88bdbe90-f4a7-44a9-b5b5-41377880c612","UseWebDocument":true,"WebDocument":"5ed5dde6-2b3f-4051-b5d5-71791bb5bae4"}
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>3a3cd133-1af9-4ea4-8c01-ba21f70b3d9f</d2p1:guid>
<d2p1:guid>9a47845b-4606-4113-bea2-a5eedeb0045b</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>a7064dcb-d7cb-4e56-b80a-713cd6a4ec7a</Role>
<TermsAndConditions>88bdbe90-f4a7-44a9-b5b5-41377880c612</TermsAndConditions>
<UseWebDocument>true</UseWebDocument>
<WebDocument>5ed5dde6-2b3f-4051-b5d5-71791bb5bae4</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>