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.
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": "d7af021a-cd58-4cbd-abd1-959420ba4114",
"Result": "44ab2b4a-cffa-40f9-b1ca-c45f76a93784",
"Reference": "sample string 1",
"Company": "1a94a7f4-8abd-4d6d-8eba-f774a989f2fd",
"Contact": "7d5faac5-9117-4b8f-901f-176023cf4127",
"Pricebook": "a24b831b-3a8a-4847-8d8b-5507ec2d5044",
"Opportunity": "9353a9d4-e96e-4c40-80bf-ecac39045363"
}
text/html
Sample:
{"Currency":"d7af021a-cd58-4cbd-abd1-959420ba4114","Result":"44ab2b4a-cffa-40f9-b1ca-c45f76a93784","Reference":"sample string 1","Company":"1a94a7f4-8abd-4d6d-8eba-f774a989f2fd","Contact":"7d5faac5-9117-4b8f-901f-176023cf4127","Pricebook":"a24b831b-3a8a-4847-8d8b-5507ec2d5044","Opportunity":"9353a9d4-e96e-4c40-80bf-ecac39045363"}
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>1a94a7f4-8abd-4d6d-8eba-f774a989f2fd</Company> <Contact>7d5faac5-9117-4b8f-901f-176023cf4127</Contact> <Currency>d7af021a-cd58-4cbd-abd1-959420ba4114</Currency> <Opportunity>9353a9d4-e96e-4c40-80bf-ecac39045363</Opportunity> <Pricebook>a24b831b-3a8a-4847-8d8b-5507ec2d5044</Pricebook> <Reference>sample string 1</Reference> <Result>44ab2b4a-cffa-40f9-b1ca-c45f76a93784</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:
"cfb9bbff-d0b4-4a7f-8de9-ace083fe1749"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">cfb9bbff-d0b4-4a7f-8de9-ace083fe1749</guid>