Export a Pricing Entity
post
/rest/v19/pricingSetup/actions/export
Use this endpoint to export a pricing entity. Only price model and price agreement matrix grids are supported at this time.
Request
Supported Media Types
- application/json
Root Schema : PricingExportImportAction
Type:
Show Source
object
-
chargeq:
object The chargeq Parameter
Title:
The chargeq Parameter
Filter charges (a ???where???clause) to restrict the items returned in the export. The chargeq filtering is applied jointly ???AND???) with the q parameter. You can filter by searchable price model item columns and charge columns, for example, partNumber, bomItemVariableName, chargeType, priceType, and searchable custom charge attributes. You can't search by join fields like description, slaesProductType, ratePlanName or currency custom charge attributes. -
companyId:
integer()
Title:
Company ID
The company ID. -
companyName:
string()
Title:
Company Name
The company name. -
entity:
string()
Title:
Entity
Allowed Values:[ "matrixGrid", "scriptingMatrixData", "pricingGrid", "matrixData" ]
The type of Pricing entity. -
File Names:
array File Names
Title:
File Names
The file names with path -
fileName:
string()
Title:
File Name
The file name with path. -
id:
string()
Title:
Id
The identifier of the Pricing entity. -
modifiedOnOrAfter:
string()
Title:
Modified On Or After
The last modified date for output export filter. -
q:
object The q Parameter
Title:
The q Parameter
Filter (a ???where???clause) to restrict the items returned in the export. -
resourceMethodName:
string()
Title:
Resource Method Name
The resource method name. For internal use only. -
resourceName:
string()
Title:
Resource Name
The resource name. For internal use only. -
Uploaded File Name:
string()
Title:
Uploaded File Name
The name of the CSV/zipped file that is uploaded -
userId:
integer()
Title:
User ID
The ID of logged in user. -
versionNumber:
integer()
Title:
Resource Version Number
The resource version number. For internal use only.
Nested Schema : The chargeq Parameter
Type:
object
Title:
The chargeq Parameter
Filter charges (a ???where???clause) to restrict the items returned in the export. The chargeq filtering is applied jointly ???AND???) with the q parameter. You can filter by searchable price model item columns and charge columns, for example, partNumber, bomItemVariableName, chargeType, priceType, and searchable custom charge attributes. You can't search by join fields like description, slaesProductType, ratePlanName or currency custom charge attributes.
Nested Schema : The q Parameter
Type:
object
Title:
The q Parameter
Filter (a ???where???clause) to restrict the items returned in the export.
Response
Supported Media Types
- application/json
202 Response
Success
Root Schema : PricingTaskResponse
Type:
Show Source
object
-
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
messages:
Task Submission Response Messages
Title:
Task Submission Response Messages
Read Only:true
List of task submission response messages. -
taskId:
integer()
Title:
Task ID
Task Identifier.
Nested Schema : Created By
Title:
Created By
Read Only:
true
The 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 By
Read Only:
true
The 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:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : Task Submission Response Messages
Title:
Task Submission Response Messages
Read Only:
true
List 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 Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
Nested Schema : PricingTaskResponseMessage
Type:
Show Source
object
-
errors:
array Error messages
Title:
Error messages
The list of error messages. -
info:
array Informational messages
Title:
Informational messages
The list of informational messages. -
warnings:
array Warning messages
Title:
Warning messages
The list of warning messages.
Nested Schema : Error messages
Type:
array
Title:
Error messages
The list of error messages.
Show Source
Nested Schema : Informational messages
Type:
array
Title:
Informational messages
The list of informational messages.
Show Source
Nested Schema : Warning messages
Type:
array
Title:
Warning messages
The list of warning messages.
Show Source
Examples
The following example shows how to export 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/json" https://sitename.oracle.com/rest/v19/pricingSetup/actions/export
Request Body Sample
{ "entity": "matrixGrid", "id": "test2" }
Response Body Sample
{ "taskId": 3023175064, "links": [{ "rel": "related", "href": "http://sitename.oracle.com/rest/v19/tasks/3023175064" } ] }