Import a Pricing Enity
post
/rest/v19/pricingSetup/actions/import
Use this endpoint to import a pricing entity. Only price model and price agreement matrix grids are supported at this time.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
202 Response
Success
Root Schema : PricingTaskResponse
Type:
Show Source
object-
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
messages:
Task Submission Response Messages
Title:
Task Submission Response MessagesRead Only:trueList of task submission response messages. -
taskId:
integer()
Title:
Task IDTask Identifier.
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title:
Last Modified ByRead Only:
trueThe details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : Task Submission Response Messages
Title:
Task Submission Response MessagesRead Only:
trueList of task submission response messages.
Match All
List of task submission response messages.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast Name of the user
Nested Schema : PricingTaskResponseMessage
Type:
Show Source
object-
errors:
array Error messages
Title:
Error messagesThe list of error messages. -
info:
array Informational messages
Title:
Informational messagesThe list of informational messages. -
warnings:
array Warning messages
Title:
Warning messagesThe list of warning messages.
Nested Schema : Error messages
Type:
arrayTitle:
Error messagesThe list of error messages.
Show Source
Nested Schema : Informational messages
Type:
arrayTitle:
Informational messagesThe list of informational messages.
Show Source
Nested Schema : Warning messages
Type:
arrayTitle:
Warning messagesThe list of warning messages.
Show Source
Examples
The following example shows how to import a pricing entity by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
Only price model and price agreement matrix grids are supported at this time.
curl -X POST -H "Authorization: Bearer <token>" -H "Accept: application/zip" -H "Content-Type: multipart/form-data" https://sitename.oracle.com/rest/v19/pricingSetup/actions/export
Request Body Sample
{
"entity": "matrixGrid",
"id": "test2"
}Response Body Sample
--form 'id="test2"' \ --form 'entity="matrixGrid"' \ --form '=@"/D://matrixGrid_test2.zip"'