POST quote/clone/{quote}
Clone the quote by quote identifier.
Request Information
URI
https://penlon-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": "53f93c80-eb2e-4270-84bf-46482292901e",
"Result": "3ffe52a6-9d34-45f1-b5f5-7923758fcbb7",
"Reference": "sample string 1",
"Company": "d8662fa2-8601-4a92-b24a-7d4bdfd5fcf3",
"Contact": "dcc236d7-74af-4eb3-b11c-00550146e2cf",
"Pricebook": "52a20966-3f13-4e82-974f-b368c621fd18",
"Opportunity": "b676f54c-1acd-4cbf-9ace-e9ff811fdce9"
}
text/html
Sample:
{"Currency":"53f93c80-eb2e-4270-84bf-46482292901e","Result":"3ffe52a6-9d34-45f1-b5f5-7923758fcbb7","Reference":"sample string 1","Company":"d8662fa2-8601-4a92-b24a-7d4bdfd5fcf3","Contact":"dcc236d7-74af-4eb3-b11c-00550146e2cf","Pricebook":"52a20966-3f13-4e82-974f-b368c621fd18","Opportunity":"b676f54c-1acd-4cbf-9ace-e9ff811fdce9"}
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>d8662fa2-8601-4a92-b24a-7d4bdfd5fcf3</Company> <Contact>dcc236d7-74af-4eb3-b11c-00550146e2cf</Contact> <Currency>53f93c80-eb2e-4270-84bf-46482292901e</Currency> <Opportunity>b676f54c-1acd-4cbf-9ace-e9ff811fdce9</Opportunity> <Pricebook>52a20966-3f13-4e82-974f-b368c621fd18</Pricebook> <Reference>sample string 1</Reference> <Result>3ffe52a6-9d34-45f1-b5f5-7923758fcbb7</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:
"b4913c47-9c5a-4455-9c2c-5c575cc6b4f7"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b4913c47-9c5a-4455-9c2c-5c575cc6b4f7</guid>