notifyQuote
post
/ccadmin/v1/quotes/notify
Notify Quote Request. This operation is used to notify the quote request to the given quote to contacts.
Request
Supported Media Types
- application/json
Header Parameters
-
X-CCAsset-Language: string
The asset language of the request
Root Schema : notifyQuote_request
Type:
Show Source
object
-
id:
string
The quote Id
-
quoteDetails:
object quoteDetails
Quote details
-
quoteToContacts:
array quoteToContacts
List of assigned quote to contacts
Example:
{
"quote":{
"quoteDetails":{
"totalListAmount":0,
"createdDate":"",
"createdBy":"SalesUser",
"totalNetAmount":0,
"totalContractValue":220,
"name":"Solar panel proposal",
"additionalInfo":{
},
"totalDiscount":0,
"totalContractDiscount":0,
"currencyCode":"USD",
"items":[
{
"quantity":"",
"productId":"",
"totalContractValue":617.6,
"additionalInfo":{
},
"productName":""
}
],
"status":"CREATED"
},
"quoteToContacts":[
{
"organization":{
"additionalInfo":{
},
"partyNumber":"A41k0",
"partyID":"432108",
"contacts":[
{
"firstName":"Dave4",
"lastName":"Warner4",
"additionalInfo":{
},
"partyNumber":"B123",
"partyId":"30102345",
"email":"dave4@example.com"
}
]
}
}
],
"id":"123"
}
}
Nested Schema : quoteDetails
Type:
object
Quote details
Show Source
-
additionalInfo:
object additionalInfo
Additional details on organization
-
createdBy:
string
Quote created by
-
createdDate:
string
Quote created date
-
currencyCode:
string
Currency code
-
items:
array items
Quote line items
-
name:
string
Quote name
-
status:
string
Status of the quote
-
totalContractDiscount:
string
Total contract discount
-
totalContractValue:
string
Total contract value
-
totalDiscount:
string
Total discount
-
totalListAmount:
string
Total list amount
-
totalNetAmount:
string
Total Net amount
Nested Schema : items
Type:
Show Source
object
-
additionalInfo:
object additionalInfo
Additional details on organization
-
productId:
string
Product Id of the item
-
productName:
string
Product name
-
quantity:
string
Item quantity
-
totalContractValue:
string
Total value of the item
Nested Schema : items
Type:
Show Source
object
-
organization:
object organization
Organization details
Nested Schema : organization
Type:
object
Organization details
Show Source
-
additionalInfo:
object additionalInfo
Additional details on organization
-
contacts:
array contacts
List of contacts
-
name:
string
Organization name (when organization does not exists in CDM)
-
partyId:
string
Party Id of the organization
-
partyNumber:
string
Party Number of the organization
Nested Schema : items
Type:
Show Source
object
-
additionalInfo:
object additionalInfo
Additional details on organization
-
email:
string
Email address of the contact
-
firstName:
string
First Name of the contact
-
lastName:
string
Last Name of the contact
-
partyId:
number
Party Id of the contact
-
partyNumber:
string
Party Number of the contact
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : notifyQuote_response
Type:
Show Source
object
-
success:
boolean
Indicates if the operation is success
Example Response (application/json)
{
"success":true
}
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce:
|Error Code|Description|
|------------------|------------------|
|43001|Generic error occured in notify quote flow|
|43002|If an error occured while notifying quote request|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code