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": "6df2a715-81c5-4f99-b6a4-ace2c3e4d624",
"Result": "930d241c-ace3-451f-9916-ac4495c5e665",
"Reference": "sample string 1",
"Company": "822435b4-9f0f-40d3-8289-4e5e04c71134",
"Contact": "767e0914-a5d2-4b67-b7fd-08654fe3b17d",
"Pricebook": "3dd8f5ca-02d7-4e4a-99e7-bfbfd13f0919",
"Opportunity": "101c0da0-b2f5-449f-a0c8-5f9ba254cf4e"
}
text/html
Sample:
{"Currency":"6df2a715-81c5-4f99-b6a4-ace2c3e4d624","Result":"930d241c-ace3-451f-9916-ac4495c5e665","Reference":"sample string 1","Company":"822435b4-9f0f-40d3-8289-4e5e04c71134","Contact":"767e0914-a5d2-4b67-b7fd-08654fe3b17d","Pricebook":"3dd8f5ca-02d7-4e4a-99e7-bfbfd13f0919","Opportunity":"101c0da0-b2f5-449f-a0c8-5f9ba254cf4e"}
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>822435b4-9f0f-40d3-8289-4e5e04c71134</Company> <Contact>767e0914-a5d2-4b67-b7fd-08654fe3b17d</Contact> <Currency>6df2a715-81c5-4f99-b6a4-ace2c3e4d624</Currency> <Opportunity>101c0da0-b2f5-449f-a0c8-5f9ba254cf4e</Opportunity> <Pricebook>3dd8f5ca-02d7-4e4a-99e7-bfbfd13f0919</Pricebook> <Reference>sample string 1</Reference> <Result>930d241c-ace3-451f-9916-ac4495c5e665</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:
"38167bf7-c1a0-4fda-aac9-92102a1868dd"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">38167bf7-c1a0-4fda-aac9-92102a1868dd</guid>