POST api/Quote/CopyRevision
Request Information
URI Parameters
None.
Body Parameters
RevisionRequestName | Description | Type | Additional information |
---|---|---|---|
OriginQuoteId | globally unique identifier |
None. |
|
QuoteParams | QuoteParams |
None. |
Request Formats
application/json, text/json
Sample:
{ "OriginQuoteId": "8e6212d7-fd0a-4dc8-b4e5-f251682837a3", "QuoteParams": { "CopyParams": { "listPrice": 1, "stdCost": 2, "costOverride": 3, "sellingPrice": 4 }, "OpportunityId": "8e8a4305-2a19-4943-89c2-f47774ad4410", "ErpNumber": "sample string 2", "Discount": 1.0, "Difficulty": "sample string 3", "Validity": "sample string 4", "RfqDate": "2025-04-04T04:51:22.3207503+00:00", "DueDate": "2025-04-04T04:51:22.3207503+00:00", "SiteId": "sample string 7", "AccountName": "sample string 8", "OpportunityAutoNumber": "sample string 9", "OpportunitySubject": "sample string 10", "OpportunityContactName": "sample string 11", "Languagecode": "sample string 12", "Pricebook": "sample string 13", "RequestedDelivery": { "bits_requesteddeliveryperiod": 1, "bits_requesteddelivery": 2 }, "bits_quoterequesttypecode": 1, "Bray_revisionreason": "sample string 14", "Bray_revisionreasontext": "sample string 15", "TransactionCurrencyId": "sample string 16", "TransactionCurrencyCode": "sample string 17", "UserId": "sample string 18" } }
application/xml, text/xml
Sample:
<RevisionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microservices.Application.QuickQuote.Entities.Request"> <OriginQuoteId>8e6212d7-fd0a-4dc8-b4e5-f251682837a3</OriginQuoteId> <QuoteParams> <AccountName>sample string 8</AccountName> <Bray_revisionreason>sample string 14</Bray_revisionreason> <Bray_revisionreasontext>sample string 15</Bray_revisionreasontext> <CopyParams> <costOverride>3</costOverride> <listPrice>1</listPrice> <sellingPrice>4</sellingPrice> <stdCost>2</stdCost> </CopyParams> <Difficulty>sample string 3</Difficulty> <Discount>1</Discount> <DueDate>2025-04-04T04:51:22.3207503+00:00</DueDate> <ErpNumber>sample string 2</ErpNumber> <Languagecode>sample string 12</Languagecode> <OpportunityAutoNumber>sample string 9</OpportunityAutoNumber> <OpportunityContactName>sample string 11</OpportunityContactName> <OpportunityId>8e8a4305-2a19-4943-89c2-f47774ad4410</OpportunityId> <OpportunitySubject>sample string 10</OpportunitySubject> <Pricebook>sample string 13</Pricebook> <RequestedDelivery> <bits_requesteddelivery>2</bits_requesteddelivery> <bits_requesteddeliveryperiod>1</bits_requesteddeliveryperiod> </RequestedDelivery> <RfqDate>2025-04-04T04:51:22.3207503+00:00</RfqDate> <SiteId>sample string 7</SiteId> <TransactionCurrencyCode>sample string 17</TransactionCurrencyCode> <TransactionCurrencyId>sample string 16</TransactionCurrencyId> <UserId>sample string 18</UserId> <Validity>sample string 4</Validity> <bits_quoterequesttypecode>1</bits_quoterequesttypecode> </QuoteParams> </RevisionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |