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": "16dd6afc-54b0-4221-b5b5-7c2fcb22a1dd",
"Result": "c40327a6-0c2e-41db-82bd-9eed450c7acc",
"Reference": "sample string 1",
"Company": "29bfdb43-670e-4f83-ae97-89b0cc52f649",
"Contact": "64f828bf-5ba2-45cb-a497-3659606d1960",
"Pricebook": "c7422fae-278a-425b-af25-742811f717ba",
"Opportunity": "0812c558-3994-484c-a380-b19c8c071c1a"
}
text/html
Sample:
{"Currency":"16dd6afc-54b0-4221-b5b5-7c2fcb22a1dd","Result":"c40327a6-0c2e-41db-82bd-9eed450c7acc","Reference":"sample string 1","Company":"29bfdb43-670e-4f83-ae97-89b0cc52f649","Contact":"64f828bf-5ba2-45cb-a497-3659606d1960","Pricebook":"c7422fae-278a-425b-af25-742811f717ba","Opportunity":"0812c558-3994-484c-a380-b19c8c071c1a"}
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>29bfdb43-670e-4f83-ae97-89b0cc52f649</Company> <Contact>64f828bf-5ba2-45cb-a497-3659606d1960</Contact> <Currency>16dd6afc-54b0-4221-b5b5-7c2fcb22a1dd</Currency> <Opportunity>0812c558-3994-484c-a380-b19c8c071c1a</Opportunity> <Pricebook>c7422fae-278a-425b-af25-742811f717ba</Pricebook> <Reference>sample string 1</Reference> <Result>c40327a6-0c2e-41db-82bd-9eed450c7acc</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:
"a0a17c4c-0add-4850-a369-98696df7c773"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">a0a17c4c-0add-4850-a369-98696df7c773</guid>