POST quote/clone/{quote}
Clone the quote by quote identifier.
Request Information
URI
https://xait-api.xaitcpq.net/quote/clone/{quote}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| quote |
Quote Identifier. |
globally unique identifier |
Required |
Body Parameters
Update values.
CloneValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Currency | globally unique identifier |
None. |
|
| Result | globally unique identifier |
None. |
|
| Reference | string |
None. |
|
| Company | globally unique identifier |
None. |
|
| Contact | globally unique identifier |
None. |
|
| Pricebook | globally unique identifier |
None. |
|
| Opportunity | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Currency": "aeb58731-f76d-4d20-9f50-13fa777712f6",
"Result": "6fa7354e-808c-495f-9d69-5ce519fda0ff",
"Reference": "sample string 1",
"Company": "cac7c361-1825-4049-8d98-d195b8d200da",
"Contact": "fbbaece7-91ee-42c5-8de5-83e1dcfa003a",
"Pricebook": "b03300c1-ce9a-4237-92eb-0ba606e2f5e6",
"Opportunity": "daed82ea-544d-4ce3-b7ed-7b4ff09496d0"
}
text/html
Sample:
{"Currency":"aeb58731-f76d-4d20-9f50-13fa777712f6","Result":"6fa7354e-808c-495f-9d69-5ce519fda0ff","Reference":"sample string 1","Company":"cac7c361-1825-4049-8d98-d195b8d200da","Contact":"fbbaece7-91ee-42c5-8de5-83e1dcfa003a","Pricebook":"b03300c1-ce9a-4237-92eb-0ba606e2f5e6","Opportunity":"daed82ea-544d-4ce3-b7ed-7b4ff09496d0"}
application/xml, text/xml
Sample:
<CloneValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <Company>cac7c361-1825-4049-8d98-d195b8d200da</Company> <Contact>fbbaece7-91ee-42c5-8de5-83e1dcfa003a</Contact> <Currency>aeb58731-f76d-4d20-9f50-13fa777712f6</Currency> <Opportunity>daed82ea-544d-4ce3-b7ed-7b4ff09496d0</Opportunity> <Pricebook>b03300c1-ce9a-4237-92eb-0ba606e2f5e6</Pricebook> <Reference>sample string 1</Reference> <Result>6fa7354e-808c-495f-9d69-5ce519fda0ff</Result> </CloneValue>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The identifier of the new quote.
globally unique identifierResponse Formats
application/json, text/json, text/html
Sample:
"d287ee72-3fb5-452a-aca3-b93c740e97eb"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">d287ee72-3fb5-452a-aca3-b93c740e97eb</guid>