POST quote/clone/{quote}
Clone the quote by quote identifier.
Request Information
URI
https://mtm-api.xaitcpq.net/quote/clone/{quote}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
quote |
Quote Identifier. |
globally unique identifier |
Required |
Body Parameters
Update values.
CloneValueName | 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": "0d8c8391-78f0-4b8f-94a1-0dd72fae2fc7", "Result": "6a63b86a-0f4a-4007-9414-31470b30bc90", "Reference": "sample string 1", "Company": "908cec90-0c88-4c76-9fd2-fa7b14f79208", "Contact": "ac87d9ef-ac37-4e24-87b6-5d13b8a10efe", "Pricebook": "95302b6c-ec6e-47b8-946f-eeba92c1c3e7", "Opportunity": "b2d5f845-15da-4e19-8583-3918482e902f" }
text/html
Sample:
{"Currency":"0d8c8391-78f0-4b8f-94a1-0dd72fae2fc7","Result":"6a63b86a-0f4a-4007-9414-31470b30bc90","Reference":"sample string 1","Company":"908cec90-0c88-4c76-9fd2-fa7b14f79208","Contact":"ac87d9ef-ac37-4e24-87b6-5d13b8a10efe","Pricebook":"95302b6c-ec6e-47b8-946f-eeba92c1c3e7","Opportunity":"b2d5f845-15da-4e19-8583-3918482e902f"}
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>908cec90-0c88-4c76-9fd2-fa7b14f79208</Company> <Contact>ac87d9ef-ac37-4e24-87b6-5d13b8a10efe</Contact> <Currency>0d8c8391-78f0-4b8f-94a1-0dd72fae2fc7</Currency> <Opportunity>b2d5f845-15da-4e19-8583-3918482e902f</Opportunity> <Pricebook>95302b6c-ec6e-47b8-946f-eeba92c1c3e7</Pricebook> <Reference>sample string 1</Reference> <Result>6a63b86a-0f4a-4007-9414-31470b30bc90</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:
"13d641b5-0f76-4f1b-bdc7-90b22ef9b1dd"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">13d641b5-0f76-4f1b-bdc7-90b22ef9b1dd</guid>