POST quote/clone/{quote}
Clone the quote by quote identifier.
Request Information
URI
https://highlandfleets-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": "e291cc71-f0bf-4acb-b04b-680ee1d1b490",
"Result": "1cb488d3-d1b4-4011-8ad7-e3b9787870d3",
"Reference": "sample string 1",
"Company": "0437becf-ca6b-48b9-9a28-271014f5ae19",
"Contact": "9ce9a725-3c0f-4c16-b6f5-f10d50f53123",
"Pricebook": "5ff5c884-53bf-4ad3-8c08-9f0b70316468",
"Opportunity": "d1dd2e63-fd09-425d-bf5f-bdd54fc91fa2"
}
text/html
Sample:
{"Currency":"e291cc71-f0bf-4acb-b04b-680ee1d1b490","Result":"1cb488d3-d1b4-4011-8ad7-e3b9787870d3","Reference":"sample string 1","Company":"0437becf-ca6b-48b9-9a28-271014f5ae19","Contact":"9ce9a725-3c0f-4c16-b6f5-f10d50f53123","Pricebook":"5ff5c884-53bf-4ad3-8c08-9f0b70316468","Opportunity":"d1dd2e63-fd09-425d-bf5f-bdd54fc91fa2"}
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>0437becf-ca6b-48b9-9a28-271014f5ae19</Company> <Contact>9ce9a725-3c0f-4c16-b6f5-f10d50f53123</Contact> <Currency>e291cc71-f0bf-4acb-b04b-680ee1d1b490</Currency> <Opportunity>d1dd2e63-fd09-425d-bf5f-bdd54fc91fa2</Opportunity> <Pricebook>5ff5c884-53bf-4ad3-8c08-9f0b70316468</Pricebook> <Reference>sample string 1</Reference> <Result>1cb488d3-d1b4-4011-8ad7-e3b9787870d3</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:
"0f53bd9f-0fb2-4680-bb0b-65684117e37e"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0f53bd9f-0fb2-4680-bb0b-65684117e37e</guid>